aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: 20050914 Crash on Startup [KAD?]  (Read 3336 times)

wuischke

  • Developer
  • Hero Member
  • *****
  • Karma: 183
  • Offline Offline
  • Posts: 4292
20050914 Crash on Startup [KAD?]
« on: September 14, 2005, 02:13:27 PM »

Hello everybody.
If a problem with todays CVS. I could start, but it hangs up before connecting. (If I don't kill amule it freezes my PC, first the mouse reaction increases [2-10s] then I cannot do anything, Strg+Alt+Backspace didn't help anymore.
One time the whole toolbar was displayed and it even connected to kad, but I couldn't use any of the toolbar-buttons and decided to kill before it freezes my PC again.
I use Suse 9.3 [On my Desktop, was to lazy to install something faster] with Kernel 2.6.11.4 and the wxwidgets provided here. The problem occured on both, my RPM and a new compiled tarball. Backtraces are from the tarball compiled with --enable-debug --disable-optimize --enable-kad-compile
OK, here's my log:
Quote
2005-09-14 14:12:27: Credit file loaded, 1907 clients are known
2005-09-14 14:12:27:
2005-09-14 14:12:27:  - This is aMule CVS using wxGTK1 v2.6.0 (Snapshot: Wed Sep 14 07:02:05 CEST 2005) based on eMule.
2005-09-14 14:12:27:    Running on Linux 2.6.11.4-21.9-default i686
2005-09-14 14:12:27:  - Visit http://www.amule.org to check if a new version is available.
2005-09-14 14:12:27:
2005-09-14 14:12:27: Loading ipfilter.dat files.
2005-09-14 14:12:28: Loaded 50695 IP-ranges from 'ipfilter.dat'. 0 malformed lines were discarded.
2005-09-14 14:12:28: Loaded 0 IP-ranges from 'ipfilter_static.dat'. 0 malformed lines were discarded.
2005-09-14 14:12:28: Loading server.met file: /home/tux/.aMule/server.met
2005-09-14 14:12:28: 110 servers in server.met found
2005-09-14 14:12:28: Found 3 part files
2005-09-14 14:12:28: *** TCP socket (ECServer) listening on 0.0.0.0:4712
2005-09-14 14:12:28: Found 71 known shared files
2005-09-14 14:12:28: Connecting
2005-09-14 14:12:28: Servers: Trying to connect
2005-09-14 14:12:28: Connecting to 195.245.244.244 (195.245.244.244 - 195.245.244.244:3000)
2005-09-14 14:12:30: Kademlia Indexing: Exception in CIndexed::readFile (IO error(6))
2005-09-14 14:12:30: Read 200 Kad contacts
2005-09-14 14:12:31: webserver running on pid 19999
2005-09-14 14:12:31: Your copy of aMule is up to date.
2005-09-14 14:12:31: AICH Thread: Syncronization thread started.
2005-09-14 14:12:31: AICH Thread: Masterhashes of known files have been loaded.
2005-09-14 14:12:31: AICH Thread: No new files found.
2005-09-14 14:12:31: AICH Thread: Terminated.
2005-09-14 14:12:31: New external connection accepted
2005-09-14 14:12:31: Connected to 195.245.244.244 (195.245.244.244:3000)
2005-09-14 14:12:31: Connected to Kad (firewalled)
The output of 'bt'
Quote
#0  0x4095fac6 in _int_malloc () from /lib/tls/libc.so.6
#1  0x409615b4 in malloc () from /lib/tls/libc.so.6
#2  0x40634c76 in wxStringBase::AllocBuffer ()
   from /usr/lib/libwx_base-2.6.so.0
#3  0x4063509f in wxStringBase::InitWith () from /usr/lib/libwx_base-2.6.so.0
#4  0x40636811 in wxString::BeforeFirst () from /usr/lib/libwx_base-2.6.so.0
#5  0x08112a8f in CED2KFileLink (this=0x8805258, name=@0x860f49c,
    size=@0x860f4a0, hash=@0x860f4a4, hashset=@0xbfffea10,
    masterhash=@0xbfffea00, sources=@0xbfffe9f0) at ED2KLink.cpp:255
#6  0x08110db4 in CED2KLink::CreateLinkFromUrl (uri=@0xbfffeab0)
    at ED2KLink.cpp:98
