aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: crashed while searching global  (Read 2635 times)

jiggamam

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 15
crashed while searching global
« on: January 06, 2005, 11:55:17 AM »

I entered a string to search for and the folowing message came up:
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 2457751 (LWP 1906)]
0x4039dc27 in wxListBase::GetFirst () from /usr/lib/libwx_gtk-2.4.so.0

backtraces:
Code: [Select]
(gdb) bt
#0  0x4039dc27 in wxListBase::GetFirst () from /usr/lib/libwx_gtk-2.4.so.0
#1  0x08257ecd in CUDPSocket::SendPacket (this=0x40d0059c, packet=0x9899160,
    host=0x912d188) at UDPSocket.cpp:400
#2  0x08245b46 in CServerConnect::SendUDPPacket (this=0x912d188,
    packet=0x9899160, host=0x19, delpacket=false) at sockets.cpp:281
#3  0x08222d1c in CGlobalSearchThread::Entry (this=0x9d2af78)
    at SearchList.cpp:78
#4  0x40424906 in wxThreadInternal::PthreadStart ()
   from /usr/lib/libwx_gtk-2.4.so.0
#5  0x4042477f in wxPthreadStart () from /usr/lib/libwx_gtk-2.4.so.0
#6  0x40030e51 in pthread_start_thread () from /lib/libpthread.so.0
#7  0x40030ecf in pthread_start_thread_event () from /lib/libpthread.so.0
#8  0x40af965a in clone () from /lib/libc.so.6
(gdb) bt full
#0  0x4039dc27 in wxListBase::GetFirst () from /usr/lib/libwx_gtk-2.4.so.0
No symbol table info available.
#1  0x08257ecd in CUDPSocket::SendPacket (this=0x40d0059c, packet=0x9899160,
    host=0x912d188) at UDPSocket.cpp:400
No locals.
#2  0x08245b46 in CServerConnect::SendUDPPacket (this=0x912d188,
    packet=0x9899160, host=0x19, delpacket=false) at sockets.cpp:281
No locals.
#3  0x08222d1c in CGlobalSearchThread::Entry (this=0x9d2af78)
    at SearchList.cpp:78
        server = (CServer *) 0x912d188
        i = 94
        current = (CServer *) 0x89623e0
#4  0x40424906 in wxThreadInternal::PthreadStart ()
   from /usr/lib/libwx_gtk-2.4.so.0
No symbol table info available.
#5  0x4042477f in wxPthreadStart () from /usr/lib/libwx_gtk-2.4.so.0
No symbol table info available.
#6  0x40030e51 in pthread_start_thread () from /lib/libpthread.so.0
No symbol table info available.
#7  0x40030ecf in pthread_start_thread_event () from /lib/libpthread.so.0
No symbol table info available.
#8  0x40af965a in clone () from /lib/libc.so.6
---Type to continue, or q to quit---
No symbol table info available.
Logged

jiggamam

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 15
again
« Reply #1 on: January 12, 2005, 09:09:10 AM »

Code: [Select]
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 2277516 (LWP 1670)]
0x4039dc27 in wxListBase::GetFirst () from /usr/lib/libwx_gtk-2.4.so.0
(gdb) bt
#0  0x4039dc27 in wxListBase::GetFirst () from /usr/lib/libwx_gtk-2.4.so.0
#1  0x08257ecd in CUDPSocket::SendPacket (this=0x41600a7c, packet=0x96b4bd0,
    host=0x8f06ee0) at UDPSocket.cpp:400
#2  0x08245b46 in CServerConnect::SendUDPPacket (this=0x8f06ee0,
    packet=0x96b4bd0, host=0x0, delpacket=false) at sockets.cpp:281
#3  0x08222d1c in CGlobalSearchThread::Entry (this=0x9a29768)
    at SearchList.cpp:78
#4  0x40424906 in wxThreadInternal::PthreadStart ()
   from /usr/lib/libwx_gtk-2.4.so.0
#5  0x4042477f in wxPthreadStart () from /usr/lib/libwx_gtk-2.4.so.0
#6  0x40030e51 in pthread_start_thread () from /lib/libpthread.so.0
#7  0x40030ecf in pthread_start_thread_event () from /lib/libpthread.so.0
#8  0x40af965a in clone () from /lib/libc.so.6
(gdb) bt full
#0  0x4039dc27 in wxListBase::GetFirst () from /usr/lib/libwx_gtk-2.4.so.0
No symbol table info available.
#1  0x08257ecd in CUDPSocket::SendPacket (this=0x41600a7c, packet=0x96b4bd0,
    host=0x8f06ee0) at UDPSocket.cpp:400
