[Webkit-unassigned] [Bug 166740] New: [GTK] WebProcess from patched WebKitGtk+ 2.15.2 receives BadAccess X Error

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jan 5 12:51:47 PST 2017


https://bugs.webkit.org/show_bug.cgi?id=166740

            Bug ID: 166740
           Summary: [GTK] WebProcess from patched WebKitGtk+ 2.15.2
                    receives BadAccess X Error
    Classification: Unclassified
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKit Gtk
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: agomez at igalia.com
                CC: bugs-noreply at webkitgtk.org

Created attachment 298126
  --> https://bugs.webkit.org/attachment.cgi?id=298126&action=review
BT from gdb for the WebProcess

I'm using WebKitGtk+ with my own JHBuild setting:
https://github.com/tanty/jhbuild-epiphany/tree/master

Epiphany 3.20.3 and WebKit 2.15.2 with the attached patches for bug 164049, bug 165200, bug 165283 and bug 164052, applied, and also the modification suggested at https://bugs.webkit.org/show_bug.cgi?id=165848#c18

I'm running Epiphany with the dconf key:

"process-model" = "shared-secondary-process"

And the env variable:

"export LIBGL_DRI3_DISABLE=1"

The compilation was done with CMake args:

'-DPORT=GTK -DCMAKE_BUILD_TYPE=Release -DENABLE_MINIBROWSER=ON -DCMAKE_C_FLAGS_RELEASE="-O0 -g -DNDEBUG -DG_DEBUG=fatal-criticals -DG_DISABLE_CAST_CHECKS" -DCMAKE_CXX_FLAGS_RELEASE="-O0 -g -DNDEBUG -DG_DEBUG=fatal-criticals -DG_DISABLE_CAST_CHECKS"'

After visiting several pages, eventually, the WebProcess hits a SIGTRAP.

This bug is not reproducible in a predictable way.


This the error message:


-- 8< -- 8< -- 8< -- 8< -- 8< -- 8< -- 8< --

(WebKitWebProcess:20587): 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 13421095 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.)

-- 8< -- 8< -- 8< -- 8< -- 8< -- 8< -- 8< --

-- 
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/20170105/f45a09fd/attachment.html>


More information about the webkit-unassigned mailing list