https://www.claws-mail.org/faq/index.php?title=Debugging_Claws&feed=atom&action=history Debugging Claws - Revision history 2024-03-19T09:44:34Z Revision history for this page on the wiki MediaWiki 1.35.7 https://www.claws-mail.org/faq/index.php?title=Debugging_Claws&diff=3120&oldid=prev Mones: Add details and pointers about new dbgsym packages in Debian/Ubuntu 2019-07-25T10:35:12Z <p>Add details and pointers about new dbgsym packages in Debian/Ubuntu</p> <table class="diff diff-contentalign-left diff-editfont-monospace" data-mw="interface"> <col class="diff-marker" /> <col class="diff-content" /> <col class="diff-marker" /> <col class="diff-content" /> <tr class="diff-title" lang="en"> <td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Older revision</td> <td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 10:35, 25 July 2019</td> </tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l19" >Line 19:</td> <td colspan="2" class="diff-lineno">Line 19:</td></tr> <tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td></tr> <tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>* Claws Mail packages from your distribution: if you installed Claws Mail from pre-compiled packages, you will often have to install a special &quot;debug&quot; package that have the debug symbols; here are a few examples:</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>* Claws Mail packages from your distribution: if you installed Claws Mail from pre-compiled packages, you will often have to install a special &quot;debug&quot; package that have the debug symbols; here are a few examples:</div></td></tr> <tr><td class='diff-marker'>−</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>** For Debian and Ubuntu:</div></td><td class='diff-marker'>+</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div> </div></td></tr> <tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>** For <ins class="diffchange diffchange-inline">recent </ins>Debian and Ubuntu <ins class="diffchange diffchange-inline">you need first to add debug symbol repositories to your package sources (see specific instructions for [https://wiki.debian.org/HowToGetABacktrace#Installing_the_debugging_symbols Debian] and [https://wiki.ubuntu.com/Debug%20Symbol%20Packages Ubuntu]), later:</ins></div></td></tr> <tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins class="diffchange diffchange-inline">  $ '''sudo apt install claws-mail-dbgsym'''</ins></div></td></tr> <tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins class="diffchange diffchange-inline">** For Debian (jessie or older) and Ubuntu (xenial or older) debug packages are in the main repositories</ins>:</div></td></tr> <tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>   $ '''sudo apt-get install claws-mail-dbg'''</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>   $ '''sudo apt-get install claws-mail-dbg'''</div></td></tr> <tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>** For Mandriva:</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>** For Mandriva:</div></td></tr> </table> Mones https://www.claws-mail.org/faq/index.php?title=Debugging_Claws&diff=3020&oldid=prev Mones: Add pointer to WinDbg (thanks to jerry at seibercom dot net) 2014-06-02T13:38:44Z <p>Add pointer to WinDbg (thanks to jerry at seibercom dot net)</p> <table class="diff diff-contentalign-left diff-editfont-monospace" data-mw="interface"> <col class="diff-marker" /> <col class="diff-content" /> <col class="diff-marker" /> <col class="diff-content" /> <tr class="diff-title" lang="en"> <td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Older revision</td> <td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 13:38, 2 June 2014</td> </tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l68" >Line 68:</td> <td colspan="2" class="diff-lineno">Line 68:</td></tr> <tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>   $ '''gdb -p `pidof claws-mail`'''</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>   $ '''gdb -p `pidof claws-mail`'''</div></td></tr> <tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>You can use that for example if Claws Mail is unresponsive; once in gdb, you can use '''Ctrl-C''' to interrupt execution and '''thread apply all bt''' to see where Claws Mail was stuck.</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>You can use that for example if Claws Mail is unresponsive; once in gdb, you can use '''Ctrl-C''' to interrupt execution and '''thread apply all bt''' to see where Claws Mail was stuck.</div></td></tr> <tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"></ins></div></td></tr> <tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">If you're on a Windows based system and don't have gdb you may also try to [https://wiki.documentfoundation.org/How_to_get_a_backtrace_with_WinDbg get a Claws Mail backtrace using WinDbg].</ins></div></td></tr> <tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td></tr> <tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>== Strange crasher bug ==</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>== Strange crasher bug ==</div></td></tr> </table> Mones https://www.claws-mail.org/faq/index.php?title=Debugging_Claws&diff=2986&oldid=prev Claws: Reverted edit of Omniscienttenan, changed back to last version by Claws 2012-11-16T19:17:07Z <p>Reverted edit of Omniscienttenan, changed back to last version by Claws</p> <p><b>New page</b></p><div>If you find a bug in Claws Mail, reporting it is the best way to have it fixed. Here are some pointers on how to make the most useful bug report possible.<br /> <br /> == Functionality bug (non crasher) ==<br /> If you face a functional bug, where Claws Mail doesn't crash, but doesn't do the right thing in your opinion, open a bug on the [http://thewildbeast.co.uk/claws-mail/bugzilla/ bug tracker] describing the action you're trying to do.<br /> <br /> == Crasher bug ==<br /> If Claws Mail crashes when you're trying to perform some action, we will need more information than just the steps to reproduce: this sort of bug often depends on many variables, previous actions, your setup, etc. We will need a backtrace, which shows us precisely where in the code Claws crashes and where it came from.<br /> <br /> To generate a good backtrace, Claws Mail needs to have &quot;debug symbols&quot; available. Without debug symbols, the backtrace is useless because it will not show function information, line numbers and other interesting things.<br /> <br /> The way to have debug symbols available depends on the way you installed Claws Mail:<br /> <br /> * Self-compiled Claws Mail: if you compile Claws Mail yourself, rebuild it using the following:<br /> $ '''make clean'''<br /> $ '''export CFLAGS=-g'''<br /> $ '''./configure'''<br /> $ '''make'''<br /> $ '''sudo make install'''<br /> <br /> * Claws Mail packages from your distribution: if you installed Claws Mail from pre-compiled packages, you will often have to install a special &quot;debug&quot; package that have the debug symbols; here are a few examples:<br /> ** For Debian and Ubuntu:<br /> $ '''sudo apt-get install claws-mail-dbg'''<br /> ** For Mandriva:<br /> $ '''sudo urpmi claws-mail-debug'''<br /> ** For Fedora:<br /> $ '''sudo yum install claws-mail-debuginfo'''<br /> ** For Suse:<br /> $ '''sudo smart install claws-mail-debuginfo'''<br /> <br /> Once you have done that, you can proceed to reproduce the crash inside gdb, the Gnu DeBugger. From a command-line, start claws-mail from gdb:<br /> $ '''gdb claws-mail'''<br /> GNU gdb 6.4-debian<br /> [...]<br /> (gdb) '''run --debug'''<br /> Starting program: /usr/local/bin/claws-mail<br /> [...] ''Here, Claws Mail starts. Make it crash, and you will get the following:''<br /> Program received signal SIGSEGV, Segmentation fault.<br /> [Switching to Thread -1227139392 (LWP 10159)]<br /> 0xffffe410 in __kernel_vsyscall ()<br /> ''You can now ask gdb for the backtrace:''<br /> (gdb) '''thread apply all bt'''<br /> <br /> You should now get an output resembling this:<br /> Thread 2 (Thread -1249215568 (LWP 10168)):<br /> #0 0xffffe410 in __kernel_vsyscall ()<br /> #1 0xb7aeec76 in pthread_cond_wait@@GLIBC_2.3.2 ()<br /> from /lib/tls/i686/cmov/libpthread.so.0<br /> #2 0xb71ead5a in mailsem_internal_wait (s=0x82fe798) at mailsem.c:121<br /> #3 0xb71eaf11 in mailsem_down (sem=0xfffffffc) at mailsem.c:321<br /> #4 0x081c96e0 in thread_run (data=0x82e9eb0) at etpan-thread-manager.c:318<br /> #5 0xb7aec341 in start_thread () from /lib/tls/i686/cmov/libpthread.so.0<br /> #6 0xb6fef4ee in clone () from /lib/tls/i686/cmov/libc.so.6<br /> <br /> Thread 1 (Thread -1227139392 (LWP 10159)):<br /> #0 0xffffe410 in __kernel_vsyscall ()<br /> #1 0xb6fe58c4 in poll () from /lib/tls/i686/cmov/libc.so.6<br /> #2 0xb72b9b08 in g_main_context_iterate (context=0x833efd0, block=1,<br /> dispatch=1, self=0x8311100) at gmain.c:2977<br /> #3 0xb72b9fd8 in IA__g_main_loop_run (loop=0x82d1180) at gmain.c:2879<br /> #4 0xb7710765 in IA__gtk_main () at gtkmain.c:1026<br /> #5 0x08102191 in main (argc=1, argv=0xbf9131a4) at main.c:1093<br /> (gdb) '''quit'''<br /> <br /> This is what you should copy and paste in a [http://thewildbeast.co.uk/claws-mail/bugzilla/ new bug report].<br /> Don't forget to briefly explain what you were doing, which version you were using, and so on.<br /> <br /> Finally, gdb can also be used to attach to an already running Claws Mail:<br /> $ '''gdb -p `pidof claws-mail`'''<br /> You can use that for example if Claws Mail is unresponsive; once in gdb, you can use '''Ctrl-C''' to interrupt execution and '''thread apply all bt''' to see where Claws Mail was stuck.<br /> <br /> == Strange crasher bug ==<br /> Some crashes are due to memory corruptions that occured before the crash. In this case, gdb doesn't help as much as it could, but valgrind does a great job in tracing the execution and showing clearly where the problem lies.<br /> <br /> You can run valgrind with:<br /> $ '''G_SLICE=always-malloc G_DEBUG=gc-friendly valgrind \'''<br /> '''--tool=memcheck --error-limit=no --leak-check=full \'''<br /> '''--show-reachable=yes claws-mail 2&gt;&amp;1 | tee valgrind.log'''<br /> <br /> Valgrind slows down the execution a lot. Just redo the actions needed to reproduce the crash, then exit. If the crash doesn't happen under valgrind, the log may still contain the crash causes (and valgrind just changes the result).<br /> <br /> Thanks for helping making Claws Mail better!</div> Claws https://www.claws-mail.org/faq/index.php?title=Debugging_Claws&diff=2966&oldid=prev Claws: Reverted edit of Painstakingentr, changed back to last version by Claws 2012-10-10T14:57:25Z <p>Reverted edit of Painstakingentr, changed back to last version by Claws</p> <p><b>New page</b></p><div>If you find a bug in Claws Mail, reporting it is the best way to have it fixed. Here are some pointers on how to make the most useful bug report possible.<br /> <br /> == Functionality bug (non crasher) ==<br /> If you face a functional bug, where Claws Mail doesn't crash, but doesn't do the right thing in your opinion, open a bug on the [http://thewildbeast.co.uk/claws-mail/bugzilla/ bug tracker] describing the action you're trying to do.<br /> <br /> == Crasher bug ==<br /> If Claws Mail crashes when you're trying to perform some action, we will need more information than just the steps to reproduce: this sort of bug often depends on many variables, previous actions, your setup, etc. We will need a backtrace, which shows us precisely where in the code Claws crashes and where it came from.<br /> <br /> To generate a good backtrace, Claws Mail needs to have &quot;debug symbols&quot; available. Without debug symbols, the backtrace is useless because it will not show function information, line numbers and other interesting things.<br /> <br /> The way to have debug symbols available depends on the way you installed Claws Mail:<br /> <br /> * Self-compiled Claws Mail: if you compile Claws Mail yourself, rebuild it using the following:<br /> $ '''make clean'''<br /> $ '''export CFLAGS=-g'''<br /> $ '''./configure'''<br /> $ '''make'''<br /> $ '''sudo make install'''<br /> <br /> * Claws Mail packages from your distribution: if you installed Claws Mail from pre-compiled packages, you will often have to install a special &quot;debug&quot; package that have the debug symbols; here are a few examples:<br /> ** For Debian and Ubuntu:<br /> $ '''sudo apt-get install claws-mail-dbg'''<br /> ** For Mandriva:<br /> $ '''sudo urpmi claws-mail-debug'''<br /> ** For Fedora:<br /> $ '''sudo yum install claws-mail-debuginfo'''<br /> ** For Suse:<br /> $ '''sudo smart install claws-mail-debuginfo'''<br /> <br /> Once you have done that, you can proceed to reproduce the crash inside gdb, the Gnu DeBugger. From a command-line, start claws-mail from gdb:<br /> $ '''gdb claws-mail'''<br /> GNU gdb 6.4-debian<br /> [...]<br /> (gdb) '''run --debug'''<br /> Starting program: /usr/local/bin/claws-mail<br /> [...] ''Here, Claws Mail starts. Make it crash, and you will get the following:''<br /> Program received signal SIGSEGV, Segmentation fault.<br /> [Switching to Thread -1227139392 (LWP 10159)]<br /> 0xffffe410 in __kernel_vsyscall ()<br /> ''You can now ask gdb for the backtrace:''<br /> (gdb) '''thread apply all bt'''<br /> <br /> You should now get an output resembling this:<br /> Thread 2 (Thread -1249215568 (LWP 10168)):<br /> #0 0xffffe410 in __kernel_vsyscall ()<br /> #1 0xb7aeec76 in pthread_cond_wait@@GLIBC_2.3.2 ()<br /> from /lib/tls/i686/cmov/libpthread.so.0<br /> #2 0xb71ead5a in mailsem_internal_wait (s=0x82fe798) at mailsem.c:121<br /> #3 0xb71eaf11 in mailsem_down (sem=0xfffffffc) at mailsem.c:321<br /> #4 0x081c96e0 in thread_run (data=0x82e9eb0) at etpan-thread-manager.c:318<br /> #5 0xb7aec341 in start_thread () from /lib/tls/i686/cmov/libpthread.so.0<br /> #6 0xb6fef4ee in clone () from /lib/tls/i686/cmov/libc.so.6<br /> <br /> Thread 1 (Thread -1227139392 (LWP 10159)):<br /> #0 0xffffe410 in __kernel_vsyscall ()<br /> #1 0xb6fe58c4 in poll () from /lib/tls/i686/cmov/libc.so.6<br /> #2 0xb72b9b08 in g_main_context_iterate (context=0x833efd0, block=1,<br /> dispatch=1, self=0x8311100) at gmain.c:2977<br /> #3 0xb72b9fd8 in IA__g_main_loop_run (loop=0x82d1180) at gmain.c:2879<br /> #4 0xb7710765 in IA__gtk_main () at gtkmain.c:1026<br /> #5 0x08102191 in main (argc=1, argv=0xbf9131a4) at main.c:1093<br /> (gdb) '''quit'''<br /> <br /> This is what you should copy and paste in a [http://thewildbeast.co.uk/claws-mail/bugzilla/ new bug report].<br /> Don't forget to briefly explain what you were doing, which version you were using, and so on.<br /> <br /> Finally, gdb can also be used to attach to an already running Claws Mail:<br /> $ '''gdb -p `pidof claws-mail`'''<br /> You can use that for example if Claws Mail is unresponsive; once in gdb, you can use '''Ctrl-C''' to interrupt execution and '''thread apply all bt''' to see where Claws Mail was stuck.<br /> <br /> == Strange crasher bug ==<br /> Some crashes are due to memory corruptions that occured before the crash. In this case, gdb doesn't help as much as it could, but valgrind does a great job in tracing the execution and showing clearly where the problem lies.<br /> <br /> You can run valgrind with:<br /> $ '''G_SLICE=always-malloc G_DEBUG=gc-friendly valgrind \'''<br /> '''--tool=memcheck --error-limit=no --leak-check=full \'''<br /> '''--show-reachable=yes claws-mail 2&gt;&amp;1 | tee valgrind.log'''<br /> <br /> Valgrind slows down the execution a lot. Just redo the actions needed to reproduce the crash, then exit. If the crash doesn't happen under valgrind, the log may still contain the crash causes (and valgrind just changes the result).<br /> <br /> Thanks for helping making Claws Mail better!</div> Claws https://www.claws-mail.org/faq/index.php?title=Debugging_Claws&diff=2942&oldid=prev Claws: Reverted edit of Luxuriantsolace, changed back to last version by Colin 2012-10-06T09:05:38Z <p>Reverted edit of Luxuriantsolace, changed back to last version by Colin</p> <p><b>New page</b></p><div>If you find a bug in Claws Mail, reporting it is the best way to have it fixed. Here are some pointers on how to make the most useful bug report possible.<br /> <br /> == Functionality bug (non crasher) ==<br /> If you face a functional bug, where Claws Mail doesn't crash, but doesn't do the right thing in your opinion, open a bug on the [http://thewildbeast.co.uk/claws-mail/bugzilla/ bug tracker] describing the action you're trying to do.<br /> <br /> == Crasher bug ==<br /> If Claws Mail crashes when you're trying to perform some action, we will need more information than just the steps to reproduce: this sort of bug often depends on many variables, previous actions, your setup, etc. We will need a backtrace, which shows us precisely where in the code Claws crashes and where it came from.<br /> <br /> To generate a good backtrace, Claws Mail needs to have &quot;debug symbols&quot; available. Without debug symbols, the backtrace is useless because it will not show function information, line numbers and other interesting things.<br /> <br /> The way to have debug symbols available depends on the way you installed Claws Mail:<br /> <br /> * Self-compiled Claws Mail: if you compile Claws Mail yourself, rebuild it using the following:<br /> $ '''make clean'''<br /> $ '''export CFLAGS=-g'''<br /> $ '''./configure'''<br /> $ '''make'''<br /> $ '''sudo make install'''<br /> <br /> * Claws Mail packages from your distribution: if you installed Claws Mail from pre-compiled packages, you will often have to install a special &quot;debug&quot; package that have the debug symbols; here are a few examples:<br /> ** For Debian and Ubuntu:<br /> $ '''sudo apt-get install claws-mail-dbg'''<br /> ** For Mandriva:<br /> $ '''sudo urpmi claws-mail-debug'''<br /> ** For Fedora:<br /> $ '''sudo yum install claws-mail-debuginfo'''<br /> ** For Suse:<br /> $ '''sudo smart install claws-mail-debuginfo'''<br /> <br /> Once you have done that, you can proceed to reproduce the crash inside gdb, the Gnu DeBugger. From a command-line, start claws-mail from gdb:<br /> $ '''gdb claws-mail'''<br /> GNU gdb 6.4-debian<br /> [...]<br /> (gdb) '''run --debug'''<br /> Starting program: /usr/local/bin/claws-mail<br /> [...] ''Here, Claws Mail starts. Make it crash, and you will get the following:''<br /> Program received signal SIGSEGV, Segmentation fault.<br /> [Switching to Thread -1227139392 (LWP 10159)]<br /> 0xffffe410 in __kernel_vsyscall ()<br /> ''You can now ask gdb for the backtrace:''<br /> (gdb) '''thread apply all bt'''<br /> <br /> You should now get an output resembling this:<br /> Thread 2 (Thread -1249215568 (LWP 10168)):<br /> #0 0xffffe410 in __kernel_vsyscall ()<br /> #1 0xb7aeec76 in pthread_cond_wait@@GLIBC_2.3.2 ()<br /> from /lib/tls/i686/cmov/libpthread.so.0<br /> #2 0xb71ead5a in mailsem_internal_wait (s=0x82fe798) at mailsem.c:121<br /> #3 0xb71eaf11 in mailsem_down (sem=0xfffffffc) at mailsem.c:321<br /> #4 0x081c96e0 in thread_run (data=0x82e9eb0) at etpan-thread-manager.c:318<br /> #5 0xb7aec341 in start_thread () from /lib/tls/i686/cmov/libpthread.so.0<br /> #6 0xb6fef4ee in clone () from /lib/tls/i686/cmov/libc.so.6<br /> <br /> Thread 1 (Thread -1227139392 (LWP 10159)):<br /> #0 0xffffe410 in __kernel_vsyscall ()<br /> #1 0xb6fe58c4 in poll () from /lib/tls/i686/cmov/libc.so.6<br /> #2 0xb72b9b08 in g_main_context_iterate (context=0x833efd0, block=1,<br /> dispatch=1, self=0x8311100) at gmain.c:2977<br /> #3 0xb72b9fd8 in IA__g_main_loop_run (loop=0x82d1180) at gmain.c:2879<br /> #4 0xb7710765 in IA__gtk_main () at gtkmain.c:1026<br /> #5 0x08102191 in main (argc=1, argv=0xbf9131a4) at main.c:1093<br /> (gdb) '''quit'''<br /> <br /> This is what you should copy and paste in a [http://thewildbeast.co.uk/claws-mail/bugzilla/ new bug report].<br /> Don't forget to briefly explain what you were doing, which version you were using, and so on.<br /> <br /> Finally, gdb can also be used to attach to an already running Claws Mail:<br /> $ '''gdb -p `pidof claws-mail`'''<br /> You can use that for example if Claws Mail is unresponsive; once in gdb, you can use '''Ctrl-C''' to interrupt execution and '''thread apply all bt''' to see where Claws Mail was stuck.<br /> <br /> == Strange crasher bug ==<br /> Some crashes are due to memory corruptions that occured before the crash. In this case, gdb doesn't help as much as it could, but valgrind does a great job in tracing the execution and showing clearly where the problem lies.<br /> <br /> You can run valgrind with:<br /> $ '''G_SLICE=always-malloc G_DEBUG=gc-friendly valgrind \'''<br /> '''--tool=memcheck --error-limit=no --leak-check=full \'''<br /> '''--show-reachable=yes claws-mail 2&gt;&amp;1 | tee valgrind.log'''<br /> <br /> Valgrind slows down the execution a lot. Just redo the actions needed to reproduce the crash, then exit. If the crash doesn't happen under valgrind, the log may still contain the crash causes (and valgrind just changes the result).<br /> <br /> Thanks for helping making Claws Mail better!</div> Claws https://www.claws-mail.org/faq/index.php?title=Debugging_Claws&diff=1872&oldid=prev Colin at 06:52, 21 June 2007 2007-06-21T06:52:35Z <p></p> <table class="diff diff-contentalign-left diff-editfont-monospace" data-mw="interface"> <col class="diff-marker" /> <col class="diff-content" /> <col class="diff-marker" /> <col class="diff-content" /> <tr class="diff-title" lang="en"> <td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Older revision</td> <td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 06:52, 21 June 2007</td> </tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l69" >Line 69:</td> <td colspan="2" class="diff-lineno">Line 69:</td></tr> <tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>You can use that for example if Claws Mail is unresponsive; once in gdb, you can use '''Ctrl-C''' to interrupt execution and '''thread apply all bt''' to see where Claws Mail was stuck.</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>You can use that for example if Claws Mail is unresponsive; once in gdb, you can use '''Ctrl-C''' to interrupt execution and '''thread apply all bt''' to see where Claws Mail was stuck.</div></td></tr> <tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td></tr> <tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">== Strange crasher bug ==</ins></div></td></tr> <tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">Some crashes are due to memory corruptions that occured before the crash. In this case, gdb doesn't help as much as it could, but valgrind does a great job in tracing the execution and showing clearly where the problem lies.</ins></div></td></tr> <tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"></ins></div></td></tr> <tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">You can run valgrind with:</ins></div></td></tr> <tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">  $ '''G_SLICE=always-malloc G_DEBUG=gc-friendly valgrind \'''</ins></div></td></tr> <tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">  '''--tool=memcheck --error-limit=no --leak-check=full \'''</ins></div></td></tr> <tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">  '''--show-reachable=yes claws-mail 2&gt;&amp;1 | tee valgrind.log'''</ins></div></td></tr> <tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"></ins></div></td></tr> <tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">Valgrind slows down the execution a lot. Just redo the actions needed to reproduce the crash, then exit. If the crash doesn't happen under valgrind, the log may still contain the crash causes (and valgrind just changes the result).</ins></div></td></tr> <tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td></tr> <tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>Thanks for helping making Claws Mail better!</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>Thanks for helping making Claws Mail better!</div></td></tr> </table> Colin https://www.claws-mail.org/faq/index.php?title=Debugging_Claws&diff=1861&oldid=prev Claws at 09:56, 8 June 2007 2007-06-08T09:56:51Z <p></p> <table class="diff diff-contentalign-left diff-editfont-monospace" data-mw="interface"> <col class="diff-marker" /> <col class="diff-content" /> <col class="diff-marker" /> <col class="diff-content" /> <tr class="diff-title" lang="en"> <td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Older revision</td> <td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 09:56, 8 June 2007</td> </tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l1" >Line 1:</td> <td colspan="2" class="diff-lineno">Line 1:</td></tr> <tr><td class='diff-marker'>−</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>If you find a bug in Claws Mail, reporting it is the best way to have it fixed. Here are some pointers on how to make the most useful <del class="diffchange diffchange-inline">bugreport </del>possible.</div></td><td class='diff-marker'>+</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>If you find a bug in Claws Mail, reporting it is the best way to have it fixed. Here are some pointers on how to make the most useful <ins class="diffchange diffchange-inline">bug report </ins>possible.</div></td></tr> <tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td></tr> <tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>== Functionality bug (non crasher) ==</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>== Functionality bug (non crasher) ==</div></td></tr> </table> Claws https://www.claws-mail.org/faq/index.php?title=Debugging_Claws&diff=1860&oldid=prev Colin: /* Crasher bug */ 2007-06-08T09:39:37Z <p><span dir="auto"><span class="autocomment">Crasher bug</span></span></p> <table class="diff diff-contentalign-left diff-editfont-monospace" data-mw="interface"> <col class="diff-marker" /> <col class="diff-content" /> <col class="diff-marker" /> <col class="diff-content" /> <tr class="diff-title" lang="en"> <td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Older revision</td> <td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 09:39, 8 June 2007</td> </tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l64" >Line 64:</td> <td colspan="2" class="diff-lineno">Line 64:</td></tr> <tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>This is what you should copy and paste in a [http://thewildbeast.co.uk/claws-mail/bugzilla/ new bug report].</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>This is what you should copy and paste in a [http://thewildbeast.co.uk/claws-mail/bugzilla/ new bug report].</div></td></tr> <tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>Don't forget to briefly explain what you were doing, which version you were using, and so on.</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>Don't forget to briefly explain what you were doing, which version you were using, and so on.</div></td></tr> <tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"></ins></div></td></tr> <tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">Finally, gdb can also be used to attach to an already running Claws Mail:</ins></div></td></tr> <tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">  $ '''gdb -p `pidof claws-mail`'''</ins></div></td></tr> <tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">You can use that for example if Claws Mail is unresponsive; once in gdb, you can use '''Ctrl-C''' to interrupt execution and '''thread apply all bt''' to see where Claws Mail was stuck.</ins></div></td></tr> <tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"></ins></div></td></tr> <tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td></tr> <tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>Thanks for helping making Claws Mail better!</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>Thanks for helping making Claws Mail better!</div></td></tr> </table> Colin https://www.claws-mail.org/faq/index.php?title=Debugging_Claws&diff=1859&oldid=prev Colin: /* Crasher bug */ 2007-06-08T09:27:42Z <p><span dir="auto"><span class="autocomment">Crasher bug</span></span></p> <table class="diff diff-contentalign-left diff-editfont-monospace" data-mw="interface"> <col class="diff-marker" /> <col class="diff-content" /> <col class="diff-marker" /> <col class="diff-content" /> <tr class="diff-title" lang="en"> <td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Older revision</td> <td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 09:27, 8 June 2007</td> </tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l5" >Line 5:</td> <td colspan="2" class="diff-lineno">Line 5:</td></tr> <tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td></tr> <tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>== Crasher bug ==</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>== Crasher bug ==</div></td></tr> <tr><td class='diff-marker'>−</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>If Claws Mail crashes when you're trying to perform some action, we will need <del class="diffchange diffchange-inline">a </del>more information than just the steps to reproduce: this sort of bug often depends on many variables, previous actions, your setup, etc. We will need a backtrace, which shows us precisely where in the code Claws crashes and where it came from.</div></td><td class='diff-marker'>+</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>If Claws Mail crashes when you're trying to perform some action, we will need more information than just the steps to reproduce: this sort of bug often depends on many variables, previous actions, your setup, etc. We will need a backtrace, which shows us precisely where in the code Claws crashes and where it came from.</div></td></tr> <tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td></tr> <tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>To generate a good backtrace, Claws Mail needs to have &quot;debug symbols&quot; available. Without debug symbols, the backtrace is useless because it will not show function information, line numbers and other interesting things.</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>To generate a good backtrace, Claws Mail needs to have &quot;debug symbols&quot; available. Without debug symbols, the backtrace is useless because it will not show function information, line numbers and other interesting things.</div></td></tr> </table> Colin https://www.claws-mail.org/faq/index.php?title=Debugging_Claws&diff=1858&oldid=prev Colin: /* Crasher bug */ 2007-06-08T08:50:02Z <p><span dir="auto"><span class="autocomment">Crasher bug</span></span></p> <table class="diff diff-contentalign-left diff-editfont-monospace" data-mw="interface"> <col class="diff-marker" /> <col class="diff-content" /> <col class="diff-marker" /> <col class="diff-content" /> <tr class="diff-title" lang="en"> <td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Older revision</td> <td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 08:50, 8 June 2007</td> </tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l32" >Line 32:</td> <td colspan="2" class="diff-lineno">Line 32:</td></tr> <tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>   GNU gdb 6.4-debian</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>   GNU gdb 6.4-debian</div></td></tr> <tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>   [...]</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>   [...]</div></td></tr> <tr><td class='diff-marker'>−</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>   (gdb) '''run'''</div></td><td class='diff-marker'>+</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>   (gdb) '''run <ins class="diffchange diffchange-inline">--debug</ins>'''</div></td></tr> <tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>   Starting program: /usr/local/bin/claws-mail</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>   Starting program: /usr/local/bin/claws-mail</div></td></tr> <tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>   [...] ''Here, Claws Mail starts. Make it crash, and you will get the following:''</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>   [...] ''Here, Claws Mail starts. Make it crash, and you will get the following:''</div></td></tr> <tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l62" >Line 62:</td> <td colspan="2" class="diff-lineno">Line 62:</td></tr> <tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>   (gdb) '''quit'''</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>   (gdb) '''quit'''</div></td></tr> <tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td></tr> <tr><td class='diff-marker'>−</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>This is what you should copy and paste in a [http://thewildbeast.co.uk/claws-mail/bugzilla/ new <del class="diffchange diffchange-inline">bugreport</del>].</div></td><td class='diff-marker'>+</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>This is what you should copy and paste in a [http://thewildbeast.co.uk/claws-mail/bugzilla/ new <ins class="diffchange diffchange-inline">bug report</ins>].</div></td></tr> <tr><td class='diff-marker'>−</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>Don't forget to explain <del class="diffchange diffchange-inline">a bit </del>what you were doing and so on<del class="diffchange diffchange-inline">, this will help too</del>.</div></td><td class='diff-marker'>+</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>Don't forget to <ins class="diffchange diffchange-inline">briefly </ins>explain what you were doing<ins class="diffchange diffchange-inline">, which version you were using, </ins>and so on.</div></td></tr> <tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td></tr> <tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>Thanks for helping making Claws Mail better!</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>Thanks for helping making Claws Mail better!</div></td></tr> </table> Colin