Hi,
as you have probably figured out from the other messages, today I spent some 
time trying to debug KDE.
The backtraces drkonqi (the KDE crash handler) is giving are not useful at all. 
I believe it is because gdb is somehow breaking when loading the 
cores/attaching to our executables. I've noticed that gdb in osol (6.3) is 
actually pretty old and some comments in drkonqi's source mention 6.8 specific 
behaviour.
So I filed http://defect.opensolaris.org/bz/show_bug.cgi?id=10743 :-)

Of course I am too impatient to wait the week or so for the gdb update ;-)), so 
in the meantime there is this patch that replaces gdb with our beloved dbx and 
gives something that looks to my untrained eye as a backtrace.

I'll push it ASAP

diff /opt/kde-4.2/share/apps/drkonqi/debuggers/gdbrc.backup 
/opt/kde-4.2/share/apps/drkonqi/debuggers/gdbrc
147,150c147,150
< Exec=konsole --nofork -e gdb -nw -p %pid
< ExecBatch=gdb -nw -n -batch -x %tempfile -p %pid
< TryExec=gdb
< BacktraceCommand=set width 200\nthread\nthread apply all bt
---
> Exec=konsole --nofork -e dbx -c "where -l -v -h;quit" - %pid
> ExecBatch=dbx -c "where -l -v -h;quit" - %pid
> TryExec=dbx
> BacktraceCommand=where
-- 
This message posted from opensolaris.org

Reply via email to