aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: 20050819 amulegui crash  (Read 2609 times)

niemand

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 6
20050819 amulegui crash
« on: August 21, 2005, 02:16:00 PM »

well, only happens when the transfer window stays open for a while.

Backtrace + console output
Code: [Select]
/usr/lib/gcc/i486-linux-gnu/4.0.1/../../../../include/c++/4.0.1/debug/safe_iterator.h:178:
    error: attempt to dereference a singular iterator.

Objects involved in the operation:
iterator "this" @ 0x0xbfe41580 {
type = N11__gnu_debug14_Safe_iteratorIN10__gnu_norm14_List_iteratorIP13CUpDownClientEEN15__gnu_debug_def4listIS4_SaIS4_EEEEE (mutable iterator);
  state = singular;
  references sequence with type `N15__gnu_debug_def4listIP13CUpDownClientSaIS2_EEE' @ 0x0xbfe41580
}

Program received signal SIGABRT, Aborted.
[Switching to Thread -1225152832 (LWP 12337)]
0xb76cc9e7 in raise () from /lib/tls/libc.so.6
(gdb) bt
#0  0xb76cc9e7 in raise () from /lib/tls/libc.so.6
#1  0xb76ce31b in abort () from /lib/tls/libc.so.6
#2  0xb7853235 in __gnu_debug::_Error_formatter::_M_error ()
   from /usr/lib/libstdc++.so.6
#3  0x0807657a in wxAppBase::SetPrintMode ()
#4  0x0809a44a in wxAppBase::SetPrintMode ()
#5  0x0809a812 in wxAppBase::SetPrintMode ()
#6  0x0809a960 in wxAppBase::SetPrintMode ()
#7  0x0806f116 in wxThreadHelperThread::~wxThreadHelperThread ()
#8  0xb794338d in wxAppConsole::HandleEvent ()
   from /usr/lib/libwx_baseu-2.6.so.0
#9  0xb79d1da4 in wxEvtHandler::ProcessEventIfMatches ()
   from /usr/lib/libwx_baseu-2.6.so.0
#10 0xb79d1fb8 in wxEventHashTable::HandleEvent ()
   from /usr/lib/libwx_baseu-2.6.so.0
#11 0xb79d218d in wxEvtHandler::ProcessEvent ()
   from /usr/lib/libwx_baseu-2.6.so.0
#12 0xb7c5cd88 in wxTimerBase::Notify ()
   from /usr/lib/libwx_gtk2u_core-2.6.so.0
#13 0xb7b67494 in wxTimer::Start () from /usr/lib/libwx_gtk2u_core-2.6.so.0
#14 0xb715a1a4 in g_main_context_wakeup () from /usr/lib/libglib-2.0.so.0
#15 0xb71583f1 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#16 0xb715b647 in g_main_context_check () from /usr/lib/libglib-2.0.so.0
---Type to continue, or q to quit---
#17 0xb715bb98 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#18 0xb7427849 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#19 0xb7b5e54e in wxEventLoop::Run () from /usr/lib/libwx_gtk2u_core-2.6.so.0
#20 0xb7bf04e8 in wxAppBase::MainLoop ()
   from /usr/lib/libwx_gtk2u_core-2.6.so.0
#21 0xb7bf0602 in wxAppBase::OnRun () from /usr/lib/libwx_gtk2u_core-2.6.so.0
#22 0xb797950b in wxEntry () from /usr/lib/libwx_baseu-2.6.so.0
#23 0xb79795de in wxEntry () from /usr/lib/libwx_baseu-2.6.so.0
#24 0x080677cd in wxThreadHelperThread::~wxThreadHelperThread ()
#25 0xb76b7ec0 in __libc_start_main () from /lib/tls/libc.so.6
#26 0x08065a21 in ?? ()
(gdb) bt full
#0  0xb76cc9e7 in raise () from /lib/tls/libc.so.6
No symbol table info available.
#1  0xb76ce31b in abort () from /lib/tls/libc.so.6
No symbol table info available.
#2  0xb7853235 in __gnu_debug::_Error_formatter::_M_error ()
   from /usr/lib/libstdc++.so.6
No symbol table info available.
#3  0x0807657a in wxAppBase::SetPrintMode ()
No symbol table info available.
#4  0x0809a44a in wxAppBase::SetPrintMode ()
No symbol table info available.
#5  0x0809a812 in wxAppBase::SetPrintMode ()
No symbol table info available.
#6  0x0809a960 in wxAppBase::SetPrintMode ()
No symbol table info available.
#7  0x0806f116 in wxThreadHelperThread::~wxThreadHelperThread ()
No symbol table info available.
#8  0xb794338d in wxAppConsole::HandleEvent ()
   from /usr/lib/libwx_baseu-2.6.so.0
No symbol table info available.
#9  0xb79d1da4 in wxEvtHandler::ProcessEventIfMatches ()
   from /usr/lib/libwx_baseu-2.6.so.0
No symbol table info available.
---Type to continue, or q to quit---
#10 0xb79d1fb8 in wxEventHashTable::HandleEvent ()
   from /usr/lib/libwx_baseu-2.6.so.0
No symbol table info available.
#11 0xb79d218d in wxEvtHandler::ProcessEvent ()
   from /usr/lib/libwx_baseu-2.6.so.0
No symbol table info available.
#12 0xb7c5cd88 in wxTimerBase::Notify ()
   from /usr/lib/libwx_gtk2u_core-2.6.so.0
No symbol table info available.
#13 0xb7b67494 in wxTimer::Start () from /usr/lib/libwx_gtk2u_core-2.6.so.0
No symbol table info available.
#14 0xb715a1a4 in g_main_context_wakeup () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#15 0xb71583f1 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#16 0xb715b647 in g_main_context_check () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#17 0xb715bb98 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#18 0xb7427849 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#19 0xb7b5e54e in wxEventLoop::Run () from /usr/lib/libwx_gtk2u_core-2.6.so.0
No symbol table info available.
---Type to continue, or q to quit---
#20 0xb7bf04e8 in wxAppBase::MainLoop ()
   from /usr/lib/libwx_gtk2u_core-2.6.so.0
No symbol table info available.
#21 0xb7bf0602 in wxAppBase::OnRun () from /usr/lib/libwx_gtk2u_core-2.6.so.0
No symbol table info available.
#22 0xb797950b in wxEntry () from /usr/lib/libwx_baseu-2.6.so.0
No symbol table info available.
#23 0xb79795de in wxEntry () from /usr/lib/libwx_baseu-2.6.so.0
No symbol table info available.
#24 0x080677cd in wxThreadHelperThread::~wxThreadHelperThread ()
No symbol table info available.
#25 0xb76b7ec0 in __libc_start_main () from /lib/tls/libc.so.6
No symbol table info available.
#26 0x08065a21 in ?? ()
No symbol table info available.
(gdb)
(gdb) thread apply all bt

Thread 1 (Thread -1225152832 (LWP 12337)):
#0  0xb76cc9e7 in raise () from /lib/tls/libc.so.6
#1  0xb76ce31b in abort () from /lib/tls/libc.so.6
#2  0xb7853235 in __gnu_debug::_Error_formatter::_M_error ()
   from /usr/lib/libstdc++.so.6
#3  0x0807657a in wxAppBase::SetPrintMode ()
#4  0x0809a44a in wxAppBase::SetPrintMode ()
#5  0x0809a812 in wxAppBase::SetPrintMode ()
#6  0x0809a960 in wxAppBase::SetPrintMode ()
#7  0x0806f116 in wxThreadHelperThread::~wxThreadHelperThread ()
#8  0xb794338d in wxAppConsole::HandleEvent ()
   from /usr/lib/libwx_baseu-2.6.so.0
#9  0xb79d1da4 in wxEvtHandler::ProcessEventIfMatches ()
   from /usr/lib/libwx_baseu-2.6.so.0
#10 0xb79d1fb8 in wxEventHashTable::HandleEvent ()
   from /usr/lib/libwx_baseu-2.6.so.0
#11 0xb79d218d in wxEvtHandler::ProcessEvent ()
   from /usr/lib/libwx_baseu-2.6.so.0
#12 0xb7c5cd88 in wxTimerBase::Notify ()
   from /usr/lib/libwx_gtk2u_core-2.6.so.0
#13 0xb7b67494 in wxTimer::Start () from /usr/lib/libwx_gtk2u_core-2.6.so.0
#14 0xb715a1a4 in g_main_context_wakeup () from /usr/lib/libglib-2.0.so.0
---Type to continue, or q to quit---
#15 0xb71583f1 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#16 0xb715b647 in g_main_context_check () from /usr/lib/libglib-2.0.so.0
#17 0xb715bb98 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#18 0xb7427849 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#19 0xb7b5e54e in wxEventLoop::Run () from /usr/lib/libwx_gtk2u_core-2.6.so.0
#20 0xb7bf04e8 in wxAppBase::MainLoop ()
   from /usr/lib/libwx_gtk2u_core-2.6.so.0
#21 0xb7bf0602 in wxAppBase::OnRun () from /usr/lib/libwx_gtk2u_core-2.6.so.0
#22 0xb797950b in wxEntry () from /usr/lib/libwx_baseu-2.6.so.0
#23 0xb79795de in wxEntry () from /usr/lib/libwx_baseu-2.6.so.0
#24 0x080677cd in wxThreadHelperThread::~wxThreadHelperThread ()
#25 0xb76b7ec0 in __libc_start_main () from /lib/tls/libc.so.6
#26 0x08065a21 in ?? ()
Logged

wardevil

  • Sr. Member
  • ****
  • Karma: -1
  • Offline Offline
  • Posts: 402
Re: 20050819 amulegui crash
« Reply #1 on: August 21, 2005, 04:26:07 PM »

You should try a newer cvs since from snapshot 20050820 its been running fine.....

Cheers....
Logged
Linux user nÂș289016 at Linux counter

Fab-Ko

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 4
Cvs 20050903
« Reply #2 on: September 06, 2005, 09:45:43 PM »

This is the Backtrace i made for this Bug.

Amulegui crashes always if i abort a download, the download is aborted, too.

I've posted it in this thread, this seems to be a similar problem.
Quote
(gdb) bt
Program received signal SIGABRT, Aborted.
[Switching to Thread 16384 (LWP 9014)]
0xb7720821 in kill () from /lib/libc.so.6
(gdb) bt
#0  0xb7720821 in kill () from /lib/libc.so.6
#1  0xb7f52111 in pthread_kill () from /lib/libpthread.so.0
#2  0xb7f5248b in raise () from /lib/libpthread.so.0
#3  0xb77205b8 in raise () from /lib/libc.so.6
#4  0xb7721a40 in abort () from /lib/libc.so.6
#5  0xb787fe97 in __gnu_debug::_Error_formatter::_M_error () from /usr/lib/gcc/i686-pc-linux-gnu/3.4.4/libstdc++.so.6
#6  0x0807da74 in __gnu_debug::_Safe_iterator<__gnu_norm::_List_iterator, __gnu_debug_def::list > >::operator* (
    this=0xbf8cb1a0) at safe_iterator.h:176
#7  0x08095cdd in CRemoteContainer::ProcessUpdate (this=0x84ac788, reply=0x8b43798, full_req=0xbf8cb300, req_type=19)
    at amule-remote-gui.h:300
#8  0x08095e9e in CRemoteContainer::DoRequery (this=0x84ac788, cmd=13, tag=-1208647692) at amule-remote-gui.h:229
#9  0x0806de5f in CamuleRemoteGuiApp::OnCoreTimer (this=0x8274a78) at amule-remote-gui.cpp:188
#10 0xb79f4156 in wxAppConsole::HandleEvent () from /usr/lib/libwx_base-2.6.so.0
#11 0xb7a83ccb in wxEvtHandler::ProcessEventIfMatches () from /usr/lib/libwx_base-2.6.so.0
#12 0xb7a83fbe in wxEventHashTable::HandleEvent () from /usr/lib/libwx_base-2.6.so.0
#13 0xb7a84c99 in wxEvtHandler::ProcessEvent () from /usr/lib/libwx_base-2.6.so.0
#14 0xb7ce2255 in wxTimerBase::Notify () from /usr/lib/libwx_gtk2_core-2.6.so.0
#15 0xb7bf3abd in wxTimer::GetClassInfo () from /usr/lib/libwx_gtk2_core-2.6.so.0
#16 0xb719fca7 in g_main_context_wakeup () from /usr/lib/libglib-2.0.so.0
#17 0xbf8cb598 in ?? ()
#18 0xb7f57ff4 in ?? () from /lib/libpthread.so.0
#19 0x00000000 in ?? ()
#20 0x08af56c8 in ?? ()
#21 0xbf8cb598 in ?? ()
#22 0xb7f50341 in pthread_mutex_unlock () from /lib/libpthread.so.0
Previous frame inner to this frame (corrupt stack?)
Quote
(gdb) bt full
#0  0xb7720821 in kill () from /lib/libc.so.6
No symbol table info available.
#1  0xb7f52111 in pthread_kill () from /lib/libpthread.so.0
No symbol table info available.
#2  0xb7f5248b in raise () from /lib/libpthread.so.0
No symbol table info available.
#3  0xb77205b8 in raise () from /lib/libc.so.6
No symbol table info available.
#4  0xb7721a40 in abort () from /lib/libc.so.6
No symbol table info available.
#5  0xb787fe97 in __gnu_debug::_Error_formatter::_M_error () from /usr/lib/gcc/i686-pc-linux-gnu/3.4.4/libstdc++.so.6
No symbol table info available.
#6  0x0807da74 in __gnu_debug::_Safe_iterator<__gnu_norm::_List_iterator, __gnu_debug_def::list > >::operator* (
    this=0xbf8cb1a0) at safe_iterator.h:176
No locals.
#7  0x08095cdd in CRemoteContainer::ProcessUpdate (this=0x84ac788, reply=0x8b43798, full_req=0xbf8cb300, req_type=19)
    at amule-remote-gui.h:300
        k = {<__gnu_debug::_Safe_iterator_base> = {_M_sequence = 0x84ac798, _M_version = 0, _M_prior = 0x0, _M_next = 0x0}, _M_current = {_M_node = 0x899fce0}}
        j = {<__gnu_debug::_Safe_iterator_base> = {_M_sequence = 0xbf8cb208, _M_version = 1, _M_prior = 0x0, _M_next = 0x0}, _M_current = {_M_node = 0x8b828b8}}
#8  0x08095e9e in CRemoteContainer::DoRequery (this=0x84ac788, cmd=13, tag=-1208647692) at amule-remote-gui.h:229
        req_sts = { = { = {m_error = 0, m_tagData = 0x0, m_tagName = 0, m_dataLen = 0, m_dynamic = false,
      m_tagList = {<__gnu_norm::vector >> = {<__gnu_norm::_Vector_base >> = {
            _M_impl = {> = {<__gnu_cxx::new_allocator> = {}, }, _M_start = 0x8b88798,
              _M_finish = 0x8b887c8,
              _M_end_of_storage = 0x8b887c8}}, }, <__gnu_debug::_Safe_sequence<__gnu_debug_def::vector > >> = {<__gnu_debug::_Safe_sequence_base> = {_M_iterators = 0x0, _M_const_iterators = 0x0, _M_version = 2}, }, _M_guaranteed_capacity = 1},
      static s_theNullTag = {m_error = 0, m_tagData = 0x81d3690, m_tagName = 0, m_dataLen = 0, m_dynamic = false,
        m_tagList = {<__gnu_norm::vector >> = {<__gnu_norm::_Vector_base >> = {
              _M_impl = {> = {<__gnu_cxx::new_allocator> = {}, }, _M_start = 0x0, _M_finish = 0x0,
                _M_end_of_storage = 0x0}}, }, <__gnu_debug::_Safe_sequence<__gnu_debug_def::vector > >> = {<__gnu_debug::_Safe_sequence_base> = {_M_iterators = 0x0, _M_const_iterators = 0x0, _M_version = 1}, }, _M_guaranteed_capacity = 0},
        static s_theNullTag = , static s_theNullTagData = {0, 0, 0, 0}}, static s_theNullTagData = {0, 0, 0,
        0}}, }, m_opCode = 13 '\r'}
        reply = {_M_ptr = 0x8b43798}
        req_full = { = { = {m_error = 0, m_tagData = 0x0, m_tagName = 0, m_dataLen = 0, m_dynamic = false,
      m_tagList = {<__gnu_norm::vector >> = {<__gnu_norm::_Vector_base >> = {
            _M_impl = {> = {<__gnu_cxx::new_allocator> = {}, }, _M_start = 0x0, _M_finish = 0x0,
              _M_end_of_storage = 0x0}}, }, <__gnu_debug::_Safe_sequence<__gnu_debug_def::vector > >> = {<__gnu_debug::_Safe_sequence_base> = {_M_iterators = 0x0, _M_const_iterators = 0x0, _M_version = 1}, }, _M_guaranteed_capacity = 0}, static s_theNullTag = {
        m_error = 0, m_tagData = 0x81d3690, m_tagName = 0, m_dataLen = 0, m_dynamic = false,
        m_tagList = {<__gnu_norm::vector >> = {<__gnu_norm::_Vector_base >> = {
              _M_impl = {> = {<__gnu_cxx::new_allocator> = {}, }, _M_start = 0x0, _M_finish = 0x0,
                _M_end_of_storage = 0x0}}, }, <__gnu_debug::_Safe_sequence<__gnu_debug_def::vector > >> = {<__gnu_debug::_Safe_sequence_base> = {_M_iterators = 0x0, _M_const_iterators = 0x0, _M_version = 1}, }, _M_guaranteed_capacity = 0},
        static s_theNullTag = , static s_theNullTagData = {0, 0, 0, 0}}, static s_theNullTagData = {0, 0, 0,
        0}}, }, m_opCode = 13 '\r'}
#9  0x0806de5f in CamuleRemoteGuiApp::OnCoreTimer (this=0x8274a78) at amule-remote-gui.cpp:188
        stats_req = { = { = {m_error = 0, m_tagData = 0x0, m_tagName = 0, m_dataLen = 0, m_dynamic = false,
      m_tagList = {<__gnu_norm::vector >> = {<__gnu_norm::_Vector_base >> = {
            _M_impl = {> = {<__gnu_cxx::new_allocator> = {}, }, _M_start = 0x0, _M_finish = 0x0,
              _M_end_of_storage = 0x0}}, }, <__gnu_debug::_Safe_sequence<__gnu_debug_def::vector > >> = {<__gnu_debug::_Safe_sequence_base> = {_M_iterators = 0x0, _M_const_iterators = 0x0, _M_version = 1}, }, _M_guaranteed_capacity = 0}, static s_theNullTag = {
        m_error = 0, m_tagData = 0x81d3690, m_tagName = 0, m_dataLen = 0, m_dynamic = false,
        m_tagList = {<__gnu_norm::vector >> = {<__gnu_norm::_Vector_base}, <__gnu_debug::_Safe_sequence<__gnu_debug_def::vector > >> = {<__gnu_debug::_Safe_sequence_base> = {_M_iterators = 0x0, _M_const_iterators = 0x0, _M_version = 1}, }, _M_guaranteed_capacity = 0},
        static s_theNullTag = , static s_theNullTagData = {0, 0, 0, 0}}, static s_theNullTagData = {0, 0, 0,
        0}}, }, m_opCode = 10 '\n'}
        stats = {_M_ptr = 0x8b88798}
#10 0xb79f4156 in wxAppConsole::HandleEvent () from /usr/lib/libwx_base-2.6.so.0
No symbol table info available.
#11 0xb7a83ccb in wxEvtHandler::ProcessEventIfMatches () from /usr/lib/libwx_base-2.6.so.0
No symbol table info available.
#12 0xb7a83fbe in wxEventHashTable::HandleEvent () from /usr/lib/libwx_base-2.6.so.0
No symbol table info available.
#13 0xb7a84c99 in wxEvtHandler::ProcessEvent () from /usr/lib/libwx_base-2.6.so.0
No symbol table info available.
#14 0xb7ce2255 in wxTimerBase::Notify () from /usr/lib/libwx_gtk2_core-2.6.so.0
No symbol table info available.
#15 0xb7bf3abd in wxTimer::GetClassInfo () from /usr/lib/libwx_gtk2_core-2.6.so.0
No symbol table info available.
#16 0xb719fca7 in g_main_context_wakeup () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#17 0xbf8cb598 in ?? ()
No symbol table info available.
#18 0xb7f57ff4 in ?? () from /lib/libpthread.so.0
No symbol table info available.
#19 0x00000000 in ?? ()
No symbol table info available.
#20 0x08af56c8 in ?? ()
No symbol table info available.
#21 0xbf8cb598 in ?? ()
No symbol table info available.
#22 0xb7f50341 in pthread_mutex_unlock () from /lib/libpthread.so.0
No symbol table info available.


Quote
(gdb) thread apply all bt
Thread 1 (Thread 16384 (LWP 9014)):
#0  0xb7720821 in kill () from /lib/libc.so.6
#1  0xb7f52111 in pthread_kill () from /lib/libpthread.so.0
#2  0xb7f5248b in raise () from /lib/libpthread.so.0
#3  0xb77205b8 in raise () from /lib/libc.so.6
#4  0xb7721a40 in abort () from /lib/libc.so.6
#5  0xb787fe97 in __gnu_debug::_Error_formatter::_M_error () from /usr/lib/gcc/i686-pc-linux-gnu/3.4.4/libstdc++.so.6
#6  0x0807da74 in __gnu_debug::_Safe_iterator<__gnu_norm::_List_iterator, __gnu_debug_def::list > >::operator* (
    this=0xbf8cb1a0) at safe_iterator.h:176
#7  0x08095cdd in CRemoteContainer::ProcessUpdate (this=0x84ac788, reply=0x8b43798, full_req=0xbf8cb300, req_type=19)
    at amule-remote-gui.h:300
#8  0x08095e9e in CRemoteContainer::DoRequery (this=0x84ac788, cmd=13, tag=-1208647692) at amule-remote-gui.h:229
#9  0x0806de5f in CamuleRemoteGuiApp::OnCoreTimer (this=0x8274a78) at amule-remote-gui.cpp:188
#10 0xb79f4156 in wxAppConsole::HandleEvent () from /usr/lib/libwx_base-2.6.so.0
#11 0xb7a83ccb in wxEvtHandler::ProcessEventIfMatches () from /usr/lib/libwx_base-2.6.so.0
#12 0xb7a83fbe in wxEventHashTable::HandleEvent () from /usr/lib/libwx_base-2.6.so.0
#13 0xb7a84c99 in wxEvtHandler::ProcessEvent () from /usr/lib/libwx_base-2.6.so.0
#14 0xb7ce2255 in wxTimerBase::Notify () from /usr/lib/libwx_gtk2_core-2.6.so.0
#15 0xb7bf3abd in wxTimer::GetClassInfo () from /usr/lib/libwx_gtk2_core-2.6.so.0
#16 0xb719fca7 in g_main_context_wakeup () from /usr/lib/libglib-2.0.so.0
#17 0xbf8cb598 in ?? ()
#18 0xb7f57ff4 in ?? () from /lib/libpthread.so.0
#19 0x00000000 in ?? ()
#20 0x08af56c8 in ?? ()
#21 0xbf8cb598 in ?? ()
#22 0xb7f50341 in pthread_mutex_unlock () from /lib/libpthread.so.0
« Last Edit: September 06, 2005, 09:58:44 PM by Fab-Ko »
Logged