You are here

Qtractor 0.9.19 segmentation fault (SOLVED)

Good day!

It seems that on my system Qtractor won't work.
Whenever i run Qtractor it works fine untill I open up an audio track
I ran it through terminal, it gave me a segfault

Here is an output of a gdb qtractor

Can anything be done from my side?

The system specs, if they are relevant are:
Manjaro Linux

Ryzen 5 2600
Gigabyte B450m S2H
16gb RAM
Nvidia GTX 1060 ti

Thank you!

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from qtractor...
(No debugging symbols found in qtractor)
(gdb) run
Starting program: /usr/bin/qtractor
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[New Thread 0x7fffed977640 (LWP 3364)]
[New Thread 0x7fffe7c99640 (LWP 3365)]
[New Thread 0x7fffe5044640 (LWP 3366)]
[New Thread 0x7fffdffff640 (LWP 3367)]
[Thread 0x7fffe5044640 (LWP 3366) exited]
[New Thread 0x7fffe47f8640 (LWP 3370)]
[New Thread 0x7fffe4605640 (LWP 3371)]
[New Thread 0x7fffe5044640 (LWP 3372)]
[New Thread 0x7fffe4584640 (LWP 3373)]
[New Thread 0x7fffdf7fe640 (LWP 3374)]
[New Thread 0x7fffdeffd640 (LWP 3375)]
[New Thread 0x7fffde7fc640 (LWP 3376)]

Thread 1 "qtractor" received signal SIGSEGV, Segmentation fault.
0x00005555556fcc5b in QHash::operator[](unsigned short const&) ()
(gdb) thread apply all bt

Thread 12 (Thread 0x7fffde7fc640 (LWP 3376) "QThread"):
#0 0x00007ffff7b166a2 in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1 0x00007ffff68270d4 in QWaitCondition::wait(QMutex*, QDeadlineTimer) () from /usr/lib/libQt5Core.so.5
#2 0x0000555555746610 in qtractorMidiOutputThread::run() ()
#3 0x00007ffff6820f0f in ?? () from /usr/lib/libQt5Core.so.5
#4 0x00007ffff7b103e9 in start_thread () from /usr/lib/libpthread.so.0
#5 0x00007ffff634b293 in clone () from /usr/lib/libc.so.6

Thread 11 (Thread 0x7fffdeffd640 (LWP 3375) "QThread"):
#0 0x00007ffff634046f in poll () from /usr/lib/libc.so.6
#1 0x0000555555747586 in qtractorMidiInputThread::run() ()
#2 0x00007ffff6820f0f in ?? () from /usr/lib/libQt5Core.so.5
#3 0x00007ffff7b103e9 in start_thread () from /usr/lib/libpthread.so.0
#4 0x00007ffff634b293 in clone () from /usr/lib/libc.so.6

Thread 10 (Thread 0x7fffdf7fe640 (LWP 3374) "QThread"):
#0 0x00007ffff7b166a2 in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1 0x00007ffff68270d4 in QWaitCondition::wait(QMutex*, QDeadlineTimer) () from --Type for more, q to quit, c to continue without paging--RET
/usr/lib/libQt5Core.so.5
#2 0x0000555555758bc9 in qtractorMidiSyncThread::run() ()
#3 0x00007ffff6820f0f in ?? () from /usr/lib/libQt5Core.so.5
#4 0x00007ffff7b103e9 in start_thread () from /usr/lib/libpthread.so.0
#5 0x00007ffff634b293 in clone () from /usr/lib/libc.so.6

Thread 9 (Thread 0x7fffe4584640 (LWP 3373) "qtractor"):
#0 0x00007ffff6345d5d in syscall () from /usr/lib/libc.so.6
#1 0x00007ffff73cc7db in ?? () from /usr/lib/libjack.so.0
#2 0x00007ffff73aefa5 in ?? () from /usr/lib/libjack.so.0
#3 0x00007ffff73ae177 in ?? () from /usr/lib/libjack.so.0
#4 0x00007ffff73adef8 in ?? () from /usr/lib/libjack.so.0
#5 0x00007ffff73ca8ed in ?? () from /usr/lib/libjack.so.0
#6 0x00007ffff7b103e9 in start_thread () from /usr/lib/libpthread.so.0
#7 0x00007ffff634b293 in clone () from /usr/lib/libc.so.6

Thread 8 (Thread 0x7fffe5044640 (LWP 3372) "QThread"):
#0 0x00007ffff7b166a2 in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1 0x00007ffff68270d4 in QWaitCondition::wait(QMutex*, QDeadlineTimer) () from /usr/lib/libQt5Core.so.5
#2 0x000055555569edaa in qtractorAudioBufferThread::run() ()
--Type for more, q to quit, c to continue without paging--RET
#3 0x00007ffff6820f0f in ?? () from /usr/lib/libQt5Core.so.5
#4 0x00007ffff7b103e9 in start_thread () from /usr/lib/libpthread.so.0
#5 0x00007ffff634b293 in clone () from /usr/lib/libc.so.6

Thread 7 (Thread 0x7fffe4605640 (LWP 3371) "qtractor"):
#0 0x00007ffff7b1a00c in read () from /usr/lib/libpthread.so.0
#1 0x00007ffff73cbb2f in ?? () from /usr/lib/libjack.so.0
#2 0x00007ffff73d073d in ?? () from /usr/lib/libjack.so.0
#3 0x00007ffff73d0572 in ?? () from /usr/lib/libjack.so.0
#4 0x00007ffff73ca8ed in ?? () from /usr/lib/libjack.so.0
#5 0x00007ffff7b103e9 in start_thread () from /usr/lib/libpthread.so.0
#6 0x00007ffff634b293 in clone () from /usr/lib/libc.so.6

Thread 6 (Thread 0x7fffe47f8640 (LWP 3370) "qtractor"):
#0 0x00007ffff7b166a2 in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1 0x00007ffff73cb3c0 in ?? () from /usr/lib/libjack.so.0
#2 0x00007ffff73bf456 in ?? () from /usr/lib/libjack.so.0
#3 0x00007ffff73ca8ed in ?? () from /usr/lib/libjack.so.0
#4 0x00007ffff7b103e9 in start_thread () from /usr/lib/libpthread.so.0
#5 0x00007ffff634b293 in clone () from /usr/lib/libc.so.6

--Type for more, q to quit, c to continue without paging--RET
Thread 5 (Thread 0x7fffdffff640 (LWP 3367) "QFileInfoGather"):
#0 0x00007ffff7b166a2 in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1 0x00007ffff68270d4 in QWaitCondition::wait(QMutex*, QDeadlineTimer) () from /usr/lib/libQt5Core.so.5
#2 0x00007ffff77b67b3 in ?? () from /usr/lib/libQt5Widgets.so.5
#3 0x00007ffff6820f0f in ?? () from /usr/lib/libQt5Core.so.5
#4 0x00007ffff7b103e9 in start_thread () from /usr/lib/libpthread.so.0
#5 0x00007ffff634b293 in clone () from /usr/lib/libc.so.6

Thread 3 (Thread 0x7fffe7c99640 (LWP 3365) "QDBusConnection"):
#0 0x00007ffff634046f in poll () from /usr/lib/libc.so.6
#1 0x00007ffff362493f in ?? () from /usr/lib/libglib-2.0.so.0
#2 0x00007ffff35cf2b1 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#3 0x00007ffff6a616e1 in QEventDispatcherGlib::processEvents(QFlags) () from /usr/lib/libQt5Core.so.5
#4 0x00007ffff6a073fc in QEventLoop::exec(QFlags) () from /usr/lib/libQt5Core.so.5
#5 0x00007ffff681fd22 in QThread::exec() () from /usr/lib/libQt5Core.so.5
#6 0x00007fffedad2098 in ?? () from /usr/lib/libQt5DBus.so.5
#7 0x00007ffff6820f0f in ?? () from /usr/lib/libQt5Core.so.5
--Type for more, q to quit, c to continue without paging--RET
#8 0x00007ffff7b103e9 in start_thread () from /usr/lib/libpthread.so.0
#9 0x00007ffff634b293 in clone () from /usr/lib/libc.so.6

Thread 2 (Thread 0x7fffed977640 (LWP 3364) "QXcbEventQueue"):
#0 0x00007ffff634046f in poll () from /usr/lib/libc.so.6
#1 0x00007ffff7acf63b in ?? () from /usr/lib/libxcb.so.1
#2 0x00007ffff7ad137b in xcb_wait_for_event () from /usr/lib/libxcb.so.1
#3 0x00007fffedb9f131 in ?? () from /usr/lib/libQt5XcbQpa.so.5
#4 0x00007ffff6820f0f in ?? () from /usr/lib/libQt5Core.so.5
#5 0x00007ffff7b103e9 in start_thread () from /usr/lib/libpthread.so.0
#6 0x00007ffff634b293 in clone () from /usr/lib/libc.so.6

Thread 1 (Thread 0x7fffedf9dc00 (LWP 3360) "qtractor"):
#0 0x00005555556fcc5b in QHash::operator[](unsigned short const&) ()
#1 0x00005555556fa73f in qtractorInstrumentMenu::trackMenuReset(QMenu*) const ()
#2 0x00007ffff6a3fe10 in ?? () from /usr/lib/libQt5Core.so.5
#3 0x00007ffff6a3fe10 in ?? () from /usr/lib/libQt5Core.so.5
#4 0x00007fffedc9834c in ?? () from /usr/lib/qt/plugins/platformthemes/libqt5ct.so
#5 0x00007fffedc9271c in ?? () from /usr/lib/qt/plugins/platformthemes/libqt5ct--Type for more, q to quit, c to continue without paging--RET
.so
#6 0x00007fffedc92b83 in ?? () from /usr/lib/qt/plugins/platformthemes/libqt5ct.so
#7 0x00007fffedadc066 in ?? () from /usr/lib/libQt5DBus.so.5
#8 0x00007fffedadf84c in ?? () from /usr/lib/libQt5DBus.so.5
#9 0x00007fffedadff4a in ?? () from /usr/lib/libQt5DBus.so.5
#10 0x00007fffedae2478 in ?? () from /usr/lib/libQt5DBus.so.5
#11 0x00007ffff6a35582 in QObject::event(QEvent*) () from /usr/lib/libQt5Core.so.5
#12 0x00007ffff7589752 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#13 0x00007ffff6a08a7a in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/libQt5Core.so.5
#14 0x00007ffff6a0b573 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/libQt5Core.so.5
#15 0x00007ffff6a620a4 in ?? () from /usr/lib/libQt5Core.so.5
#16 0x00007ffff35d0a84 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#17 0x00007ffff36249b1 in ?? () from /usr/lib/libglib-2.0.so.0
#18 0x00007ffff35cf2b1 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#19 0x00007ffff6a616e1 in QEventDispatcherGlib::processEvents(QFlags for more, q to quit, c to continue without paging--RET
:ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#20 0x00007ffff6a073fc in QEventLoop::exec(QFlags) () from /usr/lib/libQt5Core.so.5
#21 0x00007ffff6a0f894 in QCoreApplication::exec() () from /usr/lib/libQt5Core.so.5
#22 0x000055555568bba0 in main ()
(gdb)

Forums: 

I was able to solve this problem by deleting global menu add-on for XFCE, since gdb reported many things connected with Qtlibraries

My guess is that one of this add-on's dependency has created a problem, specifically
vala-panel-appmenu-registrar-git 0.7.3-1 for it's purpose is: Small utility to hold DBusMenu menus which creates a conflict

So, if someone stumbles upon the same problem - make sure you don't have a global menu add-on and try deleting it, to see if it changes things

Good luck!

Add new comment