aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: 20051119 Sigabrt  (Read 1903 times)

spiorf

  • Jr. Member
  • **
  • Karma: 0
  • Offline Offline
  • Posts: 73
20051119 Sigabrt
« on: November 21, 2005, 07:37:53 PM »

Code: [Select]
/usr/include/c++/3.4/debug/safe_iterator.h:237:error: attempt to decrement
    a dereferenceable (start-of-sequence) iterator.

Objects involved in the operation:
iterator "this" @ 0x0xafc59dc0 {
type = N11__gnu_debug14_Safe_iteratorIN10__gnu_norm14_List_iteratorI13HistoryRecordEEN15_ _gnu_debug_def4listIS3_SaIS3_EEEEE (mutable iterator);
  state = dereferenceable (start-of-sequence);
  references sequence with type `N15__gnu_debug_def4listI13HistoryRecordSaIS1_EEE' @ 0x0x afc59dc0
}

Program received signal SIGABRT, Aborted.
[Switching to Thread -1493559616 (LWP 3459)]
0xa75b27a7 in raise () from /lib/tls/libc.so.6
(gdb) bt
#0  0xa75b27a7 in raise () from /lib/tls/libc.so.6
#1  0xa75b404b in abort () from /lib/tls/libc.so.6
#2  0xa7736533 in __gnu_debug::_Error_formatter::_M_error ()
   from /usr/lib/libstdc++.so.6
#3  0x0822a666 in __gnu_debug::_Safe_iterator<__gnu_norm::_List_iterator, __gnu_debug_def::list > >::operator-- (this=0xafc59dc0) at safe_iterator.h:235
#4  0x0822a7ea in std::reverse_iterator<__gnu_debug::_Safe_iterator<__gnu_norm::_List_iterator, __gnu_debug_def::list > > >::operator* (this=0x0) at stl_iterator.h:152
#5  0x08227f4c in CStatistics::ComputeAverages (this=0x89b7730,
    pphr=0xf44b464, pos=
          {> = {}, current = {<__gnu_debug::_Safe_iterator_base> = {_M_sequence = 0x89b7738, _M_version = 1, _M_prior = 0xafc59dc0, _M_next = 0xafc59f60}, _M_current = {_M_node = 0x8b64530}}},
    cntFilled=593, sStep=120, ppf=0xe445898, which_graph=GRAPH_KAD)
    at Statistics.cpp:524
#6  0x0822877b in CStatistics::GetHistory (this=0x89b7730, cntPoints=593,
    sStep=120, sFinal=-1, ppf=0xe445898, which_graph=GRAPH_KAD)
    at Statistics.cpp:430
#7  0x081ad887 in COScopeCtrl::PlotHistory (this=0x946efb8, cntPoints=1024,
    bShiftGraph=false, bRefresh=false) at OScopeCtrl.cpp:488
---Type to continue, or q to quit---
#8  0x081ada56 in COScopeCtrl::RecreateGraph (this=0x946efb8, bRefresh=false)
    at OScopeCtrl.cpp:523
#9  0x081ae2f1 in COScopeCtrl::RecreateGrid (this=0x946efb8)
    at OScopeCtrl.cpp:300
#10 0x081ae6eb in COScopeCtrl::OnPaint (this=0x946efb8) at OScopeCtrl.cpp:328
#11 0xa7807efa in wxAppConsole::HandleEvent ()
   from /mnt/1/amule/wxcvs/lib/libwx_baseu-2.7.so.0
#12 0xa789627f in wxEvtHandler::ProcessEventIfMatches ()
   from /mnt/1/amule/wxcvs/lib/libwx_baseu-2.7.so.0
#13 0xa7896568 in wxEventHashTable::HandleEvent ()
   from /mnt/1/amule/wxcvs/lib/libwx_baseu-2.7.so.0
#14 0xa78971a4 in wxEvtHandler::ProcessEvent ()
   from /mnt/1/amule/wxcvs/lib/libwx_baseu-2.7.so.0
#15 0xa7a48dd5 in wxWindow::GtkSendPaintEvents ()
   from /mnt/1/amule/wxcvs/lib/libwx_gtk2u_core-2.7.so.0
#16 0xa7a490dc in gtk_window_expose_callback ()
   from /mnt/1/amule/wxcvs/lib/libwx_gtk2u_core-2.7.so.0
#17 0xa730ed85 in _gtk_marshal_BOOLEAN__BOXED ()
   from /usr/lib/libgtk-x11-2.0.so.0
#18 0xa70b167b in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#19 0xa70c0c9d in g_signal_stop_emission () from /usr/lib/libgobject-2.0.so.0
#20 0xa70c1e35 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#21 0xa70c242e in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
---Type to continue, or q to quit---
#22 0xa73ec568 in gtk_widget_activate () from /usr/lib/libgtk-x11-2.0.so.0
#23 0xa730d961 in gtk_main_do_event () from /usr/lib/libgtk-x11-2.0.so.0
#24 0xa71aab3c in gdk_window_clear_area_e () from /usr/lib/libgdk-x11-2.0.so.0
#25 0xa71aac3c in gdk_window_process_all_updates ()
   from /usr/lib/libgdk-x11-2.0.so.0
#26 0xa728cbe3 in gtk_container_check_resize ()
   from /usr/lib/libgtk-x11-2.0.so.0
#27 0xa7043961 in g_child_watch_add () from /usr/lib/libglib-2.0.so.0
#28 0xa7041421 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#29 0xa7044687 in g_main_context_check () from /usr/lib/libglib-2.0.so.0
#30 0xa7044bd8 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#31 0xa730c989 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#32 0xa7a340e5 in wxEventLoop::Run ()
   from /mnt/1/amule/wxcvs/lib/libwx_gtk2u_core-2.7.so.0
#33 0xa7ab5939 in wxAppBase::MainLoop ()
   from /mnt/1/amule/wxcvs/lib/libwx_gtk2u_core-2.7.so.0
#34 0xa7ab5ab3 in wxAppBase::OnRun ()
   from /mnt/1/amule/wxcvs/lib/libwx_gtk2u_core-2.7.so.0
#35 0xa783d2b0 in wxEntry () from /mnt/1/amule/wxcvs/lib/libwx_baseu-2.7.so.0
#36 0xa783d39e in wxEntry () from /mnt/1/amule/wxcvs/lib/libwx_baseu-2.7.so.0
#37 0x08199ea6 in main (argc=1, argv=0x0) at amule-gui.cpp:150
(gdb) bt full
#0  0xa75b27a7 in raise () from /lib/tls/libc.so.6
No symbol table info available.
#1  0xa75b404b in abort () from /lib/tls/libc.so.6
No symbol table info available.
#2  0xa7736533 in __gnu_debug::_Error_formatter::_M_error ()
   from /usr/lib/libstdc++.so.6
No symbol table info available.
#3  0x0822a666 in __gnu_debug::_Safe_iterator<__gnu_norm::_List_iterator, __gnu_debug_def::list > >::operator-- (this=0xafc59dc0) at safe_iterator.h:235No locals.
#4  0x0822a7ea in std::reverse_iterator<__gnu_debug::_Safe_iterator<__gnu_norm::_List_iterator, __gnu_debug_def::list > > >::operator* (this=0x0) at stl_iterator.h:152
        __tmp = {<__gnu_debug::_Safe_iterator_base> = {
    _M_sequence = 0x89b7738, _M_version = 1, _M_prior = 0x0,
    _M_next = 0xafc59f20}, _M_current = {_M_node = 0x8b64530}}
#5  0x08227f4c in CStatistics::ComputeAverages (this=0x89b7730,
    pphr=0xf44b464, pos=
          {> = {}, current = {<__gnu_debug::_Safe_iterator_base> = {_M_sequence = 0x89b7738, _M_version = 1, _M_prior = 0xafc59dc0, _M_next = 0xafc59f60}, _M_current = {_M_node = 0x8b64530}}},
---Type to continue, or q to quit---
    cntFilled=593, sStep=120, ppf=0xe445898, which_graph=GRAPH_KAD)
    at Statistics.cpp:524
        kValueRun = -nan(0x8000000000000)
        avgTime = The value of variable 'avgTime' is distributed across several
locations, and GDB cannot access its value.

(gdb) thread apply all bt

Thread 4 (Thread -1505031248 (LWP 3474)):
#0  0xa7f23b4c in __nanosleep_nocancel () from /lib/tls/libpthread.so.0
#1  0xa7899e66 in wxMicroSleep ()
   from /mnt/1/amule/wxcvs/lib/libwx_baseu-2.7.so.0
#2  0xa7899e98 in wxMilliSleep ()
   from /mnt/1/amule/wxcvs/lib/libwx_baseu-2.7.so.0
#3  0xa7893b3c in wxThread::Sleep ()
   from /mnt/1/amule/wxcvs/lib/libwx_baseu-2.7.so.0
#4  0x082985fe in CTimerThread::Entry (this=0x9af7988) at Timer.cpp:75
#5  0xa789498f in wxThreadInternal::PthreadStart ()
   from /mnt/1/amule/wxcvs/lib/libwx_baseu-2.7.so.0
#6  0xa7894a0c in wxPthreadStart ()
   from /mnt/1/amule/wxcvs/lib/libwx_baseu-2.7.so.0
#7  0xa7f1ecfd in start_thread () from /lib/tls/libpthread.so.0
#8  0xa765a13e in clone () from /lib/tls/libc.so.6

Thread 2 (Thread -1496527952 (LWP 3467)):
#0  0xa7f23b4c in __nanosleep_nocancel () from /lib/tls/libpthread.so.0
#1  0xa7899e66 in wxMicroSleep ()
   from /mnt/1/amule/wxcvs/lib/libwx_baseu-2.7.so.0
#2  0xa7899e98 in wxMilliSleep ()
   from /mnt/1/amule/wxcvs/lib/libwx_baseu-2.7.so.0
---Type to continue, or q to quit---
#3  0xa7893b3c in wxThread::Sleep ()
   from /mnt/1/amule/wxcvs/lib/libwx_baseu-2.7.so.0
#4  0x0815562e in UploadBandwidthThrottler::Entry (this=0x954a180)
    at UploadBandwidthThrottler.cpp:354
#5  0xa789498f in wxThreadInternal::PthreadStart ()
   from /mnt/1/amule/wxcvs/lib/libwx_baseu-2.7.so.0
#6  0xa7894a0c in wxPthreadStart ()
   from /mnt/1/amule/wxcvs/lib/libwx_baseu-2.7.so.0
#7  0xa7f1ecfd in start_thread () from /lib/tls/libpthread.so.0
#8  0xa765a13e in clone () from /lib/tls/libc.so.6

Thread 1 (Thread -1493559616 (LWP 3459)):
#0  0xa75b27a7 in raise () from /lib/tls/libc.so.6
#1  0xa75b404b in abort () from /lib/tls/libc.so.6
#2  0xa7736533 in __gnu_debug::_Error_formatter::_M_error ()
   from /usr/lib/libstdc++.so.6
#3  0x0822a666 in __gnu_debug::_Safe_iterator<__gnu_norm::_List_iterator, __gnu_debug_def::list > >::operator-- (this=0xafc59dc0) at safe_iterator.h:235#4  0x0822a7ea in std::reverse_iterator<__gnu_debug::_Safe_iterator<__gnu_norm::_List_iterator, __gnu_debug_def::list > > >::operator* (this=0x0) at stl_iterator.h:152
#5  0x08227f4c in CStatistics::ComputeAverages (this=0x89b7730,
---Type to continue, or q to quit---
    pphr=0xf44b464, pos=
          {> = {}, current = {<__gnu_debug::_Safe_iterator_base> = {_M_sequence = 0x89b7738, _M_version = 1, _M_prior = 0xafc59dc0, _M_next = 0xafc59f60}, _M_current = {_M_node = 0x8b64530}}},
    cntFilled=593, sStep=120, ppf=0xe445898, which_graph=GRAPH_KAD)
    at Statistics.cpp:524
#6  0x0822877b in CStatistics::GetHistory (this=0x89b7730, cntPoints=593,
    sStep=120, sFinal=-1, ppf=0xe445898, which_graph=GRAPH_KAD)
    at Statistics.cpp:430
#7  0x081ad887 in COScopeCtrl::PlotHistory (this=0x946efb8, cntPoints=1024,
    bShiftGraph=false, bRefresh=false) at OScopeCtrl.cpp:488
#8  0x081ada56 in COScopeCtrl::RecreateGraph (this=0x946efb8, bRefresh=false)
    at OScopeCtrl.cpp:523
#9  0x081ae2f1 in COScopeCtrl::RecreateGrid (this=0x946efb8)
    at OScopeCtrl.cpp:300
#10 0x081ae6eb in COScopeCtrl::OnPaint (this=0x946efb8) at OScopeCtrl.cpp:328
#11 0xa7807efa in wxAppConsole::HandleEvent ()
   from /mnt/1/amule/wxcvs/lib/libwx_baseu-2.7.so.0
#12 0xa789627f in wxEvtHandler::ProcessEventIfMatches ()
   from /mnt/1/amule/wxcvs/lib/libwx_baseu-2.7.so.0
#13 0xa7896568 in wxEventHashTable::HandleEvent ()
   from /mnt/1/amule/wxcvs/lib/libwx_baseu-2.7.so.0
---Type to continue, or q to quit---
#14 0xa78971a4 in wxEvtHandler::ProcessEvent ()
   from /mnt/1/amule/wxcvs/lib/libwx_baseu-2.7.so.0
#15 0xa7a48dd5 in wxWindow::GtkSendPaintEvents ()
   from /mnt/1/amule/wxcvs/lib/libwx_gtk2u_core-2.7.so.0
#16 0xa7a490dc in gtk_window_expose_callback ()
   from /mnt/1/amule/wxcvs/lib/libwx_gtk2u_core-2.7.so.0
#17 0xa730ed85 in _gtk_marshal_BOOLEAN__BOXED ()
   from /usr/lib/libgtk-x11-2.0.so.0
#18 0xa70b167b in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#19 0xa70c0c9d in g_signal_stop_emission () from /usr/lib/libgobject-2.0.so.0
#20 0xa70c1e35 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#21 0xa70c242e in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#22 0xa73ec568 in gtk_widget_activate () from /usr/lib/libgtk-x11-2.0.so.0
#23 0xa730d961 in gtk_main_do_event () from /usr/lib/libgtk-x11-2.0.so.0
#24 0xa71aab3c in gdk_window_clear_area_e () from /usr/lib/libgdk-x11-2.0.so.0
#25 0xa71aac3c in gdk_window_process_all_updates ()
   from /usr/lib/libgdk-x11-2.0.so.0
#26 0xa728cbe3 in gtk_container_check_resize ()
   from /usr/lib/libgtk-x11-2.0.so.0
#27 0xa7043961 in g_child_watch_add () from /usr/lib/libglib-2.0.so.0
#28 0xa7041421 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#29 0xa7044687 in g_main_context_check () from /usr/lib/libglib-2.0.so.0
#30 0xa7044bd8 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
---Type to continue, or q to quit---
#31 0xa730c989 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#32 0xa7a340e5 in wxEventLoop::Run ()
   from /mnt/1/amule/wxcvs/lib/libwx_gtk2u_core-2.7.so.0
#33 0xa7ab5939 in wxAppBase::MainLoop ()
   from /mnt/1/amule/wxcvs/lib/libwx_gtk2u_core-2.7.so.0
#34 0xa7ab5ab3 in wxAppBase::OnRun ()
   from /mnt/1/amule/wxcvs/lib/libwx_gtk2u_core-2.7.so.0
#35 0xa783d2b0 in wxEntry () from /mnt/1/amule/wxcvs/lib/libwx_baseu-2.7.so.0
#36 0xa783d39e in wxEntry () from /mnt/1/amule/wxcvs/lib/libwx_baseu-2.7.so.0
#37 0x08199ea6 in main (argc=1, argv=0x0) at amule-gui.cpp:150
(gdb)

Logged
Alcohol, the cause of, and solution to, all of lifes problems...

Xaignar

  • Admin and Code Junky
  • Hero Member
  • *****
  • Karma: 19
  • Offline Offline
  • Posts: 1103
Re: 20051119 Sigabrt
« Reply #1 on: November 21, 2005, 07:52:10 PM »

Can you tell me what line 524 of the file src/Statistics.cpp is?

EDIT: Nevermind.
Logged