giada
giada copied to clipboard
Selecting PulseAudio for Sound System and ALSA for MIDI System will cause a segfault
Environment
- OS: Pop!_OS 21.10
- Giada version: Reproduced on v0.16.2 .deb, and v0.21.0 Flatpak + AppImage
Describe the bug Selecting PulseAudio as the Sound System and ALSA as the MIDI System Clicking "Config" causes a segmentation fault.
To Reproduce Steps to reproduce the behavior:
- Launch Giada from the console (to view stdout/stderr)
- Click on 'Config'
- Set the Sound System to PulseAudio
- Set the MIDI System to ALSA
- Restart the application
- Click on 'Config' again
- Observe the application has crashed, see console output
Expected behavior Graceful handling of unsupported config options.
Additional context
➜ ~ giada
[init] Giada 0.16.2
[init] Build date: 2020-11-19
[init] Dependencies:
[init] FLTK - 1.3.5
[init] RtAudio - 5.1.0
[init] RtMidi - 4.0.0
[init] Libsamplerate
[init] Libsndfile - libsndfile-1.0.31
[init] JSON for modern C++ - 3.9.1
[init] JUCE - 5.4.7
[midiMapConf::init] scanning midimaps directory '/home/joshua/.giada/midimaps/'...
[midiMapConf::init] unable to scan midimaps directory!
[midiMapConf::read] midimap not specified, nothing to do
[init] MIDI map read failed!
[KA] using system 0x6
[KA] No API available, nothing to do!
[mixer::init] buffers ready - framesInSeq=88200, framesInBuffer=0
[KM] using system 0x2
[KM] 1 output MIDI ports found
0) Midi Through:Midi Through Port-0 14:0
[KM] 1 input MIDI ports found
0) Midi Through:Midi Through Port-0 14:0
[1] 15505 segmentation fault (core dumped) giada
@ranguli can't reproduce here on Debian 11. Could you please attach the giada.conf file located in ~/.giada?