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 thread crashing, cannot extract gdb backtrace  (Read 3151 times)

moonpolysoft

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 2
amule thread crashing, cannot extract gdb backtrace
« on: December 31, 2003, 04:20:20 PM »

amule version 1.2.1
wxgtk 2.4
gtk 1.2
redhat 9.0 system with a custom compiled 2.6.0 kernel

I recompiled for gdb backtrace output, however it seems as though a thread is causing the problem.  The problem is definitely reproduceable, so if anyone would care to
show me how to get a backtrace from a thread in gdb.  Here is the output that I got.

Saving of server.met file Done !!!
[New Thread 1104706624 (LWP 8903)]
[Thread 1104706624 (LWP 8903) exited]
Couldn't get registers: No such process.
(gdb) bt
Cannot fetch general-purpose registers for thread 1085022560: generic error
(gdb) bt full
Cannot fetch general-purpose registers for thread 1085022560: generic error
(gdb) cont
Continuing.
Cannot fetch general-purpose registers for thread 1085022560: generic error
(gdb) quit
The program is running.  Exit anyway? (y or n) y


standard program backtrace:
OOPS! - Seems like aMule crashed
--== BACKTRACE FOLLOWS: ==--

  • amule [0x819445f]
  • [1] /usr/lib/libwx_gtk-2.4.so(wxFatalSignalHandler+0x26)
[0x4039a84a]
[2] /lib/tls/libpthread.so.0 [0x40799618]
[3] amule [0x80668fd]
[4] amule [0x8067134]
[5] amule [0x8068bda]
[6] amule [0x8196b1f]
[7] /usr/lib/libwx_gtk-2.4.so(_ZN12wxEvtHandler16SearchEventTableER12wxEventTableR7wxEvent+0xb6) [0x402c0e76]

[8] /usr/lib/libwx_gtk-2.4.so(_ZN12wxEvtHandler12ProcessEventER7wxEvent+0x83) [0x402c0ca3]

[9] /usr/lib/libwx_gtk-2.4.so(_ZN12wxEvtHandler20ProcessPendingEventsEv+0x57) [0x402c0bdf]

[10] /usr/lib/libwx_gtk-2.4.so(_ZN9wxAppBase20ProcessPendingEventsEv+0x61) [0x4028b1a9]

[11] /usr/lib/libwx_gtk-2.4.so [0x402383f7]

[12] /usr/lib/libglib-1.2.so.0 [0x40930b1f]

[13] /usr/lib/libglib-1.2.so.0 [0x4092f9ae]

[14] /usr/lib/libglib-1.2.so.0 [0x4092fe89]

[15] /usr/lib/libglib-1.2.so.0(g_main_run+0x44) [0x40930124]

[16] /usr/lib/libgtk-1.2.so.0(gtk_main+0xbf) [0x4083d27f]

[17] /usr/lib/libwx_gtk-2.4.so(_ZN5wxApp8MainLoopEv+0x16) [0x40238d6e]

[18] /usr/lib/libwx_gtk-2.4.so(_ZN9wxAppBase5OnRunEv+0x18) [0x4028b060]

[19] /usr/lib/libwx_gtk-2.4.so(_Z7wxEntryiPPc+0x231) [0x40239451]

[20] amule [0x8190cb7]

[21] /lib/tls/libc.so.6(__libc_start_main+0xe4) [0x42015574]

[22] amule(_ZN18wxBaseArrayPtrVoidD2Ev+0x31) [0x80632a5]

Aborted
Logged

moonpolysoft

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 2
possibly an optimization problem
« Reply #1 on: January 01, 2004, 03:06:37 PM »

I have been experimenting with this problem and have been running the debug client compiled with --disable-optimise outside of gdb.  No crashes yet.
Logged