On 5/18/25 00:17, Jeffrey Walton wrote:
On Sat, May 17, 2025 at 11:30 PM Robert Nichols via users
<users@xxxxxxxxxxxxxxxxxxxxxxx> wrote:
I'm trying to use "shotcut", installed in a Fedora 41 virtual machine, to split up some large mp4 files. It can read the files and play the videos just fine, so there is apparently no decoder issue, but any time I try to do anything with the file the process segfaults. Suspecting there might be a memory issue with these large files (7.5GB on the largest, but same result on an 862MB file), I increased the VM's memory allocation to 32GB. No difference. There is no sign that the system is running out of memory.
[SNIP]
Attach a debugger and wait for the process to crash. See, for example,
<https://sourceware.org/gdb/current/onlinedocs/gdb.html/Attach.html>.
Jeff
Sorry about the delay. Life intervened, and I also wanted to set up a physical machine to see if running on the bare hardware behaved the same as in a virtual machine. It did. Plus, I tried it with a short (<60 sec) video shot with my own camera. Same behavior.
Output from gdb after several screenfuls of downloading debug information yielded:
Debuginfod has been enabled.
To make this setting permanent, add 'set debuginfod enabled on' to .gdbinit.
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
0x00007f9576cf47b0 in __GI_ppoll (fds=fds@entry=0x55bd51f4a460,
nfds=nfds@entry=5, timeout=<optimized out>, timeout@entry=0x7ffdb932a5c0,
sigmask=sigmask@entry=0x0) at ../sysdeps/unix/sysv/linux/ppoll.c:42
42 return SYSCALL_CANCEL (ppoll_time64, fds, nfds, timeout, sigmask,
--Type <RET> for more, q to quit, c to continue without paging--c
Missing rpms, try: dnf --enablerepo='*debug*' install ffmpeg-libs-debuginfo-7.1.1-6.fc41.x86_64 libavdevice-debuginfo-7.1.1-6.fc41.x86_64 vvenc-libs-debuginfo-1.13.1-3.fc41.x86_64 x264-libs-debuginfo-0.164-15.20231001git31e19f92.fc41.x86_64 x265-libs-debuginfo-3.6-3.fc41.x86_64 openh264-debuginfo-2.4.1-2.fc41.x86_64
(gdb) c
Continuing.
[Thread 0x7f952a9fe6c0 (LWP 3871) exited]
[Thread 0x7f95477fe6c0 (LWP 3868) exited]
[Thread 0x7f9547fff6c0 (LWP 3867) exited]
[New Thread 0x7f9547fff6c0 (LWP 3888)]
[New Thread 0x7f95477fe6c0 (LWP 3889)]
[New Thread 0x7f952a9fe6c0 (LWP 3890)]
[New Thread 0x7f95050a96c0 (LWP 3891)]
[New Thread 0x7f95048a86c0 (LWP 3892)]
[New Thread 0x7f94fbfff6c0 (LWP 3893)]
[New Thread 0x7f94fb7fe6c0 (LWP 3894)]
[New Thread 0x7f94faffd6c0 (LWP 3895)]
[New Thread 0x7f94fa7fc6c0 (LWP 3896)]
[New Thread 0x7f94f9ffb6c0 (LWP 3897)]
[New Thread 0x7f94f97fa6c0 (LWP 3898)]
[New Thread 0x7f94f8ff96c0 (LWP 3899)]
[New Thread 0x7f94f87f86c0 (LWP 3901)]
[Thread 0x7f95477fe6c0 (LWP 3889) exited]
[Thread 0x7f9547fff6c0 (LWP 3888) exited]
Thread 23 "Thread (pooled)" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7f952a9fe6c0 (LWP 3890)]
___pthread_mutex_lock (mutex=mutex@entry=0x2aed4278d06f824f)
at pthread_mutex_lock.c:80
80 unsigned int type = PTHREAD_MUTEX_TYPE_ELISION (mutex);
(gdb) c
Continuing.
[New Thread 0x7f9547fff6c0 (LWP 3914)]
[Thread 0x7f9547fff6c0 (LWP 3914) exited]
[Thread 0x7f94f87f86c0 (LWP 3901) exited]
[Thread 0x7f94f8ff96c0 (LWP 3899) exited]
[Thread 0x7f94f97fa6c0 (LWP 3898) exited]
[Thread 0x7f94f9ffb6c0 (LWP 3897) exited]
[Thread 0x7f94fa7fc6c0 (LWP 3896) exited]
[Thread 0x7f94faffd6c0 (LWP 3895) exited]
[Thread 0x7f94fb7fe6c0 (LWP 3894) exited]
[Thread 0x7f94fbfff6c0 (LWP 3893) exited]
[Thread 0x7f952a9fe6c0 (LWP 3890) exited]
[Thread 0x7f95067fc6c0 (LWP 3879) exited]
[Thread 0x7f95077fe6c0 (LWP 3877) exited]
[Thread 0x7f9507fff6c0 (LWP 3876) exited]
[Thread 0x7f95189fe6c0 (LWP 3875) exited]
[Thread 0x7f95191ff6c0 (LWP 3874) exited]
[Thread 0x7f95299626c0 (LWP 3873) exited]
[Thread 0x7f952a1636c0 (LWP 3872) exited]
[Thread 0x7f952b1ff6c0 (LWP 3870) exited]
[Thread 0x7f9546ffd6c0 (LWP 3869) exited]
[Thread 0x7f955d4096c0 (LWP 3866) exited]
[Thread 0x7f955dd2c6c0 (LWP 3864) exited]
[Thread 0x7f955e52d6c0 (LWP 3863) exited]
[Thread 0x7f955ed2e6c0 (LWP 3862) exited]
[Thread 0x7f955ffff6c0 (LWP 3861) exited]
[Thread 0x7f9564fa46c0 (LWP 3860) exited]
[Thread 0x7f9575563200 (LWP 3857) exited]
[Thread 0x7f95050a96c0 (LWP 3891) exited]
[Thread 0x7f9506ffd6c0 (LWP 3878) exited]
[Thread 0x7f95048a86c0 (LWP 3892) exited]
[New process 3857]
Program terminated with signal SIGSEGV, Segmentation fault.
The program no longer exists.
(gdb) q
If this were not clearly distributed as "free software" I would suspect a timeout due to lack of a license.
--
Bob Nichols "NOSPAM" is really part of my email address.
Do NOT delete it.
--
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue