Hello there, can somebody please help me track down a problem with my Faderport-2?
I have a Presonus Faderport-2 connected and configured as active control surface in Ardour. I get MIDI events from it, seen in the MIDI tracer.
And it works PARTIALLY: hitting the Faderport’s “Prev” Button, the track above gets selected as expected, the fader moves on the device.
But hitting the “Next” Button does NOT work: in master mode (“master” button is lit) it just does nothing that I can see. But when in section mode (“section” button is lit), Ardour becomes unresponsive and crashes (dumps core).
I get this behaviour with Ardour-6.9 as well as Ardour-7.1.
Now, I already opened a bug report a while back (#8960) but as it seems that the Faderport is generally regarded to be working perfectly I think it has to be a problem with my system in particular, and I might as well try to narrow it down myself. Or even solve it, I’d like to use the Faderport!
But I’ll need some help, as I have no idea where I should start looking.
What could be causing these crashes? How do I narrow the cause down?
Please, any hint is appreciated! And please ask me anything you’d like to know. I’ll start with basic system information and the top of the stack trace from the core dump.
Ubuntu 20.04.5 LTS 64-bit
GNOME 3.36.8
Ardour versions 6.9 & 7.1
Using ALSA backend with raw MIDI (but already tried with external JACK and different MIDI systems)
#0 __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
set = {__val = {0, 139858285922192, 12, 139858285922112, 46979119, 139858280672758, 206158430256, 139857221379816, 139857221379616, 7339277407984162304, 139857221379632, 7339277407984162304, 46979119, 94513459997787, 1, 101}}
pid = <optimized out>
tid = <optimized out>
ret = <optimized out>
#1 0x00007f334b1f7859 in __GI_abort () at abort.c:79
save_stage = 1
act = {__sigaction_handler = {sa_handler = 0x7f334b738740, sa_sigaction = 0x7f334b738740}, sa_mask = {__val = {94513464508408, 0, 0, 0, 0, 0, 0, 139858285952224, 24, 139857221380048, 0, 139857221380096, 94513449172859, 139858285905072, 6, 0}}, sa_flags = 4098, sa_restorer = 0x7f3300000000}
sigs = {__val = {32, 0 <repeats 15 times>}}
#2 0x00007f332f43b1c4 in ArdourSurface::FP2::FaderPort8::encoder_navigate(bool, int) () from /opt/Ardour-7.1.0/lib/surfaces/libardour_faderport2.so
No symbol table info available.
#3 0x00007f332f3fa4ea in ArdourSurface::FP2::FaderPort8::controller_handler(MIDI::Parser&, MIDI::EventTwoBytes*) () from /opt/Ardour-7.1.0/lib/surfaces/libardour_faderport2.so
No symbol table info available.
#4 0x00007f3353962113 in PBD::Signal2<void, MIDI::Parser&, MIDI::EventTwoBytes*, PBD::OptionalLastValue<void> >::operator()(MIDI::Parser&, MIDI::EventTwoBytes*) () from /opt/Ardour-7.1.0/lib/libmidipp.so.4
No symbol table info available.
#5 0x00007f335395c973 in MIDI::Parser::signal(unsigned char*, unsigned long) () from /opt/Ardour-7.1.0/lib/libmidipp.so.4
No symbol table info available.
#6 0x00007f335395cda4 in MIDI::Parser::scanner(unsigned char) () from /opt/Ardour-7.1.0/lib/libmidipp.so.4
No symbol table info available.
#7 0x00007f3353fb4de4 in ARDOUR::AsyncMIDIPort::read(unsigned char*, unsigned long) () from /opt/Ardour-7.1.0/lib/libardour.so.3
No symbol table info available.
#8 0x00007f3353fb3567 in ARDOUR::AsyncMIDIPort::parse(long) () from /opt/Ardour-7.1.0/lib/libardour.so.3
No symbol table info available.
#9 0x00007f332f3fa624 in ArdourSurface::FP2::FaderPort8::midi_input_handler(Glib::IOCondition, boost::weak_ptr<ARDOUR::AsyncMIDIPort>) () from /opt/Ardour-7.1.0/lib/surfaces/libardour_faderport2.so
No symbol table info available.
[…]