[Webkit-unassigned] [Bug 210269] New: [GTK] segfault creating GL context in VNC

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Apr 9 06:04:39 PDT 2020


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

            Bug ID: 210269
           Summary: [GTK] segfault creating GL context in VNC
           Product: WebKit
           Version: Other
          Hardware: PC
                OS: Other
            Status: NEW
          Keywords: Gtk
          Severity: Normal
          Priority: P3
         Component: WebKitGTK
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: tk at giga.or.at
                CC: bugs-noreply at webkitgtk.org

I'm trying to run foliate 2.0.0 (https://johnfactotum.github.io/foliate/) with webkit-gtk-2.28.0 (both from pkgsrc, on NetBSD/amd64).

When I run this on an X server with GL support, it works.

When I run this on an VNC X server (tigervnc) without GL support, I get a WebKitWebProcess core dump and the book is not displayed.

The backtrace of WebKitWebProcess.core looks like this:

(gdb) bt
#0  glXGetVisualFromFBConfig (dpy=dpy at entry=0x76387d5fb000, fbconfig=fbconfig at entry=0x0)
    at /usr/xsrc/external/mit/MesaLib/dist/src/glx/glxcmds.c:1735
#1  0x000076387eda84f6 in WebCore::GLContextGLX::createWindowContext (window=window at entry=23068676, platformDisplay=..., 
    sharingContext=sharingContext at entry=0x0)
    at /scratch/www/webkit-gtk/work/webkitgtk-2.28.0/Source/WebCore/platform/graphics/glx/GLContextGLX.cpp:155
#2  0x000076387eda90dd in WebCore::GLContextGLX::createContext (window=window at entry=23068676, platformDisplay=...)
    at /scratch/www/webkit-gtk/work/webkitgtk-2.28.0/Source/WebCore/platform/graphics/glx/GLContextGLX.cpp:284
#3  0x000076387ed78e77 in WebCore::GLContext::createContextForWindow (windowHandle=23068676, platformDisplay=<optimized out>)
    at /scratch/www/webkit-gtk/work/webkitgtk-2.28.0/Source/WebCore/platform/graphics/GLContext.cpp:89
#4  0x000076387dd68b66 in WebKit::ThreadedCompositor::createGLContext (this=0x763812fd8b28)
    at /scratch/www/webkit-gtk/work/webkitgtk-2.28.0/Source/WebKit/Shared/CoordinatedGraphics/threadedcompositor/ThreadedCompositor.cpp:89
#5  0x000076387dd66018 in WTF::Function<void ()>::operator()() const (this=0x7638161a00b8) at /usr/include/g++/bits/unique_ptr.h:345
#6  WebKit::CompositingRunLoop::<lambda()>::operator() (__closure=0x7638161a00b0)
    at /scratch/www/webkit-gtk/work/webkitgtk-2.28.0/Source/WebKit/Shared/CoordinatedGraphics/threadedcompositor/CompositingRunLoop.cpp:90
#7  WTF::Detail::CallableWrapper<WebKit::CompositingRunLoop::performTaskSync(WTF::Function<void()>&&)::<lambda()>, void>::call(void) (
    this=0x7638161a00a8) at /scratch/www/webkit-gtk/work/webkitgtk-2.28.0/DerivedSources/ForwardingHeaders/wtf/Function.h:52
#8  0x000076387bd4e535 in WTF::Function<void ()>::operator()() const (this=<synthetic pointer>)
    at /scratch/www/webkit-gtk/work/webkitgtk-2.28.0/Source/WTF/wtf/Lock.h:84
#9  WTF::RunLoop::performWork (this=0x763816188000) at /scratch/www/webkit-gtk/work/webkitgtk-2.28.0/Source/WTF/wtf/RunLoop.cpp:107
#10 0x000076387bd7e6f4 in WTF::RunLoop::<lambda(gpointer)>::operator() (__closure=0x0, userData=<optimized out>)
    at /scratch/www/webkit-gtk/work/webkitgtk-2.28.0/Source/WTF/wtf/glib/RunLoopGLib.cpp:68
#11 WTF::RunLoop::<lambda(gpointer)>::_FUN(gpointer) ()
    at /scratch/www/webkit-gtk/work/webkitgtk-2.28.0/Source/WTF/wtf/glib/RunLoopGLib.cpp:70
#12 0x0000763871254f75 in g_main_dispatch (context=0x763878359000) at ../glib/gmain.c:3293
#13 g_main_context_dispatch (context=context at entry=0x763878359000) at ../glib/gmain.c:3958
#14 0x00007638712552c1 in g_main_context_iterate (context=0x763878359000, block=block at entry=1, dispatch=dispatch at entry=1, 
    self=<optimized out>) at ../glib/gmain.c:4031
#15 0x0000763871255699 in g_main_loop_run (loop=0x763878388000) at ../glib/gmain.c:4225
#16 0x000076387bd7f4a3 in WTF::RunLoop::run () at /scratch/www/webkit-gtk/work/webkitgtk-2.28.0/Source/WTF/wtf/glib/RunLoopGLib.cpp:96
#17 0x000076387bd4fdd0 in WTF::Function<void ()>::operator()() const (this=<synthetic pointer>)
    at /scratch/www/webkit-gtk/work/webkitgtk-2.28.0/Source/WTF/wtf/Function.h:81
#18 WTF::Thread::entryPoint (newThreadContext=0x763816e5bf00)
    at /scratch/www/webkit-gtk/work/webkitgtk-2.28.0/Source/WTF/wtf/Threading.cpp:148
#19 0x000076387bd80828 in WTF::wtfThreadEntryPoint (context=<optimized out>)
    at /scratch/www/webkit-gtk/work/webkitgtk-2.28.0/Source/WTF/wtf/posix/ThreadingPOSIX.cpp:200
#20 0x000076387840caf2 in pthread__create_tramp (cookie=0x7638783f3000) at /usr/src/lib/libpthread/pthread.c:587
#21 0x000076386b28fc70 in ?? () from /usr/lib/libc.so.12
#22 0x0000000000000000 in ?? ()

Please let me know if you think this bug is somewhere else; I reported it here because the core dump is from WebKitWebProcess.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20200409/ceb0033c/attachment-0001.htm>


More information about the webkit-unassigned mailing list