<html>
    <head>
      <base href="https://bugs.webkit.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [GTK] WebProcess from patched WebKitGtk+ 2.15.2 receives BadAccess X Error"
   href="https://bugs.webkit.org/show_bug.cgi?id=166740#c1">Comment # 1</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [GTK] WebProcess from patched WebKitGtk+ 2.15.2 receives BadAccess X Error"
   href="https://bugs.webkit.org/show_bug.cgi?id=166740">bug 166740</a>
              from <span class="vcard"><a class="email" href="mailto:agomez&#64;igalia.com" title="Andres Gomez Garcia &lt;agomez&#64;igalia.com&gt;"> <span class="fn">Andres Gomez Garcia</span></a>
</span></b>
        <pre>Created <span class=""><a href="attachment.cgi?id=300626" name="attach_300626" title="Another BT from gdb for the WebProcess">attachment 300626</a> <a href="attachment.cgi?id=300626&amp;action=edit" title="Another BT from gdb for the WebProcess">[details]</a></span>
Another BT from gdb for the WebProcess

Also with Epiphany 3.22.5 and WebKit 2.15.4.

I'm running Epiphany with the dconf key:

&quot;process-model&quot; = &quot;shared-secondary-process&quot;

And the env variable:

&quot;export G_DEBUG=fatal-criticals&quot;

The compilation was done with CMake args:

'-DENABLE_THREADED_COMPOSITOR=OFF -DPORT=GTK -DCMAKE_BUILD_TYPE=Release -DENABLE_MINIBROWSER=ON -DCMAKE_C_FLAGS_RELEASE=&quot;-O0 -g -DNDEBUG  -DG_DISABLE_CAST_CHECKS&quot; -DCMAKE_CXX_FLAGS_RELEASE=&quot;-O0 -g -DNDEBUG -DG_DISABLE_CAST_CHECKS&quot;'

The WebProcess, eventually, receives a SIGTRAP.

---

The error in the terminal is:

(WebKitWebProcess:26855): Gdk-ERROR **: The program 'WebKitWebProcess' received an X Window System error.                                             
This probably reflects a bug in the program.                                                                                                          
The error was 'BadAccess (attempt to access private resource denied)'.                                                                                
  (Details: serial 1923949 error_code 10 request_code 130 (MIT-SHM) minor_code 1)                                                                     
  (Note to programmers: normally, X errors are reported asynchronously;                                                                               
   that is, you will receive the error a while after causing it.                                                                                      
   To debug your program, run it with the GDK_SYNCHRONIZE environment                                                                                 
   variable to change this behavior. You can then get a meaningful                                                                                    
   backtrace from your debugger if you break on the gdk_x_error() function.)</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>