aMule Forum

English => Backtraces => Topic started by: IWantMyMule on April 03, 2006, 01:04:27 AM

Title: another crash...
Post by: IWantMyMule on April 03, 2006, 01:04:27 AM
Using wx 2.6.3, but still getting the same crashes as with 2.6.1... Here's the backtrace:

Code: [Select]
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1089341536 (LWP 17181)]
0x40d9a3b0 in g_io_watch_funcs () from /usr/lib/libglib-2.0.so.0
(gdb) bt
#0  0x40d9a3b0 in g_io_watch_funcs () from /usr/lib/libglib-2.0.so.0
#1  0x40b500a8 in ?? () from /usr/lib/libgdk-x11-2.0.so.0
#2  0x40af1ab9 in gdk_get_show_events () from /usr/lib/libgdk-x11-2.0.so.0
#3  0x40284e51 in wxGDIObject::~wxGDIObject ()
   from /usr/lib/libwx_gtk2_core-2.6.so.0
#4  0x40af1b20 in gdk_get_show_events () from /usr/lib/libgdk-x11-2.0.so.0
#5  0x40d6531c in g_vasprintf () from /usr/lib/libglib-2.0.so.0
#6  0x40d3e4ee in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#7  0x40d414f6 in g_main_context_check () from /usr/lib/libglib-2.0.so.0
#8  0x40d417e3 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#9  0x40921e65 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#10 0x4028311e in wxEventLoop::Run () from /usr/lib/libwx_gtk2_core-2.6.so.0
#11 0x4030e7c5 in wxAppBase::MainLoop () from /usr/lib/libwx_gtk2_core-2.6.so.0
#12 0x4030e8e2 in wxAppBase::OnRun () from /usr/lib/libwx_gtk2_core-2.6.so.0
#13 0x40534ffb in wxEntry () from /usr/lib/libwx_base-2.6.so.0
#14 0x081daaed in wxTopLevelWindowGTK::IsGrabbed ()
#15 0x406e7ea2 in __libc_start_main () from /lib/tls/i686/cmov/libc.so.6
#16 0x08069311 in ?? ()
(gdb) bt full
#0  0x40d9a3b0 in g_io_watch_funcs () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#1  0x40b500a8 in ?? () from /usr/lib/libgdk-x11-2.0.so.0
No symbol table info available.
#2  0x40af1ab9 in gdk_get_show_events () from /usr/lib/libgdk-x11-2.0.so.0
No symbol table info available.
#3  0x40284e51 in wxGDIObject::~wxGDIObject ()
   from /usr/lib/libwx_gtk2_core-2.6.so.0
No symbol table info available.
#4  0x40af1b20 in gdk_get_show_events () from /usr/lib/libgdk-x11-2.0.so.0
No symbol table info available.
#5  0x40d6531c in g_vasprintf () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#6  0x40d3e4ee in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#7  0x40d414f6 in g_main_context_check () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#8  0x40d417e3 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#9  0x40921e65 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#10 0x4028311e in wxEventLoop::Run () from /usr/lib/libwx_gtk2_core-2.6.so.0
No symbol table info available.
---Type to continue, or q to quit---
#11 0x4030e7c5 in wxAppBase::MainLoop () from /usr/lib/libwx_gtk2_core-2.6.so.0
No symbol table info available.
#12 0x4030e8e2 in wxAppBase::OnRun () from /usr/lib/libwx_gtk2_core-2.6.so.0
No symbol table info available.
#13 0x40534ffb in wxEntry () from /usr/lib/libwx_base-2.6.so.0
No symbol table info available.
#14 0x081daaed in wxTopLevelWindowGTK::IsGrabbed ()
No symbol table info available.
#15 0x406e7ea2 in __libc_start_main () from /lib/tls/i686/cmov/libc.so.6
No symbol table info available.
#16 0x08069311 in ?? ()
No symbol table info available.
(gdb) thread apply all bt

Thread 4 (Thread 1146702768 (LWP 17211)):
#0  0xffffe410 in __kernel_vsyscall ()
#1  0x4002ff0c in pthread_cond_timedwait@@GLIBC_2.3.2 ()
   from /lib/tls/i686/cmov/libpthread.so.0
#2  0x40588b38 in wxConditionInternal::WaitTimeout ()
   from /usr/lib/libwx_base-2.6.so.0
#3  0x40588ba7 in wxCondition::WaitTimeout () from /usr/lib/libwx_base-2.6.so.0
#4  0x40589450 in wxSemaphoreInternal::WaitTimeout ()
   from /usr/lib/libwx_base-2.6.so.0
#5  0x405894d7 in wxSemaphore::WaitTimeout () from /usr/lib/libwx_base-2.6.so.0
#6  0x082d38fc in wxArchiveInputStream::Peek ()
#7  0x4058a18f in wxThreadInternal::PthreadStart ()
   from /usr/lib/libwx_base-2.6.so.0
#8  0x4058a21c in wxPthreadStart () from /usr/lib/libwx_base-2.6.so.0
#9  0x4002d361 in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#10 0x4079bbde in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 2 (Thread 1109343152 (LWP 17189)):
#0  0xffffe410 in __kernel_vsyscall ()
#1  0x40032d76 in __nanosleep_nocancel ()
   from /lib/tls/i686/cmov/libpthread.so.0
#2  0x4058ef16 in wxMicroSleep () from /usr/lib/libwx_base-2.6.so.0
---Type to continue, or q to quit---
#3  0x4058ef48 in wxMilliSleep () from /usr/lib/libwx_base-2.6.so.0
#4  0x40587d8c in wxThread::Sleep () from /usr/lib/libwx_base-2.6.so.0
#5  0x081869fd in wxTopLevelWindowGTK::IsGrabbed ()
#6  0x4058a18f in wxThreadInternal::PthreadStart ()
   from /usr/lib/libwx_base-2.6.so.0
#7  0x4058a21c in wxPthreadStart () from /usr/lib/libwx_base-2.6.so.0
#8  0x4002d361 in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#9  0x4079bbde in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 1 (Thread 1089341536 (LWP 17181)):
#0  0x40d9a3b0 in g_io_watch_funcs () from /usr/lib/libglib-2.0.so.0
#1  0x40b500a8 in ?? () from /usr/lib/libgdk-x11-2.0.so.0
#2  0x40af1ab9 in gdk_get_show_events () from /usr/lib/libgdk-x11-2.0.so.0
#3  0x40284e51 in wxGDIObject::~wxGDIObject ()
   from /usr/lib/libwx_gtk2_core-2.6.so.0
#4  0x40af1b20 in gdk_get_show_events () from /usr/lib/libgdk-x11-2.0.so.0
#5  0x40d6531c in g_vasprintf () from /usr/lib/libglib-2.0.so.0
#6  0x40d3e4ee in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#7  0x40d414f6 in g_main_context_check () from /usr/lib/libglib-2.0.so.0
#8  0x40d417e3 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#9  0x40921e65 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#10 0x4028311e in wxEventLoop::Run () from /usr/lib/libwx_gtk2_core-2.6.so.0
#11 0x4030e7c5 in wxAppBase::MainLoop () from /usr/lib/libwx_gtk2_core-2.6.so.0
---Type to continue, or q to quit---
#12 0x4030e8e2 in wxAppBase::OnRun () from /usr/lib/libwx_gtk2_core-2.6.so.0
#13 0x40534ffb in wxEntry () from /usr/lib/libwx_base-2.6.so.0
#14 0x081daaed in wxTopLevelWindowGTK::IsGrabbed ()
#15 0x406e7ea2 in __libc_start_main () from /lib/tls/i686/cmov/libc.so.6
#16 0x08069311 in ?? ()

Any idea...?  :baby:
Title: Re: another crash...
Post by: Kry on April 03, 2006, 01:17:30 AM
I request mMule --version

I also request if this is on startup.
Title: Re: another crash...
Post by: IWantMyMule on April 03, 2006, 02:44:33 PM
I think you meant amule --version? Or what ist mMule?

Code: [Select]
$ amule --version
aMule 2.1.1 using wxGTK2 v2.6.3 (OS: Linux)

No, it's not on startup, happened after several hours of running.

I just got another crash, again after several hours of running. Before crashing, it used about 3 GB of swap space... Here's the backtrace:
Code: [Select]
Terminated after throwing an instance of 'std::bad_alloc'
        what(): St9bad_alloc