#7  0x080e5603 in CDownloadQueue::AddED2KLink (this=0x87e3100,
    link=@0xbfffeb50, category=0) at DownloadQueue.cpp:1218
#8  0x080e4657 in CDownloadQueue::AddLinksFromFile (this=0x87e3100)
    at DownloadQueue.cpp:928
#9  0x080e237a in CDownloadQueue::Process (this=0x87e3100)
    at DownloadQueue.cpp:402
#10 0x08077357 in CamuleApp::OnCoreTimer (this=0x85cf3a0) at amule.cpp:1506
#11 0x405cd9fd in wxAppConsole::HandleEvent ()
   from /usr/lib/libwx_base-2.6.so.0
#12 0x406702d4 in wxEvtHandler::ProcessEventIfMatches ()
   from /usr/lib/libwx_base-2.6.so.0
#13 0x4067188a in wxEventHashTable::HandleEvent ()
---Type to continue, or q to quit---
   from /usr/lib/libwx_base-2.6.so.0
#14 0x40671962 in wxEvtHandler::ProcessEvent ()
   from /usr/lib/libwx_base-2.6.so.0
#15 0x40447d56 in wxTimerBase::Notify () from /usr/lib/libwx_gtk_core-2.6.so.0
#16 0x40348728 in timeout_callback () from /usr/lib/libwx_gtk_core-2.6.so.0
#17 0x40cb6713 in g_main_set_poll_func () from /opt/gnome/lib/libglib-1.2.so.0
#18 0x40cb6df8 in g_main_destroy () from /opt/gnome/lib/libglib-1.2.so.0
#19 0x40cb7714 in g_get_current_time () from /opt/gnome/lib/libglib-1.2.so.0
#20 0x40cb782f in g_main_run () from /opt/gnome/lib/libglib-1.2.so.0
#21 0x40bb9a7f in gtk_main () from /opt/gnome/lib/libgtk-1.2.so.0
#22 0x4033df13 in wxEventLoop::Run () from /usr/lib/libwx_gtk_core-2.6.so.0
#23 0x403c0b69 in wxAppBase::MainLoop () from /usr/lib/libwx_gtk_core-2.6.so.0
#24 0x403c0933 in wxAppBase::OnRun () from /usr/lib/libwx_gtk_core-2.6.so.0
#25 0x40610c96 in wxEntry () from /usr/lib/libwx_base-2.6.so.0
#26 0x0807d181 in main (argc=1, argv=0xbffff104) at amule-gui.cpp:149
'bt full'
Quote
#0  0x4095fac6 in _int_malloc () from /lib/tls/libc.so.6
No symbol table info available.
#1  0x409615b4 in malloc () from /lib/tls/libc.so.6
No symbol table info available.
#2  0x40634c76 in wxStringBase::AllocBuffer ()
   from /usr/lib/libwx_base-2.6.so.0
No symbol table info available.
#3  0x4063509f in wxStringBase::InitWith () from /usr/lib/libwx_base-2.6.so.0
No symbol table info available.
#4  0x40636811 in wxString::BeforeFirst () from /usr/lib/libwx_base-2.6.so.0
No symbol table info available.
#5  0x08112a8f in CED2KFileLink (this=0x8805258, name=@0x860f49c,
    size=@0x860f4a0, hash=@0x860f4a4, hashset=@0xbfffea10,
    masterhash=@0xbfffea00, sources=@0xbfffe9f0) at ED2KLink.cpp:255
        cur_hash = { = {static npos = 4294967295,
    m_pchData = 0x4067aa40 ""}, }
        tmp_hash = { = {static npos = 4294967295,
    m_pchData = 0x4067aa40 ""}, }
        count = 1
        tmp_hash = { = {static npos = 4294967295,
    m_pchData = 0x9277884 "60FB8D2997A845CF59958C82F64D6DDF:C840976FCAE7E135822D2EC199C3FF07:370091DFCD81FE24CE9DB5E1E6B94A52:4458F2A40E2994BE223FB307F93E1EF3:B686A21D7E1A6A80E6C79377F812B81F:D6ECC86D9CE60973AD0189E5D5255075:"}, to continue, or q to quit---
elds>}
#6  0x08110db4 in CED2KLink::CreateLinkFromUrl (uri=@0xbfffeab0)
    at ED2KLink.cpp:98
        hashSet = { = {static npos = 4294967295,
    m_pchData = 0x927718c "p=60FB8D2997A845CF59958C82F64D6DDF:C840976FCAE7E135822D2EC199C3FF07:370091DFCD81FE24CE9DB5E1E6B94A52:4458F2A40E2994BE223FB307F93E1EF3:B686A21D7E1A6A80E6C79377F812B81F:D6ECC86D9CE60973AD0189E5D5255075"}, }
        hashMaster = { = {static npos = 4294967295,
    m_pchData = 0x927653c "h=RNVE65FIMBKLMFFKROVLP2ATPAUBBUO3"}, }
        sources = { = {static npos = 4294967295,
    m_pchData = 0x92760b4 "sources,84.155.16.23:4662|"}, }
        URL = { = {static npos = 4294967295,
    m_pchData = 0x4067aa40 ""}, }
        fields = { >> = {, true>> = {
      _M_start = 0x860f498, _M_finish = 0x860f4bc,
      _M_end_of_storage = 0x860f4d8}, }, }
        type = { = {static npos = 4294967295,
    m_pchData = 0x8803734 "file"}, }
