aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: SIGABRT or SIGSEGV if clicking 'Preferences' or 'Import' with CVS/SuSe 10.3 ?  (Read 2330 times)

scatha

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 4

Since I have upgraded to SuSe 10.3 I've had this bug with all the new CVS versions and all the wxGTK libs I have tried so far.
I have tried the wxGTK 2.8.4 package from SuSE, the wxWidgets from Packman and also compiled my own WX with
./configure --prefix=/usr --with-gtk --enable-unicode --disable-compat24 --enable-optimise   

All the other TABS (Statistics/Search etc.) DO WORK !!!

I tried a few rpm versions (packman, CVS from June,July) and also compiled my own from August 6th, but all of them crash.

I have now found two different kinds of crash:

1. exits with SIGABRT

(gdb) thread apply 4 bt

Thread 4 (Thread 0xb3e5bb90 (LWP 30833)):
#0  0xffffe410 in ?? ()
#1  0xb3e5b250 in ?? ()
#2  0x0000009b in ?? ()
#3  0x0b71b000 in ?? ()
#4  0xb776ae36 in gettimeofday () from /lib/libc.so.6
#5  0xb7a9fff4 in ?? () from /usr/lib/libwx_baseu-2.8.so.0
#6  0x3ff62ea0 in ?? ()
#7  0x087be150 in ?? ()
#8  0xb3e5b288 in ?? ()
#9  0xb7a3ff2f in wxCondition::WaitTimeout ()
   from /usr/lib/libwx_baseu-2.8.so.0
Backtrace stopped: previous frame inner to this frame (corrupt stack?)
#0  0xffffe410 in ?? ()

Thread 2 (Thread 0xb4e5db90 (LWP 30831)):
#0  0xffffe410 in ?? ()
#1  0xb4e5d0a8 in ?? ()
#2  0xb7a9fff4 in ?? () from /usr/lib/libwx_baseu-2.8.so.0
#3  0x00000000 in ?? ()
#0  0xffffe410 in ?? ()

Thread 1 (Thread 0xb6d466d0 (LWP 30825)):
#0  0xffffe410 in ?? ()
#1  0xbfccb838 in ?? ()
#2  0x00000006 in ?? ()
#3  0xb7716121 in abort () from /lib/libc.so.6
#4  0xb775139b in ?? () from /lib/libc.so.6
#5  0x00000000 in ?? ()

++++++++++++++++++++++++++++++++++++++++++++++++++++++++

2. exits with SIGSEGV


Is this a glib bug ?
I am going to try other glib packages now
----------------------------------

(gdb) thread apply 1 bt full

Thread 1 (Thread 0xb6dc66d0 (LWP 30758)):
#0  0xb6f7ff12 in g_list_last () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#1  0xb6f80525 in g_list_append () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#2  0xb7c9f1b5 in gtk_pizza_put () from /usr/lib/libwx_gtk2u_core-2.8.so.0
No symbol table info available.
#3  0xb7c9c86c in wxInsertChildInTopLevelWindow ()
   from /usr/lib/libwx_gtk2u_core-2.8.so.0
No symbol table info available.
#4  0xb7ca068e in wxWindow::DoAddChild ()
   from /usr/lib/libwx_gtk2u_core-2.8.so.0
No symbol table info available.
#5  0xb7ce36f8 in wxButton::Create () from /usr/lib/libwx_gtk2u_core-2.8.so.0
No symbol table info available.
#6  0x08411903 in wxButton (this=0x99b7760, parent=0x99a0730, id=10291,
    label=@0xbfd903ac, pos=@0x8575030, size=@0x85711d0, style=0,
    validator=@0x8572aa0, name=@0xbfd903b0)
    at /usr/include/wx-2.8/wx/gtk/button.h:28
No locals.
#7  0x083cd1b6 in preferencesDlgTop (parent=0x99a0730, call_fit=false,
    set_sizer=true) at muuli_wdr.cpp:2886
---Type <return> to continue, or q <return> to quit---
        item0 = (wxBoxSizer *) 0x99b4aa8
        item1 = (wxFlexGridSizer *) 0x99bccd8
        item2 = (wxListCtrl *) 0x99bce48
        item4 = (wxStaticBox *) 0x99a8758
        item3 = (wxStaticBoxSizer *) 0x99a79a0
        item5 = (wxButton *) 0x99c1668
        item6 = (wxButton *) 0xbfd904bc
#8  0x082286fc in PrefsUnifiedDlg (this=0x99a0730, parent=0x93eadb0)
    at PrefsUnifiedDlg.cpp:176
No locals.
#9  0x082014e7 in CamuleDlg::OnPrefButton (this=0x93eadb0) at amuleDlg.cpp:454
No locals.
#10 0xb7a1bee1 in wxAppConsole::HandleEvent ()
   from /usr/lib/libwx_baseu-2.8.so.0
No symbol table info available.
#11 0xb7ac29b8 in wxEvtHandler::ProcessEventIfMatches ()
   from /usr/lib/libwx_baseu-2.8.so.0
No symbol table info available.
#12 0xb7ac2b18 in wxEventHashTable::HandleEvent ()
   from /usr/lib/libwx_baseu-2.8.so.0
No symbol table info available.
#13 0xb7ac2c7f in wxEvtHandler::ProcessEvent ()
   from /usr/lib/libwx_baseu-2.8.so.0
---Type <return> to continue, or q <return> to quit---
No symbol table info available.
#14 0xb7db8e9e in wxWindowBase::TryParent ()
   from /usr/lib/libwx_gtk2u_core-2.8.so.0
No symbol table info available.
#15 0xb7ac2c3b in wxEvtHandler::ProcessEvent ()
   from /usr/lib/libwx_baseu-2.8.so.0
No symbol table info available.
#16 0xb7dae9b2 in wxToolBarBase::OnLeftClick ()
   from /usr/lib/libwx_gtk2u_core-2.8.so.0
No symbol table info available.
#17 0xb7d2211a in gtk_toolbar_callback ()
   from /usr/lib/libwx_gtk2u_core-2.8.so.0
No symbol table info available.
#18 0xb728d36f in g_cclosure_marshal_VOID__VOID ()
   from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#19 0xb727f949 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#20 0xb7294f9d in ?? () from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#21 0x094fce00 in ?? ()
No symbol table info available.
#22 0x00000000 in ?? ()
---Type <return> to continue, or q <return> to quit---
No symbol table info available.

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

(gdb) thread apply 2 bt full

Thread 2 (Thread 0xb4eddb90 (LWP 30764)):
#0  0xffffe410 in ?? ()
No symbol table info available.
#1  0xb4edd0a8 in ?? ()
No symbol table info available.
#2  0xb7b1fff4 in ?? () from /usr/lib/libwx_baseu-2.8.so.0
No symbol table info available.
#3  0x00000000 in ?? ()
No symbol table info available.
#0  0xb6f7ff12 in g_list_last () from /usr/lib/libglib-2.0.so.0

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

(gdb) thread apply 4 bt full

Thread 4 (Thread 0xb3edbb90 (LWP 30766)):
#0  0xffffe410 in ?? ()
No symbol table info available.
#1  0xb3edb250 in ?? ()
No symbol table info available.
#2  0x0000178d in ?? ()
No symbol table info available.
#3  0x00000000 in ?? ()
No symbol table info available.
#0  0xb6f7ff12 in g_list_last () from /usr/lib/libglib-2.0.so.0
« Last Edit: August 07, 2007, 12:59:53 PM by scatha »
Logged

wuischke

  • Developer
  • Hero Member
  • *****
  • Karma: 183
  • Offline Offline
  • Posts: 4292

Hi,

could you please use aMule compiled with debug informations (--enable-debug --disable-optimize) to create the backtraces, the backtraces shown by you don't contain usable information lamentably.
Logged

scatha

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 4

I have researched and still don't know what I did wrong - maybe the crash is entirely NOT amule-related!?

I have counter-checked and tried to single-step with kgdb as well - it hangs when running into a wxString::whatever function, for seemingly no reason

But I tried something different - I ran it under Gnome instead of KDE -- same problem
then I ran it under FVWM --- WORKS!!!!! ... funny ....... it must be my system at fault then, well it is SuSE _Alpha_ 7 so this may be the reason

Logged

scatha

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 4
Re: Abort (..when wxLib places a window ?) NOT an amule bug
« Reply #3 on: September 01, 2007, 12:59:59 PM »

OK.... my bug actually  IS somewhere in the depth of the wxWhatever library -- other wx clients crash as well - and don't crash under FVWM (i guess it's because you got asked where to place your window) ..
sorry for bugging you- when i have time i will research, and nag the wxTeam instead

btw THANKS FOR YOUR GREAT WORK with the amule client :-)
Logged