Open Lucretia opened 2 years ago
Hey @Lucretia,
Seems like your to plugins amp.so
and delay.so
are bricked and causing the crash. Do they work in other applications?
Seems they break guitarix as well. Both applications should catch any error, not crash without giving any indication of what happened and that's what both do.
Both applications should catch any error, not crash without giving any indication of what happened and that's what both do.
I'm not an expert on these system-level kind of thing but it looks like we are already doing this.
Well, I've installed the latest HEAD version, so that's not catching this error.
Here are the plugins which kills it (place inside ~/.ladspa):
Well.... There's not really a lot we can or indeed should do to recover from an error like this -- as soon as we've executed some potentially bad code from a plugin, there's no way to tell what damage that might have done to the process, so stopping more or less immediately is the right thing to do.
(We don't isolate ladspa plugins in a separate host process, they're executed as part of the hydrogen process. Changing this would be... a pain)
We certainly could try and emit some more helpful messages in the case of such a crash, though.
Seems they break guitarix as well. Both applications should catch any error, not crash without giving any indication of what happened and that's what both do.
I think that's because of LADSPA architecture - host application and plugins are so intertwined that when plugin crashes there's nothing really that could be done to recover host.
You can check if the load failed, and log it if it did. Then check if on initialisation of the plugin failed, and then log that too. Having some indication of what happened is better than nothing.
You can check if the load failed, and log it if it did. Then check if on initialisation of the plugin failed, and then log that too. Having some indication of what happened is better than nothing.
Yep, agreed
Although, if the app is going to kill itself, I'd prefer to be given a message box saying why if possible.
Although, if the app is going to kill itself, I'd prefer to be given a message box saying why if possible.
Yeah, this is also an issue -- errors go to the logs, not so much to anything the user will see unless they're looking at the console.
Although, if the app is going to kill itself, I'd prefer to be given a message box saying why if possible.
Yeah, this is also an issue -- errors go to the logs, not so much to anything the user will see unless they're looking at the console.
But a user who is faced with a silent crash, is going to want to know WTF just happened, message box. This is usability basics.
Indeed. Captured in #1592.
Although, if the app is going to kill itself, I'd prefer to be given a message box saying why if possible.
Hey @Lucretia ,
could you check whether the newest version of Hydrogen on master
serves your needs?
Hydrogen version * : HEAD @ 2109 hrs BST 23/02/2022 Operating system + version : Gentoo (testing) Audio driver + version : Pipewire-0.3.51-r1 (Jack)
Starting up from console:
Changing the files inside that dir to another extension, gives the same error, moving that dir allows the program to run as does moving the two plugin's out of that directory, they are amp.so and delay.so.