#7  0x080e5603 in CDownloadQueue::AddED2KLink (this=0x87e3100,
    link=@0xbfffeb50, category=0) at DownloadQueue.cpp:1218
---Type to continue, or q to quit---
        uri = (class CED2KLink *) 0x807a660
        result = 191
        URI = { = {static npos = 4294967295,
    m_pchData = 0x9277004 "ed2k://|file|TrustedComputing_LAFKON_HIGH.mov|50834053|68D9B8032FCF0CA5A0515B65998F8376|p=60FB8D2997A845CF59958C82F64D6DDF:C840976FCAE7E135822D2EC199C3FF07:370091DFCD81FE24CE9DB5E1E6B94A52:4458F2A40E2"...}, }
#8  0x080e4657 in CDownloadQueue::AddLinksFromFile (this=0x87e3100)
    at DownloadQueue.cpp:928
        line = { = {static npos = 4294967295,
    m_pchData = 0x9276874 "ed2k://|file|TrustedComputing_LAFKON_HIGH.mov|50834053|68D9B8032FCF0CA5A0515B65998F8376|p=60FB8D2997A845CF59958C82F64D6DDF:C840976FCAE7E135822D2EC199C3FF07:370091DFCD81FE24CE9DB5E1E6B94A52:4458F2A40E2"...}, }
        i = 0
        file =
#9  0x080e237a in CDownloadQueue::Process (this=0x87e3100)
    at DownloadQueue.cpp:402
        filename = { = {static npos = 4294967295,
    m_pchData = 0x9275ff4 "/home/tux/.aMule/ED2KLinks"}, }
#10 0x08077357 in CamuleApp::OnCoreTimer (this=0x85cf3a0) at amule.cpp:1506
        msPrev1 = 0
        msPrev5 = 0
---Type to continue, or q to quit---
        msPrevSave = 0
        msPrevHist = 0
        msPrevOS = 0
        msPrevKnownMet = 0
        msCur = 4308
#11 0x405cd9fd in wxAppConsole::HandleEvent ()
   from /usr/lib/libwx_base-2.6.so.0
No symbol table info available.
#12 0x406702d4 in wxEvtHandler::ProcessEventIfMatches ()
   from /usr/lib/libwx_base-2.6.so.0
No symbol table info available.
#13 0x4067188a in wxEventHashTable::HandleEvent ()
   from /usr/lib/libwx_base-2.6.so.0
No symbol table info available.
#14 0x40671962 in wxEvtHandler::ProcessEvent ()
   from /usr/lib/libwx_base-2.6.so.0
No symbol table info available.
#15 0x40447d56 in wxTimerBase::Notify () from /usr/lib/libwx_gtk_core-2.6.so.0
No symbol table info available.
#16 0x40348728 in timeout_callback () from /usr/lib/libwx_gtk_core-2.6.so.0
No symbol table info available.
#17 0x40cb6713 in g_main_set_poll_func () from /opt/gnome/lib/libglib-1.2.so.0
No symbol table info available.
---Type to continue, or q to quit---
#18 0x40cb6df8 in g_main_destroy () from /opt/gnome/lib/libglib-1.2.so.0
No symbol table info available.
#19 0x40cb7714 in g_get_current_time () from /opt/gnome/lib/libglib-1.2.so.0
No symbol table info available.
#20 0x40cb782f in g_main_run () from /opt/gnome/lib/libglib-1.2.so.0
No symbol table info available.
#21 0x40bb9a7f in gtk_main () from /opt/gnome/lib/libgtk-1.2.so.0
No symbol table info available.
#22 0x4033df13 in wxEventLoop::Run () from /usr/lib/libwx_gtk_core-2.6.so.0
No symbol table info available.
#23 0x403c0b69 in wxAppBase::MainLoop () from /usr/lib/libwx_gtk_core-2.6.so.0
No symbol table info available.
#24 0x403c0933 in wxAppBase::OnRun () from /usr/lib/libwx_gtk_core-2.6.so.0
No symbol table info available.
#25 0x40610c96 in wxEntry () from /usr/lib/libwx_base-2.6.so.0
No symbol table info available.
#26 0x0807d181 in main (argc=1, argv=0xbffff104) at amule-gui.cpp:149
No locals.
and 'thread apply all bt'
Quote
Thread 3 (Thread 1093512112 (LWP 19997)):
#0  0xffffe410 in ?? ()
#1  0x412da1b8 in ?? ()
#2  0x406a3bd0 in ?? () from /usr/lib/libwx_base-2.6.so.0
#3  0x00000000 in ?? ()
#4  0x4003db16 in __nanosleep_nocancel () from /lib/tls/libpthread.so.0
#5  0x40676a3a in wxMicroSleep () from /usr/lib/libwx_base-2.6.so.0
#6  0x40676a78 in wxMilliSleep () from /usr/lib/libwx_base-2.6.so.0
#7  0x4066d06c in wxThread::Sleep () from /usr/lib/libwx_base-2.6.so.0
#8  0x082652b6 in UploadBandwidthThrottler::Entry (this=0x8890158)
    at UploadBandwidthThrottler.cpp:367
#9  0x4066eb24 in wxThreadInternal::PthreadStart ()
   from /usr/lib/libwx_base-2.6.so.0
#10 0x4066eb9c in wxPthreadStart () from /usr/lib/libwx_base-2.6.so.0
#11 0x40038aa7 in start_thread () from /lib/tls/libpthread.so.0
#12 0x409b6c2e in clone () from /lib/tls/libc.so.6

Thread 1 (Thread 1088058496 (LWP 19990)):
#0  0x4095fac6 in _int_malloc () from /lib/tls/libc.so.6
#1  0x409615b4 in malloc () from /lib/tls/libc.so.6
#2  0x40634c76 in wxStringBase::AllocBuffer ()
   from /usr/lib/libwx_base-2.6.so.0
---Type to continue, or q to quit---
#3  0x4063509f in wxStringBase::InitWith () from /usr/lib/libwx_base-2.6.so.0
#4  0x40636811 in wxString::BeforeFirst () from /usr/lib/libwx_base-2.6.so.0
#5  0x08112a8f in CED2KFileLink (this=0x8805258, name=@0x860f49c,
    size=@0x860f4a0, hash=@0x860f4a4, hashset=@0xbfffea10,
    masterhash=@0xbfffea00, sources=@0xbfffe9f0) at ED2KLink.cpp:255
#6  0x08110db4 in CED2KLink::CreateLinkFromUrl (uri=@0xbfffeab0)
    at ED2KLink.cpp:98
#7  0x080e5603 in CDownloadQueue::AddED2KLink (this=0x87e3100,
    link=@0xbfffeb50, category=0) at DownloadQueue.cpp:1218
#8  0x080e4657 in CDownloadQueue::AddLinksFromFile (this=0x87e3100)
    at DownloadQueue.cpp:928
#9  0x080e237a in CDownloadQueue::Process (this=0x87e3100)
    at DownloadQueue.cpp:402
#10 0x08077357 in CamuleApp::OnCoreTimer (this=0x85cf3a0) at amule.cpp:1506
#11 0x405cd9fd in wxAppConsole::HandleEvent ()
   from /usr/lib/libwx_base-2.6.so.0
#12 0x406702d4 in wxEvtHandler::ProcessEventIfMatches ()
   from /usr/lib/libwx_base-2.6.so.0
