when i type run in gdb, i see the amule window apear half rendered. then i see the minimise animation and i see the icon starting to appear in the tray, then i look into the consol window where gdb is running and it sais that there was a segfault. the tray icon is still there though the emule donkey isnt in it, just the square gray background where it would be.
any way this is gdb's output from when it crashed.
(gdb) bt
#0 0x40315c55 in gtk_frame_focus_out_callback(_GtkWidget*, _GdkEventFocus*, wxTopLevelWindowGTK*) () from /usr/local/lib/libwx_gtk_core-2.5.so.3
#1 0x406df4c8 in gtk_marshal_BOOL__POINTER () from /usr/lib/libgtk-1.2.so.0
#2 0x08753410 in ?? ()
#3 0x0885fa24 in ?? ()
#4 0x08751d40 in ?? ()
#5 0x4078e874 in ?? () from /usr/lib/libgtk-1.2.so.0
#6 0x4078e874 in ?? () from /usr/lib/libgtk-1.2.so.0
#7 0x40790aa8 in _gtk_private_n_signals () from /usr/lib/libgtk-1.2.so.0
#8 0x08753410 in ?? ()
#9 0x407185d5 in gtk_signal_remove_emission_hook ()
from /usr/lib/libgtk-1.2.so.0
#10 0x08753410 in ?? ()
#11 0x40315bfc in gtk_frame_focus_in_callback(_GtkWidget*, _GdkEvent*, wxTopLevelWindowGTK*) () from /usr/local/lib/libwx_gtk_core-2.5.so.3
#12 0x00009a15 in ?? ()
#13 0x08753be8 in ?? ()
#14 0x000000b0 in ?? ()
Previous frame inner to this frame (corrupt stack?)
(gdb) bt full
#0 0x40315c55 in gtk_frame_focus_out_callback(_GtkWidget*, _GdkEventFocus*, wxTopLevelWindowGTK*) () from /usr/local/lib/libwx_gtk_core-2.5.so.3
No symbol table info available.
#1 0x406df4c8 in gtk_marshal_BOOL__POINTER () from /usr/lib/libgtk-1.2.so.0
No symbol table info available.
#2 0x08753410 in ?? ()
No symbol table info available.
#3 0x0885fa24 in ?? ()
No symbol table info available.
#4 0x08751d40 in ?? ()
No symbol table info available.
#5 0x4078e874 in ?? () from /usr/lib/libgtk-1.2.so.0
No symbol table info available.
#6 0x4078e874 in ?? () from /usr/lib/libgtk-1.2.so.0
No symbol table info available.
#7 0x40790aa8 in _gtk_private_n_signals () from /usr/lib/libgtk-1.2.so.0
No symbol table info available.
#8 0x08753410 in ?? ()
No symbol table info available.
#9 0x407185d5 in gtk_signal_remove_emission_hook ()
from /usr/lib/libgtk-1.2.so.0
No symbol table info available.
#10 0x08753410 in ?? ()
---Type to continue, or q to quit---
No symbol table info available.
#11 0x40315bfc in gtk_frame_focus_in_callback(_GtkWidget*, _GdkEvent*, wxTopLevelWindowGTK*) () from /usr/local/lib/libwx_gtk_core-2.5.so.3
No symbol table info available.
#12 0x00009a15 in ?? ()
No symbol table info available.
#13 0x08753be8 in ?? ()
No symbol table info available.
#14 0x000000b0 in ?? ()
No symbol table info available.
well i thought ild give what darklegion said a try. it seemed to help as it no longer wanted to crash when i closed the options dialog. but it still crashes when minimising. i ran gdb again and i got this this time:
(gdb) bt
#0 0x40030594 in pthread_getconcurrency () from /lib/libpthread.so.0
#1 0x40030358 in pthread_getconcurrency () from /lib/libpthread.so.0
#2 0x4002fbd2 in pthread_create () from /lib/libpthread.so.0
#3 0x405ed838 in wxThread::Create(unsigned) ()
from /usr/local/lib/libwx_base-2.5.so.3
#4 0x08136f94 in CAICHSyncThread::Start() () at AICHSyncThread.cpp:48
#5 0x082a1b40 in CamuleApp::RunAICHThread() (this=0x85a2430) at amule.cpp:2216
#6 0x08268c9e in CSharedFileList::FindSharedFiles() (this=0x85f2cd0)
at SharedFileList.cpp:95
#7 0x08269c41 in CSharedFileList::Reload(bool, bool) (this=0x85f2cd0,
sendtoserver=true, firstload=true) at SharedFileList.cpp:226
#8 0x0829c74a in CamuleApp::OnInit() (this=0x85a2430) at amule.cpp:704
#9 0x082a23ba in wxAppConsole::CallOnInit() (this=0x85a2430) at app.h:87
#10 0x405a41e5 in wxEntry(int&, char**) ()
from /usr/local/lib/libwx_base-2.5.so.3
#11 0x08299755 in main (argc=1, argv=0xbffff6c4) at amule.cpp:180
(gdb) bt full
#0 0x40030594 in pthread_getconcurrency () from /lib/libpthread.so.0
No symbol table info available.
#1 0x40030358 in pthread_getconcurrency () from /lib/libpthread.so.0
No symbol table info available.
#2 0x4002fbd2 in pthread_create () from /lib/libpthread.so.0
No symbol table info available.
#3 0x405ed838 in wxThread::Create(unsigned) ()
from /usr/local/lib/libwx_base-2.5.so.3
No symbol table info available.
#4 0x08136f94 in CAICHSyncThread::Start() () at AICHSyncThread.cpp:48
thread = (CAICHSyncThread *) 0x86c6580
#5 0x082a1b40 in CamuleApp::RunAICHThread() (this=0x85a2430) at amule.cpp:2216
No locals.
#6 0x08268c9e in CSharedFileList::FindSharedFiles() (this=0x85f2cd0)
at SharedFileList.cpp:95
newFiles = 0
#7 0x08269c41 in CSharedFileList::Reload(bool, bool) (this=0x85f2cd0,
sendtoserver=true, firstload=true) at SharedFileList.cpp:226
No locals.
#8 0x0829c74a in CamuleApp::OnInit() (this=0x85a2430) at amule.cpp:704
geometry_enabled = false
geometry_x = 0
geometry_y = 0
---Type to continue, or q to quit---
geometry_width = 800
geometry_height = 600
cmdline =
geom_string =
server =
host =
IPC =
client = (struct wxTCPClient *) 0x85cbfb0
conn = (struct wxConnectionBase *) 0x0
lMulePrefDir =
xMulePrefDir =
logname =
file =
vfile =
newMule =
mnt_tab = (FILE *) 0x85e6ce0
myaddr =
#9 0x082a23ba in wxAppConsole::CallOnInit() (this=0x85a2430) at app.h:87
No locals.
#10 0x405a41e5 in wxEntry(int&, char**) ()
from /usr/local/lib/libwx_base-2.5.so.3
No symbol table info available.
#11 0x08299755 in main (argc=1, argv=0xbffff6c4) at amule.cpp:180
---Type to continue, or q to quit---
No locals.
well that last time i never got to minimizing. it opened, and then it said unable to load servers.met, 0 opart fiules and no shared files. at which point it hangs. i went back into the gdb window and got the backtrace then.
as before when running it normal everything works fine untill i minimize or restore a window. at which point it randomly descides wether or not to crash.
oh and thanx again for the help, i realy do apreciate it.