On 5/30/25 10:23, Barry wrote:


On 30 May 2025, at 14:14, Robert Nichols via users 
<users@lists.fedoraproject.org> wrote:

___pthread_mutex_lock (mutex=mutex@entry=0x2aed4278d06f824f)
     at pthread_mutex_lock.c:80
80      unsigned int type = PTHREAD_MUTEX_TYPE_ELISION (mutex);

That mutex address looks bad. Getting a back trace will be useful for reporting 
this bug.
At the gdb prompt do `bt`.

Barry

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)

Good luck trying to dig anything out of that. All I did to provoke that was:

1. Start a new project, "Test1".
2. Drag a short (40 second) video from the "Recent" panel into the "Playlist" 
panel.
3. Double-click on the video in the Playlist panel and allow it to play out.

Shortly after the video finishes playing, the SEGFAULT occurs. (On a longer 
video, the SEGFAULT occurs after about the same time, while the video is still 
playing.)

I can also get a similar failure without playing the video at all. Just replace 
step 3 with:

3. From the "Playlist" hamburger menu, click on "Add Selected to Timeline".

Just wait about 90 seconds (without doing anything in the shotcut window) and a 
SEGFAULT occurs:

Thread 40 "Thread (pooled)" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fc5c27fe6c0 (LWP 11439)]
0x00007fc6122e5858 in mlt_properties_dec_ref (self=0x61)
    at 
/usr/src/debug/mlt-7.32.0-1.fc41.x86_64/src/framework/mlt_properties.c:383
383         if (self != NULL) {
(gdb) bt
#0  0x00007fc6122e5858 in mlt_properties_dec_ref (self=0x61)
    at 
/usr/src/debug/mlt-7.32.0-1.fc41.x86_64/src/framework/mlt_properties.c:383
#1  0x00007fc6122f296e in mlt_service_close (self=0x61)
    at /usr/src/debug/mlt-7.32.0-1.fc41.x86_64/src/framework/mlt_service.c:871
#2  mlt_service_close (self=0x61)
    at /usr/src/debug/mlt-7.32.0-1.fc41.x86_64/src/framework/mlt_service.c:869
#3  0x00007fc6122f29fb in mlt_service_close (self=0x7fc5b4137790)
    at /usr/src/debug/mlt-7.32.0-1.fc41.x86_64/src/framework/mlt_service.c:884
#4  mlt_service_close (self=0x7fc5b4137790)
    at /usr/src/debug/mlt-7.32.0-1.fc41.x86_64/src/framework/mlt_service.c:869
#5  0x00007fc612315887 in Mlt::Service::~Service (this=<optimized out>,
    this=<optimized out>)
    at /usr/src/debug/mlt-7.32.0-1.fc41.x86_64/src/mlt++/MltService.cpp:55
#6  0x00007fc6123158b5 in Mlt::Service::~Service (this=<optimized out>,
    this=<optimized out>)
    at /usr/src/debug/mlt-7.32.0-1.fc41.x86_64/src/mlt++/MltService.cpp:56
#7  0x000055eede2cab7a in std::default_delete<Mlt::Service>::operator() (
    this=<optimized out>, __ptr=0x7fc5d00be1e0)
    at /usr/include/c++/14/bits/unique_ptr.h:87
#8  std::unique_ptr<Mlt::Service, std::default_delete<Mlt::Service> >::~unique_ptr 
(this=<optimized out>, this=<optimized out>)
    at /usr/include/c++/14/bits/unique_ptr.h:399
--Type <RET> for more, q to quit, c to continue without paging--c
#9  Mlt::Controller::saveXML (this=0x55eeee1f4928, 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:545
#10 0x000055eede2a8fd9 in MainWindow::saveXML (this=0x55eeee3a48f0,
    filename=..., withRelativePaths=<optimized out>)
    at /usr/src/debug/shotcut-25.05.11-1.fc41.x86_64/src/mainwindow.cpp:3630
#11 0x000055eede295609 in MainWindow::doAutosave (this=0x55eeee3a48f0)
    at /usr/src/debug/shotcut-25.05.11-1.fc41.x86_64/src/mainwindow.cpp:1735
#12 autosaveTask (p=0x55eeee3a48f0)
    at /usr/src/debug/shotcut-25.05.11-1.fc41.x86_64/src/mainwindow.cpp:1913
#13 0x000055eede1a9aea in QtConcurrent::RunFunctionTaskBase<void>::run (
    this=0x55eef4cb82e0)
    at /usr/include/qt6/QtConcurrent/qtconcurrentrunbase.h:83
#14 0x00007fc60f2bfbf3 in QThreadPoolThread::run (this=0x55eeeeaca240)
    at 
/usr/src/debug/qt6-qtbase-6.8.2-3.fc41.x86_64/src/corelib/thread/qthreadpool.cpp:71
#15 0x00007fc60f2b67e9 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
#16 (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
#17 QThreadPrivate::start (arg=0x55eeeeaca240)
    at 
/usr/src/debug/qt6-qtbase-6.8.2-3.fc41.x86_64/src/corelib/thread/qthread_unix.cpp:339
#18 0x00007fc60ea7dfa8 in start_thread (arg=<optimized out>)
    at pthread_create.c:448
#19 0x00007fc60eb01fcc in __GI___clone3 ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78
(gdb)

Has anybody actually used this program?  Since it fails for me in two different 
environments, I can't see how.

--
Bob Nichols     "NOSPAM" is really part of my email address.
                Do NOT delete it.

--
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to