After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 750048 - Geary crashes when interacting with a specific email
Geary crashes when interacting with a specific email
Status: RESOLVED DUPLICATE of bug 769010
Product: geary
Classification: Other
Component: conversations
0.10.x
Other Linux
: Normal normal
: ---
Assigned To: Geary Maintainers
Geary Maintainers
Depends on:
Blocks:
 
 
Reported: 2015-05-28 15:22 UTC by Marc Thomas
Modified: 2016-08-02 01:17 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Offending Email (105.46 KB, text/plain)
2015-05-28 15:22 UTC, Marc Thomas
Details
Stack trace (32.78 KB, text/plain)
2015-05-28 15:25 UTC, Marc Thomas
Details
stack trace (52.22 KB, text/plain)
2015-12-15 21:57 UTC, Nicholas Nelson
Details

Description Marc Thomas 2015-05-28 15:22:53 UTC
Created attachment 304186 [details]
Offending Email

Geary crashes when I view a specific email and then attempt to one of the following actions.

Archive, Delete, View different email/account.

The email's sources is attached, as well as a stack trace.
Comment 1 Marc Thomas 2015-05-28 15:25:12 UTC
Created attachment 304187 [details]
Stack trace
Comment 2 Robert Schroll 2015-05-28 15:45:22 UTC
Thanks.  Unfortunately, all I can get from that stacktrace is that something's gone wrong inside webkit.

I'm unable to reproduce the crash on my machine.  What version of Geary are you running?  What version of WebKitGTK do you have?  Did you load the remote images?
Comment 3 Marc Thomas 2015-05-28 15:55:14 UTC
Geary: 0.10.0
Webkitgtk: 2.4.9-1

I did not load the remote images.

Would it be helpful if I forwarded the email to do for you to try and recreate it?
Comment 4 Robert Schroll 2015-05-28 16:10:14 UTC
(In reply to Marc Thomas from comment #3)
> Geary: 0.10.0
> Webkitgtk: 2.4.9-1

Thanks.  I'm running webkitgtk 2.4.8, so that could account for the difference

> Would it be helpful if I forwarded the email to do for you to try and
> recreate it?

I've sent it to myself, and that didn't cause a problem.  Since the problem seems to be in webkit, I assume it's caused by the body and not the headers.  Since it happens when removing the email from the conversation viewer, my suspicion is that something's going wrong inside of Webkit as is destroys the email.

Frankly, at this point the best course of action is probably just to delete the offending email and keep a watch out for it happening again.  If it does, we can try to find some commonality between the emails to get a better idea of what's going wrong.
Comment 5 Nicholas Nelson 2015-12-15 21:56:43 UTC
This same issue occurred for me as well on Geary 0.10.0 today. One particular email causes Geary to segfault and crash every time I attempt to Archive or Delete. The resulting error is:

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff46ce9b4 in WebCore::RenderBlockFlow::removeFloatingObject(WebCore::RenderBox&) ()
   from /lib64/libwebkitgtk-3.0.so.0
(gdb) backtrace full
  • #0 WebCore::RenderBlockFlow::removeFloatingObject(WebCore::RenderBox&)
    from /lib64/libwebkitgtk-3.0.so.0

I have included the stack trace (geary.gdb) when replicating this event. However, I could not generate a backtrace. The following message is returned on '(gdb) backtrace full':

No symbol table info available.
Backtrace stopped: Cannot access memory at address 0x7fffffffcac8
Comment 6 Nicholas Nelson 2015-12-15 21:57:54 UTC
Created attachment 317458 [details]
stack trace
Comment 7 Michael Gratton 2016-08-02 01:17:01 UTC
Marking this as a duplicate of Bug 769010 instead of vice-versa since the stack trace there is filled out a bit better.

*** This bug has been marked as a duplicate of bug 769010 ***