Terminated after throwing an instance of 'std::bad_alloc'
        what(): St9bad_alloc
* Could not get symbol names for backtrace
        backtrace:

* Could not get symbol names for backtrace
        backtrace:


Program received signal SIGABRT, Aborted.
[Switching to Thread 1127857072 (LWP 25229)]
0xffffe410 in __kernel_vsyscall ()
(gdb) bt
#0  0xffffe410 in __kernel_vsyscall ()
#1  0x400337b0 in raise () from /lib/tls/i686/cmov/libpthread.so.0
#2  0x08329b5d in std::operator+, std::allocator > ()
#3  0x40676ed4 in __gxx_personality_v0 () from /usr/lib/libstdc++.so.6
#4  0x40676f11 in std::terminate () from /usr/lib/libstdc++.so.6
#5  0x4067709c in __cxa_throw () from /usr/lib/libstdc++.so.6
#6  0x4067752a in operator new () from /usr/lib/libstdc++.so.6
#7  0x0806fee7 in wxObject::ReservedObjectFunc9 ()
#8  0x4058b8d1 in wxEvtHandler::AddPendingEvent ()
   from /usr/lib/libwx_base-2.6.so.0
#9  0x0806fc66 in wxObject::ReservedObjectFunc9 ()
#10 0x082d3931 in wxArchiveInputStream::Peek ()
#11 0x4058a18f in wxThreadInternal::PthreadStart ()
   from /usr/lib/libwx_base-2.6.so.0
#12 0x4058a21c in wxPthreadStart () from /usr/lib/libwx_base-2.6.so.0
#13 0x4002d361 in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#14 0x4079bbde in clone () from /lib/tls/i686/cmov/libc.so.6
(gdb) bt full
#0  0xffffe410 in __kernel_vsyscall ()
No symbol table info available.
#1  0x400337b0 in raise () from /lib/tls/i686/cmov/libpthread.so.0
No symbol table info available.
#2  0x08329b5d in std::operator+, std::allocator > ()
No symbol table info available.
#3  0x40676ed4 in __gxx_personality_v0 () from /usr/lib/libstdc++.so.6
No symbol table info available.
#4  0x40676f11 in std::terminate () from /usr/lib/libstdc++.so.6
No symbol table info available.
#5  0x4067709c in __cxa_throw () from /usr/lib/libstdc++.so.6
No symbol table info available.
#6  0x4067752a in operator new () from /usr/lib/libstdc++.so.6
No symbol table info available.
#7  0x0806fee7 in wxObject::ReservedObjectFunc9 ()
No symbol table info available.
#8  0x4058b8d1 in wxEvtHandler::AddPendingEvent ()
   from /usr/lib/libwx_base-2.6.so.0
No symbol table info available.
#9  0x0806fc66 in wxObject::ReservedObjectFunc9 ()
No symbol table info available.
#10 0x082d3931 in wxArchiveInputStream::Peek ()
---Type to continue, or q to quit---
No symbol table info available.
#11 0x4058a18f in wxThreadInternal::PthreadStart ()
   from /usr/lib/libwx_base-2.6.so.0
No symbol table info available.
#12 0x4058a21c in wxPthreadStart () from /usr/lib/libwx_base-2.6.so.0
No symbol table info available.
#13 0x4002d361 in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
No symbol table info available.
#14 0x4079bbde in clone () from /lib/tls/i686/cmov/libc.so.6
No symbol table info available.
(gdb) thread apply all bt

Thread 4 (Thread 1127857072 (LWP 25229)):
#0  0xffffe410 in __kernel_vsyscall ()
#1  0x400337b0 in raise () from /lib/tls/i686/cmov/libpthread.so.0
#2  0x08329b5d in std::operator+, std::allocator > ()
#3  0x40676ed4 in __gxx_personality_v0 () from /usr/lib/libstdc++.so.6
#4  0x40676f11 in std::terminate () from /usr/lib/libstdc++.so.6
#5  0x4067709c in __cxa_throw () from /usr/lib/libstdc++.so.6
#6  0x4067752a in operator new () from /usr/lib/libstdc++.so.6
#7  0x0806fee7 in wxObject::ReservedObjectFunc9 ()
#8  0x4058b8d1 in wxEvtHandler::AddPendingEvent ()
   from /usr/lib/libwx_base-2.6.so.0
#9  0x0806fc66 in wxObject::ReservedObjectFunc9 ()
#10 0x082d3931 in wxArchiveInputStream::Peek ()
#11 0x4058a18f in wxThreadInternal::PthreadStart ()
   from /usr/lib/libwx_base-2.6.so.0
#12 0x4058a21c in wxPthreadStart () from /usr/lib/libwx_base-2.6.so.0
#13 0x4002d361 in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#14 0x4079bbde in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 2 (Thread 1100217264 (LWP 25219)):
#0  0xffffe410 in __kernel_vsyscall ()
---Type to continue, or q to quit---
#1  0x40032d76 in __nanosleep_nocancel ()
   from /lib/tls/i686/cmov/libpthread.so.0
#2  0x4058ef16 in wxMicroSleep () from /usr/lib/libwx_base-2.6.so.0
#3  0x4058ef48 in wxMilliSleep () from /usr/lib/libwx_base-2.6.so.0
#4  0x40587d8c in wxThread::Sleep () from /usr/lib/libwx_base-2.6.so.0
#5  0x081869fd in wxTopLevelWindowGTK::IsGrabbed ()
#6  0x4058a18f in wxThreadInternal::PthreadStart ()
   from /usr/lib/libwx_base-2.6.so.0
#7  0x4058a21c in wxPthreadStart () from /usr/lib/libwx_base-2.6.so.0
#8  0x4002d361 in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#9  0x4079bbde in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 1 (Thread 1089341536 (LWP 25209)):
#0  0xffffe410 in __kernel_vsyscall ()
#1  0x400337b0 in raise () from /lib/tls/i686/cmov/libpthread.so.0
#2  0x08329b5d in std::operator+, std::allocator > ()
#3  0x40676ed4 in __gxx_personality_v0 () from /usr/lib/libstdc++.so.6
#4  0x40676f11 in std::terminate () from /usr/lib/libstdc++.so.6
#5  0x4067709c in __cxa_throw () from /usr/lib/libstdc++.so.6
#6  0x4067752a in operator new () from /usr/lib/libstdc++.so.6
#7  0x081e7c29 in wxObjectList::CreateNode ()
#8  0x4053f4ba in wxListBase::Append () from /usr/lib/libwx_base-2.6.so.0
---Type to continue, or q to quit---
#9  0x4058b8fd in wxEvtHandler::AddPendingEvent ()
   from /usr/lib/libwx_base-2.6.so.0
#10 0x404b303e in wxSocketBase::OnRequest ()
   from /usr/lib/libwx_base_net-2.6.so.0
#11 0x404b3160 in wx_socket_callback () from /usr/lib/libwx_base_net-2.6.so.0
#12 0x404b73f8 in GSocket::Detected_Write ()
   from /usr/lib/libwx_base_net-2.6.so.0
#13 0x40284e51 in wxGDIObject::~wxGDIObject ()
   from /usr/lib/libwx_gtk2_core-2.6.so.0
#14 0x40af1b20 in gdk_get_show_events () from /usr/lib/libgdk-x11-2.0.so.0
#15 0x40d6531c in g_vasprintf () from /usr/lib/libglib-2.0.so.0
#16 0x40d3e4ee in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#17 0x40d414f6 in g_main_context_check () from /usr/lib/libglib-2.0.so.0
#18 0x40d417e3 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#19 0x40921e65 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#20 0x4028311e in wxEventLoop::Run () from /usr/lib/libwx_gtk2_core-2.6.so.0
#21 0x4030e7c5 in wxAppBase::MainLoop () from /usr/lib/libwx_gtk2_core-2.6.so.0
#22 0x4030e8e2 in wxAppBase::OnRun () from /usr/lib/libwx_gtk2_core-2.6.so.0
#23 0x40534ffb in wxEntry () from /usr/lib/libwx_base-2.6.so.0
#24 0x081daaed in wxTopLevelWindowGTK::IsGrabbed ()
#25 0x406e7ea2 in __libc_start_main () from /lib/tls/i686/cmov/libc.so.6
#26 0x08069311 in ?? ()
#0  0xffffe410 in __kernel_vsyscall ()
Title: Re: another crash...
Post by: Kry on April 03, 2006, 03:02:59 PM
Taht scary thing seems like a wx bug. Weird.

