[pkg-xmule] [1.10.0b-1] Segmentation fault (backtrace)

Daniel Leidert pkg-xmule-maintainers@lists.alioth.debian.org
Sat, 14 May 2005 19:49:59 +0200


--=-aTrnRyfnuTrxUvtjvBYY
Content-Type: text/plain
Content-Transfer-Encoding: 7bit

As mentioned in a previous mail, xMule sometimes exits with a segfault.
Attached is a complete gdb session. Someone with an idea?

P.S.: I will not be available during next week. Most build-issues should
be fixed. The SIGPIPE and SEGFAULT errors are left (I wrote to the
upstream author too). For testing and debugging:

to checkout upstream-source:
> $ cvs -d:pserver:anonymous@cvs.alioth.debian.org:/cvsroot/pkg-xmule -q export -d xmule-1.10.0b.orig -r upstream_version_1_10_0b xmule 

to checkout work-dir:
> $ cvs -d:pserver:anonymous@cvs.alioth.debian.org:/cvsroot/pkg-xmule co  -d xmule-1.10.0b xmule

Regards, Daniel

--=-aTrnRyfnuTrxUvtjvBYY
Content-Disposition: attachment; filename=xmule-backtrace.log
Content-Type: text/x-log; name=xmule-backtrace.log; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

dl@leidi:~/packages/cvs/workspace/xmule-1.10.0b$ gdb ./xmule
GNU gdb 6.3-debian
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 "i386-linux"...Using host libthread_db library "/lib/tls/libthread_db.so.1".

(gdb) handle SIGPIPE nostop
Signal        Stop      Print   Pass to program Description
SIGPIPE       No        Yes     Yes             Broken pipe
(gdb) run
Starting program: /home/dl/packages/cvs/workspace/xmule-1.10.0b/xmule
[Thread debugging using libthread_db enabled]
[New Thread 1090570464 (LWP 26287)]
Initialising xMule
[New Thread 1107721136 (LWP 26521)]
Setting value of secure-ident to true.
Setting value of source-exchange to true.
Setting value of command-line to true.
*** UDP socket at 4672
boo
PublicKey: keylen=76
01 01 01 05 00 03 39 00 30 36 02 31 00 da bf a2 ef 27 d9 ac 43 a4 db 61 f4 5e 47 89 19 02 01 11
Loading temp files from /home/dl/shares/Shares/Temp/*.part.met.
Loading 008.part.met... Done.
Loading 013.part.met... Done.
Loading 007.part.met... Done.
Loading 009.part.met... Done.
Loading 004.part.met... Done.
Loading temp files from /home/dl/shares/Shares/Temp/*.pnew.met.

Program received signal SIGPIPE, Broken pipe.

Program received signal SIGPIPE, Broken pipe.
Shutting down xMule...
[Thread 1107721136 (zombie) exited]
Erased a source...
Erased a source...
Erased a source...
Erased a source...

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1090570464 (LWP 26287)]
0x088e7e4f in ?? ()
(gdb) bt
#0  0x088e7e4f in ?? ()
#1  0x40617509 in wxSocketBase::Destroy () from /usr/lib/libwx_gtk-2.4.so.0
#2  0x081d2906 in ~CServerConnect (this=0x8759618) at sockets.cpp:448
#3  0x08205b2d in CxmuleDlg::ShutDown (this=0x85b7a68) at xmuleDlg.cpp:441
#4  0x0820539b in ~CxmuleDlg (this=0x85b7a68) at xmuleDlg.cpp:387
#5  0x404ea08f in wxApp::DeletePendingObjects () from /usr/lib/libwx_gtk-2.4.so.0
#6  0x404e9dca in wxApp::OnIdle () from /usr/lib/libwx_gtk-2.4.so.0
#7  0x4058ba07 in wxEvtHandler::SearchEventTable () from /usr/lib/libwx_gtk-2.4.so.0
#8  0x4058b823 in wxEvtHandler::ProcessEvent () from /usr/lib/libwx_gtk-2.4.so.0
#9  0x404e9d2d in wxApp::ProcessIdle () from /usr/lib/libwx_gtk-2.4.so.0
#10 0x404e952a in wxWakeUpIdle () from /usr/lib/libwx_gtk-2.4.so.0
#11 0x401c7fff in g_timeout_add () from /usr/lib/libglib-1.2.so.0
#12 0x401c6dd8 in g_get_current_time () from /usr/lib/libglib-1.2.so.0
#13 0x401c72c1 in g_get_current_time () from /usr/lib/libglib-1.2.so.0
#14 0x401c75e5 in g_main_run () from /usr/lib/libglib-1.2.so.0
#15 0x400ce25f in gtk_main () from /usr/lib/libgtk-1.2.so.0
#16 0x404e9fa9 in wxApp::MainLoop () from /usr/lib/libwx_gtk-2.4.so.0
#17 0x4054b5e7 in wxAppBase::OnRun () from /usr/lib/libwx_gtk-2.4.so.0
#18 0x404ea70b in wxEntry () from /usr/lib/libwx_gtk-2.4.so.0
#19 0x081fbf0e in main (argc=1, argv=0xbffff9f4) at xmule.cpp:82
(gdb)


--=-aTrnRyfnuTrxUvtjvBYY--