No locals.
#2  0x08245b46 in CServerConnect::SendUDPPacket (this=0x8f06ee0,
    packet=0x96b4bd0, host=0x0, delpacket=false) at sockets.cpp:281
No locals.
#3  0x08222d1c in CGlobalSearchThread::Entry (this=0x9a29768)
    at SearchList.cpp:78
        server = (CServer *) 0x8f06ee0
        i = 111
        current = (CServer *) 0x899e890
#4  0x40424906 in wxThreadInternal::PthreadStart ()
   from /usr/lib/libwx_gtk-2.4.so.0
No symbol table info available.
#5  0x4042477f in wxPthreadStart () from /usr/lib/libwx_gtk-2.4.so.0
No symbol table info available.
#6  0x40030e51 in pthread_start_thread () from /lib/libpthread.so.0
No symbol table info available.
#7  0x40030ecf in pthread_start_thread_event () from /lib/libpthread.so.0
No symbol table info available.
#8  0x40af965a in clone () from /lib/libc.so.6
---Type to continue, or q to quit---
No symbol table info available.
Logged

phoenix

  • Evil respawning bird from aMule Dev Team
  • Developer
  • Hero Member
  • *****
  • Karma: 44
  • Offline Offline
  • Posts: 2503
  • The last shadow you'll ever see
Re: crashed while searching global
« Reply #2 on: January 12, 2005, 11:49:30 AM »

jiggamam,

What is the version of aMule that you are using? rc8? tarball? Also, give us some details like what distro you are using. I can see you use wxGTK-2.4.2, right? If your distro is rpm based, post here the result of:
$ rpm -qa | grep -i wx

And
$ ls -l /usr/bin/wx*
$ ls -l /usr/local/bin/wx*

Cheers!
Logged

jiggamam

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 15
Re: crashed while searching global
« Reply #3 on: January 26, 2005, 06:47:12 AM »

i'm using Debian Sarge, so no rpm.
The Version of aMule is rc8.

somenone@somewhere:~$ ls -l /usr/bin/wx*
lrwxrwxrwx  1 root root     27 Oct 24 10:18 /usr/bin/wx-config -> /etc/alternatives/wx-config
-rwxr-xr-x  1 root root   4865 Aug  4 06:47 /usr/bin/wxbase-2.4-config
lrwxrwxrwx  1 root root     26 Jun 25  2004 /usr/bin/wxbase-config -> /usr/bin/wxbase-2.4-config
-rwxr-xr-x  1 root root   4896 Aug  4 06:50 /usr/bin/wxbased-2.4-config
-rwxr-xr-x  1 root root   5142 Aug  4 07:24 /usr/bin/wxgtk-2.4-config
-rwxr-xr-x  1 root root   5136 Aug  4 07:02 /usr/bin/wxgtkd-2.4-config
-rwxr-xr-x  1 root root  41260 Aug  4 07:25 /usr/bin/wxrc
-rwxr-xr-x  1 root root 299292 Aug  4 07:25 /usr/bin/wxrcedit
someone@somewhere:~$ ls -l /usr/local/bin/wx*
-rwxr-xr-x  1 root staff 1137226 Dec 25 23:40 /usr/local/bin/wxcas
someone@somewhere:~$
Logged

phoenix

  • Evil respawning bird from aMule Dev Team
  • Developer
  • Hero Member
  • *****
  • Karma: 44
  • Offline Offline
  • Posts: 2503
  • The last shadow you'll ever see
Re: crashed while searching global
« Reply #4 on: January 26, 2005, 01:12:55 PM »

Well, you have two versions of wxWidgets installed. One normal and one for debug. Apparently you are linking to the normal one. Did you compile it yourself? What was the configure line you used? I use this one:

$ ./configure --enable-debug --disable-optimize --enable-verbose --enable-webserver --enable-webservergui --enable-amulecmd --enable-amulecmdgui --enable-ccache --enable-amule-daemon --with-wx-config=/usr/local/wxWindows-2.4.2/bin/wx-config --with-wxbase-config=/usr/local/wxBase-2.4.2/bin/wx-config

And run aMule like this:
$ LD_LIBRARY_PATH=/usr/local/wxWindows-2.4.2/lib /path/to/amule &

Can you try a recent cvs tarball?

http://amule.hirnriss.net/

Maybe this is already fixed in there.

Cheers!
Logged

jiggamam

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 15
Re: crashed while searching global
« Reply #5 on: January 26, 2005, 09:59:47 PM »

Don't know where i got the one for debugging from. Just installed it with dselect.
I willl try a cvs. Thanks.
Logged