Wait for 2.1.2
Title: Re: another crash...
Post by: IWantMyMule on April 03, 2006, 06:50:23 PM
Just to give you some more stuff to read... :P It's really crashing quite often today...

Code: [Select]
(amule:6885): GLib-WARNING **: giounix.c:400Error while getting flags for FD: Bad file descriptor (9)


Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1089341536 (LWP 6885)]
0x40284e4e in wxGDIObject::~wxGDIObject ()
   from /usr/lib/libwx_gtk2_core-2.6.so.0
(gdb) bt
#0  0x40284e4e in wxGDIObject::~wxGDIObject ()
   from /usr/lib/libwx_gtk2_core-2.6.so.0
#1  0x40af1b20 in gdk_get_show_events () from /usr/lib/libgdk-x11-2.0.so.0
#2  0x40d6531c in g_vasprintf () from /usr/lib/libglib-2.0.so.0
#3  0x40d3e4ee in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#4  0x40d414f6 in g_main_context_check () from /usr/lib/libglib-2.0.so.0
#5  0x40d417e3 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#6  0x40921e65 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#7  0x4028311e in wxEventLoop::Run () from /usr/lib/libwx_gtk2_core-2.6.so.0
#8  0x4030e7c5 in wxAppBase::MainLoop () from /usr/lib/libwx_gtk2_core-2.6.so.0
#9  0x4030e8e2 in wxAppBase::OnRun () from /usr/lib/libwx_gtk2_core-2.6.so.0
#10 0x40534ffb in wxEntry () from /usr/lib/libwx_base-2.6.so.0
#11 0x081daaed in wxTopLevelWindowGTK::IsGrabbed ()
#12 0x406e7ea2 in __libc_start_main () from /lib/tls/i686/cmov/libc.so.6
#13 0x08069311 in ?? ()
(gdb) bt full
#0  0x40284e4e in wxGDIObject::~wxGDIObject ()
   from /usr/lib/libwx_gtk2_core-2.6.so.0
No symbol table info available.
#1  0x40af1b20 in gdk_get_show_events () from /usr/lib/libgdk-x11-2.0.so.0
No symbol table info available.
#2  0x40d6531c in g_vasprintf () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#3  0x40d3e4ee in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#4  0x40d414f6 in g_main_context_check () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#5  0x40d417e3 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#6  0x40921e65 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#7  0x4028311e in wxEventLoop::Run () from /usr/lib/libwx_gtk2_core-2.6.so.0
No symbol table info available.
#8  0x4030e7c5 in wxAppBase::MainLoop () from /usr/lib/libwx_gtk2_core-2.6.so.0
No symbol table info available.
#9  0x4030e8e2 in wxAppBase::OnRun () from /usr/lib/libwx_gtk2_core-2.6.so.0
No symbol table info available.
#10 0x40534ffb in wxEntry () from /usr/lib/libwx_base-2.6.so.0
No symbol table info available.
---Type to continue, or q to quit---
#11 0x081daaed in wxTopLevelWindowGTK::IsGrabbed ()
No symbol table info available.
#12 0x406e7ea2 in __libc_start_main () from /lib/tls/i686/cmov/libc.so.6
No symbol table info available.
#13 0x08069311 in ?? ()
No symbol table info available.
(gdb) thread apply all bt

Thread 5 (Thread 1135369136 (LWP 6906)):
#0  0xffffe410 in __kernel_vsyscall ()
#1  0x4002ff0c in pthread_cond_timedwait@@GLIBC_2.3.2 ()
   from /lib/tls/i686/cmov/libpthread.so.0
#2  0x40588b38 in wxConditionInternal::WaitTimeout ()
   from /usr/lib/libwx_base-2.6.so.0
#3  0x40588ba7 in wxCondition::WaitTimeout () from /usr/lib/libwx_base-2.6.so.0
#4  0x40589450 in wxSemaphoreInternal::WaitTimeout ()
   from /usr/lib/libwx_base-2.6.so.0
#5  0x405894d7 in wxSemaphore::WaitTimeout () from /usr/lib/libwx_base-2.6.so.0
#6  0x082d38fc in wxArchiveInputStream::Peek ()
#7  0x4058a18f in wxThreadInternal::PthreadStart ()
   from /usr/lib/libwx_base-2.6.so.0
#8  0x4058a21c in wxPthreadStart () from /usr/lib/libwx_base-2.6.so.0
#9  0x4002d361 in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#10 0x4079bbde in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 2 (Thread 1100217264 (LWP 6895)):
#0  0xffffe410 in __kernel_vsyscall ()
#1  0x40032d76 in __nanosleep_nocancel ()
   from /lib/tls/i686/cmov/libpthread.so.0
#2  0x4058ef16 in wxMicroSleep () from /usr/lib/libwx_base-2.6.so.0
---Type to continue, or q to quit---
#3  0x4058ef48 in wxMilliSleep () from /usr/lib/libwx_base-2.6.so.0
#4  0x40587d8c in wxThread::Sleep () from /usr/lib/libwx_base-2.6.so.0
#5  0x081869fd in wxTopLevelWindowGTK::IsGrabbed ()
#6  0x4058a18f in wxThreadInternal::PthreadStart ()
   from /usr/lib/libwx_base-2.6.so.0
#7  0x4058a21c in wxPthreadStart () from /usr/lib/libwx_base-2.6.so.0
#8  0x4002d361 in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#9  0x4079bbde in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 1 (Thread 1089341536 (LWP 6885)):
#0  0x40284e4e in wxGDIObject::~wxGDIObject ()
   from /usr/lib/libwx_gtk2_core-2.6.so.0
#1  0x40af1b20 in gdk_get_show_events () from /usr/lib/libgdk-x11-2.0.so.0
#2  0x40d6531c in g_vasprintf () from /usr/lib/libglib-2.0.so.0
#3  0x40d3e4ee in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#4  0x40d414f6 in g_main_context_check () from /usr/lib/libglib-2.0.so.0
#5  0x40d417e3 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#6  0x40921e65 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#7  0x4028311e in wxEventLoop::Run () from /usr/lib/libwx_gtk2_core-2.6.so.0
#8  0x4030e7c5 in wxAppBase::MainLoop () from /usr/lib/libwx_gtk2_core-2.6.so.0
#9  0x4030e8e2 in wxAppBase::OnRun () from /usr/lib/libwx_gtk2_core-2.6.so.0
#10 0x40534ffb in wxEntry () from /usr/lib/libwx_base-2.6.so.0
#11 0x081daaed in wxTopLevelWindowGTK::IsGrabbed ()
---Type to continue, or q to quit---
#12 0x406e7ea2 in __libc_start_main () from /lib/tls/i686/cmov/libc.so.6
#13 0x08069311 in ?? ()
(gdb)

