aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: Out of memory crash (std:bad_alloc)  (Read 5290 times)

btkaos

  • Global Moderator
  • Sr. Member
  • *****
  • Karma: 110
  • Offline Offline
  • Posts: 486
  • Kaos is infinite!
Out of memory crash (std:bad_alloc)
« on: December 24, 2008, 11:27:35 AM »

Amule rev. 9278 (debug build), Ubuntu Intreprid 32bit, wx 2.8.9 stock.

It seems we have a leak. Overnight, amule ate all the available memory and then proceeded to crash:

Code: [Select]
[Thread 0xb590db90 (LWP 6942) exited]

(amule:6794): GLib-WARNING **: /build/buildd/glib2.0-2.18.2/glib/giounix.c:400Error while getting flags for FD: Descriptor de archivo inválido (9)


(amule:6794): GLib-WARNING **: /build/buildd/glib2.0-2.18.2/glib/giounix.c:400Error while getting flags for FD: Descriptor de archivo inválido (9)


Terminated after throwing an instance of 'std::bad_alloc'
what(): std::bad_alloc
Error while getting symbol table : Memoria agotada
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb4fffb90 (LWP 6803)]
0xb7ffcfeb in ?? () from /usr/lib/libbfd-2.18.93.20081009.so
(gdb)
(gdb) bt
#0  0xb7ffcfeb in ?? () from /usr/lib/libbfd-2.18.93.20081009.so
#1  0xb7ffed24 in _bfd_elf_find_nearest_line () from /usr/lib/libbfd-2.18.93.20081009.so
#2  0x083e7be0 in get_file_line_info (abfd=0xb5006a50, section=0xb5034004, _address=0x83e8046)
    at MuleDebug.cpp:278
#3  0xb7fddeb7 in bfd_map_over_sections () from /usr/lib/libbfd-2.18.93.20081009.so
#4  0x083e88d8 in get_backtrace (n=1) at MuleDebug.cpp:394
#5  0x083e9900 in OnUnhandledException () at MuleDebug.cpp:101
#6  0xb75b55d5 in ?? () from /usr/lib/libstdc++.so.6
#7  0xb75b5612 in std::terminate () from /usr/lib/libstdc++.so.6
#8  0xb75b574a in __cxa_throw () from /usr/lib/libstdc++.so.6
#9  0xb75b5da3 in operator new () from /usr/lib/libstdc++.so.6
#10 0x083e3bd5 in CTimerEvent::Clone (this=0xb4fff2ec) at Timer.cpp:158
#11 0xb76cf965 in wxEvtHandler::AddPendingEvent () from /usr/lib/libwx_baseu-2.8.so.0
#12 0x08195c14 in wxPostEvent (dest=0xa71caf8, event=@0xb4fff2ec)
    at /usr/include/wx-2.8/wx/event.h:2565
#13 0x083e3fac in CTimerThread::Entry (this=0xc10d680) at Timer.cpp:68
#14 0xb76ce203 in wxThreadInternal::PthreadStart () from /usr/lib/libwx_baseu-2.8.so.0
#15 0xb76ce27d in wxPthreadStart () from /usr/lib/libwx_baseu-2.8.so.0
#16 0xb80aa50f in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#17 0xb74487ee in clone () from /lib/tls/i686/cmov/libc.so.6
(gdb) bt full
#0  0xb7ffcfeb in ?? () from /usr/lib/libbfd-2.18.93.20081009.so
No symbol table info available.
#1  0xb7ffed24 in _bfd_elf_find_nearest_line () from /usr/lib/libbfd-2.18.93.20081009.so
No symbol table info available.
#2  0x083e7be0 in get_file_line_info (abfd=0xb5006a50, section=0xb5034004, _address=0x83e8046)
    at MuleDebug.cpp:278
