[Webkit-unassigned] [Bug 183883] New: Crash with WebKitConsoleMessageLevel
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Mar 21 18:27:01 PDT 2018
https://bugs.webkit.org/show_bug.cgi?id=183883
Bug ID: 183883
Summary: Crash with WebKitConsoleMessageLevel
Product: WebKit
Version: WebKit Nightly Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: WebKit Gtk
Assignee: webkit-unassigned at lists.webkit.org
Reporter: mike at vee.net
CC: bugs-noreply at webkitgtk.org
Created attachment 336253
--> https://bugs.webkit.org/attachment.cgi?id=336253&action=review
Backtrace from WebProcess core
I just upgraded to Ubuntu bionic which currently has WebKitGTK 2.20.0, and WebProcess is now crashing when Geary's WebExtension is attempting to print a console message. Geary is using the standard vala to_string enum magic to get a string version of the WebKitConsoleMessageLevel returned by webkit_console_message_get_level(): https://git.gnome.org/browse/geary/tree/src/client/web-process/web-process-extension.vala#n57
This translates into the following C code:
> g_enum_get_value (g_type_class_ref (webkit_console_message_level_get_type ()), webkit_console_message_get_level (message));
The call to g_type_class_ref() is the one causing the segfault. Despite that it looks like WebKitGTK bug since Geary does this in a lot of different places and it isn't crashing anywhere else. Maybe webkit_console_message_level_get_type() is returning a bogus value?
Back trace from a resulting core is attached, couldn't get a full trace since gdb is crashing doing a "bt full".
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20180322/9049acd9/attachment.html>
More information about the webkit-unassigned
mailing list