Do you already know how long i will have to wait till 2.1.2?  :] And if it's a wx error, don't i rather have to wait till wx 2.6.4...? ?(
Title: Re: another crash...
Post by: Kry on April 03, 2006, 07:08:41 PM
We'll find out. Eventually ;)
Title: Re: another crash...
Post by: IWantMyMule on April 04, 2006, 07:06:27 PM
I just felt like giving you another backtrace...  :P I've got the impression it's crashing more often than with wx 2.6.1...

Code: [Select]
(amule:6569): GLib-WARNING **: giounix.c:400Error while getting flags for FD: Bad file descriptor (9)


Program received signal SIGILL, Illegal instruction.
[Switching to Thread 1089341536 (LWP 6569)]
0x09b4595e in ?? ()
(gdb) bt
#0  0x09b4595e in ?? ()
#1  0x00000000 in ?? ()
#2  0x40284e51 in wxGDIObject::~wxGDIObject ()
   from /usr/lib/libwx_gtk2_core-2.6.so.0
#3  0x40af1b20 in gdk_get_show_events () from /usr/lib/libgdk-x11-2.0.so.0
#4  0x40d6531c in g_vasprintf () from /usr/lib/libglib-2.0.so.0
#5  0x40d3e4ee in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#6  0x40d414f6 in g_main_context_check () from /usr/lib/libglib-2.0.so.0
#7  0x40d417e3 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#8  0x40921e65 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#9  0x4028311e in wxEventLoop::Run () from /usr/lib/libwx_gtk2_core-2.6.so.0
#10 0x4030e7c5 in wxAppBase::MainLoop () from /usr/lib/libwx_gtk2_core-2.6.so.0
#11 0x4030e8e2 in wxAppBase::OnRun () from /usr/lib/libwx_gtk2_core-2.6.so.0
#12 0x40534ffb in wxEntry () from /usr/lib/libwx_base-2.6.so.0
#13 0x081daaed in wxTopLevelWindowGTK::IsGrabbed ()
#14 0x406e7ea2 in __libc_start_main () from /lib/tls/i686/cmov/libc.so.6
#15 0x08069311 in ?? ()
(gdb) bt full
#0  0x09b4595e in ?? ()
No symbol table info available.
#1  0x00000000 in ?? ()
No symbol table info available.
#2  0x40284e51 in wxGDIObject::~wxGDIObject ()
   from /usr/lib/libwx_gtk2_core-2.6.so.0
No symbol table info available.
#3  0x40af1b20 in gdk_get_show_events () from /usr/lib/libgdk-x11-2.0.so.0
No symbol table info available.
#4  0x40d6531c in g_vasprintf () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#5  0x40d3e4ee in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#6  0x40d414f6 in g_main_context_check () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#7  0x40d417e3 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#8  0x40921e65 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#9  0x4028311e in wxEventLoop::Run () from /usr/lib/libwx_gtk2_core-2.6.so.0
No symbol table info available.
#10 0x4030e7c5 in wxAppBase::MainLoop () from /usr/lib/libwx_gtk2_core-2.6.so.0
No symbol table info available.
---Type to continue, or q to quit---
#11 0x4030e8e2 in wxAppBase::OnRun () from /usr/lib/libwx_gtk2_core-2.6.so.0
No symbol table info available.
#12 0x40534ffb in wxEntry () from /usr/lib/libwx_base-2.6.so.0
No symbol table info available.
#13 0x081daaed in wxTopLevelWindowGTK::IsGrabbed ()
No symbol table info available.
#14 0x406e7ea2 in __libc_start_main () from /lib/tls/i686/cmov/libc.so.6
No symbol table info available.
#15 0x08069311 in ?? ()
No symbol table info available.
(gdb) thread apply all bt

Thread 4 (Thread 1128119216 (LWP 6593)):
#0  0xffffe410 in __kernel_vsyscall ()
#1  0x4002ff0c in pthread_cond_timedwait@@GLIBC_2.3.2 ()
   from /lib/tls/i686/cmov/libpthread.so.0
#2  0x40588b38 in wxConditionInternal::WaitTimeout ()
   from /usr/lib/libwx_base-2.6.so.0
#3  0x40588ba7 in wxCondition::WaitTimeout () from /usr/lib/libwx_base-2.6.so.0
#4  0x40589450 in wxSemaphoreInternal::WaitTimeout ()
   from /usr/lib/libwx_base-2.6.so.0
#5  0x405894d7 in wxSemaphore::WaitTimeout () from /usr/lib/libwx_base-2.6.so.0
#6  0x082d38fc in wxArchiveInputStream::Peek ()
#7  0x4058a18f in wxThreadInternal::PthreadStart ()
   from /usr/lib/libwx_base-2.6.so.0
#8  0x4058a21c in wxPthreadStart () from /usr/lib/libwx_base-2.6.so.0
#9  0x4002d361 in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#10 0x4079bbde in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 2 (Thread 1100217264 (LWP 6577)):
#0  0xffffe410 in __kernel_vsyscall ()
#1  0x40032d76 in __nanosleep_nocancel ()
   from /lib/tls/i686/cmov/libpthread.so.0
#2  0x4058ef16 in wxMicroSleep () from /usr/lib/libwx_base-2.6.so.0
---Type to continue, or q to quit---
#3  0x4058ef48 in wxMilliSleep () from /usr/lib/libwx_base-2.6.so.0
#4  0x40587d8c in wxThread::Sleep () from /usr/lib/libwx_base-2.6.so.0
#5  0x081869fd in wxTopLevelWindowGTK::IsGrabbed ()
#6  0x4058a18f in wxThreadInternal::PthreadStart ()
   from /usr/lib/libwx_base-2.6.so.0
#7  0x4058a21c in wxPthreadStart () from /usr/lib/libwx_base-2.6.so.0
#8  0x4002d361 in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#9  0x4079bbde in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 1 (Thread 1089341536 (LWP 6569)):
#0  0x09b4595e in ?? ()
#1  0x00000000 in ?? ()
#2  0x40284e51 in wxGDIObject::~wxGDIObject ()
   from /usr/lib/libwx_gtk2_core-2.6.so.0
#3  0x40af1b20 in gdk_get_show_events () from /usr/lib/libgdk-x11-2.0.so.0
#4  0x40d6531c in g_vasprintf () from /usr/lib/libglib-2.0.so.0
#5  0x40d3e4ee in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#6  0x40d414f6 in g_main_context_check () from /usr/lib/libglib-2.0.so.0
#7  0x40d417e3 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#8  0x40921e65 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#9  0x4028311e in wxEventLoop::Run () from /usr/lib/libwx_gtk2_core-2.6.so.0
#10 0x4030e7c5 in wxAppBase::MainLoop () from /usr/lib/libwx_gtk2_core-2.6.so.0
#11 0x4030e8e2 in wxAppBase::OnRun () from /usr/lib/libwx_gtk2_core-2.6.so.0
---Type to continue, or q to quit---
#12 0x40534ffb in wxEntry () from /usr/lib/libwx_base-2.6.so.0
#13 0x081daaed in wxTopLevelWindowGTK::IsGrabbed ()
#14 0x406e7ea2 in __libc_start_main () from /lib/tls/i686/cmov/libc.so.6
#15 0x08069311 in ?? ()
(gdb)
Title: Re: another crash...
Post by: IWantMyMule on April 05, 2006, 01:08:06 PM
This is great - aMule even produces different backtraces every time!  :evil:

Code: [Select]
(amule:31139): GLib-WARNING **: giounix.c:400Error while getting flags for FD: Bad file descriptor (9)


Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1089341536 (LWP 31139)]
0x0acb679a in ?? ()
(gdb) bt
#0  0x0acb679a in ?? ()
#1  0x00000000 in ?? ()
#2  0x40284e51 in wxGDIObject::~wxGDIObject ()
   from /usr/lib/libwx_gtk2_core-2.6.so.0
#3  0x40af1b20 in gdk_get_show_events () from /usr/lib/libgdk-x11-2.0.so.0
#4  0x40d6531c in g_vasprintf () from /usr/lib/libglib-2.0.so.0
#5  0x40d3e4ee in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#6  0x40d414f6 in g_main_context_check () from /usr/lib/libglib-2.0.so.0
#7  0x40d417e3 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#8  0x40921e65 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#9  0x4028311e in wxEventLoop::Run () from /usr/lib/libwx_gtk2_core-2.6.so.0
#10 0x4030e7c5 in wxAppBase::MainLoop () from /usr/lib/libwx_gtk2_core-2.6.so.0
#11 0x4030e8e2 in wxAppBase::OnRun () from /usr/lib/libwx_gtk2_core-2.6.so.0
#12 0x40534ffb in wxEntry () from /usr/lib/libwx_base-2.6.so.0
#13 0x081daaed in wxTopLevelWindowGTK::IsGrabbed ()
#14 0x406e7ea2 in __libc_start_main () from /lib/tls/i686/cmov/libc.so.6
#15 0x08069311 in ?? ()
(gdb) bt full
#0  0x0acb679a in ?? ()
No symbol table info available.
#1  0x00000000 in ?? ()
No symbol table info available.
#2  0x40284e51 in wxGDIObject::~wxGDIObject ()
   from /usr/lib/libwx_gtk2_core-2.6.so.0
