hi again,
my amule is compiled with these options
./configure --prefix=/home/amule222-debug/ \
--with-wx-config=/usr/local/bin/wxgtk2u-2.8-config --with-crypto-prefix=/usr/local/ \
--enable-debug --disable-optimize \
--enable-webserver \
--disable-upnp \
--enable-amule-daemon --enable-amulecmd \
--disable-wxcas --enable-cas --disable-alc --disable-alcc --disable-ed2k \
--disable-xas --disable-geoip
CFLAGS="-O1 -g" CPPFLAGS="-O1 -g -I/usr/local/include" LDFLAGS="-L/usr/local/lib"
these are my backtrace information:
(gdb) bt
#0 0x287a815f in thr_kill () from /lib/libc.so.7
#1 0x284c8c55 in pthread_kill () from /lib/libthr.so.3
#2 0x284c6b7f in raise () from /lib/libthr.so.3
#3 0x28835eb8 in abort () from /lib/libc.so.7
#4 0x082e6c6d in OnUnhandledException () at MuleDebug.cpp:103
#5 0x286c2d8a in std::set_unexpected () from /usr/lib/libstdc++.so.6
#6 0x286c2dce in std::terminate () from /usr/lib/libstdc++.so.6
#7 0x286c2ce6 in __cxa_throw () from /usr/lib/libstdc++.so.6
#8 0x286a268f in __gnu_debug::_Safe_iterator_base::_M_attach () from /usr/lib/libstdc++.so.6
#9 0x0805bb3d in _Safe_iterator_base (this=0xbf8fd378, __seq=0x8522318, __constant=false) at safe_base.h:95
#10 0x0805be5b in _Safe_iterator (this=0xbf8fd378, __i=@0xbf8fd32c, __seq=0x8522300) at safe_iterator.h:114
#11 0x0805bf48 in std::__debug::map<int, wxEndProcessData*, std::less<int>, std::allocator<std::pair<int const, wxEndProcessData*> > >::find (this=0x8522300, __x=@0xbf8fd6ac) at map.h:230
#12 0x08058033 in OnSignalChildHandler (siginfo=0xbf8fd6a0) at amuled.cpp:511
#13 <signal handler called>
#14 0x286a0e8c in __gnu_debug::_Safe_iterator_base::_M_attach_single () from /usr/lib/libstdc++.so.6
#15 0x286a25d5 in __gnu_debug::_Safe_iterator_base::_M_attach () from /usr/lib/libstdc++.so.6
#16 0x0805bb3d in _Safe_iterator_base (this=0xbf8fd920, __seq=0xbf8fddcc, __constant=false) at safe_base.h:95
#17 0x081a90fb in _Safe_iterator (this=0xbf8fd920, __i=@0xbf8fd8dc, __seq=0xbf8fddc4) at safe_iterator.h:114
#18 0x081a9221 in std::__debug::list<CAICHHash, std::allocator<CAICHHash> >::end (this=0xbf8fddc4) at list:159
#19 0x081a9466 in __gnu_debug::_Safe_iterator<std::__norm::_List_const_iterator<CAICHHash>, std::__debug::list<CAICHHash, std::allocator<CAICHHash> > >::_M_is_end (this=0xbf8fdc50) at safe_iterator.h:406
#20 0x081a9cb6 in __gnu_debug::_Safe_iterator<std::__norm::_List_const_iterator<CAICHHash>, std::__debug::list<CAICHHash, std::allocator<CAICHHash> > >::_M_dereferenceable (this=0xbf8fdc50) at safe_iterator.h:347
#21 0x081a9d94 in __gnu_debug::_Safe_iterator<std::__norm::_List_const_iterator<CAICHHash>, std::__debug::list<CAICHHash, std::allocator<CAICHHash> > >::operator* (this=0xbf8fdc50) at safe_iterator.h:178
#22 0x081b34b7 in std::__find<__gnu_debug::_Safe_iterator<std::__norm::_List_const_iterator<CAICHHash>, std::__debug::list<CAICHHash, std::allocator<CAICHHash> > >, CAICHHash> (__first=@0xbf8fdc50, __last=@0xbf8fdc3c, __val=@0xb73c35c)
at stl_algo.h:173
#23 0x081b35fa in std::find<__gnu_debug::_Safe_iterator<std::__norm::_List_const_iterator<CAICHHash>, std::__debug::list<CAICHHash, std::allocator<CAICHHash> > >, CAICHHash> (__first=@0xbf8fdd08, __last=@0xbf8fdcf4, __val=@0xb73c35c) at stl_algo.h:327
#24 0x081a009a in CSharedFileList::CheckAICHHashes (this=0x880cba0, hashes=@0xbf8fddc4) at SharedFileList.cpp:1078
#25 0x081b96ed in CAICHSyncTask::Entry (this=0x9f92860) at ThreadTasks.cpp:313
#26 0x083cb802 in CThreadScheduler::Entry (this=0x8949a50) at ThreadScheduler.cpp:291
#27 0x083d7594 in CTaskThread::Entry (this=0x8bc48c0) at ThreadScheduler.cpp:61
#28 0x285ef0e2 in wxThreadInternal::PthreadStart () from /usr/local/lib/libwx_baseu-2.8.so.0
#29 0x285ef17d in wxPthreadStart () from /usr/local/lib/libwx_baseu-2.8.so.0
#30 0x284c4795 in pthread_getprio () from /lib/libthr.so.3
#31 0xbf7fcfec in ?? ()
(gdb) bt full
#0 0x287a815f in thr_kill () from /lib/libc.so.7
No symbol table info available.
#1 0x284c8c55 in pthread_kill () from /lib/libthr.so.3
No symbol table info available.
#2 0x284c6b7f in raise () from /lib/libthr.so.3
No symbol table info available.
#3 0x28835eb8 in abort () from /lib/libc.so.7
No symbol table info available.
#4 0x082e6c6d in OnUnhandledException () at MuleDebug.cpp:103
t = Could not find the frame base for "OnUnhandledException()".
Thread 4 (Thread 0x8801100 (LWP 100136)):
#0 0x287a7ebf in _umtx_op () from /lib/libc.so.7
#1 0x284cbfe2 in __error () from /lib/libthr.so.3
#2 0x284c80d8 in pthread_mutex_getprioceiling () from /lib/libthr.so.3
#3 0x285ede09 in wxMutexInternal::Lock () from /usr/local/lib/libwx_baseu-2.8.so.0
#4 0x285ede50 in wxMutex::Lock () from /usr/local/lib/libwx_baseu-2.8.so.0
#5 0x0805dc13 in wxMutexLocker (this=0xbfbfe75c, mutex=@0x880cbd4) at thread.h:176
#6 0x081b368c in CSharedFileList::GetCount (this=0x880cba0) at SharedFileList.h:60
#7 0x081a20e7 in CSharedFileList::Publish (this=0x880cba0) at SharedFileList.cpp:901
#8 0x081a2511 in CSharedFileList::Process (this=0x880cba0) at SharedFileList.cpp:887
#9 0x080660d5 in CamuleApp::OnCoreTimer (this=0x882c100) at amule.cpp:1457
#10 0x28552f67 in wxAppConsole::HandleEvent () from /usr/local/lib/libwx_baseu-2.8.so.0
#11 0x285f071a in wxEvtHandler::ProcessEventIfMatches () from /usr/local/lib/libwx_baseu-2.8.so.0
#12 0x285f086f in wxEventHashTable::HandleEvent () from /usr/local/lib/libwx_baseu-2.8.so.0
#13 0x285f09c4 in wxEvtHandler::ProcessEvent () from /usr/local/lib/libwx_baseu-2.8.so.0
#14 0x285f0ecd in wxEvtHandler::ProcessPendingEvents () from /usr/local/lib/libwx_baseu-2.8.so.0
#15 0x285537ed in wxAppConsole::ProcessPendingEvents () from /usr/local/lib/libwx_baseu-2.8.so.0
#16 0x0805946c in CamuleDaemonApp::OnRun (this=0x882c100) at amuled.cpp:630
#17 0x2858ba74 in wxEntry () from /usr/local/lib/libwx_baseu-2.8.so.0
#18 0x2858bb21 in wxEntry () from /usr/local/lib/libwx_baseu-2.8.so.0
#19 0x080596f0 in main (argc=Cannot access memory at address 0x0
) at amuled.cpp:162
Thread 3 (Thread 0x8801900 (LWP 100070)):
#0 0x287a7ebf in _umtx_op () from /lib/libc.so.7
#1 0x284cbfe2 in __error () from /lib/libthr.so.3
#2 0x284c80d8 in pthread_mutex_getprioceiling () from /lib/libthr.so.3
#3 0x286a2654 in __gnu_debug::_Safe_iterator_base::_M_attach () from /usr/lib/libstdc++.so.6
#4 0x0805bb3d in _Safe_iterator_base (this=0xbf9fede0, __seq=0x89386bc, __constant=false) at safe_base.h:95
#5 0x081c558b in _Safe_iterator (this=0xbf9fede0, __i=@0xbf9feca0, __seq=0x8938694) at safe_iterator.h:114
#6 0x081c56c8 in std::__debug::deque<ThrottledControlSocket*, std::allocator<ThrottledControlSocket*> >::end (
this=0x8938694) at deque:130
#7 0x081bf67e in UploadBandwidthThrottler::Entry (this=0x89385e0) at UploadBandwidthThrottler.cpp:372
#8 0x285ef0e2 in wxThreadInternal::PthreadStart () from /usr/local/lib/libwx_baseu-2.8.so.0
#9 0x285ef17d in wxPthreadStart () from /usr/local/lib/libwx_baseu-2.8.so.0
#10 0x284c4795 in pthread_getprio () from /lib/libthr.so.3
#11 0x00000000 in ?? ()
Thread 2 (Thread 0x8801d00 (LWP 100128)):
#0 0x284cc1b3 in __error () from /lib/libthr.so.3
#1 0x284caa1a in pthread_cond_init () from /lib/libthr.so.3
#2 0x285ee087 in wxConditionInternal::WaitTimeout () from /usr/local/lib/libwx_baseu-2.8.so.0
#3 0x285ee0d9 in wxCondition::WaitTimeout () from /usr/local/lib/libwx_baseu-2.8.so.0
#4 0x285ee97e in wxSemaphoreInternal::WaitTimeout () from /usr/local/lib/libwx_baseu-2.8.so.0
#5 0x285eea03 in wxSemaphore::WaitTimeout () from /usr/local/lib/libwx_baseu-2.8.so.0
#6 0x0805e566 in CTimerThread::Entry (this=0x8806370) at Timer.cpp:64
#7 0x285ef0e2 in wxThreadInternal::PthreadStart () from /usr/local/lib/libwx_baseu-2.8.so.0
#8 0x285ef17d in wxPthreadStart () from /usr/local/lib/libwx_baseu-2.8.so.0
#9 0x284c4795 in pthread_getprio () from /lib/libthr.so.3
#10 0x00000000 in ?? ()
Thread 1 (Thread 0x8801a00 (LWP 100107)):
#0 0x287a815f in thr_kill () from /lib/libc.so.7
#1 0x284c8c55 in pthread_kill () from /lib/libthr.so.3
#2 0x284c6b7f in raise () from /lib/libthr.so.3
#3 0x28835eb8 in abort () from /lib/libc.so.7
#4 0x082e6c6d in OnUnhandledException () at MuleDebug.cpp:103
#5 0x286c2d8a in std::set_unexpected () from /usr/lib/libstdc++.so.6
#6 0x286c2dce in std::terminate () from /usr/lib/libstdc++.so.6
#7 0x286c2ce6 in __cxa_throw () from /usr/lib/libstdc++.so.6
#8 0x286a268f in __gnu_debug::_Safe_iterator_base::_M_attach () from /usr/lib/libstdc++.so.6
#9 0x0805bb3d in _Safe_iterator_base (this=0xbf8fd378, __seq=0x8522318, __constant=false) at safe_base.h:95
#10 0x0805be5b in _Safe_iterator (this=0xbf8fd378, __i=@0xbf8fd32c, __seq=0x8522300) at safe_iterator.h:114
#11 0x0805bf48 in std::__debug::map<int, wxEndProcessData*, std::less<int>, std::allocator<std::pair<int const, wxEndProcessData*> > >::find (this=0x8522300, __x=@0xbf8fd6ac) at map.h:230
#12 0x08058033 in OnSignalChildHandler (siginfo=0xbf8fd6a0) at amuled.cpp:511
#13 <signal handler called>
#14 0x286a0e8c in __gnu_debug::_Safe_iterator_base::_M_attach_single () from /usr/lib/libstdc++.so.6
#15 0x286a25d5 in __gnu_debug::_Safe_iterator_base::_M_attach () from /usr/lib/libstdc++.so.6
#16 0x0805bb3d in _Safe_iterator_base (this=0xbf8fd920, __seq=0xbf8fddcc, __constant=false) at safe_base.h:95
#17 0x081a90fb in _Safe_iterator (this=0xbf8fd920, __i=@0xbf8fd8dc, __seq=0xbf8fddc4) at safe_iterator.h:114
#18 0x081a9221 in std::__debug::list<CAICHHash, std::allocator<CAICHHash> >::end (this=0xbf8fddc4) at list:159
#19 0x081a9466 in __gnu_debug::_Safe_iterator<std::__norm::_List_const_iterator<CAICHHash>, std::__debug::list<CAICHHash, std::allocator<CAICHHash> > >::_M_is_end (this=0xbf8fdc50) at safe_iterator.h:406
#20 0x081a9cb6 in __gnu_debug::_Safe_iterator<std::__norm::_List_const_iterator<CAICHHash>, std::__debug::list<CAICHHash, std::allocator<CAICHHash> > >::_M_dereferenceable (this=0xbf8fdc50) at safe_iterator.h:347
#21 0x081a9d94 in __gnu_debug::_Safe_iterator<std::__norm::_List_const_iterator<CAICHHash>, std::__debug::list<CAICHHash, std::allocator<CAICHHash> > >::operator* (this=0xbf8fdc50) at safe_iterator.h:178
#22 0x081b34b7 in std::__find<__gnu_debug::_Safe_iterator<std::__norm::_List_const_iterator<CAICHHash>, std::__debug::list<CAICHHash, std::allocator<CAICHHash> > >, CAICHHash> (__first=@0xbf8fdc50, __last=@0xbf8fdc3c, __val=@0xb73c35c)
at stl_algo.h:173
#23 0x081b35fa in std::find<__gnu_debug::_Safe_iterator<std::__norm::_List_const_iterator<CAICHHash>, std::__debug::list<CAICH---Type <return> to continue, or q <return> to quit---
Hash, std::allocator<CAICHHash> > >, CAICHHash> (__first=@0xbf8fdd08, __last=@0xbf8fdcf4, __val=@0xb73c35c) at stl_algo.h:327
#24 0x081a009a in CSharedFileList::CheckAICHHashes (this=0x880cba0, hashes=@0xbf8fddc4) at SharedFileList.cpp:1078
#25 0x081b96ed in CAICHSyncTask::Entry (this=0x9f92860) at ThreadTasks.cpp:313
#26 0x083cb802 in CThreadScheduler::Entry (this=0x8949a50) at ThreadScheduler.cpp:291
#27 0x083d7594 in CTaskThread::Entry (this=0x8bc48c0) at ThreadScheduler.cpp:61
#28 0x285ef0e2 in wxThreadInternal::PthreadStart () from /usr/local/lib/libwx_baseu-2.8.so.0
#29 0x285ef17d in wxPthreadStart () from /usr/local/lib/libwx_baseu-2.8.so.0
#30 0x284c4795 in pthread_getprio () from /lib/libthr.so.3
#31 0xbf7fcfec in ?? ()
I've got some output from my shell promopt:
jyuny1> Invalid socket (uninitialized)
Invalid socket (uninitialized)
Invalid socket (uninitialized)
Invalid socket (uninitialized)
and log
2008-11-16 05:57:39: SafeFile.cpp(475): Invalid Kad tag; type=0xb4 name=
2008-11-16 05:58:19: SafeFile.cpp(475): Invalid Kad tag; type=0x07 name=
2008-11-16 09:07:05: SafeFile.cpp(475): Invalid Kad tag; type=0x38 name=
after a little research, the message "Invalid socket (uninitialized)" is coming from src/lib/ec/cpp/ECSocket.cpp line 352.
so, the reason of this output because of amuleweb cann't connect to amuled via ECSocket after amuled is crashed?