GNOME Bugzilla – Bug 763933
Crash loading HTML message with WebKitGTK 2.4.10
Last modified: 2016-06-16 01:05:04 UTC
Geary will crash somewhat randomly when displaying HTML messages when using WebKitGTK+ 2.4.10. This did not occur using earlier version of WebKitGTK+. This stack trace is representative: Thread 1 "geary" received signal SIGSEGV, Segmentation fault. WebCore::AXObjectCache::handleAttributeChanged (this=0x7fff9191b500, attrName=..., element=0x5df8210) at ../Source/WebCore/accessibility/AXObjectCache.cpp:880 880 if (!attrName.localName().string().startsWith("aria-")) (gdb) bt
+ Trace 236097
Created attachment 324354 [details] [review] Workaround to fix the crash This has been reported to WebKitGTK+: https://bugs.webkit.org/show_bug.cgi?id=155694 In the meantime, this seems to fix the crash, may need some more testing though.
Michael, thanks very much for the patch. I found that the crashing made Geary unusable, and when I rebuilt with the patch the problem went away. Should we land this in master now?
Actually this really looks pretty safe. I'll land this.
Review of attachment 324354 [details] [review]: Please reattach the patch in 'git format-patch' format. Otherwise this looks fine.
Created attachment 324401 [details] [review] Updated workaround patch using git format-patch
Land away! It hasn't crashed once for me since.
I've landed the patch, so you can close this now.
Yay, really pleased to see work back on upstream Geary, I'd hit this bug recently and was afraid I'd have to migrate to the Pantheon fork. Any chance you'll be pushing new builds out?
(In reply to Alex from comment #8) > Yay, really pleased to see work back on upstream Geary, I'd hit this bug > recently and was afraid I'd have to migrate to the Pantheon fork. Any chance > you'll be pushing new builds out? Yes, good point. Seems like people are starting to run in to it, especially now distros are packaging 2.4.10. Will look into it.
*** Bug 764393 has been marked as a duplicate of this bug. ***
*** Bug 765686 has been marked as a duplicate of this bug. ***
*** Bug 763990 has been marked as a duplicate of this bug. ***