No symbol table info available.
#3  0x40af1b20 in gdk_get_show_events () from /usr/lib/libgdk-x11-2.0.so.0
No symbol table info available.
#4  0x40d6531c in g_vasprintf () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#5  0x40d3e4ee in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#6  0x40d414f6 in g_main_context_check () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#7  0x40d417e3 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#8  0x40921e65 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#9  0x4028311e in wxEventLoop::Run () from /usr/lib/libwx_gtk2_core-2.6.so.0
No symbol table info available.
#10 0x4030e7c5 in wxAppBase::MainLoop () from /usr/lib/libwx_gtk2_core-2.6.so.0
No symbol table info available.
---Type to continue, or q to quit---
#11 0x4030e8e2 in wxAppBase::OnRun () from /usr/lib/libwx_gtk2_core-2.6.so.0
No symbol table info available.
#12 0x40534ffb in wxEntry () from /usr/lib/libwx_base-2.6.so.0
No symbol table info available.
#13 0x081daaed in wxTopLevelWindowGTK::IsGrabbed ()
No symbol table info available.
#14 0x406e7ea2 in __libc_start_main () from /lib/tls/i686/cmov/libc.so.6
No symbol table info available.
#15 0x08069311 in ?? ()
No symbol table info available.
(gdb) thread apply full bt
(gdb)
Title: Re: another crash...
Post by: Kry on April 05, 2006, 01:12:36 PM
You sure? I see the same backtrace.
Title: Re: another crash...
Post by: IWantMyMule on April 06, 2006, 08:37:24 AM
Well, slightly different. Last time, it didn't say anything for "thread apply all bt". Don't know if this matters, I'm not an expert when it comes to backtraces.  :P

Anyway, I've even got another one of these for you. Don't know if it helps, but perhaps it keeps you motivated.. 8)

Code: [Select]
(amule:25770): GLib-WARNING **: giounix.c:400Error while getting flags for FD: Bad file descriptor (9)


Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1089341536 (LWP 25770)]
0x40284e66 in wxGDIObject::~wxGDIObject ()
   from /usr/lib/libwx_gtk2_core-2.6.so.0
(gdb) bt
#0  0x40284e66 in wxGDIObject::~wxGDIObject ()
   from /usr/lib/libwx_gtk2_core-2.6.so.0
#1  0x40af1b20 in gdk_get_show_events () from /usr/lib/libgdk-x11-2.0.so.0
#2  0x40d6531c in g_vasprintf () from /usr/lib/libglib-2.0.so.0
#3  0x40d3e4ee in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#4  0x40d414f6 in g_main_context_check () from /usr/lib/libglib-2.0.so.0
#5  0x40d417e3 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#6  0x40921e65 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#7  0x4028311e in wxEventLoop::Run () from /usr/lib/libwx_gtk2_core-2.6.so.0
#8  0x4030e7c5 in wxAppBase::MainLoop () from /usr/lib/libwx_gtk2_core-2.6.so.0
#9  0x4030e8e2 in wxAppBase::OnRun () from /usr/lib/libwx_gtk2_core-2.6.so.0
#10 0x40534ffb in wxEntry () from /usr/lib/libwx_base-2.6.so.0
#11 0x081daaed in wxTopLevelWindowGTK::IsGrabbed ()
#12 0x406e7ea2 in __libc_start_main () from /lib/tls/i686/cmov/libc.so.6
#13 0x08069311 in ?? ()
(gdb) bt full
#0  0x40284e66 in wxGDIObject::~wxGDIObject ()
   from /usr/lib/libwx_gtk2_core-2.6.so.0
No symbol table info available.
#1  0x40af1b20 in gdk_get_show_events () from /usr/lib/libgdk-x11-2.0.so.0
No symbol table info available.
#2  0x40d6531c in g_vasprintf () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#3  0x40d3e4ee in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#4  0x40d414f6 in g_main_context_check () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#5  0x40d417e3 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#6  0x40921e65 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#7  0x4028311e in wxEventLoop::Run () from /usr/lib/libwx_gtk2_core-2.6.so.0
No symbol table info available.
#8  0x4030e7c5 in wxAppBase::MainLoop () from /usr/lib/libwx_gtk2_core-2.6.so.0
No symbol table info available.
#9  0x4030e8e2 in wxAppBase::OnRun () from /usr/lib/libwx_gtk2_core-2.6.so.0
No symbol table info available.
#10 0x40534ffb in wxEntry () from /usr/lib/libwx_base-2.6.so.0
No symbol table info available.
---Type to continue, or q to quit---
#11 0x081daaed in wxTopLevelWindowGTK::IsGrabbed ()
No symbol table info available.
#12 0x406e7ea2 in __libc_start_main () from /lib/tls/i686/cmov/libc.so.6
No symbol table info available.
#13 0x08069311 in ?? ()
No symbol table info available.
(gdb) thread apply all bt

Thread 4 (Thread 1128483760 (LWP 25800)):
#0  0xffffe410 in __kernel_vsyscall ()
#1  0x4002ff0c in pthread_cond_timedwait@@GLIBC_2.3.2 ()
   from /lib/tls/i686/cmov/libpthread.so.0
#2  0x40588b38 in wxConditionInternal::WaitTimeout ()
   from /usr/lib/libwx_base-2.6.so.0
#3  0x40588ba7 in wxCondition::WaitTimeout () from /usr/lib/libwx_base-2.6.so.0
#4  0x40589450 in wxSemaphoreInternal::WaitTimeout ()
   from /usr/lib/libwx_base-2.6.so.0
#5  0x405894d7 in wxSemaphore::WaitTimeout () from /usr/lib/libwx_base-2.6.so.0
#6  0x082d38fc in wxArchiveInputStream::Peek ()
#7  0x4058a18f in wxThreadInternal::PthreadStart ()
   from /usr/lib/libwx_base-2.6.so.0
#8  0x4058a21c in wxPthreadStart () from /usr/lib/libwx_base-2.6.so.0
#9  0x4002d361 in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#10 0x4079bbde in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 2 (Thread 1100217264 (LWP 25780)):
#0  0xffffe410 in __kernel_vsyscall ()
#1  0x40032d76 in __nanosleep_nocancel ()
   from /lib/tls/i686/cmov/libpthread.so.0
#2  0x4058ef16 in wxMicroSleep () from /usr/lib/libwx_base-2.6.so.0
---Type to continue, or q to quit---
#3  0x4058ef48 in wxMilliSleep () from /usr/lib/libwx_base-2.6.so.0
#4  0x40587d8c in wxThread::Sleep () from /usr/lib/libwx_base-2.6.so.0
#5  0x081869fd in wxTopLevelWindowGTK::IsGrabbed ()
#6  0x4058a18f in wxThreadInternal::PthreadStart ()
   from /usr/lib/libwx_base-2.6.so.0
#7  0x4058a21c in wxPthreadStart () from /usr/lib/libwx_base-2.6.so.0
#8  0x4002d361 in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#9  0x4079bbde in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 1 (Thread 1089341536 (LWP 25770)):
#0  0x40284e66 in wxGDIObject::~wxGDIObject ()
   from /usr/lib/libwx_gtk2_core-2.6.so.0
#1  0x40af1b20 in gdk_get_show_events () from /usr/lib/libgdk-x11-2.0.so.0
#2  0x40d6531c in g_vasprintf () from /usr/lib/libglib-2.0.so.0
#3  0x40d3e4ee in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#4  0x40d414f6 in g_main_context_check () from /usr/lib/libglib-2.0.so.0
#5  0x40d417e3 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#6  0x40921e65 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#7  0x4028311e in wxEventLoop::Run () from /usr/lib/libwx_gtk2_core-2.6.so.0
#8  0x4030e7c5 in wxAppBase::MainLoop () from /usr/lib/libwx_gtk2_core-2.6.so.0
#9  0x4030e8e2 in wxAppBase::OnRun () from /usr/lib/libwx_gtk2_core-2.6.so.0
#10 0x40534ffb in wxEntry () from /usr/lib/libwx_base-2.6.so.0
#11 0x081daaed in wxTopLevelWindowGTK::IsGrabbed ()
---Type to continue, or q to quit---
#12 0x406e7ea2 in __libc_start_main () from /lib/tls/i686/cmov/libc.so.6
#13 0x08069311 in ?? ()
(gdb)
Title: Re: another crash...
Post by: IWantMyMule on April 08, 2006, 11:39:31 AM
just keep spamming... :evil:

Code: [Select]
(amule:2365): GLib-WARNING **: giounix.c:400Error while getting flags for FD: Bad file descriptor (9)


Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1089345632 (LWP 2365)]
0x0b315469 in ?? ()
(gdb) bt
#0  0x0b315469 in ?? ()
#1  0x00000000 in ?? ()
#2  0x40285e51 in wxGDIObject::~wxGDIObject ()
   from /usr/lib/libwx_gtk2_core-2.6.so.0
