[Webkit-unassigned] [Bug 264933] New: [Cairo][Debug] ASSERT triggered by fast/mediastream/image-capture-take-photo.html

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Nov 16 03:03:27 PST 2023


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

            Bug ID: 264933
           Summary: [Cairo][Debug] ASSERT triggered by
                    fast/mediastream/image-capture-take-photo.html
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKitGTK
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: philn at igalia.com
                CC: bugs-noreply at webkitgtk.org

Thread 1 (Thread 0x7f82af7fe640 (LWP 97497)):
#0  WTFCrash() () at /app/webkit/Source/WTF/wtf/Assertions.cpp:333
#1  0x00007f8639836c91 in WTFCrashWithInfo(int, char const*, char const*, int) () at /app/webkit/WebKitBuild/WPE/Debug/WTF/Headers/wtf/Assertions.h:778
#2  0x00007f8641d34e53 in WebCore::encodeImage(cairo_surface_t*, WTF::String const&, WTF::Vector<unsigned char, 0, WTF::CrashOnOverflow, 16, WTF::FastMalloc>*) (image=0x7f8318008e80, mimeType=..., output=0x7f82af7fd600) at /app/webkit/Source/WebCore/platform/graphics/cairo/ImageBufferUtilitiesCairo.cpp:63
#3  0x00007f8641d34ed1 in WebCore::encodeData(_cairo_surface*, WTF::String const&, std::optional<double>) (image=0x7f8318008e80, mimeType=...) at /app/webkit/Source/WebCore/platform/graphics/cairo/ImageBufferUtilitiesCairo.cpp:71
#4  0x00007f8641c5b8c2 in WebCore::ImageBuffer::toData(WTF::Ref<WebCore::ImageBuffer, WTF::RawPtrTraits<WebCore::ImageBuffer> >, WTF::String const&, std::optional<double>, WebCore::PreserveResolution) (source=..., mimeType=..., quality=std::optional<double> [no contained value], preserveResolution=WebCore::PreserveResolution::No) at /app/webkit/Source/WebCore/platform/graphics/ImageBuffer.cpp:425
#5  0x00007f8641fe4451 in operator()() (__closure=0x7f861e0a2368) at /app/webkit/Source/WebCore/platform/mock/MockRealtimeVideoSource.cpp:255
#6  0x00007f8641fe4597 in operator()() (__closure=0x7f861e0a2348) at /app/webkit/WebKitBuild/WPE/Debug/WTF/Headers/wtf/NativePromise.h:1359
#7  0x00007f8641fea152 in WTF::Detail::CallableWrapper<WTF::invokeAsync<WebCore::MockRealtimeVideoSource::takePhotoInternal(WebCore::PhotoSettings&&)::<lambda()> >(SerialFunctionDispatcher&, WebCore::MockRealtimeVideoSource::takePhotoInternal(WebCore::PhotoSettings&&)::<lambda()>&&, const Logger::LogSiteIdentifier&)::<lambda()>, void>::call(void) (this=0x7f861e0a2340) at /app/webkit/WebKitBuild/WPE/Debug/WTF/Headers/wtf/Function.h:53
#8  0x00007f863a1b8c41 in WTF::Function<void ()>::operator()() const (this=0x7f82af7fd850) at /app/webkit/WebKitBuild/WPE/Debug/WTF/Headers/wtf/Function.h:82
#9  0x00007f863d60e837 in WTF::RunLoop::performWork() (this=0x7f861e118300) at /app/webkit/Source/WTF/wtf/RunLoop.cpp:147
#10 0x00007f863d6c2972 in operator()(gpointer) const (__closure=0x0, userData=0x7f861e118300) at /app/webkit/Source/WTF/wtf/glib/RunLoopGLib.cpp:80
#11 0x00007f863d6c2996 in _FUN(gpointer) () at /app/webkit/Source/WTF/wtf/glib/RunLoopGLib.cpp:82
#12 0x00007f863d6c2905 in operator()(GSource*, GSourceFunc, gpointer) const (__closure=0x0, source=0x7f83180011d0, callback=0x7f863d6c2979 <_FUN(gpointer)>, userData=0x7f861e118300) at /app/webkit/Source/WTF/wtf/glib/RunLoopGLib.cpp:53
#13 0x00007f863d6c2953 in _FUN(GSource*, GSourceFunc, gpointer) () at /app/webkit/Source/WTF/wtf/glib/RunLoopGLib.cpp:56
#14 0x00007f862edbe527 in g_main_dispatch (context=0x7f8318000b90) at ../glib/gmain.c:3460
#15 g_main_context_dispatch (context=0x7f8318000b90) at ../glib/gmain.c:4200
#16 0x00007f862ee1b888 in g_main_context_iterate.constprop.0 (context=0x7f8318000b90, block=<optimized out>, dispatch=1, self=<optimized out>) at ../glib/gmain.c:4276
#17 0x00007f862edbdd7f in g_main_loop_run (loop=0x7f8318000fc0) at ../glib/gmain.c:4479
#18 0x00007f863d6c2fc6 in WTF::RunLoop::run() () at /app/webkit/Source/WTF/wtf/glib/RunLoopGLib.cpp:108
#19 0x00007f863d60e5cb in operator()() const (__closure=0x7f861e190dc8) at /app/webkit/Source/WTF/wtf/RunLoop.cpp:114
#20 0x00007f863d60fcd8 in WTF::Detail::CallableWrapper<WTF::RunLoop::create(char const*, WTF::ThreadType, WTF::Thread::QOS)::<lambda()>, void>::call(void) (this=0x7f861e190dc0) at /app/webkit/Source/WTF/wtf/Function.h:53
#21 0x00007f863a1b8c41 in WTF::Function<void ()>::operator()() const (this=0x7f82af7fdb50) at /app/webkit/WebKitBuild/WPE/Debug/WTF/Headers/wtf/Function.h:82
#22 0x00007f863d61852d in WTF::Thread::entryPoint(WTF::Thread::NewThreadContext*) (newThreadContext=0x7f861e34be70) at /app/webkit/Source/WTF/wtf/Threading.cpp:258
#23 0x00007f863d6d0d87 in WTF::wtfThreadEntryPoint(void*) (context=0x7f861e34be70) at /app/webkit/Source/WTF/wtf/posix/ThreadingPOSIX.cpp:243
#24 0x00007f862e63b25a in start_thread (arg=<optimized out>) at pthread_create.c:442
#25 0x00007f862e6c3fc4 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:100

-- 
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/20231116/c86497c6/attachment.htm>


More information about the webkit-unassigned mailing list