[trunk] Enabling JACK in Preferences causes crash

• Dec 1, 2011 - 12:56
Type
Functional
Severity
S2 - Critical
Status
closed
Project

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

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 ?? ()

Status (old) active patch (code needs review)

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:

  • Use JACK MIDI: ON
  • Use Internal synthesizer: ON
  • JACK Audio Server: ON
  • PortAudio: OFF
Attachment Size
jack-crash-fix.patch 2.01 KB
Status (old) needs info closed

Can't reproduce on Ubuntu 13.04, commit 4210646.
Checked with jackdbus running and not running.