https://bugs.kde.org/show_bug.cgi?id=521812

            Bug ID: 521812
           Summary: Crash (SIGSEGV) in background worker thread during
                    audio waveform   generation with QML binding loop
                    warning
    Classification: Applications
           Product: kdenlive
      Version First 26.04.2
       Reported In:
          Platform: Arch Linux
                OS: Linux
            Status: REPORTED
          Severity: crash
          Priority: NOR
         Component: Timeline & Editing
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

### Environment Information:

  • OS: Arch Linux (rolling release)
  • Window Manager: Hyprland (Wayland)
  • Kdenlive Version:  26.04.2-1 
  • Qt Version:  6.11.1-1  (qt6-base)
  • Graphics Integration: Wayland-EGL / QtWaylandClient
  ──────
  ### Observed Behavior:

  Kdenlive suddenly crashed with a Segmentation Fault (SIGSEGV,  Signal 11)
while loading a project and processing audio thumbnails.
  Before the crash, system logs ( journalctl ) recorded massive spam  of QML
binding loop warnings from  ClipAudioThumbs.qml :
qrc:/qt/qml/org/kde/kdenlive/ClipAudioThumbs.qml:84:9: QML      
  TimelineWaveform: Binding loop detected for property   "waveOutPoint":        
    qrc:/qt/qml/org/kde/kdenlive/ClipAudioThumbs.qml:97:13   The crash itself
occurs in a background worker thread ( LWP 15551  ) managed by  QThread  right
after checking packages/handling timeline clips:
 // RAN CONCURRENT SCRIPT: true , SCRIPT: "checkpackages.py" ,   
  firstARG: "--install"                                             
  ──────
  ### Coredump Stack Trace (GDB output):

    Signal: 11 (SEGV)                                               
    Executable: /usr/bin/kdenlive                                   

    Thread 1 (Thread 0x7f2c2bf966c0 (LWP 15551) - Crashing Thread): 
    #0  0x00007f2d02bf0277 in ?? () from /usr/lib/libQt6Core.so.6   
    #1  0x000055bf5dc9d418 in ?? ()                                 
    #2  0x000055bf5dc97a90 in ?? ()                                 
    #3  0x000055bf5dc9792b in ?? ()                                 
    #4  0x00007f2d02cb6f45 in ?? () from /usr/lib/libQt6Core.so.6   
    #5  0x00007f2d02d784fb in ?? () from /usr/lib/libQt6Core.so.6   
    #6  0x00007f2d022981b9 in ?? () from /usr/lib/libc.so.6         
    #7  0x00007f2d0231d21c in ?? () from /usr/lib/libc.so.6         

    Thread 2 (Thread 0x7f2ceea06600 (LWP 15320) - Main Thread):     
    #0  0x00007f2d022a0a52 in ?? () from /usr/lib/libc.so.6         
    #1  0x00007f2d02294abc in ?? () from /usr/lib/libc.so.6         
    #2  0x00007f2d02294e07 in ?? () from /usr/lib/libc.so.6         
    #3  0x00007f2d02297882 in pthread_cond_timedwait () from        
  /usr/lib/libc.so.6
    #4  0x00007f2d02d713a9 in QWaitCondition::wait(QMutex*,         
  QDeadlineTimer) () from /usr/lib/libQt6Core.so.6
    #5  0x00007f2d021901fe in
  QtWaylandClient::QWaylandWindow::waitForFrameSync(int) () from    
  /usr/lib/libQt6WaylandClient.so.6
    #6  0x00007f2cec018ed5 in
  QtWaylandClient::QWaylandGLContext::swapBuffers(QPlatformSurface*)
  () from /usr/lib/qt6/plugins/wayland-graphics-integration-        
  client/libqt-plugin-wayland-egl.so
    #7  0x00007f2d063e240d in ?? () from /usr/lib/libQt6Gui.so.6    
    #8  0x00007f2d062316e7 in QRhi::endFrame(QRhiSwapChain*,        
  QFlags<QRhi::EndFrameFlag>) () from /usr/lib/libQt6Gui.so.6       
    #9  0x00007f2d06051e45 in ?? () from /usr/lib/libQt6Gui.so.6    
    #10 0x00007f2d061ddb41 in
  QPlatformBackingStore::rhiFlush(QWindow*, double, QRegion const&, 
  QPoint const&, QPlatformTextureList*, bool, double) () from       
  /usr/lib/libQt6Gui.so.6
    #11 0x00007f2d0697c29f in QWidgetRepaintManager::flush(QWidget*,
  QRegion const&, QPlatformTextureList*) () from
  /usr/lib/libQt6Widgets.so.6
    ...
  ──────
  ### Temporary Workaround:

  The crash stops happening if Concurrent threads under Settings >  
  Configure Kdenlive > Environment > Proxy and Transcode Jobs is limited to  1
. This points to a potential race
  condition/threading issue inside MLT/FFmpeg audio decoding when
  invoked via concurrent Qt6 background threads on this system
  package.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to