vma = 134794880
address = 138313798
size = 4343660
#3  0xb7fddeb7 in bfd_map_over_sections () from /usr/lib/libbfd-2.18.93.20081009.so
No symbol table info available.
#4  0x083e88d8 in get_backtrace (n=1) at MuleDebug.cpp:394
addr = 138313798
i = 0
bt_array = {0x83e8046, 0x83e9900, 0xb75b55d5, 0xb75b5612, 0xb75b574a, 0xb75b5da3, 0x83e3bd5,
  0xb76cf965, 0x8195c14, 0x83e3fac, 0xb76ce203, 0xb76ce27d, 0xb80aa50f, 0xb74487ee, 0xb4fff114, 0x0,
  0xb4fff118, 0xb4fff140, 0xb4ffede8, 0xb4fff148, 0xb4fff144, 0xb4fff124, 0xb4fff14c, 0x0, 0x0, 0x0,
  0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xb4fff150, 0x83e96ef, 0x85fefd0, 0x0, 0x0, 0x83e9641, 0x40000000,
  0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xb4ffefe4, 0x0, 0xb4ffefe8, 0xb4ffefec, 0x0, 0xb4ffeff8,
  0xb4ffeff0, 0xb4ffeff4, 0xb4ffeffc, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xb4fff000,
  0xb74cd5e5, 0x0, 0x0, 0x0, 0xb74cd430, 0x40000000, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xb50259f0,
  0x4, 0xb75e2ff4, 0xb50259f0, 0xb75e98a4, 0xb4fff1b8, 0x83e96ef, 0xb50259f0, 0xb4fff0f0,
  0xb80e22af, 0xb4fff0e0, 0x8052820, 0xb4fff0d4, 0xb80f57c4, 0x0, 0xb693cc90, 0x5, 0x0, 0x1, 0x0,
  0x0, 0x0}
bt_strings = (char **) 0xb50093c8
num_entries = 14
libname = {<std::__norm::vector<wxString, std::allocator<wxString> >> = {<std::__norm::_Vector_base<wxString, std::allocator<wxString> >> = {
      _M_impl = {<std::allocator<wxString>> = {<__gnu_cxx::new_allocator<wxString>> = {<No data fields>}, <No data fields>}, _M_start = 0xb50076e8, _M_finish = 0xb5007720,
        _M_end_of_storage = 0xb5007720}}, <No data fields>}, <__gnu_debug::_Safe_sequence<std::__debug::vector<wxString, std::allocator<wxString> > >> = {<__gnu_debug::_Safe_sequence_base> = {
      _M_iterators = 0x0, _M_const_iterators = 0x0, _M_version = 1}, <No data fields>},
  _M_guaranteed_capacity = 14}
funcname = {<std::__norm::vector<wxString, std::allocator<wxString> >> = {<std::__norm::_Vector_base<wxString, std::allocator<wxString> >> = {
      _M_impl = {<std::allocator<wxString>> = {<__gnu_cxx::new_allocator<wxString>> = {<No data fields>}, <No data fields>}, _M_start = 0xb5021e40, _M_finish = 0xb5021e78,
        _M_end_of_storage = 0xb5021e78}}, <No data fields>}, <__gnu_debug::_Safe_sequence<std::__debug::vector<wxString, std::allocator<wxString> > >> = {<__gnu_debug::_Safe_sequence_base> = {
      _M_iterators = 0x0, _M_const_iterators = 0x0, _M_version = 1}, <No data fields>},
  _M_guaranteed_capacity = 14}
address = {<std::__norm::vector<wxString, std::allocator<wxString> >> = {<std::__norm::_Vector_base<wxString, std::allocator<wxString> >> = {
      _M_impl = {<std::allocator<wxString>> = {<__gnu_cxx::new_allocator<wxString>> = {<No data fields>}, <No data fields>}, _M_start = 0xb501f160, _M_finish = 0xb501f198,
        _M_end_of_storage = 0xb501f198}}, <No data fields>}, <__gnu_debug::_Safe_sequence<std::__debug::vector<wxString, std::allocator<wxString> > >> = {<__gnu_debug::_Safe_sequence_base> = {
      _M_iterators = 0x0, _M_const_iterators = 0x0, _M_version = 1}, <No data fields>},
  _M_guaranteed_capacity = 14}
AllAddresses = {<wxStringBase> = {static npos = 4294967295,
    m_pchData = 0xb50263dc}, <No data fields>}
out = {m_nSize = 0, m_nCount = 0, m_pItems = 0x0, m_autoSort = false}
hasLineNumberInfo = false
trace = {<wxStringBase> = {static npos = 4294967295,
    m_pchData = 0xb692b960}, <No data fields>}
