aMule Forum

English => Backtraces => Topic started by: Vollstrecker on August 15, 2007, 11:43:57 PM

Title: Segfault when closing last searchtab
Post by: Vollstrecker on August 15, 2007, 11:43:57 PM
I know, this is known, but today it happened with wx-2.8. I closedf the last searchtab and got this:

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1232914752 (LWP 13482)]
0xb6dce087 in gtk_notebook_new () from /usr/lib/libgtk-x11-2.0.so.0
(gdb) bt
#0  0xb6dce087 in gtk_notebook_new () from /usr/lib/libgtk-x11-2.0.so.0
#1  0xb6db1c10 in gtk_marshal_BOOLEAN__VOID () from /usr/lib/libgtk-x11-2.0.so.0
#2  0xb7070de9 in g_value_set_boxed () from /usr/lib/libgobject-2.0.so.0
#3  0xb70725d2 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#4  0xb7083753 in g_signal_override_class_closure () from /usr/lib/libgobject-2.0.so.0
#5  0xb70843ef in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#6  0xb70847e9 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#7  0xb6ec5dd8 in gtk_widget_get_default_style () from /usr/lib/libgtk-x11-2.0.so.0
#8  0xb6daafd3 in gtk_propagate_event () from /usr/lib/libgtk-x11-2.0.so.0
#9  0xb6dac1d7 in gtk_main_do_event () from /usr/lib/libgtk-x11-2.0.so.0
#10 0xb6c390da in gdk_add_client_message_filter () from /usr/lib/libgdk-x11-2.0.so.0
#11 0xb7000a62 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#12 0xb7003a2f in g_main_context_check () from /usr/lib/libglib-2.0.so.0
#13 0xb7003dd9 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#14 0xb6dac654 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#15 0xb781874c in wxEventLoop::Run () from /usr/lib/libwx_gtk2u_core-2.8.so.0
#16 0xb78b7fce in wxAppBase::MainLoop () from /usr/lib/libwx_gtk2u_core-2.8.so.0
#17 0xb78b75b1 in wxAppBase::OnRun () from /usr/lib/libwx_gtk2u_core-2.8.so.0
#18 0xb75e7eea in wxEntry () from /usr/lib/libwx_baseu-2.8.so.0
#19 0xb75e7f97 in wxEntry () from /usr/lib/libwx_baseu-2.8.so.0
#20 0x081f5120 in main (argc=0, argv=0x60104009) at amule-gui.cpp:95
#21 0xb7303030 in __libc_start_main () from /lib/libc.so.6
#22 0x0808a531 in _start ()

btfull gave the same with "No symbol table" appended after each line. Am I missing something?
Title: Re: Segfault when closing last searchtab
Post by: swejuggalo on October 10, 2007, 08:24:58 PM
Got a segmentation fault her too doing the same thing...

Something also happens when searching for Archives (Logger.cpp(268): Debug: SearchDlg.cpp(501): assert "dynamic_cast<wxChoice*>( FindWindow( IDC_TypeSearch ) )->GetStringSelection() == wxGetTranslation(params.typeText)" failed in StartNewSearch().).

CVS Wed Oct 10 07:01:55, wvwidget 2.8.1


Search expression: kent
Expression count: 1
Parameters: 1
wxASSERT-SearchDlg.cpp(486):
        'Archives'
        'Arc'
Search parsing resultfor "kent": 0
Search expression: kent
Expression count: 1
Parameters: 2
[New Thread -1335194736 (LWP 30509)]
[Thread -1335194736 (LWP 30509) exited]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1230956848 (LWP 30440)]
0xb6fabb67 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
(gdb) bt
#0  0xb6fabb67 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#1  0x0b3fd970 in ?? ()
#2  0x08e46818 in ?? ()
#3  0xbfc914f8 in ?? ()
#4  0xb719fbac in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#5  0xb6fabac0 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#6  0x0b3fd970 in ?? ()
#7  0xbfc914f8 in ?? ()
#8  0xb6f8f6b0 in _gtk_marshal_BOOLEAN__BOXED ()
   from /usr/lib/libgtk-x11-2.0.so.0
Backtrace stopped: frame did not save the PC
(gdb) bt full
#0  0xb6fabb67 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#1  0x0b3fd970 in ?? ()
No symbol table info available.
#2  0x08e46818 in ?? ()
No symbol table info available.
#3  0xbfc914f8 in ?? ()
No symbol table info available.
#4  0xb719fbac in ?? () from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#5  0xb6fabac0 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#6  0x0b3fd970 in ?? ()
No symbol table info available.
#7  0xbfc914f8 in ?? ()
No symbol table info available.
#8  0xb6f8f6b0 in _gtk_marshal_BOOLEAN__BOXED ()
   from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
Backtrace stopped: frame did not save the PC
(gdb) thread apply all bt

Thread 4 (Thread -1296147568 (LWP 30477)):
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb7f2484c in pthread_cond_timedwait@@GLIBC_2.3.2 ()
   from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb786c5eb in wxConditionInternal::WaitTimeout (this=0xa6794f0,
    milliseconds=95) at ../src/unix/threadpsx.cpp:405
#3  0xb786c6d0 in wxCondition::WaitTimeout (this=0xa673b9c, milliseconds=95)
    at ../include/wx/thrimpl.cpp:256
#4  0xb786d519 in wxSemaphoreInternal::WaitTimeout (this=0xa673b98,
    milliseconds=95) at ../src/unix/threadpsx.cpp:552
#5  0xb786d602 in wxSemaphore::WaitTimeout (this=0x9147108, milliseconds=95)
    at ../include/wx/thrimpl.cpp:320
#6  0x082cd0f2 in CTimerThread::Entry (this=0x91470e8) at Timer.cpp:63
#7  0xb786e8ec in wxThreadInternal::PthreadStart (thread=0x91470e8)
    at ../src/unix/threadpsx.cpp:766
#8  0xb786ea57 in wxPthreadStart (ptr=0x91470e8)
    at ../src/unix/threadpsx.cpp:718
#9  0xb7f2031b in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#10 0xb75a157e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 2 (Thread -1279362160 (LWP 30469)):
#0  0xffffe410 in __kernel_vsyscall ()


A lot of ?? here and there... Something made wrong here?
Title: Re: Segfault when closing last searchtab
Post by: phoenix on October 11, 2007, 03:17:24 AM
This is know and happens here too. Seems to be a wx bug. I usually am able to avoid it by not closing the tab using the "x" button. Try using the menu close or close all. Also, always close the tabs in the reverse order, never close a tab in the middle of other tabs.

Cheers!
Title: Re: Segfault when closing last searchtab
Post by: lfroen on October 11, 2007, 05:57:51 AM
Happened to me too. No anymore since Fedora updated wx version