Bug 2368262 - [abrt] shotcut: ___pthread_mutex_lock(): shotcut killed by SIGSEGV
Summary: [abrt] shotcut: ___pthread_mutex_lock(): shotcut killed by SIGSEGV
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: shotcut
Version: 41
Hardware: x86_64
OS: Unspecified
unspecified
low
Target Milestone: ---
Assignee: MartinKG
QA Contact:
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:5d002c3eade42ce7cdea341c7af...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-05-23 14:50 UTC by scubaroomba
Modified: 2025-05-31 21:19 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Type: ---
Embargoed:


Attachments (Terms of Use)
File: proc_pid_status (1.48 KB, text/plain)
2025-05-23 14:50 UTC, scubaroomba
no flags Details
File: maps (3.96 KB, text/plain)
2025-05-23 14:50 UTC, scubaroomba
no flags Details
File: limits (1.29 KB, text/plain)
2025-05-23 14:50 UTC, scubaroomba
no flags Details
File: environ (1.69 KB, text/plain)
2025-05-23 14:50 UTC, scubaroomba
no flags Details
File: open_fds (8.75 KB, text/plain)
2025-05-23 14:50 UTC, scubaroomba
no flags Details
File: mountinfo (3.84 KB, text/plain)
2025-05-23 14:50 UTC, scubaroomba
no flags Details
File: os_info (726 bytes, text/plain)
2025-05-23 14:50 UTC, scubaroomba
no flags Details
File: cpuinfo (3.08 KB, text/plain)
2025-05-23 14:50 UTC, scubaroomba
no flags Details
File: core_backtrace (93.37 KB, text/plain)
2025-05-23 14:50 UTC, scubaroomba
no flags Details
File: exploitable (81 bytes, text/plain)
2025-05-23 14:50 UTC, scubaroomba
no flags Details
File: var_log_messages (15.29 KB, text/plain)
2025-05-23 14:50 UTC, scubaroomba
no flags Details
File: backtrace (239.04 KB, text/plain)
2025-05-23 14:50 UTC, scubaroomba
no flags Details

Description scubaroomba 2025-05-23 14:50:26 UTC
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

Comment 1 scubaroomba 2025-05-23 14:50:29 UTC
Created attachment 2091231 [details]
File: proc_pid_status

Comment 2 scubaroomba 2025-05-23 14:50:31 UTC
Created attachment 2091232 [details]
File: maps

Comment 3 scubaroomba 2025-05-23 14:50:32 UTC
Created attachment 2091233 [details]
File: limits

Comment 4 scubaroomba 2025-05-23 14:50:34 UTC
Created attachment 2091234 [details]
File: environ

Comment 5 scubaroomba 2025-05-23 14:50:35 UTC
Created attachment 2091235 [details]
File: open_fds

Comment 6 scubaroomba 2025-05-23 14:50:36 UTC
Created attachment 2091236 [details]
File: mountinfo

Comment 7 scubaroomba 2025-05-23 14:50:38 UTC
Created attachment 2091237 [details]
File: os_info

Comment 8 scubaroomba 2025-05-23 14:50:39 UTC
Created attachment 2091238 [details]
File: cpuinfo

Comment 9 scubaroomba 2025-05-23 14:50:41 UTC
Created attachment 2091239 [details]
File: core_backtrace

Comment 10 scubaroomba 2025-05-23 14:50:42 UTC
Created attachment 2091240 [details]
File: exploitable

Comment 11 scubaroomba 2025-05-23 14:50:44 UTC
Created attachment 2091241 [details]
File: var_log_messages

Comment 12 scubaroomba 2025-05-23 14:50:46 UTC
Created attachment 2091242 [details]
File: backtrace

Comment 13 scubaroomba 2025-05-23 15:02:33 UTC
Upon further checks, it appears that I can consistently crash the application by simply accessing the properties of one of the clips.

Comment 14 scubaroomba 2025-05-23 15:10:04 UTC
The issue appears to be somewhat related to Wayland. When I switched to Xorg, the crashing stopped.

Comment 15 Robert Nichols 2025-05-31 04:55:16 UTC
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)

Comment 16 Robert Nichols 2025-05-31 21:19:15 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.