aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: amule (cvs r13310) crashing  (Read 4333 times)

luuuciano

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 7
amule (cvs r13310) crashing
« on: October 14, 2010, 01:21:18 PM »

I have tried this cvs version, here the backtrace as suggested:

(gdb) bt
#0  0xb7f9d20d in pthread_mutex_lock () from /lib/libpthread.so.0
#1  0xb71e664f in g_source_set_callback_indirect () from /usr/lib/libglib-2.0.so.0
#2  0xb71e67d8 in g_source_set_callback () from /usr/lib/libglib-2.0.so.0
#3  0xb71dabd6 in g_io_add_watch_full () from /usr/lib/libglib-2.0.so.0
#4  0xb72f6661 in gdk_input_add_full () from /usr/lib/libgdk-x11-2.0.so.0
#5  0xb72f66ae in gdk_input_add () from /usr/lib/libgdk-x11-2.0.so.0
#6  0xb7c8fdc5 in GSocketGUIFunctionsTableConcrete::Install_Callback(GSocket*, GSocketEvent) ()
   from /usr/lib/libwx_gtk2u_core-2.8.so.0
#7  0xb7b52dfd in GSocket::Enable(GSocketEvent) () from /usr/lib/libwx_baseu_net-2.8.so.0
#8  0xb7b5433a in GSocket::Write(char const*, int) () from /usr/lib/libwx_baseu_net-2.8.so.0
#9  0xb7b4ef6e in wxSocketBase::_Write(void const*, unsigned int) () from /usr/lib/libwx_baseu_net-2.8.so.0
#10 0xb7b4efd7 in wxSocketBase::Write(void const*, unsigned int) () from /usr/lib/libwx_baseu_net-2.8.so.0
#11 0x0829d856 in ?? ()
#12 0x081032e9 in ?? ()
#13 0x0810155a in ?? ()
#14 0x080c06e0 in ?? ()
#15 0x080b35bf in ?? ()
#16 0x08191b1d in ?? ()
#17 0xb7ac5c50 in wxThreadInternal::PthreadStart(wxThread*) () from /usr/lib/libwx_baseu-2.8.so.0
#18 0xb7ac5cbd in wxPthreadStart () from /usr/lib/libwx_baseu-2.8.so.0
#19 0xb7f9ae60 in start_thread () from /lib/libpthread.so.0
#20 0xb780cfbe in clone () from /lib/libc.so.6
(gdb) bt full
#0  0xb7f9d20d in pthread_mutex_lock () from /lib/libpthread.so.0
No symbol table info available.
#1  0xb71e664f in g_source_set_callback_indirect () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#2  0xb71e67d8 in g_source_set_callback () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#3  0xb71dabd6 in g_io_add_watch_full () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#4  0xb72f6661 in gdk_input_add_full () from /usr/lib/libgdk-x11-2.0.so.0
No symbol table info available.
#5  0xb72f66ae in gdk_input_add () from /usr/lib/libgdk-x11-2.0.so.0
No symbol table info available.
#6  0xb7c8fdc5 in GSocketGUIFunctionsTableConcrete::Install_Callback(GSocket*, GSocketEvent) ()
   from /usr/lib/libwx_gtk2u_core-2.8.so.0
No symbol table info available.
#7  0xb7b52dfd in GSocket::Enable(GSocketEvent) () from /usr/lib/libwx_baseu_net-2.8.so.0
No symbol table info available.
#8  0xb7b5433a in GSocket::Write(char const*, int) () from /usr/lib/libwx_baseu_net-2.8.so.0
No symbol table info available.
#9  0xb7b4ef6e in wxSocketBase::_Write(void const*, unsigned int) () from /usr/lib/libwx_baseu_net-2.8.so.0
No symbol table info available.
#10 0xb7b4efd7 in wxSocketBase::Write(void const*, unsigned int) () from /usr/lib/libwx_baseu_net-2.8.so.0
No symbol table info available.
#11 0x0829d856 in ?? ()
No symbol table info available.
#12 0x081032e9 in ?? ()
No symbol table info available.
#13 0x0810155a in ?? ()
No symbol table info available.
---Type <return> to continue, or q <return> to quit---
#14 0x080c06e0 in ?? ()
No symbol table info available.
#15 0x080b35bf in ?? ()
No symbol table info available.
#16 0x08191b1d in ?? ()
No symbol table info available.
#17 0xb7ac5c50 in wxThreadInternal::PthreadStart(wxThread*) () from /usr/lib/libwx_baseu-2.8.so.0
No symbol table info available.
#18 0xb7ac5cbd in wxPthreadStart () from /usr/lib/libwx_baseu-2.8.so.0
No symbol table info available.
#19 0xb7f9ae60 in start_thread () from /lib/libpthread.so.0
No symbol table info available.
#20 0xb780cfbe in clone () from /lib/libc.so.6
No symbol table info available.
(gdb) thread apply all bt

Thread 5 (Thread 0xb0affb70 (LWP 18826)):
#0  0xb7fe1424 in __kernel_vsyscall ()
#1  0xb7f9f7a4 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb7ac4954 in wxConditionInternal::WaitTimeout(unsigned long) () from /usr/lib/libwx_baseu-2.8.so.0
#3  0xb7ac49af in wxCondition::WaitTimeout(unsigned long) () from /usr/lib/libwx_baseu-2.8.so.0
#4  0xb7ac4f04 in wxSemaphoreInternal::WaitTimeout(unsigned long) () from /usr/lib/libwx_baseu-2.8.so.0
#5  0xb7ac4f8f in wxSemaphore::WaitTimeout(unsigned long) () from /usr/lib/libwx_baseu-2.8.so.0
#6  0x082d6901 in ?? ()
#7  0xb7ac5c50 in wxThreadInternal::PthreadStart(wxThread*) () from /usr/lib/libwx_baseu-2.8.so.0
#8  0xb7ac5cbd in wxPthreadStart () from /usr/lib/libwx_baseu-2.8.so.0
#9  0xb7f9ae60 in start_thread () from /lib/libpthread.so.0
#10 0xb780cfbe in clone () from /lib/libc.so.6

Thread 3 (Thread 0xb208bb70 (LWP 18824)):
#0  0xb7f9d20d in pthread_mutex_lock () from /lib/libpthread.so.0
#1  0xb71e664f in g_source_set_callback_indirect () from /usr/lib/libglib-2.0.so.0
#2  0xb71e67d8 in g_source_set_callback () from /usr/lib/libglib-2.0.so.0
#3  0xb71dabd6 in g_io_add_watch_full () from /usr/lib/libglib-2.0.so.0
#4  0xb72f6661 in gdk_input_add_full () from /usr/lib/libgdk-x11-2.0.so.0
#5  0xb72f66ae in gdk_input_add () from /usr/lib/libgdk-x11-2.0.so.0
#6  0xb7c8fdc5 in GSocketGUIFunctionsTableConcrete::Install_Callback(GSocket*, GSocketEvent) ()
   from /usr/lib/libwx_gtk2u_core-2.8.so.0
