Closed DaniSeeh closed 4 years ago
Sorry I think you forgot the backtrace, if you can recreate the crash with it that'd be great!
Dangit I'm an idiot. I knew I'd been forgetting something recently in my console outputs. My bad. It had been a little while since testing on a regular basis. Here is backtrace. Will remember to do it on all crashes from now on.
[daniel@daniel-pc app]$ gdb ./olive-editor
GNU gdb (GDB) 8.3.1
Copyright (C) 2019 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-pc-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from ./olive-editor...
(No debugging symbols found in ./olive-editor)
(gdb) run
Starting program: /home/daniel/Downloads/olive-e578ee626407abfb72d97c0cb06284cd6fd6ed5c/app/olive-editor
/usr/lib/../share/gcc-9.2.0/python/libstdcxx/v6/xmethods.py:731: SyntaxWarning: list indices must be integers or slices, not str; perhaps you missed a comma?
refcounts = ['_M_refcount']['_M_pi']
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[New Thread 0x7fffea715700 (LWP 6702)]
qt5ct: using qt5ct plugin
[Detaching after fork from child process 6703]
[Detaching after fork from child process 6704]
Using Qt version: 5.14.1
[DEBUG] CONFIG: This is a 0.1.x config file, upconvert ((null):0)
[DEBUG] CONFIG: Finding closest match to "29.97" ((null):0)
[DEBUG] CONFIG: Closest match was 29.97 ((null):0)
[New Thread 0x7fffe98c0700 (LWP 6707)]
[New Thread 0x7fffe8fa1700 (LWP 6708)]
[New Thread 0x7fffe3fff700 (LWP 6709)]
[New Thread 0x7fffe37fe700 (LWP 6710)]
[New Thread 0x7fffe2ffd700 (LWP 6711)]
[New Thread 0x7fffe27fc700 (LWP 6712)]
[New Thread 0x7fffe1ffb700 (LWP 6713)]
[New Thread 0x7fffe17fa700 (LWP 6714)]
[New Thread 0x7fffe0ff9700 (LWP 6715)]
[New Thread 0x7fffbffff700 (LWP 6716)]
[New Thread 0x7fffbf7fe700 (LWP 6717)]
[New Thread 0x7fffbeffd700 (LWP 6718)]
[New Thread 0x7fffbe7fc700 (LWP 6719)]
[New Thread 0x7fffbdffb700 (LWP 6720)]
[New Thread 0x7fffbd7fa700 (LWP 6721)]
[New Thread 0x7fffbcff9700 (LWP 6722)]
[New Thread 0x7fff9ffff700 (LWP 6723)]
[New Thread 0x7fff9f7fe700 (LWP 6724)]
[DEBUG] D-Bus global menu: no ((null):0)
[DEBUG] palette support is disabled ((null):0)
[DEBUG] custom style sheet is disabled ((null):0)
[New Thread 0x7fff8ffff700 (LWP 6725)]
[INFO] Setting output audio device to "alsa_output.usb-C-Media_Electronics_Inc._USB_Audio_Device-00.analog-stereo" ((null):0)
[WARNING] Invalid params found: 0 0 -1 ((null):0)
[Thread 0x7fffe98c0700 (LWP 6707) exited]
[New Thread 0x7fffe98c0700 (LWP 6736)]
[WARNING] Empty filename passed to function ((null):0)
[Thread 0x7fffe98c0700 (LWP 6736) exited]
[New Thread 0x7fffe98c0700 (LWP 6737)]
[DEBUG] Project version: "0.2.0" ((null):0)
Thread 23 "QThread" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffe98c0700 (LWP 6737)]
0x0000555555667001 in Footage::stream(int) const ()
(gdb) bt
#0 0x0000555555667001 in Footage::stream(int) const ()
#1 0x0000555555668565 in Footage::Load(QXmlStreamReader*, QHash<unsigned long long, std::shared_ptr<Stream> >&, QList<NodeParam::FootageConnection>&, QAtomicInt const*) ()
#2 0x0000555555665bb2 in Folder::Load(QXmlStreamReader*, QHash<unsigned long long, std::shared_ptr<Stream> >&, QList<NodeParam::FootageConnection>&, QAtomicInt const*) ()
#3 0x000055555566ee45 in Project::Load(QXmlStreamReader*, QAtomicInt const*)
()
#4 0x00005555556708d6 in ProjectLoadManager::Action() ()
#5 0x00005555556a263a in Task::Start() ()
#6 0x00007ffff42e926a in QObject::event(QEvent*) ()
from /usr/lib/libQt5Core.so.5
#7 0x00007ffff4d53362 in QApplicationPrivate::notify_helper(QObject*, QEvent*)
() from /usr/lib/libQt5Widgets.so.5
#8 0x00007ffff4d5c819 in QApplication::notify(QObject*, QEvent*) ()
from /usr/lib/libQt5Widgets.so.5
#9 0x00007ffff42bb962 in QCoreApplication::notifyInternal2(QObject*, QEvent*)
() from /usr/lib/libQt5Core.so.5
#10 0x00007ffff42be1c6 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/libQt5Core.so.5
#11 0x00007ffff43149d4 in ?? () from /usr/lib/libQt5Core.so.5
#12 0x00007fffee8bb39e in g_main_context_dispatch ()
--Type <RET> for more, q to quit, c to continue without paging--<ret>
from /usr/lib/libglib-2.0.so.0
#13 0x00007fffee8bd1b1 in ?? () from /usr/lib/libglib-2.0.so.0
#14 0x00007fffee8bd1f1 in g_main_context_iteration ()
from /usr/lib/libglib-2.0.so.0
#15 0x00007ffff4314020 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#16 0x00007ffff42ba4cc in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#17 0x00007ffff40dee52 in QThread::exec() () from /usr/lib/libQt5Core.so.5
#18 0x00007ffff40dffc6 in ?? () from /usr/lib/libQt5Core.so.5
#19 0x00007ffff37ee4cf in start_thread () from /usr/lib/libpthread.so.0
#20 0x00007ffff3c022d3 in clone () from /usr/lib/libc.so.6
(gdb)
Fixed in 0bef1160209c6974039c8c7fed4ae9e7b6fe3eca. Previously saved projects will still crash, but any projects saved from now on won't.
Platform Build: 9de164c
System Details: Manjaro Gnome (latest) AMD Ryzen 1700x NVIDIA GTX 1070 32gb RAM
Summary Create project. Create sequence. Do some stuff with footage. Save. Load. Crash.
Additional Information / Output
GDB output of saving file
GDB Output of Loading File