Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

QLinkHut segfaults when clicking on 'Play' (jack) #17

Closed
umlaeute opened this issue Oct 27, 2016 · 1 comment
Closed

QLinkHut segfaults when clicking on 'Play' (jack) #17

umlaeute opened this issue Oct 27, 2016 · 1 comment

Comments

@umlaeute
Copy link
Contributor

I'm building current HEAD (d4fb22b), on Debian/sid (amd64) (with g++-6, ignoring the issue #16 for now), including the QT examples, and have manually enabled JACK support:

$ mkdir build
$ cd build
$ cmake -DLINK_BUILD_QT_EXAMPLES=ON -DLINK_BUILD_JACK=ON ..
$ make -j -k
[...]
$

This gives me LinkHut, QLinkHut and QLinkHutSilent in bin/)

  • running bin/LinkHut seems to work
    • i get audible clicks
    • keystrokes work
    • running multiple instances, they sync
  • running bin/QLinkHutSilent seems to work as well
    • i get no audible clicks (expected)
    • clicking on Link i get 0 Links or 1 Links depending on the existance of other (Q)LinkHutSilence instances
    • instances sync
    • clicking on Play i see a colourful beat visualisation
  • running bin/QLinkHut almost works
    • i get no audible clicks
    • clicking on Link i get 0 Links or 1 Links depending on the existance of other (Q)LinkHutSilence instances
    • instances sync
    • clicking on Play i get a segfault 😢
$ gdb ./bin/QLinkHut
(gdb) run
Starting program: /foo/bar/ableton-link/build/bin/QLinkHut 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7fffee96d700 (LWP 12022)]
[New Thread 0x7fffee16c700 (LWP 12023)]
[New Thread 0x7fffed96b700 (LWP 12024)]
[New Thread 0x7fffed8ea700 (LWP 12025)]
[New Thread 0x7fffed869700 (LWP 12026)]
[New Thread 0x7fffe1810700 (LWP 12028)]
[New Thread 0x7fffd840f700 (LWP 12029)]
[New Thread 0x7fffd7c0e700 (LWP 12030)]
[New Thread 0x7fffd740d700 (LWP 12031)]
[New Thread 0x7fffd6c0c700 (LWP 12032)]
[New Thread 0x7fffd61d3700 (LWP 12033)]
[New Thread 0x7fffd48f7700 (LWP 12034)]

Thread 6 "QLinkHut" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffed869700 (LWP 12026)]
0x00007ffff77bcfe0 in ?? () from /usr/lib/x86_64-linux-gnu/libjack.so.0
(gdb) bt
#0  0x00007ffff77bcfe0 in ?? () from /usr/lib/x86_64-linux-gnu/libjack.so.0
#1  0x00007ffff77bd7c1 in ?? () from /usr/lib/x86_64-linux-gnu/libjack.so.0
#2  0x0000555555730d25 in ableton::linkaudio::AudioPlatform::audioCallback(unsigned int) ()
#3  0x0000555555730c2e in ableton::linkaudio::AudioPlatform::audioCallback(unsigned int, void*) ()
#4  0x00007ffff77ba01e in ?? () from /usr/lib/x86_64-linux-gnu/libjack.so.0
#5  0x00007ffff77b97e8 in ?? () from /usr/lib/x86_64-linux-gnu/libjack.so.0
#6  0x00007ffff77d1040 in ?? () from /usr/lib/x86_64-linux-gnu/libjack.so.0
#7  0x00007ffff7591464 in start_thread (arg=0x7fffed869700) at pthread_create.c:333
#8  0x00007ffff5bdf9df in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:105
@fgo-ableton
Copy link
Collaborator

Thanks. I also noticed yesterday. Did not notice before because it worked for buffer sizes <= 512. Should be fixed now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants