Bug 257489
| Summary: | [GTK][Debug] Assert during GBM context destruction | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Philippe Normand <philn> |
| Component: | WebKitGTK | Assignee: | Nobody <webkit-unassigned> |
| Status: | NEW | ||
| Severity: | Normal | CC: | bugs-noreply |
| Priority: | P2 | ||
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Philippe Normand
When running http/wpt tests.
(gdb) bt
#0 0x00007ffa31b3790e in WTFCrash() () at /var/home/phil/WebKit/Source/WTF/wtf/Assertions.cpp:327
#1 0x00007ffa350cde8b in WTFCrashWithInfo(int, char const*, char const*, int) () at WTF/Headers/wtf/Assertions.h:762
#2 0x00007ffa3a85247c in WebCore::GraphicsContextGLANGLE::~GraphicsContextGLANGLE() (this=0x7ffa1d38b920) at /var/home/phil/WebKit/Source/WebCore/platform/graphics/gbm/GraphicsContextGLANGLELinux.cpp:63
#3 0x00007ffa3a853847 in WebCore::GraphicsContextGLGBM::~GraphicsContextGLGBM() (this=0x7ffa1d38b920) at /var/home/phil/WebKit/Source/WebCore/platform/graphics/gbm/GraphicsContextGLGBM.cpp:66
#4 0x00007ffa3a8500a9 in WebCore::GraphicsContextGLGBMTextureMapper::~GraphicsContextGLGBMTextureMapper() (this=0x7ffa1d38b920)
at /var/home/phil/WebKit/Source/WebCore/platform/graphics/gbm/GraphicsContextGLGBMTextureMapper.cpp:49
#5 0x00007ffa3a8500c9 in WebCore::GraphicsContextGLGBMTextureMapper::~GraphicsContextGLGBMTextureMapper() (this=0x7ffa1d38b920)
at /var/home/phil/WebKit/Source/WebCore/platform/graphics/gbm/GraphicsContextGLGBMTextureMapper.cpp:49
#6 0x00007ffa39cb30fc in std::default_delete<WebCore::GraphicsContextGL>::operator()(WebCore::GraphicsContextGL*) const (this=0x7ffc45f64440, __ptr=0x7ffa1d38b920)
at /usr/bin/../lib/gcc/x86_64-redhat-linux/13/../../../../include/c++/13/bits/unique_ptr.h:99
#7 0x00007ffa39cb30c7 in WTF::RefCounted<WebCore::GraphicsContextGL, std::default_delete<WebCore::GraphicsContextGL> >::deref() const (this=0x7ffa1d38b928) at WTF/Headers/wtf/RefCounted.h:190
#8 0x00007ffa3a85035d in WTF::Ref<WebCore::GraphicsContextGLGBMTextureMapper, WTF::RawPtrTraits<WebCore::GraphicsContextGLGBMTextureMapper> >::~Ref() (this=0x7ffc45f644b8) at WTF/Headers/wtf/Ref.h:61
#9 0x00007ffa3a850001 in WebCore::GraphicsContextGLGBMTextureMapper::create(WebCore::GraphicsContextGLAttributes&&) (attributes=...)
at /var/home/phil/WebKit/Source/WebCore/platform/graphics/gbm/GraphicsContextGLGBMTextureMapper.cpp:43
#10 0x00007ffa3a852289 in WebCore::createWebProcessGraphicsContextGL(WebCore::GraphicsContextGLAttributes const&, WTF::SerialFunctionDispatcher*) (attributes=...)
at /var/home/phil/WebKit/Source/WebCore/platform/graphics/gbm/GraphicsContextGLANGLELinux.cpp:51
#11 0x00007ffa3671ce18 in WebKit::WebChromeClient::createGraphicsContextGL(WebCore::GraphicsContextGLAttributes const&) const (this=0x7ffa1d0f1040, attributes=...)
at /var/home/phil/WebKit/Source/WebKit/WebProcess/WebCoreSupport/WebChromeClient.cpp:967
#12 0x00007ffa3a2662f0 in WebCore::Chrome::createGraphicsContextGL(WebCore::GraphicsContextGLAttributes const&) const (this=0x7ffa1d0f4120, attributes=...)
at /var/home/phil/WebKit/Source/WebCore/page/Chrome.cpp:565
#13 0x00007ffa39c86b80 in WebCore::WebGLRenderingContextBase::create(WebCore::CanvasBase&, WebCore::GraphicsContextGLAttributes&, WebCore::GraphicsContextGLWebGLVersion)
(canvas=..., attributes=..., type=WebCore::GraphicsContextGLWebGLVersion::WebGL1) at /var/home/phil/WebKit/Source/WebCore/html/canvas/WebGLRenderingContextBase.cpp:606
#14 0x00007ffa39bd5ad2 in WebCore::OffscreenCanvas::createContextWebGL(WebCore::OffscreenCanvas::RenderingContextType, WebCore::GraphicsContextGLAttributes&&)
(this=0x7ff98e0249f0, contextType=WebCore::OffscreenCanvas::RenderingContextType::Webgl, attrs=...) at /var/home/phil/WebKit/Source/WebCore/html/OffscreenCanvas.cpp:238
#15 0x00007ffa39bd692f in WebCore::OffscreenCanvas::getContext(JSC::JSGlobalObject&, WebCore::OffscreenCanvas::RenderingContextType, WTF::FixedVector<JSC::Strong<JSC::Unknown, (JSC::ShouldStrongDestructorGrabLock)
0> >&&) (this=0x7ff98e0249f0, state=..., contextType=WebCore::OffscreenCanvas::RenderingContextType::Webgl, arguments=...) at /var/home/phil/WebKit/Source/WebCore/html/OffscreenCanvas.cpp:297
#16 0x00007ffa37c49e4b in WebCore::jsOffscreenCanvasPrototypeFunction_getContextBody(JSC::JSGlobalObject*, JSC::CallFrame*, WebCore::JSOffscreenCanvas*)
(lexicalGlobalObject=0x7ff9814917b0, callFrame=0x7ffc45f64e50, castedThis=0x7ffa1d82ce68) at WebCore/DerivedSources/JSOffscreenCanvas.cpp:394
#17 0x00007ffa37c49a0e in WebCore::IDLOperation<WebCore::JSOffscreenCanvas>::call<&WebCore::jsOffscreenCanvasPrototypeFunction_getContextBody, (WebCore::CastedThisErrorBehavior)0>(JSC::JSGlobalObject&, JSC::CallFr
ame&, char const*) (lexicalGlobalObject=..., callFrame=..., operationName=0x7ffa3c8dbf02 "getContext") at /var/home/phil/WebKit/Source/WebCore/bindings/js/JSDOMOperation.h:63
#18 0x00007ffa37c49704 in WebCore::jsOffscreenCanvasPrototypeFunction_getContext(JSC::JSGlobalObject*, JSC::CallFrame*) (lexicalGlobalObject=0x7ff9814917b0, callFrame=0x7ffc45f64e50)
at WebCore/DerivedSources/JSOffscreenCanvas.cpp:399
#19 0x00007ff9cf4fc1b8 in ()
#20 0x00007ffc45f64ed0 in ()
#21 0x00007ffa2f8165ee in op_call_slow_return_location () at /var/home/phil/WebKit/WebKitBuild/GTK/Debug/lib/libjavascriptcoregtk-4.1.so.0
#22 0x0000000000000000 in ()
(gdb) f 2
#2 0x00007ffa3a85247c in WebCore::GraphicsContextGLANGLE::~GraphicsContextGLANGLE (this=0x7ffa1d38b920) at /var/home/phil/WebKit/Source/WebCore/platform/graphics/gbm/GraphicsContextGLANGLELinux.cpp:63
63 ASSERT_UNUSED(success, success);
(gdb) p success
$1 = false
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |