Bug 63339 - cannot generate core files for crashing applications
Summary: cannot generate core files for crashing applications
Status: RESOLVED REMIND
Alias: None
Product: drkonqi
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Debian testing Linux
: NOR wishlist
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-08-27 22:09 UTC by SuD
Modified: 2008-03-03 21:00 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.