#5  0x083e9900 in OnUnhandledException () at MuleDebug.cpp:101
status = 0
dem = 0xb502fab0 "�\022\005�0
name = 0xb75bfbf3 "St9bad_alloc"
t = (struct std::type_info *) 0x8619a4c
---Type <return> to continue, or q <return> to quit---
output = (FILE *) 0xb74c1560
#6  0xb75b55d5 in ?? () from /usr/lib/libstdc++.so.6
No symbol table info available.
#7  0xb75b5612 in std::terminate () from /usr/lib/libstdc++.so.6
No symbol table info available.
#8  0xb75b574a in __cxa_throw () from /usr/lib/libstdc++.so.6
No symbol table info available.
#9  0xb75b5da3 in operator new () from /usr/lib/libstdc++.so.6
No symbol table info available.
#10 0x083e3bd5 in CTimerEvent::Clone (this=0xb4fff2ec) at Timer.cpp:158
No locals.
#11 0xb76cf965 in wxEvtHandler::AddPendingEvent () from /usr/lib/libwx_baseu-2.8.so.0
No symbol table info available.
#12 0x08195c14 in wxPostEvent (dest=0xa71caf8, event=@0xb4fff2ec)
    at /usr/include/wx-2.8/wx/event.h:2565
No locals.
#13 0x083e3fac in CTimerThread::Entry (this=0xc10d680) at Timer.cpp:68
now = 1740599634
sinceLast = 0
timeout = 100
evt = {<> = {<No data fields>}, <No data fields>}
lastEvent = 1740599734
#14 0xb76ce203 in wxThreadInternal::PthreadStart () from /usr/lib/libwx_baseu-2.8.so.0
No symbol table info available.
#15 0xb76ce27d in wxPthreadStart () from /usr/lib/libwx_baseu-2.8.so.0
No symbol table info available.
#16 0xb80aa50f in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
No symbol table info available.
#17 0xb74487ee in clone () from /lib/tls/i686/cmov/libc.so.6
No symbol table info available.
(gdb) thread apply all bt full

Thread 4 (Thread 0xb4fffb90 (LWP 6803)):
#0  0xb7ffcfeb in ?? () from /usr/lib/libbfd-2.18.93.20081009.so
No symbol table info available.
#1  0xb7ffed24 in _bfd_elf_find_nearest_line () from /usr/lib/libbfd-2.18.93.20081009.so
No symbol table info available.
#2  0x083e7be0 in get_file_line_info (abfd=0xb5006a50, section=0xb5034004, _address=0x83e8046)
    at MuleDebug.cpp:278
vma = 134794880
address = 138313798
size = 4343660
#3  0xb7fddeb7 in bfd_map_over_sections () from /usr/lib/libbfd-2.18.93.20081009.so
No symbol table info available.
#4  0x083e88d8 in get_backtrace (n=1) at MuleDebug.cpp:394
addr = 138313798
i = 0
bt_array = {0x83e8046, 0x83e9900, 0xb75b55d5, 0xb75b5612, 0xb75b574a, 0xb75b5da3, 0x83e3bd5,
  0xb76cf965, 0x8195c14, 0x83e3fac, 0xb76ce203, 0xb76ce27d, 0xb80aa50f, 0xb74487ee, 0xb4fff114, 0x0,
  0xb4fff118, 0xb4fff140, 0xb4ffede8, 0xb4fff148, 0xb4fff144, 0xb4fff124, 0xb4fff14c, 0x0, 0x0, 0x0,
  0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xb4fff150, 0x83e96ef, 0x85fefd0, 0x0, 0x0, 0x83e9641, 0x40000000,
  0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xb4ffefe4, 0x0, 0xb4ffefe8, 0xb4ffefec, 0x0, 0xb4ffeff8,
  0xb4ffeff0, 0xb4ffeff4, 0xb4ffeffc, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xb4fff000,
  0xb74cd5e5, 0x0, 0x0, 0x0, 0xb74cd430, 0x40000000, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xb50259f0,
  0x4, 0xb75e2ff4, 0xb50259f0, 0xb75e98a4, 0xb4fff1b8, 0x83e96ef, 0xb50259f0, 0xb4fff0f0,
  0xb80e22af, 0xb4fff0e0, 0x8052820, 0xb4fff0d4, 0xb80f57c4, 0x0, 0xb693cc90, 0x5, 0x0, 0x1, 0x0,
  0x0, 0x0}
bt_strings = (char **) 0xb50093c8
num_entries = 14
libname = {<std::__norm::vector<wxString, std::allocator<wxString> >> = {<std::__norm::_Vector_base<wxString, std::allocator<wxString> >> = {
      _M_impl = {<std::allocator<wxString>> = {<__gnu_cxx::new_allocator<wxString>> = {<No data fields>}, <No data fields>}, _M_start = 0xb50076e8, _M_finish = 0xb5007720,
        _M_end_of_storage = 0xb5007720}}, <No data fields>}, <__gnu_debug::_Safe_sequence<std::__debug::vector<wxString, std::allocator<wxString> > >> = {<__gnu_debug::_Safe_sequence_base> = {
      _M_iterators = 0x0, _M_const_iterators = 0x0, _M_version = 1}, <No data fields>},
  _M_guaranteed_capacity = 14}
funcname = {<std::__norm::vector<wxString, std::allocator<wxString> >> = {<std::__norm::_Vector_base<wxString, std::allocator<wxString> >> = {
      _M_impl = {<std::allocator<wxString>> = {<__gnu_cxx::new_allocator<wxString>> = {<No data fields>}, <No data fields>}, _M_start = 0xb5021e40, _M_finish = 0xb5021e78,
        _M_end_of_storage = 0xb5021e78}}, <No data fields>}, <__gnu_debug::_Safe_sequence<std::__debug::vector<wxString, std::allocator<wxString> > >> = {<__gnu_debug::_Safe_sequence_base> = {
      _M_iterators = 0x0, _M_const_iterators = 0x0, _M_version = 1}, <No data fields>},
  _M_guaranteed_capacity = 14}
address = {<std::__norm::vector<wxString, std::allocator<wxString> >> = {<std::__norm::_Vector_base<wxString, std::allocator<wxString> >> = {
      _M_impl = {<std::allocator<wxString>> = {<__gnu_cxx::new_allocator<wxString>> = {<No data fields>}, <No data fields>}, _M_start = 0xb501f160, _M_finish = 0xb501f198,
        _M_end_of_storage = 0xb501f198}}, <No data fields>}, <__gnu_debug::_Safe_sequence<std::__debug::vector<wxString, std::allocator<wxString> > >> = {<__gnu_debug::_Safe_sequence_base> = {
      _M_iterators = 0x0, _M_const_iterators = 0x0, _M_version = 1}, <No data fields>},
  _M_guaranteed_capacity = 14}
AllAddresses = {<wxStringBase> = {static npos = 4294967295,
    m_pchData = 0xb50263dc}, <No data fields>}
out = {m_nSize = 0, m_nCount = 0, m_pItems = 0x0, m_autoSort = false}
hasLineNumberInfo = false
trace = {<wxStringBase> = {static npos = 4294967295,
    m_pchData = 0xb692b960}, <No data fields>}
#5  0x083e9900 in OnUnhandledException () at MuleDebug.cpp:101
status = 0
dem = 0xb502fab0 "�\022\005�0
---Type <return> to continue, or q <return> to quit---
name = 0xb75bfbf3 "St9bad_alloc"
t = (struct std::type_info *) 0x8619a4c
output = (FILE *) 0xb74c1560
#6  0xb75b55d5 in ?? () from /usr/lib/libstdc++.so.6
No symbol table info available.
#7  0xb75b5612 in std::terminate () from /usr/lib/libstdc++.so.6
No symbol table info available.
#8  0xb75b574a in __cxa_throw () from /usr/lib/libstdc++.so.6
No symbol table info available.
#9  0xb75b5da3 in operator new () from /usr/lib/libstdc++.so.6
No symbol table info available.
#10 0x083e3bd5 in CTimerEvent::Clone (this=0xb4fff2ec) at Timer.cpp:158
No locals.
#11 0xb76cf965 in wxEvtHandler::AddPendingEvent () from /usr/lib/libwx_baseu-2.8.so.0
No symbol table info available.
#12 0x08195c14 in wxPostEvent (dest=0xa71caf8, event=@0xb4fff2ec)
    at /usr/include/wx-2.8/wx/event.h:2565
