Bug 166838

Summary: [GTK] WebProcess from WebKitGtk+ 2.15.x SIGSEGVs in GIFLZWContext::outputRow() at Source/WebCore/platform/image-decoders/gif/GIFImageReader.cpp:150
Product: WebKit Reporter: Andres Gomez Garcia <agomez>
Component: WebKitGTKAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: bugs-noreply, mcatanzaro
Priority: P2    
Version: WebKit Local Build   
Hardware: PC   
OS: Linux   
See Also: https://bugs.webkit.org/show_bug.cgi?id=165848
https://bugs.webkit.org/show_bug.cgi?id=167304
https://bugs.webkit.org/show_bug.cgi?id=168589
Attachments:
Description Flags
BT from gdb
none
Another similar BT from gdb
none
Yet another similar BT from gdb
none
BT from gdb for the WebProcess, 2.15.4
none
BT from gdb for epiphany's WebApp none

Description Andres Gomez Garcia 2017-01-09 04:54:05 PST
Created attachment 298341 [details]
BT from gdb

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, bug 164052 and bug 165848, applied.

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:

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

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

This bug is not reproducible in a predictable way.
Comment 1 Andres Gomez Garcia 2017-01-13 04:23:13 PST
Created attachment 298753 [details]
Another similar BT from gdb
Comment 2 Andres Gomez Garcia 2017-01-13 04:24:30 PST
Created attachment 298754 [details]
Yet another similar BT from gdb
Comment 3 Andres Gomez Garcia 2017-02-01 07:23:45 PST
Created attachment 300324 [details]
BT from gdb for the WebProcess, 2.15.4

Still reproducible with Epiphany 3.22.5 and WebKit 2.15.4.

I'm running Epiphany with the dconf key:

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

And the env variable:

"export G_DEBUG=fatal-criticals"

The compilation was done with CMake args:

'-DENABLE_THREADED_COMPOSITOR=OFF -DPORT=GTK -DCMAKE_BUILD_TYPE=Release -DENABLE_MINIBROWSER=ON -DCMAKE_C_FLAGS_RELEASE="-O0 -g1 -DNDEBUG  -DG_DISABLE_CAST_CHECKS" -DCMAKE_CXX_FLAGS_RELEASE="-O0 -g1 -DNDEBUG -DG_DISABLE_CAST_CHECKS"'
Comment 4 Andres Gomez Garcia 2017-02-02 00:57:19 PST
Created attachment 300393 [details]
BT from gdb for epiphany's WebApp

Not exactly the same problem, but in case they are co-related and this can help to solve the problem(s).

Running an Ephy WebApp with WKGTK+ 2.15.4, with:

G_DEBUG=fatal-criticals

and with the arguments:

--application-mode --profile="/home/tanty/.config/epiphany/app-epiphany-facebook-82da67b211249624f24f3c7db5642a5112c9446f" https://www.facebook.com/
Comment 5 Michael Catanzaro 2017-03-06 10:29:57 PST

*** This bug has been marked as a duplicate of bug 169199 ***