GNOME Bugzilla – Bug 761883
Freeze when editing a specific Draft: GLib-GObject-WARNING **: invalid cast from 'WebKitDOMText' to 'WebKitDOMElement'
Last modified: 2016-02-18 09:16:22 UTC
Created attachment 320916 [details] log file from gdb Note: This looks similiar to https://bugzilla.gnome.org/show_bug.cgi?id=758851 but it is present in 3.18.4, so either those are unrelated or the fix didn't match all broken cases. When editing a specific draft with 2 levels of citation in it, Evolution freezes and runs at 100% CPU on one core and leaks huge amounts of memory (several gigabytes per minute). What I did to reproduce: 1. I opened a plaintext email draft for a reply email to milan crha regarding another evolution bug. What I found weird about this is that I didn't get coloured ">" signs for citation indentation but I got a vertical (coloured) line as if I were using HTML emails. Is this feature new to evolution? I haven't noticed it before. 2. In email composer, I tried deleting a single character at a specific position What happened: Evolution freezes, runs at 100% CPU on one core and spams syslog with millions of these messages: (evolution:16623): GLib-GObject-WARNING **: invalid cast from 'WebKitDOMText' to 'WebKitDOMElement' sending SIGTERM to evolution doesn't help, only SIGKILL does. I attached gdb to evolution and tried again. Long backtrace and log file is attached. This is the backtrace with few details:
+ Trace 235965
See https://git.gnome.org/browse/evolution/commit/?h=gnome-3-18&id=7fa9a99cce23041b90e07172ac2f961517b82408 for a fix in 3.18 git (to land in 3.18.5) and https://git.gnome.org/browse/evolution/commit/?id=572b2ba6863b3a3d0498d16042a1be8ecc49d49c for a fix in git master.
There was a typo in the above fix, an uninitialized variable had been used in the code, which could lead to a crash when the code was executed. Created commit 77938fb in evo master (3.19.91+) Created commit 8f67c06 in evo gnome-3-18 (3.18.5.1+)