No locals.
#13 0x083e3fac in CTimerThread::Entry (this=0xc10d680) at Timer.cpp:68
now = 1740599634
sinceLast = 0
timeout = 100
evt = {<> = {<No data fields>}, <No data fields>}
lastEvent = 1740599734
#14 0xb76ce203 in wxThreadInternal::PthreadStart () from /usr/lib/libwx_baseu-2.8.so.0
No symbol table info available.
#15 0xb76ce27d in wxPthreadStart () from /usr/lib/libwx_baseu-2.8.so.0
No symbol table info available.
#16 0xb80aa50f in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
No symbol table info available.
#17 0xb74487ee in clone () from /lib/tls/i686/cmov/libc.so.6
No symbol table info available.

Thread 2 (Thread 0xb610eb90 (LWP 6801)):
#0  0xb80f3430 in __kernel_vsyscall ()
No symbol table info available.
#1  0xb80b1906 in nanosleep () from /lib/tls/i686/cmov/libpthread.so.0
No symbol table info available.
#2  0xb76d4578 in wxMicroSleep () from /usr/lib/libwx_baseu-2.8.so.0
No symbol table info available.
#3  0xb76d45a1 in wxMilliSleep () from /usr/lib/libwx_baseu-2.8.so.0
No symbol table info available.
#4  0xb76cc75d in wxThread::Sleep () from /usr/lib/libwx_baseu-2.8.so.0
No symbol table info available.
#5  0x081fc1eb in UploadBandwidthThrottler::Entry (this=0xbef01c0)
    at UploadBandwidthThrottler.cpp:324
timeSinceLastLoop = 0
minFragSize = 1300
doubleSendSize = 2600
bytesToSpend = 22528
sleepTime = 1000
thisLoopTick = 1740599514
TIME_BETWEEN_UPLOAD_LOOPS = 1
lastLoopTick = 1740599514
realBytesToSpend = 4096999
allowedDataRate = 18432
rememberedSlotCounter = 5
extraSleepTime = 1000
sendLock = {m_isOk = 96, m_mutex = @0xb610e310}
#6  0xb76ce203 in wxThreadInternal::PthreadStart () from /usr/lib/libwx_baseu-2.8.so.0
No symbol table info available.
---Type <return> to continue, or q <return> to quit---
#7  0xb76ce27d in wxPthreadStart () from /usr/lib/libwx_baseu-2.8.so.0
No symbol table info available.
#8  0xb80aa50f in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
No symbol table info available.
#9  0xb74487ee in clone () from /lib/tls/i686/cmov/libc.so.6
No symbol table info available.

Thread 1 (Thread 0xb6928700 (LWP 6794)):
#0  0xb80f3430 in __kernel_vsyscall ()
No symbol table info available.
#1  0xb7392880 in raise () from /lib/tls/i686/cmov/libc.so.6
No symbol table info available.
#2  0xb7394248 in abort () from /lib/tls/i686/cmov/libc.so.6
No symbol table info available.
#3  0xb75b55d5 in ?? () from /usr/lib/libstdc++.so.6
No symbol table info available.
#4  0xb75b5612 in std::terminate () from /usr/lib/libstdc++.so.6
No symbol table info available.
#5  0xb75b574a in __cxa_throw () from /usr/lib/libstdc++.so.6
No symbol table info available.
#6  0xb75b5da3 in operator new () from /usr/lib/libstdc++.so.6
No symbol table info available.
#7  0xb7756bc9 in wxSocketEvent::Clone () from /usr/lib/libwx_baseu_net-2.8.so.0
No symbol table info available.
#8  0xb76cf965 in wxEvtHandler::AddPendingEvent () from /usr/lib/libwx_baseu-2.8.so.0
No symbol table info available.
#9  0xb7756838 in wxSocketBase::OnRequest () from /usr/lib/libwx_baseu_net-2.8.so.0
No symbol table info available.
#10 0xb7756934 in wx_socket_callback () from /usr/lib/libwx_baseu_net-2.8.so.0
No symbol table info available.
#11 0xb775b00e in GSocket::Detected_Read () from /usr/lib/libwx_baseu_net-2.8.so.0
No symbol table info available.
#12 0xb789da90 in ?? () from /usr/lib/libwx_gtk2u_core-2.8.so.0
No symbol table info available.
#13 0xb6f554af in gdk_io_invoke (source=0xb2f5f5d0, condition=<value optimized out>, data=0xb2f70c98)
    at /tmp/buildd/gtk+2.0-2.14.4/gdk/gdkevents.c:1013
