<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>164221</bug_id>
          
          <creation_ts>2016-10-31 06:22:52 -0700</creation_ts>
          <short_desc>[GTK] Crash of the application on an X error</short_desc>
          <delta_ts>2016-11-02 07:56:36 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>WebKit2</component>
          <version>WebKit Local Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>164303</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Critical</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Milan Crha">mcrha</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>cgarcia</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1246407</commentid>
    <comment_count>0</comment_count>
    <who name="Milan Crha">mcrha</who>
    <bug_when>2016-10-31 06:22:52 -0700</bug_when>
    <thetext>From https://bugzilla.gnome.org/show_bug.cgi?id=773302#c15

I have a reproducer, reliable (here), where the evolution crashes in an X error with the below backtrace. My steps are unusual for regular users, but maybe it&apos;ll shed some light on the issue.

I run evolution under gdb and press Ctrl+C do set my breakpoints and so on after it is loaded. As soon as do that I get the crash of the evolution as shown below. The backtrace mentions &quot;WebKit::WebPageProxy::processDidCrash()&quot;, thus it looked like the WebKitWebPorcess crashed for some reason, thus I re-tried and I first attached another gdb to the running WebKitWebProcess and then repeated the Ctrl+C thing. It surprised me that the gdb of the WebKitWebProcess stopped too in the gdb prompt. I issues &quot;c&quot; command and everything went as it should. From that it seems to me that you pass really everything to the WebKitWebProcess, including the Ctrl+C, which just stops (crashes) the process when there is nothing on top of it, like gdb, which handles the interrupt request.

The backtrace on the evolution side with webkitgtk4-2.14.1-2.fc25.x86_64 (I&apos;m sorry, no debug info for webkitgtk+, too large, but the steps should be better than the backtrace, I hope):

#0  0x00007ffff2aebe40 in gdk_x_error () at /lib64/libgdk-3.so.0
#1  0x00007fffef773ded in _XError () at /lib64/libX11.so.6
#2  0x00007fffef770d17 in handle_error () at /lib64/libX11.so.6
#3  0x00007fffef770dd5 in handle_response () at /lib64/libX11.so.6
#4  0x00007fffef771ce8 in _XReply () at /lib64/libX11.so.6
#5  0x00007fffef76d6dd in XSync () at /lib64/libX11.so.6
#6  0x00007fffef76d77b in _XSyncFunction () at /lib64/libX11.so.6
#7  0x00007ffff3fb4b7c in WebKit::AcceleratedBackingStoreX11::update(WebKit::LayerTreeContext const&amp;) () at /lib64/libwebkit2gtk-4.0.so.37
#8  0x00007ffff3f9c2c1 in webkitWebViewBasePageClosed(_WebKitWebViewBase*) [clone .localalias.174] () at /lib64/libwebkit2gtk-4.0.so.37
#9  0x00007ffff3f5c08b in WebKit::AcceleratedDrawingAreaProxy::exitAcceleratedCompositingMode() () at /lib64/libwebkit2gtk-4.0.so.37
#10 0x00007ffff3f5c0fc in WebKit::AcceleratedDrawingAreaProxy::~AcceleratedDrawingAreaProxy() () at /lib64/libwebkit2gtk-4.0.so.37
#11 0x00007ffff3f5db49 in WebKit::DrawingAreaProxyImpl::~DrawingAreaProxyImpl() () at /lib64/libwebkit2gtk-4.0.so.37
#12 0x00007ffff3dab328 in WebKit::WebPageProxy::resetState(WebKit::WebPageProxy::ResetStateReason) () at /lib64/libwebkit2gtk-4.0.so.37
#13 0x00007ffff3dabd9e in WebKit::WebPageProxy::resetStateAfterProcessExited() () at /lib64/libwebkit2gtk-4.0.so.37
#14 0x00007ffff3dac803 in WebKit::WebPageProxy::processDidCrash() () at /lib64/libwebkit2gtk-4.0.so.37
#15 0x00007ffff3dd7139 in WebKit::WebProcessProxy::didClose(IPC::Connection&amp;) () at /lib64/libwebkit2gtk-4.0.so.37
#16 0x00007fffec9e28dd in WTF::RunLoop::performWork() () at /lib64/libjavascriptcoregtk-4.0.so.18
#17 0x00007fffeca092b9 in WTF::RunLoop::RunLoop()::{lambda(void*)#1}::_FUN(void*) () at /lib64/libjavascriptcoregtk-4.0.so.18
#18 0x00007ffff5f5ee42 in g_main_context_dispatch () at /lib64/libglib-2.0.so.0
#19 0x00007ffff5f5f1c0 in g_main_context_iterate.isra () at /lib64/libglib-2.0.so.0
#20 0x00007ffff5f5f4e2 in g_main_loop_run () at /lib64/libglib-2.0.so.0
#21 0x00007ffff6a362e5 in gtk_main () at /lib64/libgtk-3.so.0
#22 0x0000000000404c60 in main (argc=1, argv=0x7fffffffdca8) at main.c:659</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1247321</commentid>
    <comment_count>1</comment_count>
    <who name="Carlos Garcia Campos">cgarcia</who>
    <bug_when>2016-11-02 07:56:36 -0700</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 164303 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>