| FAQ/HOWTO |
|---|
| 04/01/2006 : Comment utiliser urpmi --parallel |
| 09/03/2005 : Comment installer plusieurs distributions |
| 07/07/2004 : Introduction à Linux |
| 07/07/2004 : Gestion des logiciels ( tar.gz, rpm et urpmi ) |
| 07/07/2004 : Comment installer le pilote NForce ? |
| Linux : Debugging applications crashes with GDB | 16/07/2008 18:48:39 |
|---|---|
Since the upgrade to GNOME 2.23, I'm unable to write emails with evolution. Each time I tried to write an email or reply to another one, evolution will crashed when trying to start the mail editor ... In order to do a meaningful bug report, I've read the Analyzing a software crash HOWTO in Mandriva wiki. This is especially useful for cooker users. As gdb package was already installed on my system, at first I just need to add the _debug media in order to be able to install the -debug packages : Then I installed just the evolution-debug package and start evolution with gdb like this :
gdb evolution Once done, I start again gdb with evolution. At evolution crash, I enter the command thread apply all bt full to have the backtrace, however it was several lines long, and I couldn't copy/paste the output easily for a bug report. The solution in this case is to run gdb in batch mode, and put in a file all the needed commands, and also redirected gdb output to a file. Here is the procedure :
Note : Please note that "thread apply all bt full" is used for threaded application. If there's no thread in your application, you'd better use "bt full" instead. | |
0 comment (s) | FACORAT Fabrice |