Description of problem: I open a 1.5Gb GoPro video, and simply clicking a clip (to view the properties), crashes the application. This crash triggers every time. Version-Release number of selected component: shotcut-25.05.11-1.fc41 Additional info: reporter: libreport-2.17.15 type: CCpp reason: shotcut killed by SIGSEGV journald_cursor: s=7e95efa71411464f937e06cd1b91d478;i=a9782;b=aefa3ffe3b1c4b70aad706dfc5976d64;m=45a9962a;t=635ce41265d36;x=861054eb85f80ef4 executable: /usr/bin/shotcut cmdline: /usr/bin/shotcut cgroup: 0::/user.slice/user-1000.slice/user/app.slice/app-gnome-org.shotcut.Shotcut-16055.scope rootdir: / uid: 1000 kernel: 6.14.5-200.fc41.x86_64 package: shotcut-25.05.11-1.fc41 runlevel: N 5 dso_list: /usr/bin/shotcut shotcut-25.05.11-1.fc41.x86_64 (Fedora Project) 1748009446 backtrace_rating: 4 crash_function: ___pthread_mutex_lock comment: I open a 1.5Gb GoPro video, and just clicking around, or cropping, crashes the application. There doesn't seem to be a repeatable trigger, but it happens within a few minutes every time. Truncated backtrace: Thread no. 1 (14 frames) #0 ___pthread_mutex_lock at pthread_mutex_lock.c:80 #1 mlt_properties_inc_ref at /usr/src/debug/mlt-7.32.0-1.fc41.x86_64/src/framework/mlt_properties.c:366 #3 Mlt::Service::Service at /usr/src/debug/mlt-7.32.0-1.fc41.x86_64/src/mlt++/MltService.cpp:46 #4 Mlt::Service::consumer at /usr/src/debug/mlt-7.32.0-1.fc41.x86_64/src/mlt++/MltService.cpp:120 #5 Mlt::Controller::saveXML at /usr/src/debug/shotcut-25.05.11-1.fc41.x86_64/src/mltcontroller.cpp:504 #6 MainWindow::saveXML at /usr/src/debug/shotcut-25.05.11-1.fc41.x86_64/src/mainwindow.cpp:3639 #7 MainWindow::doAutosave at /usr/src/debug/shotcut-25.05.11-1.fc41.x86_64/src/mainwindow.cpp:1735 #8 autosaveTask at /usr/src/debug/shotcut-25.05.11-1.fc41.x86_64/src/mainwindow.cpp:1913 #9 QtConcurrent::RunFunctionTaskBase<void>::run at /usr/include/qt6/QtConcurrent/qtconcurrentrunbase.h:83 #10 QThreadPoolThread::run at /usr/src/debug/qt6-qtbase-6.8.2-3.fc41.x86_64/src/corelib/thread/qthreadpool.cpp:71 #11 operator() at /usr/src/debug/qt6-qtbase-6.8.2-3.fc41.x86_64/src/corelib/thread/qthread_unix.cpp:375 #12 (anonymous namespace)::terminate_on_exception<QThreadPrivate::start(void*)::<lambda()> > at /usr/src/debug/qt6-qtbase-6.8.2-3.fc41.x86_64/src/corelib/thread/qthread_unix.cpp:311 #13 QThreadPrivate::start at /usr/src/debug/qt6-qtbase-6.8.2-3.fc41.x86_64/src/corelib/thread/qthread_unix.cpp:339 #15 __clone3 at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78 Potential duplicate: bug 2365635
Created attachment 2091231 [details] File: proc_pid_status
Created attachment 2091232 [details] File: maps
Created attachment 2091233 [details] File: limits
Created attachment 2091234 [details] File: environ
Created attachment 2091235 [details] File: open_fds
Created attachment 2091236 [details] File: mountinfo
Created attachment 2091237 [details] File: os_info
Created attachment 2091238 [details] File: cpuinfo
Created attachment 2091239 [details] File: core_backtrace
Created attachment 2091240 [details] File: exploitable
Created attachment 2091241 [details] File: var_log_messages
Created attachment 2091242 [details] File: backtrace
Upon further checks, it appears that I can consistently crash the application by simply accessing the properties of one of the clips.
The issue appears to be somewhat related to Wayland. When I switched to Xorg, the crashing stopped.
I'm seeing what I believe is the same bug. I see it both with the Mate desktop and also with Gnome-xorg. All that is needed to trigger the bug is: 1. Start a new project. 2. Drag a video (a short, 40 second one will do) from the "Recent" panel into the "Playlist" panel. 3. Double-click on the video in the Playlist panel and allow it to play. After about 90 seconds (possibly well after the video has finished playing), the SEGFAULT occurs. Thread 59 "Thread (pooled)" received signal SIGSEGV, Segmentation fault. [Switching to Thread 0x7fe5bbdfe6c0 (LWP 8783)] ___pthread_mutex_lock (mutex=mutex@entry=0x4054c00000000348) at pthread_mutex_lock.c:80 80 unsigned int type = PTHREAD_MUTEX_TYPE_ELISION (mutex); (gdb) bt #0 ___pthread_mutex_lock (mutex=mutex@entry=0x4054c00000000348) at pthread_mutex_lock.c:80 #1 0x00007fe60b83580c in mlt_properties_inc_ref (self=<optimized out>) at /usr/src/debug/mlt-7.32.0-1.fc41.x86_64/src/framework/mlt_properties.c:366 #2 mlt_properties_inc_ref (self=<optimized out>) at /usr/src/debug/mlt-7.32.0-1.fc41.x86_64/src/framework/mlt_properties.c:361 #3 0x00007fe60b86d072 in Mlt::Service::Service (this=<optimized out>, service=<optimized out>, this=<optimized out>, service=<optimized out>) at /usr/src/debug/mlt-7.32.0-1.fc41.x86_64/src/mlt++/MltService.cpp:46 #4 0x00007fe60b86d5f8 in Mlt::Service::consumer ( this=this@entry=0x7fe5bbdfd470) at /usr/src/debug/mlt-7.32.0-1.fc41.x86_64/src/mlt++/MltService.cpp:120 #5 0x00005649c04ca6aa in Mlt::Controller::saveXML (this=0x5649cf47a8c8, filename=..., service=<optimized out>, withRelativePaths=<optimized out>, tempFile=0x0, proxy=false, projectNote=...) at /usr/src/debug/shotcut-25.05.11-1.fc41.x86_64/src/mltcontroller.cpp:504 #6 0x00005649c04a8f0a in MainWindow::saveXML (this=0x5649cf691740, filename=..., withRelativePaths=false) at /usr/src/debug/shotcut-25.05.11-1.fc41.x86_64/src/mainwindow.cpp:3636 #7 0x00005649c0495609 in MainWindow::doAutosave (this=0x5649cf691740) at /usr/src/debug/shotcut-25.05.11-1.fc41.x86_64/src/mainwindow.cpp:1735 --Type <RET> for more, q to quit, c to continue without paging-- #8 autosaveTask (p=0x5649cf691740) at /usr/src/debug/shotcut-25.05.11-1.fc41.x86_64/src/mainwindow.cpp:1913 #9 0x00005649c03a9aea in QtConcurrent::RunFunctionTaskBase<void>::run ( this=0x5649d62df070) at /usr/include/qt6/QtConcurrent/qtconcurrentrunbase.h:83 #10 0x00007fe6088bfbf3 in QThreadPoolThread::run (this=0x5649cfdb73f0) at /usr/src/debug/qt6-qtbase-6.8.2-3.fc41.x86_64/src/corelib/thread/qthreadpool.cpp:71 #11 0x00007fe6088b67e9 in operator() (__closure=<optimized out>) at /usr/src/debug/qt6-qtbase-6.8.2-3.fc41.x86_64/src/corelib/thread/qthread_unix.cpp:375 #12 (anonymous namespace)::terminate_on_exception<QThreadPrivate::start(void*)::<lambda()> > (t=...) at /usr/src/debug/qt6-qtbase-6.8.2-3.fc41.x86_64/src/corelib/thread/qthread_unix.cpp:311 #13 QThreadPrivate::start (arg=0x5649cfdb73f0) at /usr/src/debug/qt6-qtbase-6.8.2-3.fc41.x86_64/src/corelib/thread/qthread_unix.cpp:339 #14 0x00007fe60807dfa8 in start_thread (arg=<optimized out>) at pthread_create.c:448 #15 0x00007fe608101fcc in __GI___clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78 (gdb)
The "Linux portable tar" version of Shotcut 25.05.11 downloaded from www.shotcut.org seems to work just fine in my Mate desktop, so it appears the problem is not upstream.