Bug 164914 - [GTK] Web/database process crash in gdk_event_source_check
Summary: [GTK] Web/database process crash in gdk_event_source_check
Status: RESOLVED WONTFIX
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKitGTK (show other bugs)
Version: WebKit Nightly Build
Hardware: PC Linux
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-11-18 04:48 PST by Michael Catanzaro
Modified: 2016-11-29 07:06 PST (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Catanzaro 2016-11-18 04:48:11 PST
Web process crash in gdk_event_source_check:

Truncated backtrace:
Thread no. 1 (9 frames)
 #0 _g_log_abort at gmessages.c:487
 #1 g_log_writer_default at gmessages.c:2382
 #2 g_log_structured_array at gmessages.c:1770
 #3 g_log_structured at gmessages.c:1597
 #4 gdk_event_source_check at gdkeventsource.c:92
 #5 g_main_context_check at gmain.c:3762
 #8 WTF::RunLoop::run at /usr/src/debug/webkitgtk-2.14.1/Source/WTF/wtf/glib/RunLoopGLib.cpp:94
 #9 WebKit::ChildProcessMain<WebKit::WebProcess, WebKit::WebProcessMain> at /usr/src/debug/webkitgtk-2.14.1/Source/WebKit2/Shared/unix/ChildProcessMain.h:61
 #11 _start

It's crashing on this error condition:

      if (source->pfd.revents & G_IO_IN)
        {
          if (wl_display_read_events (display_wayland->wl_display) < 0)
            g_error ("Error reading events from display: %s", g_strerror (errno));
        }
Comment 1 Michael Catanzaro 2016-11-18 04:48:29 PST
(Full backtrace downstream.)
Comment 2 Michael Catanzaro 2016-11-18 04:49:33 PST
And the error condition is "broken pipe"
Comment 3 Michael Catanzaro 2016-11-18 05:05:51 PST
OK, same crash and same error condition in WebKitDatabaseProcess as well. Why are we running GTK+ in the database process???
Comment 4 Michael Catanzaro 2016-11-18 09:06:37 PST
(Note: 46 reports of this.)
Comment 5 Michael Catanzaro 2016-11-24 06:53:32 PST
Looks very similar to this gnome-terminal crash when the user logs out of GNOME (i.e. when the Wayland display goes away): https://bugzilla.redhat.com/show_bug.cgi?id=1395389
Comment 6 Michael Catanzaro 2016-11-25 15:32:48 PST
Looks like it affects a bunch of other GTK+ applications:

https://retrace.fedoraproject.org/faf/problems/2506226/

I doubt it's our bug.
Comment 7 Michael Catanzaro 2016-11-26 09:21:18 PST
Ahhh, turns out this is just the infamous https://bugzilla.redhat.com/show_bug.cgi?id=1366897
Comment 8 Michael Catanzaro 2016-11-29 07:06:03 PST
(In reply to comment #3)
> OK, same crash and same error condition in WebKitDatabaseProcess as well.
> Why are we running GTK+ in the database process???

Fixed in bug #165138.