#3  0x40af2b20 in gdk_get_show_events () from /usr/lib/libgdk-x11-2.0.so.0
#4  0x40d6631c in g_vasprintf () from /usr/lib/libglib-2.0.so.0
#5  0x40d3f4ee in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#6  0x40d424f6 in g_main_context_check () from /usr/lib/libglib-2.0.so.0
#7  0x40d427e3 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#8  0x40922e65 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#9  0x4028411e in wxEventLoop::Run () from /usr/lib/libwx_gtk2_core-2.6.so.0
#10 0x4030f7c5 in wxAppBase::MainLoop () from /usr/lib/libwx_gtk2_core-2.6.so.0
#11 0x4030f8e2 in wxAppBase::OnRun () from /usr/lib/libwx_gtk2_core-2.6.so.0
#12 0x40535ffb in wxEntry () from /usr/lib/libwx_base-2.6.so.0
#13 0x081daaed in wxTopLevelWindowGTK::IsGrabbed ()
#14 0x406e8ea2 in __libc_start_main () from /lib/tls/i686/cmov/libc.so.6
#15 0x08069311 in ?? ()
(gdb) bt full
#0  0x0b315469 in ?? ()
No symbol table info available.
#1  0x00000000 in ?? ()
No symbol table info available.
#2  0x40285e51 in wxGDIObject::~wxGDIObject ()
   from /usr/lib/libwx_gtk2_core-2.6.so.0
No symbol table info available.
#3  0x40af2b20 in gdk_get_show_events () from /usr/lib/libgdk-x11-2.0.so.0
No symbol table info available.
#4  0x40d6631c in g_vasprintf () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#5  0x40d3f4ee in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#6  0x40d424f6 in g_main_context_check () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#7  0x40d427e3 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#8  0x40922e65 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#9  0x4028411e in wxEventLoop::Run () from /usr/lib/libwx_gtk2_core-2.6.so.0
No symbol table info available.
#10 0x4030f7c5 in wxAppBase::MainLoop () from /usr/lib/libwx_gtk2_core-2.6.so.0
No symbol table info available.
---Type to continue, or q to quit---
#11 0x4030f8e2 in wxAppBase::OnRun () from /usr/lib/libwx_gtk2_core-2.6.so.0
No symbol table info available.
#12 0x40535ffb in wxEntry () from /usr/lib/libwx_base-2.6.so.0
No symbol table info available.
#13 0x081daaed in wxTopLevelWindowGTK::IsGrabbed ()
No symbol table info available.
#14 0x406e8ea2 in __libc_start_main () from /lib/tls/i686/cmov/libc.so.6
No symbol table info available.
#15 0x08069311 in ?? ()
No symbol table info available.
(gdb) thread apply all bt

Thread 4 (Thread 1128487856 (LWP 2383)):
#0  0xffffe410 in __kernel_vsyscall ()
#1  0x40030f0c in pthread_cond_timedwait@@GLIBC_2.3.2 ()
   from /lib/tls/i686/cmov/libpthread.so.0
#2  0x40589b38 in wxConditionInternal::WaitTimeout ()
   from /usr/lib/libwx_base-2.6.so.0
#3  0x40589ba7 in wxCondition::WaitTimeout () from /usr/lib/libwx_base-2.6.so.0
#4  0x4058a450 in wxSemaphoreInternal::WaitTimeout ()
   from /usr/lib/libwx_base-2.6.so.0
#5  0x4058a4d7 in wxSemaphore::WaitTimeout () from /usr/lib/libwx_base-2.6.so.0
#6  0x082d38fc in wxArchiveInputStream::Peek ()
#7  0x4058b18f in wxThreadInternal::PthreadStart ()
   from /usr/lib/libwx_base-2.6.so.0
#8  0x4058b21c in wxPthreadStart () from /usr/lib/libwx_base-2.6.so.0
#9  0x4002e361 in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#10 0x4079cbde in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 2 (Thread 1100221360 (LWP 2373)):
#0  0xffffe410 in __kernel_vsyscall ()
#1  0x40033d76 in __nanosleep_nocancel ()
   from /lib/tls/i686/cmov/libpthread.so.0
#2  0x4058ff16 in wxMicroSleep () from /usr/lib/libwx_base-2.6.so.0
---Type to continue, or q to quit---
#3  0x4058ff48 in wxMilliSleep () from /usr/lib/libwx_base-2.6.so.0
#4  0x40588d8c in wxThread::Sleep () from /usr/lib/libwx_base-2.6.so.0
#5  0x081869fd in wxTopLevelWindowGTK::IsGrabbed ()
#6  0x4058b18f in wxThreadInternal::PthreadStart ()
   from /usr/lib/libwx_base-2.6.so.0
#7  0x4058b21c in wxPthreadStart () from /usr/lib/libwx_base-2.6.so.0
#8  0x4002e361 in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#9  0x4079cbde in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 1 (Thread 1089345632 (LWP 2365)):
#0  0x0b315469 in ?? ()
#1  0x00000000 in ?? ()
#2  0x40285e51 in wxGDIObject::~wxGDIObject ()
   from /usr/lib/libwx_gtk2_core-2.6.so.0
#3  0x40af2b20 in gdk_get_show_events () from /usr/lib/libgdk-x11-2.0.so.0
#4  0x40d6631c in g_vasprintf () from /usr/lib/libglib-2.0.so.0
#5  0x40d3f4ee in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#6  0x40d424f6 in g_main_context_check () from /usr/lib/libglib-2.0.so.0
#7  0x40d427e3 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#8  0x40922e65 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#9  0x4028411e in wxEventLoop::Run () from /usr/lib/libwx_gtk2_core-2.6.so.0
#10 0x4030f7c5 in wxAppBase::MainLoop () from /usr/lib/libwx_gtk2_core-2.6.so.0
#11 0x4030f8e2 in wxAppBase::OnRun () from /usr/lib/libwx_gtk2_core-2.6.so.0
---Type to continue, or q to quit---
#12 0x40535ffb in wxEntry () from /usr/lib/libwx_base-2.6.so.0
#13 0x081daaed in wxTopLevelWindowGTK::IsGrabbed ()
#14 0x406e8ea2 in __libc_start_main () from /lib/tls/i686/cmov/libc.so.6
#15 0x08069311 in ?? ()
(gdb)

not that you get this wrong, this certainly wasn't the only crash since my last post.  ;(
Title: Re: another crash...
Post by: Kry on April 08, 2006, 01:45:46 PM
I had my mule running for 10 days already. For some reason, your problem seems to be local, not relatd to aMule.
Title: Re: another crash...
Post by: phoenix on April 08, 2006, 09:14:16 PM
IWantMyMule,

There is no point in insisting with this scenario. Try to compile wxWidgets and aMule yourself.

Cheers!
Title: Re: another crash...
Post by: IWantMyMule on April 09, 2006, 01:50:23 AM
Strange... I had these crashes with all 2.x versions of amule, on Debian Sarge as well as on Ubuntu Breezy. They didn't occur with aMule 1.2.8. At least Debian Sarge is a very reliable Distro, I think...

Couldn't this problem be related to the crashs other users are experiencing? (geearf (http://forum.amule.org/thread.php?threadid=9613&sid=) for example)

@ phoenix: Actually, I did compile wxWidgets and aMule myself. It's just that I didn't write these myself.  ;)
Title: Re: another crash...
Post by: phoenix on April 09, 2006, 02:17:05 AM
Quote
Originally posted by IWantMyMule
@ phoenix: Actually, I did compile wxWidgets and aMule myself. It's just that I didn't write these myself.  ;)
Oh, you did? :) So, next time you do that, don't forget to include debug information in aMule and wx, this will help us *a lot* to analyze your backtraces!

Cheers!
Title: Re: another crash...
Post by: IWantMyMule on April 09, 2006, 05:26:34 PM
Isn't debug information included by default in aMule (as INSTALL only offers "--disable-debug")? I'll recompile wxWidgets, though. 8) I think I just got blended from the info that wx2.6.3 was "tested heavily" with amule...  :P
Title: Re: another crash...
Post by: phoenix on April 09, 2006, 07:46:13 PM
Well, I can't say anything about "heavily tested with wx-2.6.3", because I use wx-CVS, which gives me some headaches from time to time, but I believe I can be more productive making sure aMule will always run on the latest wx code.

As for debug info, yes, debug is included by default on hand configured code. But give another check, because it might have been stripped if you use someone else's script. It is just that I saw no debug symbols in your code, either from aMule or wx.

BTW, your problem seems related to wx. Can you post the configure line you used to compile it?

Cheers!
Title: Re: another crash...
Post by: IWantMyMule on April 23, 2006, 01:18:01 PM
I configured wx with
./configure --with-gtk --enable-unicode --enable debug

Here's another backtrace:
Code: [Select]
Terminated after throwing an instance of 'std::bad_alloc'
        what(): St9bad_alloc
* Could not get symbol names for backtrace

Terminated after throwing an instance of 'std::bad_alloc'
        what(): St9bad_alloc
        backtrace:

* Could not get symbol names for backtrace
        backtrace:


Program received signal SIGABRT, Aborted.
[Switching to Thread 1127861168 (LWP 28701)]
0xffffe410 in __kernel_vsyscall ()
(gdb) bt
#0  0xffffe410 in __kernel_vsyscall ()
#1  0x400347b0 in raise () from /lib/tls/i686/cmov/libpthread.so.0
#2  0x08329b5d in std::operator+, std::allocator > ()
#3  0x40677ed4 in __gxx_personality_v0 () from /usr/lib/libstdc++.so.6
#4  0x40677f11 in std::terminate () from /usr/lib/libstdc++.so.6
#5  0x4067809c in __cxa_throw () from /usr/lib/libstdc++.so.6
#6  0x4067852a in operator new () from /usr/lib/libstdc++.so.6
#7  0x0806fee7 in wxObject::ReservedObjectFunc9 ()
#8  0x4058c8d1 in wxEvtHandler::AddPendingEvent ()
   from /usr/lib/libwx_base-2.6.so.0
#9  0x0806fc66 in wxObject::ReservedObjectFunc9 ()
#10 0x082d3931 in wxArchiveInputStream::Peek ()
#11 0x4058b18f in wxThreadInternal::PthreadStart ()
   from /usr/lib/libwx_base-2.6.so.0
#12 0x4058b21c in wxPthreadStart () from /usr/lib/libwx_base-2.6.so.0
#13 0x4002e361 in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#14 0x4079cbde in clone () from /lib/tls/i686/cmov/libc.so.6
(gdb) bt full
#0  0xffffe410 in __kernel_vsyscall ()
No symbol table info available.
#1  0x400347b0 in raise () from /lib/tls/i686/cmov/libpthread.so.0
No symbol table info available.
#2  0x08329b5d in std::operator+, std::allocator > ()
No symbol table info available.
#3  0x40677ed4 in __gxx_personality_v0 () from /usr/lib/libstdc++.so.6
No symbol table info available.
#4  0x40677f11 in std::terminate () from /usr/lib/libstdc++.so.6
No symbol table info available.
#5  0x4067809c in __cxa_throw () from /usr/lib/libstdc++.so.6
No symbol table info available.
#6  0x4067852a in operator new () from /usr/lib/libstdc++.so.6
No symbol table info available.
#7  0x0806fee7 in wxObject::ReservedObjectFunc9 ()
No symbol table info available.
#8  0x4058c8d1 in wxEvtHandler::AddPendingEvent ()
   from /usr/lib/libwx_base-2.6.so.0
No symbol table info available.
#9  0x0806fc66 in wxObject::ReservedObjectFunc9 ()
No symbol table info available.
#10 0x082d3931 in wxArchiveInputStream::Peek ()
---Type to continue, or q to quit---
No symbol table info available.
#11 0x4058b18f in wxThreadInternal::PthreadStart ()
   from /usr/lib/libwx_base-2.6.so.0
No symbol table info available.
#12 0x4058b21c in wxPthreadStart () from /usr/lib/libwx_base-2.6.so.0
No symbol table info available.
#13 0x4002e361 in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
No symbol table info available.
#14 0x4079cbde in clone () from /lib/tls/i686/cmov/libc.so.6
No symbol table info available.
(gdb) thread apply all bt

Thread 4 (Thread 1127861168 (LWP 28701)):
#0  0xffffe410 in __kernel_vsyscall ()
#1  0x400347b0 in raise () from /lib/tls/i686/cmov/libpthread.so.0
#2  0x08329b5d in std::operator+, std::allocator > ()
#3  0x40677ed4 in __gxx_personality_v0 () from /usr/lib/libstdc++.so.6
#4  0x40677f11 in std::terminate () from /usr/lib/libstdc++.so.6
#5  0x4067809c in __cxa_throw () from /usr/lib/libstdc++.so.6
#6  0x4067852a in operator new () from /usr/lib/libstdc++.so.6
#7  0x0806fee7 in wxObject::ReservedObjectFunc9 ()
#8  0x4058c8d1 in wxEvtHandler::AddPendingEvent ()
   from /usr/lib/libwx_base-2.6.so.0
#9  0x0806fc66 in wxObject::ReservedObjectFunc9 ()
#10 0x082d3931 in wxArchiveInputStream::Peek ()
#11 0x4058b18f in wxThreadInternal::PthreadStart ()
   from /usr/lib/libwx_base-2.6.so.0
#12 0x4058b21c in wxPthreadStart () from /usr/lib/libwx_base-2.6.so.0
#13 0x4002e361 in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#14 0x4079cbde in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 2 (Thread 1100221360 (LWP 28687)):
#0  0xffffe410 in __kernel_vsyscall ()
---Type to continue, or q to quit---
#1  0x40033d76 in __nanosleep_nocancel ()
   from /lib/tls/i686/cmov/libpthread.so.0
#2  0x4058ff16 in wxMicroSleep () from /usr/lib/libwx_base-2.6.so.0
#3  0x4058ff48 in wxMilliSleep () from /usr/lib/libwx_base-2.6.so.0
#4  0x40588d8c in wxThread::Sleep () from /usr/lib/libwx_base-2.6.so.0
#5  0x081869fd in wxTopLevelWindowGTK::IsGrabbed ()
#6  0x4058b18f in wxThreadInternal::PthreadStart ()
   from /usr/lib/libwx_base-2.6.so.0
#7  0x4058b21c in wxPthreadStart () from /usr/lib/libwx_base-2.6.so.0
#8  0x4002e361 in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#9  0x4079cbde in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 1 (Thread 1089345632 (LWP 28681)):
#0  0xffffe410 in __kernel_vsyscall ()
#1  0x400347b0 in raise () from /lib/tls/i686/cmov/libpthread.so.0
#2  0x08329b5d in std::operator+, std::allocator > ()
#3  0x40677ed4 in __gxx_personality_v0 () from /usr/lib/libstdc++.so.6
#4  0x40677f11 in std::terminate () from /usr/lib/libstdc++.so.6
#5  0x4067809c in __cxa_throw () from /usr/lib/libstdc++.so.6
#6  0x4067852a in operator new () from /usr/lib/libstdc++.so.6
#7  0x081e7c29 in wxObjectList::CreateNode ()
#8  0x405404ba in wxListBase::Append () from /usr/lib/libwx_base-2.6.so.0
---Type to continue, or q to quit---
#9  0x4058c931 in wxEvtHandler::AddPendingEvent ()
   from /usr/lib/libwx_base-2.6.so.0
#10 0x404b403e in wxSocketBase::OnRequest ()
   from /usr/lib/libwx_base_net-2.6.so.0
#11 0x404b4160 in wx_socket_callback () from /usr/lib/libwx_base_net-2.6.so.0
#12 0x404b83f8 in GSocket::Detected_Write ()
   from /usr/lib/libwx_base_net-2.6.so.0
#13 0x40285e51 in wxGDIObject::~wxGDIObject ()
   from /usr/lib/libwx_gtk2_core-2.6.so.0
