aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: se cierra nada mas conectar a un servidor  (Read 3615 times)

jclim

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 3
se cierra nada mas conectar a un servidor
« on: May 14, 2004, 04:32:44 PM »

Pues eso, no se si es problema del aMule o problema mio de alguna libreria, pero nada mas darle a conectar y conectarse a un servidor, el aMule se cierra. Esto me pasa tanto con la version 1.2.6 com con la 2.0.0rc3. Pero es extraño porque hace unos dias funcionaba correctamente (principalmente la version 1.2.6) y ahora no... asi que no se...

Salida aMule 1.2.6
Code: [Select]
Initialising aMule
Config:
x1: 0 y1: 25 x2: 1022 y2: 746
split read, found : 308
srv_split read, found : 327
Server listening on port 4712.
 
*** TCP socket at 4662
*** UDP socket at 4665  (chat)
*** UDP socket at 4672
Serverlist loaded.
*** reading servers
Loading temp files from /home/jclim/.aMule/Temp/*.part.met.
Loading 001.part.met... Done.
Loading 005.part.met... Done.
Loading 002.part.met... Done.
Loading 003.part.met... Done.
Sharing /home/jclim/.aMule/Temp/001.part.met
Sharing /home/jclim/.aMule/Temp/005.part.met
 
OOPS! - Seems like aMule crashed
--== BACKTRACE FOLLOWS: ==--
 
[0] amule_1.2.6/bin/amule(_ZN9CamuleApp16OnFatalExceptionEv+0x5b) [0x8209c81]
[1] /usr/lib/libwx_gtk2-2.4.so(wxFatalSignalHandler+0x2b) [0x403cd2ab]
[2] [0xffffe420]
Aborted


salida aMule 2.0.0rc3
Code: [Select]
(...)

OOPS! - Seems like aMule crashed
--== BACKTRACE FOLLOWS: ==--
 
[0] amule_2rc3/bin/amule(_ZN9CamuleApp16OnFatalExceptionEv+0x59) [0x827d715]
[1] /usr/lib/libwx_gtk2-2.4.so(wxFatalSignalHandler+0x2b) [0x403cd2ab]
[2] [0xffffe420]
Aborted



Y ejecutandolo con el GDB es peor aun... se cierra al instante de ejecutar... :S

Code: [Select]
GNU gdb 6.1
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i686-pc-linux-gnu"...
(gdb) ha SIGPIPE nostop noprint pass
Signal        Stop      Print   Pass to program Description
SIGPIPE       No        No      Yes             Broken pipe
(gdb) run
Starting program: /home/jclim/tmp/amule_2rc3/bin/amule
warning: Unable to find dynamic linker breakpoint function.
GDB will be unable to debug shared library initializers
and track explicitly loaded dynamic code.
Initialising aMule
 
Program received signal SIG32, Real-time event 32.
0x40ba1874 in pthread_getconcurrency () from /lib/libpthread.so.0
(gdb) bt
#0  0x40ba1874 in pthread_getconcurrency () from /lib/libpthread.so.0
#1  0xbfffee98 in ?? ()
#2  0x40ba16b9 in pthread_getconcurrency () from /lib/libpthread.so.0
#3  0xbfffee00 in ?? ()
#4  0x00000020 in ?? ()
Previous frame inner to this frame (corrupt stack?)
(gdb) bt full
#0  0x40ba1874 in pthread_getconcurrency () from /lib/libpthread.so.0
No symbol table info available.
#1  0xbfffee98 in ?? ()
No symbol table info available.
#2  0x40ba16b9 in pthread_getconcurrency () from /lib/libpthread.so.0
No symbol table info available.
#3  0xbfffee00 in ?? ()
No symbol table info available.
#4  0x00000020 in ?? ()
No symbol table info available.
(gdb) l
105     #else
106     # define RLIMIT_RESOURCE int
107     #endif
108
109     #ifdef __USE_SPLASH__
110     #include "splash.xpm"
111     #endif
112
113
114     IMPLEMENT_APP(CamuleApp)
Logged

Jacobo221

  • Hero Member
  • *****
  • Karma: 3
  • Offline Offline
  • Posts: 2712
Re: se cierra nada mas conectar a un servidor
« Reply #1 on: May 14, 2004, 06:53:41 PM »

El problema es que tienes wx enlazado a GTK2, pero wx _no_ es compatible con GTK2 (bueno, wx 2.5 si, pero 2.4 no, y 2.5 no esta soportado por aMule rc3 todavía, aunque rc4 sí lo estará). Por eso se te cierra sin parar.
Mirate el HowTo compilar aMule aquÍ: http://www.amule-project.net/amule/thread.php?threadid=796&sid=
Si usas Debian o Mandrake, hay dos HowTos que te facilitaran la compilación de aMule en esas dos distros. Están aqui: http://wiki.amule.org

Un saludo!
Logged

jclim

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 3
Re: se cierra nada mas conectar a un servidor
« Reply #2 on: May 14, 2004, 08:15:50 PM »

ok, gracias, era ese el problema y ya esta solucionado, hace poco que actualice de wxGTK 2.4.0 a 2.4.2 y se me paso desactivar gtk2 (USE="-gtk2" emerge wxGTK, en gentoo)

Por cierto.. otra cosa.. parece que con el nuevo gcc-3.4.0 no compila. lo habeis probado?

un saludo!
Logged

Jacobo221

  • Hero Member
  • *****
  • Karma: 3
  • Offline Offline
  • Posts: 2712
Re: se cierra nada mas conectar a un servidor
« Reply #3 on: May 14, 2004, 08:30:50 PM »

Si, lo hemos probado ;-)
El problema es que Crypto++ tiene un problema con GCC 3.4. Para compilar Crypto sin probemas con GCC 3.4, mira esto:
http://sourceforge.net/tracker/index.php?func=detail&aid=862296&group_id=6152&atid=356152

Un saludo de nuevo!
Logged