-
-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Carla segmentation fault #5525
Comments
I'm experiencing the same problem on Ubuntu 20.04, but gdb's logs are different in my case As gdb suggests, the crash is in line 175 of Printing the fDescriptor variable in gdb returns @6r1d is it possible to you generate the debugging version and check for the fDescriptor value. Maybe this can indicate something, I'm trying to dig deeper on it. |
Hello! Glad to see this discussion will continue. :-)
I'll try to start from the beginning. I am making a new clone of LMMS to my home directory as
Will this help? If not, tell me the commands you'd prefer me to run.
|
Yepp. Both of our programs are crashing at the same line as your fDescriptor is NULL too. I'll do some more investigation and keep you. |
It may happen when LMMS fails to find Carla plugin library. Have you installed separate Carla package? LMMS' Carla plugins won't work without them. |
UPD: I was able to build Carla by re-downloading the whole repo and rebuilding every little thing. Let's see how LMMS builds. UPD2: Carla patchbay and Carla rack work perfectly. Now, maybe Carla shouldn't be in the menu if it's not found at all and the message about it being unavailable should be in the config? Let's decide that before closing the issue. I tried to test your idea locally, but so far I can't prove or disprove it, since when I am trying to build Carla by simply typing
I wonder if it's version dependent. |
@6r1d I'll try to replicate these steps on my machine.
Maybe we should leave the plugins in the menu even if they're not installed, so new users can be aware of it. But throw an error message saying that the plugin is not installed, and obviously, fix the segfault that terminates lmms |
Is this issue fixed? What's the work around? It's 2023 and issue still exists. |
Hello. Issue still persists. Running the latest Arch Linux X86_64. |
If you have carla and the carla development packages both installed, try forcing a recompile by removing |
I ran into this exact issue when building from
Hope this helps. |
I think I found out why the bug happens. I guess until this gets fixed, the solution is to not use the lv2 and vst3 you have in your home folder |
Bug Summary
Immediate segmentation fault happens when I add Carla Rack or Carla Patchbay. It might be either Carla or LMMS issue, I'll move it to falkTX's repo if I should.
OS: Ubuntu 18.04.4 LTS (Bionic)
Hardware: Lenovo IdeaPad 330S-15ARR
QT version:
5.9.5
GCC version:
7.5.0
Last commit in log:
a05306
UPD: if anyone can tell me how to differentiate if wrong data is being fed into Carla Patchbay / Rack, or a current version causes an error by itself, please do.
Steps to reproduce
gdb lmms
run
in GDB to proceedExpected behavior
Being able to add Carla Patchbay / Carla Rack.
Actual behavior
Segmentation fault.
Affected LMMS versions
1.2.1.696, local build.
Sorry, I can't try to reproduce this bug with stable-1.2 branch, because it doesn't seem to support my current Qt version:
Logs
Click to expand
The text was updated successfully, but these errors were encountered: