aMule Forum

English => Backtraces => Topic started by: jyuny1 on November 13, 2008, 05:22:21 PM

Title: amule 2.2.2 release crashed on FreBSD 7.1 prelease
Post by: jyuny1 on November 13, 2008, 05:22:21 PM
hi all,

I got amuled crash on my FreeBSD BOX
this is what I got:

Code: [Select]
(gdb) bt
#0  0x2871415f in thr_kill () from /lib/libc.so.7
#1  0x286c9c55 in pthread_kill () from /lib/libthr.so.3
#2  0x286c7b7f in raise () from /lib/libthr.so.3
#3  0x287a1eb8 in abort () from /lib/libc.so.7
#4  0x2854eab5 in wxFatalSignalHandler () from /usr/local/lib/libwx_baseu-2.8.so.0
#5  <signal handler called>
#6  0x08070439 in CUpDownClient::ClearDownloadBlockRequests (this=0x922e800) at BaseClient.cpp:1175
#7  0x080b98f0 in CUpDownClient::SetDownloadState (this=0x922e800, byNewState=1 '\001') at DownloadClient.cpp:541
#8  0x08070904 in CUpDownClient::Disconnected (this=0x922e800, strReason=@0xbfbfe728, bFromSocket=false)
    at BaseClient.cpp:1239
#9  0x0807fe22 in CClientList::ProcessDirectCallbackList (this=0x875d3d0) at ClientList.cpp:1113
#10 0x08082c8a in CClientList::Process (this=0x875d3d0) at ClientList.cpp:748
#11 0x08063870 in CamuleApp::OnCoreTimer (this=0x8734110) at amule.cpp:1460
#12 0x284acf67 in wxAppConsole::HandleEvent () from /usr/local/lib/libwx_baseu-2.8.so.0
#13 0x2854a71a in wxEvtHandler::ProcessEventIfMatches () from /usr/local/lib/libwx_baseu-2.8.so.0
#14 0x2854a86f in wxEventHashTable::HandleEvent () from /usr/local/lib/libwx_baseu-2.8.so.0
#15 0x2854a9c4 in wxEvtHandler::ProcessEvent () from /usr/local/lib/libwx_baseu-2.8.so.0
#16 0x2854aecd in wxEvtHandler::ProcessPendingEvents () from /usr/local/lib/libwx_baseu-2.8.so.0
#17 0x284ad7ed in wxAppConsole::ProcessPendingEvents () from /usr/local/lib/libwx_baseu-2.8.so.0
#18 0x08058efa in CamuleDaemonApp::OnRun (this=0x8734110) at amuled.cpp:634
#19 0x284e5a74 in wxEntry () from /usr/local/lib/libwx_baseu-2.8.so.0
#20 0x284e5b21 in wxEntry () from /usr/local/lib/libwx_baseu-2.8.so.0
#21 0x080590f0 in main (argc=100111, argv=0x0) at amuled.cpp:156

Code: [Select]
(gdb) bt full
#0  0x2871415f in thr_kill () from /lib/libc.so.7
No symbol table info available.
#1  0x286c9c55 in pthread_kill () from /lib/libthr.so.3
No symbol table info available.
#2  0x286c7b7f in raise () from /lib/libthr.so.3
No symbol table info available.
#3  0x287a1eb8 in abort () from /lib/libc.so.7
No symbol table info available.
#4  0x2854eab5 in wxFatalSignalHandler () from /usr/local/lib/libwx_baseu-2.8.so.0
No symbol table info available.
#5  <signal handler called>
No symbol table info available.
#6  0x08070439 in CUpDownClient::ClearDownloadBlockRequests (this=0x922e800) at BaseClient.cpp:1175
        cur_block = Variable "cur_block" is not available.

Code: [Select]
(gdb) thread apply all bt
Thread 3 (Thread 0x8701100 (LWP 100111)):
#0  0x2871415f in thr_kill () from /lib/libc.so.7
#1  0x286c9c55 in pthread_kill () from /lib/libthr.so.3
#2  0x286c7b7f in raise () from /lib/libthr.so.3
#3  0x287a1eb8 in abort () from /lib/libc.so.7
#4  0x2854eab5 in wxFatalSignalHandler () from /usr/local/lib/libwx_baseu-2.8.so.0
#5  <signal handler called>
#6  0x08070439 in CUpDownClient::ClearDownloadBlockRequests (this=0x922e800) at BaseClient.cpp:1175
#7  0x080b98f0 in CUpDownClient::SetDownloadState (this=0x922e800, byNewState=1 '\001') at DownloadClient.cpp:541
#8  0x08070904 in CUpDownClient::Disconnected (this=0x922e800, strReason=@0xbfbfe728, bFromSocket=false)
    at BaseClient.cpp:1239
#9  0x0807fe22 in CClientList::ProcessDirectCallbackList (this=0x875d3d0) at ClientList.cpp:1113
#10 0x08082c8a in CClientList::Process (this=0x875d3d0) at ClientList.cpp:748
#11 0x08063870 in CamuleApp::OnCoreTimer (this=0x8734110) at amule.cpp:1460
#12 0x284acf67 in wxAppConsole::HandleEvent () from /usr/local/lib/libwx_baseu-2.8.so.0
#13 0x2854a71a in wxEvtHandler::ProcessEventIfMatches () from /usr/local/lib/libwx_baseu-2.8.so.0
#14 0x2854a86f in wxEventHashTable::HandleEvent () from /usr/local/lib/libwx_baseu-2.8.so.0
#15 0x2854a9c4 in wxEvtHandler::ProcessEvent () from /usr/local/lib/libwx_baseu-2.8.so.0
#16 0x2854aecd in wxEvtHandler::ProcessPendingEvents () from /usr/local/lib/libwx_baseu-2.8.so.0
#17 0x284ad7ed in wxAppConsole::ProcessPendingEvents () from /usr/local/lib/libwx_baseu-2.8.so.0
#18 0x08058efa in CamuleDaemonApp::OnRun (this=0x8734110) at amuled.cpp:634
#19 0x284e5a74 in wxEntry () from /usr/local/lib/libwx_baseu-2.8.so.0
#20 0x284e5b21 in wxEntry () from /usr/local/lib/libwx_baseu-2.8.so.0
#21 0x080590f0 in main (argc=100111, argv=0x0) at amuled.cpp:156

Thread 2 (Thread 0x8a6dd00 (LWP 100070)):
#0  0x28788e27 in nanosleep () from /lib/libc.so.7
#1  0x286c4720 in nanosleep () from /lib/libthr.so.3
#2  0x2854ea2b in wxMicroSleep () from /usr/local/lib/libwx_baseu-2.8.so.0
#3  0x2854ea60 in wxMilliSleep () from /usr/local/lib/libwx_baseu-2.8.so.0
#4  0x28547883 in wxThread::Sleep () from /usr/local/lib/libwx_baseu-2.8.so.0
#5  0x0817b162 in UploadBandwidthThrottler::Entry (this=0x8abfb30) at UploadBandwidthThrottler.cpp:324
#6  0x285490e2 in wxThreadInternal::PthreadStart () from /usr/local/lib/libwx_baseu-2.8.so.0
#7  0x2854917d in wxPthreadStart () from /usr/local/lib/libwx_baseu-2.8.so.0
#8  0x286c5795 in pthread_getprio () from /lib/libthr.so.3
#9  0x00000000 in ?? ()

Thread 1 (Thread 0x8a6e100 (LWP 100139)):
#0  0x286cd1b3 in __error () from /lib/libthr.so.3
#1  0x286cba1a in pthread_cond_init () from /lib/libthr.so.3
#2  0x28548087 in wxConditionInternal::WaitTimeout () from /usr/local/lib/libwx_baseu-2.8.so.0
#3  0x285480d9 in wxCondition::WaitTimeout () from /usr/local/lib/libwx_baseu-2.8.so.0
#4  0x2854897e in wxSemaphoreInternal::WaitTimeout () from /usr/local/lib/libwx_baseu-2.8.so.0
#5  0x28548a03 in wxSemaphore::WaitTimeout () from /usr/local/lib/libwx_baseu-2.8.so.0
#6  0x0805d64b in CTimerThread::Entry (this=0x8706370) at Timer.cpp:64
#7  0x285490e2 in wxThreadInternal::PthreadStart () from /usr/local/lib/libwx_baseu-2.8.so.0
#8  0x2854917d in wxPthreadStart () from /usr/local/lib/libwx_baseu-2.8.so.0
#9  0x286c5795 in pthread_getprio () from /lib/libthr.so.3
#10 0x00000000 in ?? ()
#0  0x2871415f in thr_kill () from /lib/libc.so.7
Title: Re: amule 2.2.2 release crashed on FreBSD 7.1 prelease
Post by: Stu Redman on November 13, 2008, 08:50:04 PM
That's bug 1404. I have committed a possible fix. Please try the current tarball (http://www.htw-dresden.de/~s59596/amule/index.htm).
Title: Re: amule 2.2.2 release crashed on FreBSD 7.1 prelease
Post by: jyuny1 on November 14, 2008, 05:17:44 AM
That's bug 1404. I have committed a possible fix. Please try the current tarball (http://www.htw-dresden.de/~s59596/amule/index.htm).
thx Stu Redman !
I'll give a try  :)
Title: Re: amule 2.2.2 release crashed on FreBSD 7.1 prelease
Post by: jyuny1 on November 15, 2008, 07:05:16 AM
That's bug 1404. I have committed a possible fix. Please try the current tarball (http://www.htw-dresden.de/~s59596/amule/index.htm).
SVN-r9718 seems  pretty unstable...

my amule is compiled with these options
Code: [Select]
./configure --prefix=/home/amule222-debug/ \
            --with-wx-config=/usr/local/bin/wxgtk2u-2.8-config --with-crypto-prefix=/usr/local/ \
            --disable-debug --enable-webserver  \
            --with-included-gettext --enable-amule-daemon --enable-amulecmd \
            --disable-wxcas --enable-cas --disable-alc \
            --disable-xas --disable-geoip --disable-nls
            CFLAGS="-O2 -march=pentium4 -pipe" CPPFLAGS="-O2 -pipe -march=pentium4 -I/usr/local/include" LDFLAGS="-L/usr/local/lib"

Then I cann't see download/upload rate via amuleweb
(http://xs433.xs.to/xs433/08466/test601.jpg)

what's wrong with me?
Title: Re: amule 2.2.2 release crashed on FreBSD 7.1 prelease
Post by: wuischke on November 15, 2008, 09:31:10 AM
It is unstable? Did it crash on you? (aMule, I mean)

Regarding amuleweb: I'll have a look at it right now.

btw: --disable-nls and --with-included-gettext are contractictory, aren't they?

Edit: Please delete all templates and use only the new "default" template. The total speed seems to be missing, but I'll add it asap.
Title: Re: amule 2.2.2 release crashed on FreBSD 7.1 prelease
Post by: jyuny1 on November 15, 2008, 05:35:14 PM
It is unstable? Did it crash on you? (aMule, I mean)

Regarding amuleweb: I'll have a look at it right now.

btw: --disable-nls and --with-included-gettext are contractictory, aren't they?
Edit: Please delete all templates and use only the new "default" template. The total speed seems to be missing, but I'll add it asap.

yes, aMule SVN-r9718 has already crashed four times on my FreeBSD BOX in three hours :(

now I am compiling SVN-r9718 again with debugging options
I'll report after core file is generated

I should report backtrace information before complain it.
sorry for that.

thx for these response!
Title: Re: amule 2.2.2 release crashed on FreBSD 7.1 prelease
Post by: wuischke on November 15, 2008, 07:44:26 PM
OK, regarding the up/download display: I've fixed the template and I'm afraid you caught a real bug here. Thank you! Please excuse that this won't be fixed very soon as amuleweb is being worked on in the developmental version.

We are very interested in your crash reports as we have only few BSD users/testers which help us making aMule better on their platform.

Stu: Could you create a patch for 2.2.2 which fixes above crash?
Title: Re: amule 2.2.2 release crashed on FreBSD 7.1 prelease
Post by: jyuny1 on November 16, 2008, 08:23:26 AM
hi again,

my amule is compiled with these options
Code: [Select]
./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:
Code: [Select]
(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 ?? ()

Code: [Select]
(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()".

Code: [Select]
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:
Code: [Select]
jyuny1> Invalid socket (uninitialized)
Invalid socket (uninitialized)
Invalid socket (uninitialized)
Invalid socket (uninitialized)

and log
Code: [Select]
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?
Title: Re: amule 2.2.2 release crashed on FreBSD 7.1 prelease
Post by: Stu Redman on November 16, 2008, 12:49:52 PM
Stu: Could you create a patch for 2.2.2 which fixes above crash?
Done. Mind, I can't say if it actually fixes the crash. It simply fixes a fishy usage of a std::vector which might cause problems depending on implementation of the stl. This vector is the one that got corrupted in the crash.

jyuny1, please try removing known*.met . It appears that something is corrupted in your AICH hashes.