Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 537496 - media-sound/qtractor - SIGABRT
Summary: media-sound/qtractor - SIGABRT
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Professional Audio Applications Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-01-24 01:54 UTC by jospezial
Modified: 2017-02-08 16:59 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
gdb qtractor (gdb_qtractor.txt,45.89 KB, text/plain)
2015-01-24 01:54 UTC, jospezial
Details
gdb_qtractor-0.6.5.txt (gdb_qtractor-0.6.5.txt,45.18 KB, text/plain)
2015-02-02 21:26 UTC, jospezial
Details
full backtrace with gdb (gdb.txt,36.77 KB, text/plain)
2015-06-01 13:31 UTC, jospezial
Details

Note You need to log in before you can comment on or make changes to this bug.
Description jospezial 2015-01-24 01:54:41 UTC
Created attachment 394744 [details]
gdb qtractor

I disabled all USEs for better debugging this.

USE="-libsamplerate -mad -rubberband -sse -vorbis -zlib" emerge -vat qtractor

These are the packages that would be merged, in reverse order:

Calculating dependencies... done!
[ebuild   R    ] media-sound/qtractor-0.6.4  USE="-debug -dssi -libsamplerate -mad -osc -rubberband -sse -vorbis -zlib" 0 KiB

Total: 1 package (1 reinstall), Size of downloads: 0 KiB

Would you like to merge these packages? [Yes/No] 
>>> Verifying ebuild manifests
>>> Emerging (1 of 1) media-sound/qtractor-0.6.4::gentoo
>>> Installing (1 of 1) media-sound/qtractor-0.6.4::gentoo
>>> Jobs: 1 of 1 complete                           Load avg: 2.29, 1.69, 0.85
>>> Auto-cleaning packages...

I hope this is not to much info:

Reading symbols from qtractor...Reading symbols from /usr/lib64/debug//usr/bin/qtractor.debug...done.
done.
(gdb) run
Starting program: /usr/bin/qtractor 
warning: Could not load shared library symbols for linux-vdso.so.1.
Do you need "set solib-search-path" or "set sysroot"?
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
[New Thread 0x7fffe7ab7700 (LWP 32369)]
[New Thread 0x7fffe72b6700 (LWP 32376)]
[New Thread 0x7fffe860d700 (LWP 32377)]
[New Thread 0x7fffe5a67700 (LWP 32378)]
[New Thread 0x7fffe5266700 (LWP 32379)]

Program received signal SIGABRT, Aborted.
[Switching to Thread 0x7fffe5266700 (LWP 32379)]
0x00007ffff4d26f97 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:55
55      ../sysdeps/unix/sysv/linux/raise.c: Datei oder Verzeichnis nicht gefunden.
(gdb) thread apply all bt full  

Thread 6 (Thread 0x7fffe5266700 (LWP 32379)):
#0  0x00007ffff4d26f97 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:55
        resultvar = 0
        pid = 32364
        selftid = 32379
#1  0x00007ffff4d283bd in __GI_abort () at abort.c:89
        save_stage = 2
        act = {__sigaction_handler = {sa_handler = 0x7ffff567c002, sa_sigaction = 0x7ffff567c002}, sa_mask = {
            __val = {9555584, 0, 140737351976160, 14, 140737304389376, 1, 140737304389507, 140737037884960, 
              140737301086899, 10, 140737301621465, 140737037887184, 140737301621465, 1, 16918384, 
              140737312912592}}, sa_flags = -183961040, sa_restorer = 0x7fffe5266700}
        sigs = {__val = {32, 0 <repeats 15 times>}}
#2  0x00007ffff5610745 in __gnu_cxx::__verbose_terminate_handler() ()
   from /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.2/libstdc++.so.6
No symbol table info available.
#3  0x00007ffff560e426 in ?? () from /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.2/libstdc++.so.6
No symbol table info available.
#4  0x00007ffff560e491 in std::terminate() () from /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.2/libstdc++.so.6
No symbol table info available.
#5  0x00007ffff560e6c8 in __cxa_throw () from /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.2/libstdc++.so.6
No symbol table info available.
#6  0x00007ffff560ecea in operator new(unsigned long) ()
   from /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.2/libstdc++.so.6
No symbol table info available.
#7  0x00007ffff5b5b7a1 in ?? () from /usr/lib64/qt4/libQtCore.so.4
No symbol table info available.
#8  0x00007ffff5b5ca34 in ?? () from /usr/lib64/qt4/libQtCore.so.4
No symbol table info available.
#9  0x00007ffff58ca486 in start_thread (arg=0x7fffe5266700) at pthread_create.c:310
        __res = <optimized out>
        pd = 0x7fffe5266700
---Type <return> to continue, or q <return> to quit---
        now = <optimized out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140737037887232, -7953846932910005730, 8388609, 
                140737354125312, 140737488340352, 140737488340352, 7953788052152885790, 7953824519432413726}, 
              mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, 
              canceltype = 0}}}
        not_first_call = <optimized out>
        pagesize_m1 = <optimized out>
        sp = <optimized out>
        freesize = <optimized out>
        __PRETTY_FUNCTION__ = "start_thread"
#10 0x00007ffff4dddbad in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109
No locals.

Thread 5 (Thread 0x7fffe5a67700 (LWP 32378)):
#0  pthread_cond_wait () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
No locals.
#1  0x00007ffff5b5d01e in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/qt4/libQtCore.so.4
No symbol table info available.
#2  0x00000000004a3012 in qtractorMidiManagerThread::run (this=0xf18780) at qtractorMidiBuffer.cpp:142
        r = <optimized out>
#3  0x00007ffff5b5ca8f in ?? () from /usr/lib64/qt4/libQtCore.so.4
No symbol table info available.
#4  0x00007ffff58ca486 in start_thread (arg=0x7fffe5a67700) at pthread_create.c:310
        __res = <optimized out>
        pd = 0x7fffe5a67700
        now = <optimized out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140737046279936, -7953846932910005730, 8388609, 
                140737354125312, 140737488339936, 140737488339936, 7953789152201384478, 7953824519432413726}, 
              mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, 
              canceltype = 0}}}
        not_first_call = <optimized out>
        pagesize_m1 = <optimized out>
---Type <return> to continue, or q <return> to quit---
        sp = <optimized out>
        freesize = <optimized out>
        __PRETTY_FUNCTION__ = "start_thread"
#5  0x00007ffff4dddbad in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109
No locals.

more as attachment
Comment 1 jospezial 2015-02-02 21:26:17 UTC
Created attachment 395416 [details]
gdb_qtractor-0.6.5.txt

Similar crash with qtractor-0.6.5.

But there is nothing about qtractorMidiManager or MidiBuffer in the bt.

Does the Mutex mean anything?
Comment 2 jospezial 2015-03-30 20:53:21 UTC
qtractor-0.6.6 crashes too.

Any help?
Comment 3 jospezial 2015-06-01 13:31:43 UTC
Created attachment 404412 [details]
full backtrace with gdb

The crash happens right after the start when the window appears.

=================================================================
                        Package Settings
=================================================================

media-sound/qtractor-0.6.7::gentoo was built with the following:
USE="libsamplerate mad rubberband vorbis zlib -debug -dssi -osc" ABI_X86="64" CPU_FLAGS_X86="sse"
CFLAGS="-march=native -O0 -g"


dev-qt/qtcore-4.8.9999::qt was built with the following:
USE="exceptions glib iconv icu ssl (-aqua) -debug -pch -qt3support" ABI_X86="64 -32 -x32"
CFLAGS="-march=native -O0 -g"


dev-qt/qtcore-5.9999::qt was built with the following:
USE="icu -debug -systemd -test" ABI_X86="64"
Comment 4 jospezial 2016-02-01 22:10:03 UTC
media-sound/qtractor-0.7.4 does run now.

I have tested all the other 0.7* ebuilds in the tree and can't reproduce the bug.
This could be because these versions all now have qt5 support.
But even when compiled against qt4 it does not crash.
Was it fixed upstream in QT or qtractor or perhaps in the ebuild? I don't know.


I noticed that in media-sound/qtractor-0.7.0-r1 and media-sound/qtractor-0.7.1-r1 configure can't find the the needed qt5 version because of undefined reference to 'qt_version_tag'.
This should be related to qt5.6 and is fixed since qtractor-0.7.2.
See also https://forums.gentoo.org/viewtopic-t-1036792.html


If compiled with USE="qt5" I see a message in the program log:

Problem creating accessible interface for:  QWidget(0x17dfde0) 
Make sure to deploy Qt with accessibility plugins.




=================================================================
                        Package Settings
=================================================================

media-sound/qtractor-0.7.4::gentoo was built with the following:
USE="libsamplerate mad qt5 rubberband vorbis zlib -debug -dssi -osc" ABI_X86="64" CPU_FLAGS_X86="sse"


dev-qt/qtcore-4.8.7-r1::gentoo was built with the following:
USE="exceptions glib iconv icu libressl ssl (-aqua) -debug -pch -qt3support" ABI_X86="64 -32 -x32"


dev-qt/qtcore-5.6.9999::qt was built with the following:
USE="icu -debug -systemd -test" ABI_X86="64"


dev-qt/qtwidgets-5.6.9999::qt was built with the following:
USE="gles2 gtkstyle png xcb -debug -test" ABI_X86="64"
Comment 5 Alexis Ballier gentoo-dev 2017-02-08 16:59:13 UTC
seems it was fixed upstream