gdk_cond = 3
#14 0xb6cf26fd in g_io_unix_dispatch (source=0xb2f3cef0, callback=0xb6f55450 <gdk_io_invoke>,
    user_data=0xb2f70c98) at /build/buildd/glib2.0-2.18.2/glib/giounix.c:162
buffer_condition = 6
#15 0xb6cbb6f8 in IA__g_main_context_dispatch (context=0xa71cc38)
    at /build/buildd/glib2.0-2.18.2/glib/gmain.c:2144
No locals.
#16 0xb6cbeda3 in g_main_context_iterate (context=0xa71cc38, block=1, dispatch=1, self=0xa71e200)
    at /build/buildd/glib2.0-2.18.2/glib/gmain.c:2778
max_priority = 110
timeout = 0
some_ready = 1
nfds = 12
allocated_nfds = <value optimized out>
fds = (GPollFD *) 0xf0e6260
__PRETTY_FUNCTION__ = "g_main_context_iterate"
#17 0xb6cbf2c2 in IA__g_main_loop_run (loop=0xb50006f0)
    at /build/buildd/glib2.0-2.18.2/glib/gmain.c:2986
self = (GThread *) 0xa71e200
__PRETTY_FUNCTION__ = "IA__g_main_loop_run"
#18 0xb70ed3a9 in IA__gtk_main () at /tmp/buildd/gtk+2.0-2.14.4/gtk/gtkmain.c:1200
tmp_list = (GList *) 0x0
functions = (GList *) 0x0
init = (GtkInitFunction *) 0xb50006d0
loop = (GMainLoop *) 0xb50006f0
---Type <return> to continue, or q <return> to quit---
#19 0xb789c215 in wxEventLoop::Run () from /usr/lib/libwx_gtk2u_core-2.8.so.0
No symbol table info available.
#20 0xb7932d4e in wxAppBase::MainLoop () from /usr/lib/libwx_gtk2u_core-2.8.so.0
No symbol table info available.
#21 0xb7932921 in wxAppBase::OnRun () from /usr/lib/libwx_gtk2u_core-2.8.so.0
No symbol table info available.
#22 0xb7669daa in wxEntry () from /usr/lib/libwx_baseu-2.8.so.0
No symbol table info available.
#23 0xb7669fa7 in wxEntry () from /usr/lib/libwx_baseu-2.8.so.0
No symbol table info available.
#24 0x082a8518 in main (argc=0, argv=0x0) at amule-gui.cpp:94
No locals.
#0  0xb7ffcfeb in ?? () from /usr/lib/libbfd-2.18.93.20081009.so


I'm wondering if some weird backtraces I've seen here could be caused by the leak. This is also the first time it happens for me, I'll keep an eye on possible leaks.
Logged

Stu Redman

  • Administrator
  • Hero Member
  • *****
  • Karma: 214
  • Offline Offline
  • Posts: 3739
  • Engines screaming
Re: Out of memory crash (std:bad_alloc)
« Reply #1 on: December 24, 2008, 12:05:16 PM »

Anything useful in the log ?
I'd rather guess that the main thread somehow deadlocked and then the timer thread kept posting events into an ever-growing queue until it ran out of memory.
Logged
The image of mother goddess, lying dormant in the eyes of the dead, the sheaf of the corn is broken, end the harvest, throw the dead on the pyre -- Iron Maiden, Isle of Avalon

btkaos

  • Global Moderator
  • Sr. Member
  • *****
  • Karma: 110
  • Offline Offline
  • Posts: 486
  • Kaos is infinite!
Re: Out of memory crash (std:bad_alloc)
« Reply #2 on: December 24, 2008, 01:07:48 PM »

Anything useful in the log ?
Not that I can see. See attached log.

Quote
I'd rather guess that the main thread somehow deadlocked and then the timer thread kept posting events into an ever-growing queue until it ran out of memory.
I thought of something similar. Like a bug and then the error handler going crazy, but I can't confirm this.

I'll monitor memory usage to see if this happens again.
Logged