aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: SVN Sat Apr 5 07:01:45 CEST 2008 Crash  (Read 2354 times)

DarkNRG

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 4
SVN Sat Apr 5 07:01:45 CEST 2008 Crash
« on: April 06, 2008, 07:26:05 PM »

Code: [Select]
gdb amuled
GNU gdb 6.7.1
...
(gdb) run
... (and after an hour or so) ...
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb7fcc6d0 (LWP 26954)]
0x081a0c5e in ~CEntry (this=0xb6c2cf88) at kademlia/kademlia/Entry.h:66
66      kademlia/kademlia/Entry.h: No such file or directory.
        in kademlia/kademlia/Entry.h
(gdb) bt
#0  0x081a0c5e in ~CEntry (this=0xb6c2cf88) at kademlia/kademlia/Entry.h:66
#1  0x081a4641 in Kademlia::CIndexed::Clean (this=0xa686280) at kademlia/kademlia/Indexed.cpp:469
#2  0x081a4f41 in Kademlia::CIndexed::SendValidSourceResult (this=0xa686280, keyID=@0xbfad28a4, ip=2112483846, port=63848)
    at kademlia/kademlia/Indexed.cpp:1026
#3  0x081b814b in Kademlia::CKademliaUDPListener::ProcessSearchRequest (this=0xa8591c8,
    packetData=0xbfad2cce "", lenPacket=17, ip=2112483846, port=63848)
    at kademlia/net/KademliaUDPListener.cpp:646
#4  0x081ba6cf in Kademlia::CKademliaUDPListener::ProcessPacket (this=0xa8591c8, data=0xbfad2ccc "",
    lenData=19, ip=2112483846, port=63848) at kademlia/net/KademliaUDPListener.cpp:152
#5  0x081914a7 in Kademlia::CKademlia::ProcessPacket (data=0xbfad2ccc "", lenData=19, ip=2112483846,
    port=63848) at kademlia/kademlia/Kademlia.cpp:313
#6  0x080b0a6d in CClientUDPSocket::OnPacketReceived (this=0xa4073b8, ip=6, port=63848,
    buffer=0xbfad2ccc "", length=19) at ClientUDPSocket.cpp:90
#7  0x0813ab6c in CMuleUDPSocket::OnReceive (this=0xa4073b8, errorCode=0) at MuleUDPSocket.cpp:179
#8  0x080b0f29 in CClientUDPSocket::OnReceive (this=0xa4073b8, errorCode=0) at ClientUDPSocket.cpp:66
#9  0x4d97b378 in wxAppConsole::HandleEvent () from /usr/lib/libwx_baseu-2.8.so.0
#10 0x4da25350 in wxEvtHandler::ProcessEventIfMatches () from /usr/lib/libwx_baseu-2.8.so.0
#11 0x4da25497 in wxEventHashTable::HandleEvent () from /usr/lib/libwx_baseu-2.8.so.0
#12 0x4da2562d in wxEvtHandler::ProcessEvent () from /usr/lib/libwx_baseu-2.8.so.0
#13 0x4da259f7 in wxEvtHandler::ProcessPendingEvents () from /usr/lib/libwx_baseu-2.8.so.0
#14 0x4d97be39 in wxAppConsole::ProcessPendingEvents () from /usr/lib/libwx_baseu-2.8.so.0
#15 0x0805af06 in CamuleDaemonApp::OnRun (this=0x868fd88) at amuled.cpp:580
#16 0x4d9b848c in wxEntry () from /usr/lib/libwx_baseu-2.8.so.0
#17 0x4d9b8546 in wxEntry () from /usr/lib/libwx_baseu-2.8.so.0
#18 0x0805b200 in main (argc=Cannot access memory at address 0x0
) at amuled.cpp:102

I have tested it 5 times and it always crashed in the destructor of CEntry.

I had it configured with:
Code: [Select]
./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --with-wx-config=/usr/lib/wx/config/gtk2-unicode-release-2.8 --with-wxbase-config=/usr/lib/wx/config/gtk2-unicode-release-2.8 --enable-geoip --with-x --enable-amule-daemon --disable-optimize --enable-debug --enable-nls --enable-amulecmdgui --disable-webservergui --disable-cas --disable-alcc --disable-monolithic --enable-utf8-systray --disable-wxcas --disable-alc --enable-amulecmd --enable-amule-gui --build=i686-pc-linux-gnu
Logged

Stu Redman

  • Administrator
  • Hero Member
  • *****
  • Karma: 214
  • Offline Offline
  • Posts: 3739
  • Engines screaming
Re: SVN Sat Apr 5 07:01:45 CEST 2008 Crash
« Reply #1 on: April 07, 2008, 10:09:27 PM »

So we can call this bug confirmed.
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

Stu Redman

  • Administrator
  • Hero Member
  • *****
  • Karma: 214
  • Offline Offline
  • Posts: 3739
  • Engines screaming
Re: SVN Sat Apr 5 07:01:45 CEST 2008 Crash
« Reply #2 on: April 09, 2008, 11:29:04 PM »

Try tommorows tarball, and post here if it's working please (you'll have to wait for a few hours at least to be sure).
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

DarkNRG

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 4
Re: SVN Sat Apr 5 07:01:45 CEST 2008 Crash
« Reply #3 on: April 11, 2008, 12:31:56 AM »

Thanks, this tarball seems to be working for me.

It's running with Kademlia enabled for about 2 hours now.
Logged