<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>304173</bug_id>
          
          <creation_ts>2025-12-15 03:57:25 -0800</creation_ts>
          <short_desc>[Regression] WPEWebKit 2.51.3 crashes frequently since new composition scheduling</short_desc>
          <delta_ts>2025-12-19 00:36:02 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>WPE WebKit</component>
          <version>WebKit Local Build</version>
          <rep_platform>Other</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>304204</dup_id>
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=304144</see_also>
    
    <see_also>https://bugs.webkit.org/show_bug.cgi?id=304204</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>development.slash</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>bugs-noreply</cc>
    
    <cc>cgarcia</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2165876</commentid>
    <comment_count>0</comment_count>
    <who name="">development.slash</who>
    <bug_when>2025-12-15 03:57:25 -0800</bug_when>
    <thetext>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&apos;ve successfully tested the browser before the crashes started happening.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2165881</commentid>
    <comment_count>1</comment_count>
    <who name="">development.slash</who>
    <bug_when>2025-12-15 04:10:13 -0800</bug_when>
    <thetext>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 &lt;http://gnu.org/licenses/gpl.html&gt;
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type &quot;show copying&quot; and &quot;show warranty&quot; for details.
This GDB was configured as &quot;arm-v7a-linux-gnueabihf&quot;.
Type &quot;show configuration&quot; for configuration details.
For bug reporting instructions, please see:
&lt;https://www.gnu.org/software/gdb/bugs/&gt;.
Find the GDB manual and other documentation resources online at:
    &lt;http://www.gnu.org/software/gdb/documentation/&gt;.

For help, type &quot;help&quot;.
Type &quot;apropos word&quot; to search for commands related to &quot;word&quot;...
Reading symbols from /usr/libexec/wpe-webkit-2.0/MiniBrowser...
(No debugging symbols found in /usr/libexec/wpe-webkit-2.0/MiniBrowser)

warning: Can&apos;t open file /memfd:WebKitSharedMemory (deleted) during file-backed mapping note processing

warning: Can&apos;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 &quot;/lib/libthread_db.so.1&quot;.
Core was generated by `/usr/libexec/wpe-webkit-2.0/MiniBrowser --fullscreen --config-file=/etc/wpewebk&apos;.
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&amp;, WTF::WallTime) () from /lib/libWPEWebKit-2.0.so.1
#5  0x7356f652 in WTF::ParkingLot::parkConditionallyImpl(void const*, WTF::ScopedLambda&lt;bool ()&gt; const&amp;, WTF::ScopedLambda&lt;void ()&gt; const&amp;, WTF::TimeWithDynamicClockType const&amp;) () 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&lt;WebKit::MemoryPressureMonitor::start()::{lambda()#1}, void&gt;::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&lt;wpeScreenSyncObserverDRMStart(_WPEScreenSyncObserver*)::{lambda()#1}, void&gt;::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 &lt;RET&gt; 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&amp;, IPC::Decoder&amp;) () from /lib/libWPEWebKit-2.0.so.1
#7  0x71ec67c8 in IPC::MessageReceiverMap::dispatchMessage(IPC::Connection&amp;, IPC::Decoder&amp;) () from /lib/libWPEWebKit-2.0.so.1
#8  0x71ffde9a in WebKit::WebProcessProxy::dispatchMessage(IPC::Connection&amp;, IPC::Decoder&amp;) () from /lib/libWPEWebKit-2.0.so.1
#9  0x71a40e80 in WebKit::WebProcessProxy::didReceiveMessage(IPC::Connection&amp;, IPC::Decoder&amp;) () from /lib/libWPEWebKit-2.0.so.1
#10 0x71ec06e2 in IPC::Connection::dispatchMessage(IPC::Decoder&amp;) () from /lib/libWPEWebKit-2.0.so.1
#11 0x71ec2102 in IPC::Connection::dispatchMessage(WTF::UniqueRef&lt;IPC::Decoder&gt;) [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)
```</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2165886</commentid>
    <comment_count>2</comment_count>
    <who name="Carlos Garcia Campos">cgarcia</who>
    <bug_when>2025-12-15 04:46:08 -0800</bug_when>
    <thetext>It seems that in some cases we are sending new frames to the UI process before the previous one is completed.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2165887</commentid>
    <comment_count>3</comment_count>
    <who name="Carlos Garcia Campos">cgarcia</who>
    <bug_when>2025-12-15 04:47:32 -0800</bug_when>
    <thetext>Probably a duplicate of #304144, but in GTK we crash earlier.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2166186</commentid>
    <comment_count>4</comment_count>
    <who name="Carlos Garcia Campos">cgarcia</who>
    <bug_when>2025-12-16 04:10:52 -0800</bug_when>
    <thetext>I think this could also be the same as #304204</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2167221</commentid>
    <comment_count>5</comment_count>
    <who name="Carlos Garcia Campos">cgarcia</who>
    <bug_when>2025-12-19 00:36:02 -0800</bug_when>
    <thetext>I think this have been fixed in 304581@main, so I&apos;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 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>