#7  0xb7b52dfd in GSocket::Enable(GSocketEvent) () from /usr/lib/libwx_baseu_net-2.8.so.0
#8  0xb7b5433a in GSocket::Write(char const*, int) () from /usr/lib/libwx_baseu_net-2.8.so.0
#9  0xb7b4ef6e in wxSocketBase::_Write(void const*, unsigned int) () from /usr/lib/libwx_baseu_net-2.8.so.0
#10 0xb7b4efd7 in wxSocketBase::Write(void const*, unsigned int) () from /usr/lib/libwx_baseu_net-2.8.so.0
#11 0x0829d856 in ?? ()
#12 0x081032e9 in ?? ()
---Type <return> to continue, or q <return> to quit---
#13 0x0810155a in ?? ()
#14 0x080c06e0 in ?? ()
#15 0x080b35bf in ?? ()
#16 0x08191b1d in ?? ()
#17 0xb7ac5c50 in wxThreadInternal::PthreadStart(wxThread*) () from /usr/lib/libwx_baseu-2.8.so.0
#18 0xb7ac5cbd in wxPthreadStart () from /usr/lib/libwx_baseu-2.8.so.0
#19 0xb7f9ae60 in start_thread () from /lib/libpthread.so.0
#20 0xb780cfbe in clone () from /lib/libc.so.6

Thread 1 (Thread 0xb6b96810 (LWP 18815)):
#0  0xb7fe1424 in __kernel_vsyscall ()
#1  0xb7802bd6 in poll () from /lib/libc.so.6
#2  0xb71f943b in g_poll () from /usr/lib/libglib-2.0.so.0
#3  0xb7c77ce7 in wxapp_poll_func () from /usr/lib/libwx_gtk2u_core-2.8.so.0
#4  0xb71e928f in ?? () from /usr/lib/libglib-2.0.so.0
#5  0xb71e9a1b in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#6  0xb74a0409 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#7  0xb7c8e898 in wxEventLoop::Run() () from /usr/lib/libwx_gtk2u_core-2.8.so.0
#8  0xb7d185ee in wxAppBase::MainLoop() () from /usr/lib/libwx_gtk2u_core-2.8.so.0
#9  0xb7d17f31 in wxAppBase::OnRun() () from /usr/lib/libwx_gtk2u_core-2.8.so.0
#10 0xb7a6b16b in wxEntry(int&, wchar_t**) () from /usr/lib/libwx_baseu-2.8.so.0
#11 0xb7a6b217 in wxEntry(int&, char**) () from /usr/lib/libwx_baseu-2.8.so.0
#12 0x081ee4cb in ?? ()
#13 0xb7754c76 in __libc_start_main () from /lib/libc.so.6
#14 0x0806d3d1 in ?? ()
Logged

Stu Redman

  • Administrator
  • Hero Member
  • *****
  • Karma: 214
  • Offline Offline
  • Posts: 3739
  • Engines screaming
Re: amule (cvs r13310) crashing
« Reply #1 on: October 14, 2010, 08:59:09 PM »

Please compile aMule with debug option, make sure you don't strip the executable and retry. Backtrace shows symbols for wx but not for aMule.
Logged
The image of mother goddess, lying dormant in the eyes of the dead, the sheaf of the corn is broken, end the harvest, throw the dead on the pyre -- Iron Maiden, Isle of Avalon

luuuciano

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 7
Re: amule (cvs r13310) crashing
« Reply #2 on: October 14, 2010, 09:02:44 PM »

mmm, but I have enabled it (I think, hehee)

here the options used:

  ./configure --prefix=/usr \
              --mandir=/usr/share/man \
              --enable-cas \
              --enable-wxcas \
              --enable-amule-daemon \
              --enable-amulecmd \
              --enable-amule-gui \
              --enable-alc \
              --enable-alcc \
              --enable-webserver \
              --enable-optimize \
              --enable-ccache \
              --enable-geoip \
              --enable-upnp \
              --enable-debug \
              --disable-optimize

wich options should I use?
Logged

Stu Redman

  • Administrator
  • Hero Member
  • *****
  • Karma: 214
  • Offline Offline
  • Posts: 3739
  • Engines screaming
Re: amule (cvs r13310) crashing
« Reply #3 on: October 14, 2010, 09:15:25 PM »

It's probably stripped during install. Just run src/amule after make without make install.
Logged
The image of mother goddess, lying dormant in the eyes of the dead, the sheaf of the corn is broken, end the harvest, throw the dead on the pyre -- Iron Maiden, Isle of Avalon