#14 0x40af2b20 in gdk_get_show_events () from /usr/lib/libgdk-x11-2.0.so.0
#15 0x40d6631c in g_vasprintf () from /usr/lib/libglib-2.0.so.0
#16 0x40d3f4ee in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#17 0x40d424f6 in g_main_context_check () from /usr/lib/libglib-2.0.so.0
#18 0x40d427e3 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#19 0x40922e65 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#20 0x4028411e in wxEventLoop::Run () from /usr/lib/libwx_gtk2_core-2.6.so.0
#21 0x4030f7c5 in wxAppBase::MainLoop () from /usr/lib/libwx_gtk2_core-2.6.so.0
#22 0x4030f8e2 in wxAppBase::OnRun () from /usr/lib/libwx_gtk2_core-2.6.so.0
#23 0x40535ffb in wxEntry () from /usr/lib/libwx_base-2.6.so.0
#24 0x081daaed in wxTopLevelWindowGTK::IsGrabbed ()
#25 0x406e8ea2 in __libc_start_main () from /lib/tls/i686/cmov/libc.so.6
#26 0x08069311 in ?? ()
#0  0xffffe410 in __kernel_vsyscall ()
(gdb)
Title: Re: another crash...
Post by: phoenix on April 23, 2006, 11:14:18 PM
Try this line:

$ ./configure --enable-debug --disable-optimise --enable-debug_flag --enable-debug_info --enable-debug_gdb --with-opengl --enable-gtk2 --enable-unicode --enable-largefile --prefix=~/wxWidgets

and do not forget to run amule like this:
$ LD_LIBRARY_PATH=~/wxWidgets/lib amule &
Title: Re: another crash...
Post by: IWantMyMule on May 06, 2006, 09:32:50 PM
Doesn't seem to work...

Code: [Select]
(amule:29783): GLib-WARNING **: giounix.c:400Error while getting flags for FD: Bad file descriptor (9)


--------------------------------------------------------------------------------
A fatal error has occurred and aMule has crashed.
Please assist us in fixing this problem by posting the backtrace below in our
'aMule Crashes' forum and include as much information as possible regarding the
circumstances of this crash. The forum is located here:
    [URL]http://forum.amule.org/board.php?boardid=67[/URL]
If possible, please try to generate a real backtrace of this crash:
    [URL]http://www.amule.org/wiki/index.php/Backtraces[/URL]

----------------------------=| BACKTRACE FOLLOWS: |=----------------------------
Current version is: aMule 2.1.1 using wxGTK2 v2.6.3
Running on: Linux 2.6.16.1 i686

[2] ?? in amule [0x80733d3]
[3] wxFatalSignalHandler in /usr/lib/libwx_base-2.6.so.0[0x405904a6]
[4] ?? in [0xffffe420]
[5] ?? in [0xb0eadff]
[6] ?? in /usr/lib/libgdk-x11-2.0.so.0 [0x40af2b20]
[7] ?? in /usr/lib/libglib-2.0.so.0 [0x40d6631c]
[8] g_main_context_dispatch in /usr/lib/libglib-2.0.so.0[0x40d3f4ee]
[9] ?? in /usr/lib/libglib-2.0.so.0 [0x40d424f6]
[10] g_main_loop_run in /usr/lib/libglib-2.0.so.0[0x40d427e3]
[11] gtk_main in /usr/lib/libgtk-x11-2.0.so.0[0x40922e65]
[12] wxEventLoop::Run() in /usr/lib/libwx_gtk2_core-2.6.so.0[0x4028411e]
[13] wxAppBase::MainLoop() in /usr/lib/libwx_gtk2_core-2.6.so.0[0x4030f7c5]
[14] wxAppBase::OnRun() in /usr/lib/libwx_gtk2_core-2.6.so.0[0x4030f8e2]
[15] wxEntry(int&, char**) in /usr/lib/libwx_base-2.6.so.0[0x40535ffb]
[16] ?? in amule [0x81daaed]
[17] __libc_start_main in /lib/tls/i686/cmov/libc.so.6[0x406e8ea2]
[18] wxAppBase::Dispatch() in amule[0x8069311]


--------------------------------------------------------------------------------

[1]+  Aborted                 LD_LIBRARY_PATH=~/wxWidgets/lib amule
Title: Re: another crash...
Post by: phoenix on May 10, 2006, 03:32:55 AM
IWantMyMule,

Did you link aMule against the wxWidget library you just created? You have to configure aMule more or less like this:

$ ./configure --enable-debug --disable-optimize --enable-verbose --enable-webserver --enable-amulecmd --with-wx-config=/home/iwantmymule/wxWidgets-cvsu/bin/wx-config --enable-cas

Cheers!
Title: Re: another crash...
Post by: IWantMyMule on May 14, 2006, 09:24:22 PM
OK, I did this now but it still keeps crashing. Crashed after ~11h of running today. Here's what it says on the console:

Code: [Select]
(amule:5454): GLib-WARNING **: giounix.c:400Error while getting flags for FD: Bad file descriptor (9)


--------------------------------------------------------------------------------
A fatal error has occurred and aMule has crashed.
Please assist us in fixing this problem by posting the backtrace below in our
'aMule Crashes' forum and include as much information as possible regarding the
circumstances of this crash. The forum is located here:
    [URL]http://forum.amule.org/board.php?boardid=67[/URL]
If possible, please try to generate a real backtrace of this crash:
    [URL]http://www.amule.org/wiki/index.php/Backtraces[/URL]

----------------------------=| BACKTRACE FOLLOWS: |=----------------------------
Current version is: aMule 2.1.1 using wxGTK2 v2.6.3 (Unicoded, Debugging)
Running on: Linux 2.6.16.1 i686

addr2line: 'amule': No such file
addr2line: 'amule': No such file
addr2line: 'amule': No such file
addr2line: 'amule': No such file
addr2line: 'amule': No such file
addr2line: 'amule': No such file
addr2line: 'amule': No such file
addr2line: 'amule': No such file
addr2line: 'amule': No such file
addr2line: 'amule': No such file
addr2line: 'amule': No such file
addr2line: 'amule': No such file
addr2line: 'amule': No such file
addr2line: 'amule': No such file
addr2line: 'amule': No such file
addr2line: 'amule': No such file
addr2line: 'amule': No such file
addr2line: 'amule': No such file
addr2line: 'amule': No such file
addr2line: 'amule': No such file
addr2line: 'amule': No such file
addr2line: 'amule': No such file
addr2line: 'amule': No such file
[2] ?? in amule [0x807b82f]
[3] wxFatalSignalHandler in /home/vickub/wxWidgets/lib/libwx_gtk2ud-2.6.so.0[0x403592b1]
[4] ?? in [0xffffe420]
[5] ?? in [0xbf15b98]
[6] ?? in /usr/lib/libgdk-x11-2.0.so.0 [0x40d1cb20]
[7] ?? in /usr/lib/libglib-2.0.so.0 [0x40f8f31c]
[8] g_main_context_dispatch in /usr/lib/libglib-2.0.so.0[0x40f684ee]
[9] ?? in /usr/lib/libglib-2.0.so.0 [0x40f6b4f6]
[10] g_main_loop_run in /usr/lib/libglib-2.0.so.0[0x40f6b7e3]
[11] gtk_main in /usr/lib/libgtk-x11-2.0.so.0[0x40b4be65]
[12] wxEventLoop::Run() in /home/vickub/wxWidgets/lib/libwx_gtk2ud-2.6.so.0[0x4039743c]
[13] wxAppBase::MainLoop() in /home/vickub/wxWidgets/lib/libwx_gtk2ud-2.6.so.0[0x40428d8b]
[14] wxAppBase::OnRun() in /home/vickub/wxWidgets/lib/libwx_gtk2ud-2.6.so.0[0x40428f17]
[15] wxEntry(int&, wchar_t**) in /home/vickub/wxWidgets/lib/libwx_gtk2ud-2.6.so.0[0x402e312d]
[16] wxEntry(int&, char**) in /home/vickub/wxWidgets/lib/libwx_gtk2ud-2.6.so.0[0x402e3206]
[17] ?? in amule [0x81e6dcd]
[18] __libc_start_main in /lib/tls/i686/cmov/libc.so.6[0x40911ea2]
[19] wxWindow::GetScrollRange(int) const in amule[0x8071561]


--------------------------------------------------------------------------------

Any ideas what to do now?
Title: Re: another crash...
Post by: phoenix on May 15, 2006, 12:00:00 AM
Post here the result of:

$ grep -n HAVE_BFD /home/vickub/aMule-cvs/config.log

(substitute this for the actual directory where you compile aMule)

Also, what is the version of your binutils?

It does not seem to be amule fault. And not even wxWidgets. Could you check your gtk instalation? Maybe a corrupt lib or something like that?