The default view mode for emails is the simplest, text viewer. Some emails, specifically from newsletter and the like, require being seen in html, because they are images more than text, with some links scatered somewhere around the content. I get this crash when trying to see a specific email in "fancy" html mode. The email contains also some attached images, but I don't know if that has anything to do with the crash. Running in debug mode shows the following just before the crash: summaryview.c:3650:TIMING summary_display_msg_full : 0s047ms mimeview.c:842:text/html fancy_viewer.c:863:fancy_viewer_create fancy_viewer.c:81:fancy_get_widget: 0x9d80730 fancy_viewer.c:81:fancy_get_widget: 0x9d80730 fancy_viewer.c:231:filename: /home/hlabbeg1/.claws-mail/mimetmp/00000012.mimetmp.html fancy_viewer.c:247:using utf-8 charset fancy_viewer.c:250:zoom_level: 100 fancy_viewer.c:383:navigation requested to file:///home/hlabbeg1/.claws-mail/mimetmp/00000012.mimetmp.html fancy_viewer.c:442:Starting request of 63 file:///home/hlabbeg1/.claws-mail/mimetmp/00000012.mimetmp.html fancy_viewer.c:442:Starting request of 63 file:///home/hlabbeg1/.claws-mail/mimetmp/00000013.image001.jpg fancy_viewer.c:442:Starting request of 63 file:///home/hlabbeg1/.claws-mail/mimetmp/00000014.image003.jpg fancy_viewer.c:442:Starting request of 63 file:///home/hlabbeg1/.claws-mail/mimetmp/00000015.image004.gif Segmentation fault
Please read here [0] and provide more useful information. [0] http://www.claws-mail.org/faq/index.php/Debugging_Claws
Hi Salvatore, I had read the insructions, and I had downloaded claws-mail-dbg, but the instructions don't work. I get an error saying the gdb is not a known command. Since I cannot run claws-mail with the gnu debugger, I ran it with the --debug option instead.
(In reply to comment #2) > Hi Salvatore, > > I had read the insructions, and I had downloaded claws-mail-dbg, but the > instructions don't work. I get an error saying the gdb is not a known > command. Since I cannot run claws-mail with the gnu debugger, I ran it with > the --debug option instead. As root: apt-get install gdb
Thanks. Here's the output: [New Thread 0xa5affb70 (LWP 531)] fancy_viewer.c:442:Starting request of 63 file:///home/hlabbeg1/.claws-mail/mimetmp/0000001c.image001.jpg fancy_viewer.c:442:Starting request of 63 file:///home/hlabbeg1/.claws-mail/mimetmp/0000001d.image003.jpg fancy_viewer.c:442:Starting request of 63 file:///home/hlabbeg1/.claws-mail/mimetmp/0000001e.image004.gif [New Thread 0xa4effb70 (LWP 532)] Program received signal SIGSEGV, Segmentation fault. 0xade8d3e8 in ?? () from /usr/lib/libwebkitgtk-1.0.so.0 (gdb)
Could you check your webkit version? You can see it in Configuration > plugins > Fancy HTML Viewer. The bug seems to be related to webkit, try to update the webkit library and see if you can still reproduce it. Also if you can attach one of the emails which crashes for you we can try to reproduce it as well. Thanks
Created attachment 1505 [details] This is one of the emails that causes claws-mail to crash to choosing html view
My webkit version is 1.8.1 Thanks
I cannot reproduce it. Try to upgrade your webkit library (here 2.4.7) and it should be fine. Such crashes were more common in former versions. HTH
(In reply to comment #8) > I cannot reproduce it. Try to upgrade your webkit library (here 2.4.7) and > it should be fine. Such crashes were more common in former versions. > HTH Thanks for the tip. Could you indicate how to upgrade the webkit? Should I upgrade the whole fancy viewer, or just the webkit? I typed 'webkit' on my repositories manager and found a lot of packages. Not sure which one I should upgrade. Any guidance on this is most welcome. Thanks in advance.
> Thanks for the tip. Could you indicate how to upgrade the webkit? Should I > upgrade the whole fancy viewer, or just the webkit? > > I typed 'webkit' on my repositories manager and found a lot of packages. Not > sure which one I should upgrade. Any guidance on this is most welcome. > > Thanks in advance. Welcome. You should search for webkit gtk package. It's up to your distribution for the right name, but you should upgrade just that. HTH