shotcut
shotcut copied to clipboard
flatpak on linux aarch64 crashes
trafficstars
flatpak version of shotcut 25.01.25 crashes on ARM 64-bit linux.
Running gdb on it reveals this:
Reading symbols from /app/bin/shotcut...
Reading symbols from /usr/lib/debug/app/bin/shotcut.debug...
(gdb) run
Starting program: /app/bin/shotcut
This GDB supports auto-downloading debuginfo from the following URLs:
<https://debuginfod.fedoraproject.org/>
Enable debuginfod for this session? (y or [n]) y
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 "/usr/lib/aarch64-linux-gnu/libthread_db.so.1".
[New Thread 0xfffff02defe0 (LWP 15)]
[New Thread 0xffffee2defe0 (LWP 16)]
[New Thread 0xffffedacefe0 (LWP 17)]
[New Thread 0xffffed2befe0 (LWP 18)]
[New Thread 0xffffdfffefe0 (LWP 19)]
[New Thread 0xffffdf7eefe0 (LWP 20)]
[New Thread 0xffffdefdefe0 (LWP 21)]
[New Thread 0xffffdd1aafe0 (LWP 22)]
[New Thread 0xffffc1fbefe0 (LWP 23)]
libDeckLinkAPI.so: cannot open shared object file: No such file or directory
[New Thread 0xffffc17aefe0 (LWP 24)]
[New Thread 0xffffc0efafe0 (LWP 25)]
[New Thread 0xffffb7ffefe0 (LWP 26)]
Thread 1 "shotcut" received signal SIGSEGV, Segmentation fault.
0x0000fffff5fc261c in QtPrivate::QMetaTypeForType<QImage>::getDtor()::{lambda(QtPrivate::QMetaTypeInterface const*, void*)#1}::_FUN(QtPrivate::QMetaTypeInterface const*, void*) () at /run/build-runtime/qt6-qtbase/src/corelib/kernel/qmetatype.h:2470
2470 reinterpret_cast<S *>(addr)->~S();
(gdb) bt
#0 0x0000fffff5fc261c in QtPrivate::QMetaTypeForType<QImage>::getDtor()::{lambda(QtPrivate::QMetaTypeInterface const*, void*)#1}::_FUN(QtPrivate::QMetaTypeInterface const*, void*) () at /run/build-runtime/qt6-qtbase/src/corelib/kernel/qmetatype.h:2470
#1 0x0000fffff4fed4b8 in QtMetaTypePrivate::destruct (iface=<optimized out>, where=0xffffffffe4b8)
at /run/build-runtime/qt6-qtbase/src/corelib/kernel/qmetatype_p.h:203
#2 (anonymous namespace)::customClear (d=0xffffffffe4b8) at /run/build-runtime/qt6-qtbase/src/corelib/kernel/qvariant.cpp:295
#3 QVariant::~QVariant (this=0xffffffffe4b8, __in_chrg=<optimized out>) at /run/build-runtime/qt6-qtbase/src/corelib/kernel/qvariant.cpp:532
#4 0x0000fffff7754b3c in QHeaderView::sectionSizeFromContents (this=<optimized out>, logicalIndex=<optimized out>)
at /run/build-runtime/qt6-qtbase/src/widgets/itemviews/qheaderview.cpp:3029
#5 0x0000fffff7752dd4 in QHeaderView::sizeHint (this=0xaaaaabe0c160) at /run/build-runtime/qt6-qtbase/src/widgets/itemviews/qheaderview.cpp:489
#6 0x0000fffff77ce138 in QTreeView::updateGeometries (this=0xaaaaabe089d0) at /run/build-runtime/qt6-qtbase/src/widgets/itemviews/qtreeview.cpp:2906
#7 0x0000fffff77344bc in QAbstractItemView::doItemsLayout (this=this@entry=0xaaaaabe089d0)
at /run/build-runtime/qt6-qtbase/src/widgets/itemviews/qabstractitemview.cpp:1262
#8 0x0000fffff77cc3ec in QTreeView::doItemsLayout (this=0xaaaaabe089d0) at /run/build-runtime/qt6-qtbase/src/widgets/itemviews/qtreeview.cpp:2186
#9 0x0000aaaaaac4898c in FilesDock::FilesDock (this=this@entry=0xaaaaabdf5320, parent=parent@entry=0xaaaaab149ae0)
at /run/build/shotcut/src/docks/filesdock.cpp:578
#10 0x0000aaaaaacf6a28 in MainWindow::setupAndConnectDocks (this=this@entry=0xaaaaab149ae0) at /run/build/shotcut/src/mainwindow.cpp:451
#11 0x0000aaaaaad12c18 in MainWindow::MainWindow (this=0xaaaaab149ae0) at /run/build/shotcut/src/mainwindow.cpp:199
#12 0x0000aaaaaad131ac in MainWindow::singleton () at /run/build/shotcut/src/mainwindow.cpp:841
#13 0x0000aaaaaab63bd8 in main (argc=<optimized out>, argv=<optimized out>) at /run/build/shotcut/src/main.cpp:440
(gdb)
I'm seeing the same issue in https://ossia.io : https://github.com/ossia/score/issues/1725 so I assume it's a problem in the flatpak runtime
Flatpak edition of Shotcut 28.08.16 works fine for me