Bug 142269

Summary: X11 restarts while trying to open options menu
Product: [Unmaintained] kopete Reporter: Kevin Bader <kevin.bader>
Component: generalAssignee: Kopete Developers <kopete-bugs-null>
Status: RESOLVED WORKSFORME    
Severity: crash    
Priority: NOR    
Version First Reported In: 0.12.3   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Kevin Bader 2007-02-27 13:56:09 UTC
Version:           0.12.3 (using KDE 3.5.5, Debian Package 4:3.5.5a.dfsg.1-6 (4.0))
Compiler:          Target: i486-linux-gnu
OS:                Linux (i686) release 2.6.18-3-686

With the newest update Kopete crashes every time I try to open the configuration dialog (German "Einstellungen->Einrichten"). When this happens, the whole X11 session restarts and KDM appears again.

However the other dialogs, like configuring the plugins, work flawlessly.
Comment 1 Bram Schoenmakers 2007-02-27 18:44:08 UTC
Please provide a backtrace of the crash (install kdelibs-dbg and kdenetwerk-dbg first).
Comment 2 Kevin Bader 2007-02-28 14:19:16 UTC
I would like to, but unfortunatly I got no experience with debugging applications at all, so please give me some advise.

I have installed gdb, kdelibs-dbg und kdenetwork-dbg on my system. How do I backtrace kopete? When I attach to it with kdbg, I have no chance to examine the stack, because X11 crashes immidiatly.

Please help a n00b to debug a program :-)
Comment 3 Bram Schoenmakers 2007-03-28 23:11:09 UTC
You can run gdb from the command line and attach to the process ID of kopete.

$ gdb /kde/prefix/bin/kopete --attach `pidof kopete`
gdb> run

*reproduce crash*

gdb> bt

Which stands for backtrace.
Comment 4 Kevin Bader 2007-03-28 23:32:04 UTC
Thanks for the small tutorial.

However this problem doesn't occur anymore, altough I didn't change anything on Kopete. Maybe it was a side effect of some other library.