[trunk] Enabling JACK in Preferences causes crash
Hi,
If I enable JACK in the preferences, pressing OK crashes the app with segfault.
Here is a stack trace:
#0 0x00007ffff19b982b in ?? () from /lib/x86_64-linux-gnu/libc.so.6
#1 0x00000000008e3710 in Seq::process (this=0x22eb600, n=1024, lbuffer=0x0, rbuffer=0x0)
at /home/csillag/local/src/musescore/mscore/mscore/seq.cpp:578
#2 0x0000000000a3a8ff in JackAudio::processAudio (frames=1024, p=0x3386a80)
at /home/csillag/local/src/musescore/mscore/mscore/jackaudio.cpp:367
#3 0x00007fffeaa91c32 in ?? () from /usr/lib/libjack.so.0
#4 0x00007fffeaaa57a0 in ?? () from /usr/lib/libjack.so.0
#5 0x00007ffff2d01b40 in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#6 0x00007ffff1a0f36d in clone () from /lib/x86_64-linux-gnu/libc.so.6
#7 0x0000000000000000 in ?? ()
(this is latest SVN)
* * *
With other applications, my JACK installation works perfectly well.
(I am using jack2 v1.9.7 )
Is this a bug?
Thank you:
Kristof
Comments
Some clarification.
I was trying to use JACK MIDI (to connect to a synth).
On the other hand, JACK audio (with built-in synth) works OK.
Please provide more information about your OS, which linux distribution? Also what's the last SVN for you? this bug report could be read in several weeks. Can you give the revision number?
Just reproduced this with SVN version r5065, on a Debian stable/testing/unstable hybrid installation.
Here is the current stacktrace:
#0 0x00007ffff19b982b in ?? () from /lib/x86_64-linux-gnu/libc.so.6
#1 0x00000000008e3780 in Seq::process (this=0x2369b60, n=128, lbuffer=0x0, rbuffer=0x0) at /home/kristof/local/src/musecore/mscore/mscore/seq.cpp:578
#2 0x0000000000a3a96f in JackAudio::processAudio (frames=128, p=0x2478790) at /home/kristof/local/src/musecore/mscore/mscore/jackaudio.cpp:367
#3 0x00007fffe8f22c32 in ?? () from /usr/lib/libjack.so.0
#4 0x00007fffe8f367a0 in ?? () from /usr/lib/libjack.so.0
#5 0x00007ffff2d01b40 in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#6 0x00007ffff1a0f36d in clone () from /lib/x86_64-linux-gnu/libc.so.6
#7 0x0000000000000000 in ?? ()
Fix for this issue.
Please note that for using jack-midi, exactly the following checkboxes on I/O-settings have to be checked, in order to have jack-midi working:
would this need to be turned into a pull request on GitHub?
Is this still applicable?
I cannot replicate this in Linux (to be precise, Linus Mint 17), even if JACK is not actually running.
M.
Can't reproduce on Ubuntu 13.04, commit 4210646.
Checked with jackdbus running and not running.