Bug 63339

Summary: cannot generate core files for crashing applications
Product: [Applications] drkonqi Reporter: SuD <sudako>
Component: generalAssignee: Unassigned bugs mailing-list <unassigned-bugs>
Status: RESOLVED REMIND    
Severity: wishlist    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Debian testing   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description SuD 2003-08-27 22:09:06 UTC
Version:            (using KDE KDE 3.1)
Installed from:    Debian testing/unstable Packages
OS:          Linux

When kvirc (or any other kde application) crashes it does not generate a core, even though that i previously set "ulimit -c unlimited" on the same shell.

Later, when DrKonqui dialog appears it shows a useless backtrace (related to KCrash function, but not kvirc's offending function).

The thing is that it would be a nice idea (if technically possible) to have a button in DrKonqui for saving core files (Save core as...). This would help debugging much. Else i would have to run kvirc from gdb, but that is uncomfortable.
Comment 1 Maksim Orlovich 2003-08-27 22:16:11 UTC
export KDE_DEBUG=1 
 
Comment 2 Maksim Orlovich 2003-08-27 22:24:40 UTC
aieee, sorry, something is b0rken.  
Comment 3 Nicolai Haehnle 2005-01-24 23:26:35 UTC
I had the exact same problem as the original reporter. So I investigated into the KCrash and drkonqi source code and I noticed that there is an obscure configuration option.

Add the following section to .kde/share/config/kdeglobals:

[drkonqi]
ConfigName=developer

This changes the "skin" of drkonqi to a (for developers) more useful one. It especially allows you to open a Konsole window with gdb attached to the process.

So the *real* problem here is that one has to dive into the code of drkonqui to find this *highly* useful feature. I just checked again, and neither the FAQ nor the easily accessible debugging howtos mentions this feature.
Comment 4 Lubos Lunak 2008-01-22 15:29:23 UTC
Added the option to http://techbase.kde.org/index.php?title=Development/FAQs/Debugging_FAQ . Does the actual problem still exist?
Comment 5 Lubos Lunak 2008-03-03 21:00:27 UTC
Waiting for a response.