RESOLVED DUPLICATE of bug 304204304173
[Regression] WPEWebKit 2.51.3 crashes frequently since new composition scheduling
https://bugs.webkit.org/show_bug.cgi?id=304173
Summary [Regression] WPEWebKit 2.51.3 crashes frequently since new composition schedu...
development.slash
Reported 2025-12-15 03:57:25 PST
We noticed that since WPE WebKit 2.51.3 the browser crashes frequently for example when scrolling quickly in a view over a course of 1-2 minutes. This started happening somewhere after commit 293a1a5212, as this is the last commit version that we've successfully tested the browser before the crashes started happening.
Attachments
development.slash
Comment 1 2025-12-15 04:10:13 PST
Here is the stack trace: ``` gdb /usr/libexec/wpe-webkit-2.0/MiniBrowser core.MiniBrowser.0.81ef6026c11f44eea59dfd5f25e89450.1008.1765799204000000 GNU gdb (GDB) 16.3 Copyright (C) 2024 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "arm-v7a-linux-gnueabihf". Type "show configuration" for configuration details. For bug reporting instructions, please see: <https://www.gnu.org/software/gdb/bugs/>. Find the GDB manual and other documentation resources online at: <http://www.gnu.org/software/gdb/documentation/>. For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from /usr/libexec/wpe-webkit-2.0/MiniBrowser... (No debugging symbols found in /usr/libexec/wpe-webkit-2.0/MiniBrowser) warning: Can't open file /memfd:WebKitSharedMemory (deleted) during file-backed mapping note processing warning: Can't open file /memfd:weston-shared (deleted) during file-backed mapping note processing [New LWP 1008] [New LWP 1019] [New LWP 1020] [New LWP 1021] [New LWP 1010] [New LWP 1012] [New LWP 1018] [New LWP 1048] [New LWP 1011] [New LWP 1015] [New LWP 1009] [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/libthread_db.so.1". Core was generated by `/usr/libexec/wpe-webkit-2.0/MiniBrowser --fullscreen --config-file=/etc/wpewebk'. Program terminated with signal SIGABRT, Aborted. #0 0x70f27a76 in ?? () from /lib/libc.so.6 [Current thread is 1 (Thread 0x6f08b020 (LWP 1008))] (gdb) thread apply all bt Thread 11 (Thread 0x6f088160 (LWP 1009)): #0 0x70fb4370 in syscall () from /lib/libc.so.6 #1 0x71288ae8 in g_cond_wait () from /lib/libglib-2.0.so.0 #2 0x712381ca in ?? () from /lib/libglib-2.0.so.0 Backtrace stopped: previous frame identical to this frame (corrupt stack?) Thread 10 (Thread 0x6a8ff160 (LWP 1015)): #0 0x70f6db16 in ?? () from /lib/libc.so.6 #1 0x70f65154 in ?? () from /lib/libc.so.6 #2 0x70f65378 in ?? () from /lib/libc.so.6 #3 0x70f67108 in __pthread_cond_timedwait64 () from /lib/libc.so.6 #4 0x735f3088 in WTF::ThreadCondition::timedWait(WTF::Mutex&, WTF::WallTime) () from /lib/libWPEWebKit-2.0.so.1 #5 0x7356f652 in WTF::ParkingLot::parkConditionallyImpl(void const*, WTF::ScopedLambda<bool ()> const&, WTF::ScopedLambda<void ()> const&, WTF::TimeWithDynamicClockType const&) () from /lib/libWPEWebKit-2.0.so.1 #6 0x7357fe3a in WTF::sleep(WTF::Seconds) () from /lib/libWPEWebKit-2.0.so.1 #7 0x721148ce in WTF::Detail::CallableWrapper<WebKit::MemoryPressureMonitor::start()::{lambda()#1}, void>::call() () from /lib/libWPEWebKit-2.0.so.1 #8 0x73582726 in WTF::Thread::entryPoint(WTF::Thread::NewThreadContext*) () from /lib/libWPEWebKit-2.0.so.1 #9 0x735f285e in WTF::wtfThreadEntryPoint(void*) () from /lib/libWPEWebKit-2.0.so.1 #10 0x70f6749c in ?? () from /lib/libc.so.6 Backtrace stopped: previous frame identical to this frame (corrupt stack?) Thread 9 (Thread 0x6deff160 (LWP 1011)): #0 0x70f6db16 in ?? () from /lib/libc.so.6 #1 0x70f65154 in ?? () from /lib/libc.so.6 #2 0x70f65378 in ?? () from /lib/libc.so.6 #3 0x70f66e7c in ?? () from /lib/libc.so.6 #4 0x75c60402 in bmalloc::Scavenger::threadRunLoop() () from /lib/libWPEWebKit-2.0.so.1 #5 0x75c6057e in bmalloc::Scavenger::threadEntryPoint(bmalloc::Scavenger*) () from /lib/libWPEWebKit-2.0.so.1 #6 0x71118a82 in ?? () from /lib/libstdc++.so.6 #7 0x70f6749c in ?? () from /lib/libc.so.6 Backtrace stopped: previous frame identical to this frame (corrupt stack?) Thread 8 (Thread 0x67afb160 (LWP 1048)): #0 0x70f27a76 in ?? () from /lib/libc.so.6 #1 0x70fb2c3c in ioctl () from /lib/libc.so.6 #2 0x708ca07e in drmWaitVBlank () from /lib/libdrm.so.2 #3 0x718c05a2 in WTF::Detail::CallableWrapper<wpeScreenSyncObserverDRMStart(_WPEScreenSyncObserver*)::{lambda()#1}, void>::call() () from /lib/libWPEWebKit-2.0.so.1 #4 0x73582726 in WTF::Thread::entryPoint(WTF::Thread::NewThreadContext*) () from /lib/libWPEWebKit-2.0.so.1 #5 0x735f285e in WTF::wtfThreadEntryPoint(void*) () from /lib/libWPEWebKit-2.0.so.1 #6 0x70f6749c in ?? () from /lib/libc.so.6 Backtrace stopped: previous frame identical to this frame (corrupt stack?) Thread 7 (Thread 0x69aff160 (LWP 1018)): #0 0x70f6db16 in ?? () from /lib/libc.so.6 #1 0x70f65154 in ?? () from /lib/libc.so.6 #2 0x70f65190 in ?? () from /lib/libc.so.6 #3 0x70faf364 in __ppoll64 () from /lib/libc.so.6 #4 0x71264510 in ?? () from /lib/libglib-2.0.so.0 Backtrace stopped: previous frame identical to this frame (corrupt stack?) Thread 6 (Thread 0x6b2fd160 (LWP 1012)): #0 0x70f6db16 in ?? () from /lib/libc.so.6 #1 0x70f65154 in ?? () from /lib/libc.so.6 #2 0x70f65190 in ?? () from /lib/libc.so.6 #3 0x70faefcc in poll () from /lib/libc.so.6 #4 0x735edea0 in WTF::RunLoop::runGLibMainLoopIteration(WTF::RunLoop::MayBlock) () from /lib/libWPEWebKit-2.0.so.1 #5 0x735ee184 in WTF::RunLoop::run() () from /lib/libWPEWebKit-2.0.so.1 #6 0x73582726 in WTF::Thread::entryPoint(WTF::Thread::NewThreadContext*) () from /lib/libWPEWebKit-2.0.so.1 #7 0x735f285e in WTF::wtfThreadEntryPoint(void*) () from /lib/libWPEWebKit-2.0.so.1 --Type <RET> for more, q to quit, c to continue without paging--c #8 0x70f6749c in ?? () from /lib/libc.so.6 Backtrace stopped: previous frame identical to this frame (corrupt stack?) Thread 5 (Thread 0x6e887160 (LWP 1010)): #0 0x70f6db16 in ?? () from /lib/libc.so.6 #1 0x70f65154 in ?? () from /lib/libc.so.6 #2 0x70f65190 in ?? () from /lib/libc.so.6 #3 0x70faf364 in __ppoll64 () from /lib/libc.so.6 #4 0x71264510 in ?? () from /lib/libglib-2.0.so.0 Backtrace stopped: previous frame identical to this frame (corrupt stack?) Thread 4 (Thread 0x682fc160 (LWP 1021)): #0 0x70f6db16 in ?? () from /lib/libc.so.6 #1 0x70f65154 in ?? () from /lib/libc.so.6 #2 0x70f65190 in ?? () from /lib/libc.so.6 #3 0x70faefcc in poll () from /lib/libc.so.6 #4 0x735edea0 in WTF::RunLoop::runGLibMainLoopIteration(WTF::RunLoop::MayBlock) () from /lib/libWPEWebKit-2.0.so.1 #5 0x735ee184 in WTF::RunLoop::run() () from /lib/libWPEWebKit-2.0.so.1 #6 0x73582726 in WTF::Thread::entryPoint(WTF::Thread::NewThreadContext*) () from /lib/libWPEWebKit-2.0.so.1 #7 0x735f285e in WTF::wtfThreadEntryPoint(void*) () from /lib/libWPEWebKit-2.0.so.1 #8 0x70f6749c in ?? () from /lib/libc.so.6 Backtrace stopped: previous frame identical to this frame (corrupt stack?) Thread 3 (Thread 0x68afd160 (LWP 1020)): #0 0x70f6db16 in ?? () from /lib/libc.so.6 #1 0x70f65154 in ?? () from /lib/libc.so.6 #2 0x70f65190 in ?? () from /lib/libc.so.6 #3 0x70faefcc in poll () from /lib/libc.so.6 #4 0x735edea0 in WTF::RunLoop::runGLibMainLoopIteration(WTF::RunLoop::MayBlock) () from /lib/libWPEWebKit-2.0.so.1 #5 0x735ee184 in WTF::RunLoop::run() () from /lib/libWPEWebKit-2.0.so.1 #6 0x73582726 in WTF::Thread::entryPoint(WTF::Thread::NewThreadContext*) () from /lib/libWPEWebKit-2.0.so.1 #7 0x735f285e in WTF::wtfThreadEntryPoint(void*) () from /lib/libWPEWebKit-2.0.so.1 #8 0x70f6749c in ?? () from /lib/libc.so.6 Backtrace stopped: previous frame identical to this frame (corrupt stack?) Thread 2 (Thread 0x692fe160 (LWP 1019)): #0 0x70f6db16 in ?? () from /lib/libc.so.6 #1 0x70f65154 in ?? () from /lib/libc.so.6 #2 0x70f65190 in ?? () from /lib/libc.so.6 #3 0x70faefcc in poll () from /lib/libc.so.6 #4 0x735edea0 in WTF::RunLoop::runGLibMainLoopIteration(WTF::RunLoop::MayBlock) () from /lib/libWPEWebKit-2.0.so.1 #5 0x735ee184 in WTF::RunLoop::run() () from /lib/libWPEWebKit-2.0.so.1 #6 0x73582726 in WTF::Thread::entryPoint(WTF::Thread::NewThreadContext*) () from /lib/libWPEWebKit-2.0.so.1 #7 0x735f285e in WTF::wtfThreadEntryPoint(void*) () from /lib/libWPEWebKit-2.0.so.1 #8 0x70f6749c in ?? () from /lib/libc.so.6 Backtrace stopped: previous frame identical to this frame (corrupt stack?) Thread 1 (Thread 0x6f08b020 (LWP 1008)): #0 0x70f27a76 in ?? () from /lib/libc.so.6 #1 0x70f68c5e in ?? () from /lib/libc.so.6 #2 0x70f35e40 in raise () from /lib/libc.so.6 #3 0x70f2745a in abort () from /lib/libc.so.6 #4 0x718d0622 in wpeViewWaylandRenderBuffer(_WPEView*, _WPEBuffer*, _WPERectangle const*, unsigned int, _GError**) () from /lib/libWPEWebKit-2.0.so.1 #5 0x72115f6a in WebKit::AcceleratedBackingStore::renderPendingBuffer() () from /lib/libWPEWebKit-2.0.so.1 #6 0x71af5a34 in WebKit::AcceleratedBackingStore::didReceiveMessage(IPC::Connection&, IPC::Decoder&) () from /lib/libWPEWebKit-2.0.so.1 #7 0x71ec67c8 in IPC::MessageReceiverMap::dispatchMessage(IPC::Connection&, IPC::Decoder&) () from /lib/libWPEWebKit-2.0.so.1 #8 0x71ffde9a in WebKit::WebProcessProxy::dispatchMessage(IPC::Connection&, IPC::Decoder&) () from /lib/libWPEWebKit-2.0.so.1 #9 0x71a40e80 in WebKit::WebProcessProxy::didReceiveMessage(IPC::Connection&, IPC::Decoder&) () from /lib/libWPEWebKit-2.0.so.1 #10 0x71ec06e2 in IPC::Connection::dispatchMessage(IPC::Decoder&) () from /lib/libWPEWebKit-2.0.so.1 #11 0x71ec2102 in IPC::Connection::dispatchMessage(WTF::UniqueRef<IPC::Decoder>) [clone .part.0] () from /lib/libWPEWebKit-2.0.so.1 #12 0x71ec2b3a in IPC::Connection::dispatchIncomingMessages() () from /lib/libWPEWebKit-2.0.so.1 #13 0x7357513c in WTF::RunLoop::performWork() () from /lib/libWPEWebKit-2.0.so.1 #14 0x735ec416 in WTF::RunLoop::RunLoop()::{lambda(void*)#1}::_FUN(void*) () from /lib/libWPEWebKit-2.0.so.1 #15 0x735ef1da in WTF::RunLoop::{lambda(_GSource*, int (*)(void*), void*)#1}::_FUN(_GSource*, int (*)(void*), void*) () from /lib/libWPEWebKit-2.0.so.1 #16 0x712612da in ?? () from /lib/libglib-2.0.so.0 Backtrace stopped: previous frame identical to this frame (corrupt stack?) (gdb) ```
Carlos Garcia Campos
Comment 2 2025-12-15 04:46:08 PST
It seems that in some cases we are sending new frames to the UI process before the previous one is completed.
Carlos Garcia Campos
Comment 3 2025-12-15 04:47:32 PST
Probably a duplicate of #304144, but in GTK we crash earlier.
Carlos Garcia Campos
Comment 4 2025-12-16 04:10:52 PST
I think this could also be the same as #304204
Carlos Garcia Campos
Comment 5 2025-12-19 00:36:02 PST
I think this have been fixed in 304581@main, so I'm closing as duplicate. Feel free to reopen if the problem still happens for you. *** This bug has been marked as a duplicate of bug 304204 ***
Note You need to log in before you can comment on or make changes to this bug.