Opened 16 months ago
Closed 16 months ago
#808 closed Bug Report (fixed)
jalv segfaults when applying preset
| Reported by: | rekado | Owned by: | dave |
|---|---|---|---|
| Priority: | major | Component: | Jalv |
| Keywords: | segfault | Cc: |
Description
I get a segfault in jalv after applying a preset from the menu. This applies to presets saved by jalv and those bundled with the plugin.
JACK version: 1.9.8 (with dbus support)
Backtrace:
#0 0x00007ffff7162260 in jack_ringbuffer_write_space () from /usr/lib/libjack.so.0 #1 0x00007ffff716248d in jack_ringbuffer_write () from /usr/lib/libjack.so.0 #2 0x000000000040549e in jalv_ui_write () #3 0x0000000000406cd5 in set_port_value () #4 0x00007ffff7bcf337 in lilv_state_restore () from /usr/local/lib/liblilv-0.so.0 #5 0x0000000000406da7 in jalv_apply_state () #6 0x0000000000406e03 in jalv_apply_preset () #7 0x0000000000407a36 in on_preset_activate ()
I'm not sure if a segfault in jalv is ever justified if the plugin is broken. (I'm testing with http://elephly.net/lv2/mdaEPiano, which may or may not be broken.)
Attachments (1)
Change History (8)
comment:1 Changed 16 months ago by dave
comment:2 Changed 16 months ago by rekado
The same happens with calf monosynth. Full backtrace attached.
(I'm using a slightly older but working version from git, as my ISP blocks git access to repo.or.cz.)
comment:3 Changed 16 months ago by dave
I'm guessing this is a Jack2 problem, or a dirty build...
comment:4 Changed 16 months ago by rekado
I'm also getting this message during start-up:
warning: Old JACK, using default MIDI buffer size 4096
Does this mean that jalv erroneously assumes I use Jack1?
comment:5 Changed 16 months ago by rekado
I removed jack2, installed jack1 through the distro package manager, cleaned the build, configured, made, and installed the whole lad repo, but I still get the very same segfault.
comment:6 Changed 16 months ago by dave
comment:7 Changed 16 months ago by rekado
- Resolution set to fixed
- Status changed from new to closed
Just tested with both plugins: it's fixed.
(Couldn't test further because of the segfault reported in #802, but selecting a preset doesn't crash jalv anymore.)

Works fine for me with calf Monosynth...
Please use a debug build.