[Webkit-unassigned] [Bug 153989] New: [GTK] WebKit2Gtk crashes when creating a webview with g_object_new.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Feb 8 09:29:10 PST 2016


            Bug ID: 153989
           Summary: [GTK] WebKit2Gtk crashes when creating a webview with
    Classification: Unclassified
           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: danilo.cesar at collabora.co.uk
                CC: bugs-noreply at webkitgtk.org

WebKit2Gtk crashes when creating a WebView with g_object_new(WEBKIT_TYPE_WEB_VIEW, NULL).

It happens because _WebViewBasePrivate is initialized with a call to RunLoop::main(), but it has never been initialized (as it's only initialized when we get a context, like the webkit_get_default_context() call).
Initializing only the RunLoop causes other issue, so I realized that a full call to WebKit2Initialize should be made.

Patch is coming next...

You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20160208/0198c072/attachment.html>

More information about the webkit-unassigned mailing list