[Webkit-unassigned] [Bug 286859] New: [WPE] REGRESSION(289282 at main) webrtc/captureCanvas-webrtc-with-video-scaling-adaptation.html is a constant crash

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Feb 1 09:02:54 PST 2025


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

            Bug ID: 286859
           Summary: [WPE] REGRESSION(289282 at main)
                    webrtc/captureCanvas-webrtc-with-video-scaling-adaptat
                    ion.html is a constant crash
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WPE WebKit
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: csaavedra at igalia.com
                CC: bugs-noreply at webkitgtk.org

Prior to 289282 at main the test was a constant failure, but starting on that change the test started crashing in WPE consistently.

This is a sample crash log I got from just running it a few times today:

#0  0x00007f68405068a8 in GrResourceCache::notifyARefCntReachedZero(GrGpuResource*, GrIORef<GrGpuResource>::LastRemovedRef) [clone .cold] () from /app/webkit/WebKitBuild/WPE/Release/lib/libWPEWebKit-2.0.so.2
[Current thread is 1 (Thread 0x7f682df81900 (LWP 49))]
(gdb) back
#0  0x00007f68405068a8 in GrResourceCache::notifyARefCntReachedZero(GrGpuResource*, GrIORef<GrGpuResource>::LastRemovedRef) [clone .cold] () at /app/webkit/WebKitBuild/WPE/Release/lib/libWPEWebKit-2.0.so.2
#1  0x00007f684050f137 in GrTextureProxy::~GrTextureProxy() () at /app/webkit/WebKitBuild/WPE/Release/lib/libWPEWebKit-2.0.so.2
#2  0x00007f684050fa41 in virtual thunk to GrTextureRenderTargetProxy::~GrTextureRenderTargetProxy() () at /app/webkit/WebKitBuild/WPE/Release/lib/libWPEWebKit-2.0.so.2
#3  0x00007f6840527c3d in skgpu::ganesh::SurfaceFillContext::~SurfaceFillContext() () at /app/webkit/WebKitBuild/WPE/Release/lib/libWPEWebKit-2.0.so.2
#4  0x00007f684052073c in skgpu::ganesh::SurfaceContext::readPixels(GrDirectContext*, GrPixmap, SkIPoint) () at /app/webkit/WebKitBuild/WPE/Release/lib/libWPEWebKit-2.0.so.2
#5  0x00007f68404b5e8b in skgpu::ganesh::Device::onReadPixels(SkPixmap const&, int, int) () at /app/webkit/WebKitBuild/WPE/Release/lib/libWPEWebKit-2.0.so.2
#6  0x00007f683f8c1df2 in WebCore::ImageBufferSkiaAcceleratedBackend::getPixelBuffer(WebCore::IntRect const&, WebCore::PixelBuffer&) () at /app/webkit/WebKitBuild/WPE/Release/lib/libWPEWebKit-2.0.so.2
#7  0x00007f683f734001 in WebCore::ImageBuffer::getPixelBuffer(WebCore::PixelBufferFormat const&, WebCore::IntRect const&, WebCore::ImageBufferAllocator const&) const ()
    at /app/webkit/WebKitBuild/WPE/Release/lib/libWPEWebKit-2.0.so.2
#8  0x00007f683ed51b94 in WebCore::HTMLCanvasElement::toVideoFrame() () at /app/webkit/WebKitBuild/WPE/Release/lib/libWPEWebKit-2.0.so.2
#9  0x00007f683df13d35 in WebCore::CanvasCaptureMediaStreamTrack::Source::captureCanvas() () at /app/webkit/WebKitBuild/WPE/Release/lib/libWPEWebKit-2.0.so.2
#10 0x00007f683df0a5b2 in WTF::Detail::CallableWrapper<WebCore::Timer::Timer<WebCore::CanvasCaptureMediaStreamTrack::Source, WebCore::CanvasCaptureMediaStreamTrack::Source>(WebCore::CanvasCaptureMediaStreamTrack::Source&, void (WebCore::CanvasCaptureMediaStreamTrack::Source::*)())::{lambda()#1}, void>::call() () at /app/webkit/WebKitBuild/WPE/Release/lib/libWPEWebKit-2.0.so.2
#11 0x00007f683f615feb in WebCore::ThreadTimers::sharedTimerFiredInternal() () at /app/webkit/WebKitBuild/WPE/Release/lib/libWPEWebKit-2.0.so.2
#12 0x00007f683c6a9a25 in WTF::RunLoop::TimerBase::TimerBase(WTF::Ref<WTF::RunLoop, WTF::RawPtrTraits<WTF::RunLoop>, WTF::DefaultRefDerefTraits<WTF::RunLoop> >&&)::{lambda(void*)#1}::_FUN(void*) ()
    at /app/webkit/WebKitBuild/WPE/Release/lib/libWPEWebKit-2.0.so.2
#13 0x00007f683c6aa47f in WTF::RunLoop::{lambda(_GSource*, int (*)(void*), void*)#1}::_FUN(_GSource*, int (*)(void*), void*) () at /app/webkit/WebKitBuild/WPE/Release/lib/libWPEWebKit-2.0.so.2
#14 0x00007f6834c8dd36 in g_main_dispatch (context=0x55b0dd4ccc20) at ../glib/gmain.c:3460
#15 g_main_context_dispatch (context=0x55b0dd4ccc20) at ../glib/gmain.c:4200
#16 0x00007f6834ceb2b8 in g_main_context_iterate.isra.0 (context=0x55b0dd4ccc20, block=block at entry=1, dispatch=dispatch at entry=1, self=<optimized out>) at ../glib/gmain.c:4276
#17 0x00007f6834c8d3ff in g_main_loop_run (loop=0x55b0dd4ccd60) at ../glib/gmain.c:4479
#18 0x00007f683c6aa5b0 in WTF::RunLoop::run() () at /app/webkit/WebKitBuild/WPE/Release/lib/libWPEWebKit-2.0.so.2
#19 0x00007f683a7aea3f in int WebKit::AuxiliaryProcessMain<WebKit::WebProcessMainWPE>(int, char**) () at /app/webkit/WebKitBuild/WPE/Release/lib/libWPEWebKit-2.0.so.2
#20 0x00007f683443b08a in __libc_start_call_main (main=main at entry=0x55b0ae2538d0 <main>, argc=argc at entry=5, argv=argv at entry=0x7ffc5bafc108) at ../sysdeps/nptl/libc_start_call_main.h:58
#21 0x00007f683443b14b in __libc_start_main_impl (main=0x55b0ae2538d0 <main>, argc=5, argv=0x7ffc5bafc108, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffc5bafc0f8)
    at ../csu/libc-start.c:360
#22 0x000055b0ae253805 in _start () at ../sysdeps/x86_64/start.S:115

-- 
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/20250201/7c1fec5a/attachment.htm>


More information about the webkit-unassigned mailing list