rust-lv2 icon indicating copy to clipboard operation
rust-lv2 copied to clipboard

MIDI Gate Example Crashes Carla

Open jrpear opened this issue 4 years ago • 6 comments

When I do:

git clone [email protected]:RustAudio/rust-lv2.git
cd rust-lv2
./install_examples.sh
export LV2_PATH=$PWD/target/lv2                        # or just add this path to Carla using its own settings
carla
# in Carla, Add Plugin -> Example MIDI Gate (Rust Version)

, Carla crashes after adding the MIDI Gate plugin. I get this output:

Carla 2.4.1 started, status:
  Python version: 3.10.0
  Qt version:     5.15.2
  PyQt version:   5.15.6
  Binary dir:     /usr/lib64/carla
  Resources dir:  /usr/share/carla/resources
Frontend pixel ratio is 1.0
libjack.so.0 loaded successfully!
No device set, using 2 inputs and 2 outputs
zsh: IOT instruction (core dumped)  carla

The other three examples don't have this issue for me.

jrpear avatar Dec 06 '21 01:12 jrpear

Update: now the 'fifths' example is giving me this issue too. I think I remember it working 10 minutes ago but now I'm not so sure...

jrpear avatar Dec 06 '21 01:12 jrpear

Are you running it on top of jack or pipewire? I think carla can be started with a -gdb command, maybe that helps to get some backtrace?

Jikstra avatar Dec 21 '21 16:12 Jikstra

Thanks for the bug report @jrpear ! :slightly_smiling_face:

After a bit on testing I can indeed reproduce the crash on Carla on my computer (running only on top of Pulse), but only on the latest development branch. I will investigate this further, but due to the holiday season I probably won't be able to work on this before a little bit.

prokopyl avatar Dec 25 '21 04:12 prokopyl

Ah great! To answer the last question, I was running Carla on pipewire. I've since wiped my disk and reinstalled my OS so I don't have any info beyond that I was running Fedora 35.

jrpear avatar Dec 26 '21 05:12 jrpear

Hi, i just tried midigate. while i wasn't able to reproduce the crash, midigate is definitively broken in the develop branch. It doesn't respond to note on message, the gate never open no matter the host i tried.

YruamaLairba avatar Jan 11 '22 23:01 YruamaLairba

weird, retried today, and it works now. I wonder what i did last time.

YruamaLairba avatar Jan 24 '22 15:01 YruamaLairba