#13 0x4067188a in wxEventHashTable::HandleEvent ()
   from /usr/lib/libwx_base-2.6.so.0
#14 0x40671962 in wxEvtHandler::ProcessEvent ()
   from /usr/lib/libwx_base-2.6.so.0
#15 0x40447d56 in wxTimerBase::Notify () from /usr/lib/libwx_gtk_core-2.6.so.0
---Type to continue, or q to quit---
#16 0x40348728 in timeout_callback () from /usr/lib/libwx_gtk_core-2.6.so.0
#17 0x40cb6713 in g_main_set_poll_func () from /opt/gnome/lib/libglib-1.2.so.0
#18 0x40cb6df8 in g_main_destroy () from /opt/gnome/lib/libglib-1.2.so.0
#19 0x40cb7714 in g_get_current_time () from /opt/gnome/lib/libglib-1.2.so.0
#20 0x40cb782f in g_main_run () from /opt/gnome/lib/libglib-1.2.so.0
#21 0x40bb9a7f in gtk_main () from /opt/gnome/lib/libgtk-1.2.so.0
#22 0x4033df13 in wxEventLoop::Run () from /usr/lib/libwx_gtk_core-2.6.so.0
#23 0x403c0b69 in wxAppBase::MainLoop () from /usr/lib/libwx_gtk_core-2.6.so.0
#24 0x403c0933 in wxAppBase::OnRun () from /usr/lib/libwx_gtk_core-2.6.so.0
#25 0x40610c96 in wxEntry () from /usr/lib/libwx_base-2.6.so.0
#26 0x0807d181 in main (argc=1, argv=0xbffff104) at amule-gui.cpp:149

If you need any more information, I'll do my best to provide them.
Logged

wuischke

  • Developer
  • Hero Member
  • *****
  • Karma: 183
  • Offline Offline
  • Posts: 4292
Re: 20050914 Crash on Startup [KAD?]
« Reply #1 on: September 14, 2005, 02:31:27 PM »

Sorry, everything is fine now after deleting all files in ~/.aMule
Dunno what happend, but maybe the backtrace helps you if you have a lots of free time...
Logged

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
Re: 20050914 Crash on Startup [KAD?]
« Reply #2 on: September 14, 2005, 02:39:41 PM »

I hope you keept your cryptkey.dat, preferences.dat and clients.met...
Logged
In its default setup, Windows XP on the Internet amounts to a car
parked in a bad part of town, with the doors unlocked, the key in
the ignition and a Post-It note on the dashboard saying, "Please
don't steal this."

wuischke

  • Developer
  • Hero Member
  • *****
  • Karma: 183
  • Offline Offline
  • Posts: 4292
Re: 20050914 Crash on Startup [KAD?]
« Reply #3 on: September 14, 2005, 02:59:15 PM »

No I did not. i don't care about my credits 'cause I mainly upload atm.
Regarding the clients.met i didn't care while attempting to fix the prob...*ashamed*
Logged

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
Re: 20050914 Crash on Startup [KAD?]
« Reply #4 on: September 14, 2005, 03:09:12 PM »

so evil  :rolleyes:
Logged
In its default setup, Windows XP on the Internet amounts to a car
parked in a bad part of town, with the doors unlocked, the key in
the ignition and a Post-It note on the dashboard saying, "Please
don't steal this."

GonoszTopi

  • The current man in charge of most things.
  • Administrator
  • Hero Member
  • *****
  • Karma: 169
  • Offline Offline
  • Posts: 2685
Re: 20050914 Crash on Startup [KAD?]
« Reply #5 on: September 14, 2005, 07:38:40 PM »

The backtrace was taken while adding a link from the ~/.aMule/ED2KLinks file. Either that caused the problem (processing parthashes), or I don't know.
Logged
concordia cum veritate

wuischke

  • Developer
  • Hero Member
  • *****
  • Karma: 183
  • Offline Offline
  • Posts: 4292
Re: 20050914 Crash on Startup [KAD?]
« Reply #6 on: September 14, 2005, 07:48:02 PM »

You're right. I've added a link from this morning http://www.lafkon.net/tc/p2p.html (the high-quality one) and now I could reproduce the error...
The file is no problem, I just added it from search, it's probably a problem with amules handling of wrong links.
Hope I could help you with this one.
Logged