-
Notifications
You must be signed in to change notification settings - Fork 12
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
Plugins causing crashes on Fedora Linux #35
Comments
Hi, @REIS0. Just in case, did you build the plugins from source code? The binaries on release page of this repository are built on Ubuntu. They won't work on Fedora. This is unlikely, but perhaps Pango is missing on your system. Try installing it if that's the case. |
Pango is not missing so I'm guessing maybe the symlink to it in Fedora is different (this happened with other libraries) so I'll try building to see how it goes. EDIT: Unfortunately I couldn't build it, it gives me this error:
|
It's a bug on VST 3 SDK. The issue below has a solution to it.
|
It worked but I got another error related to the sdk, this is getting harder than it should
|
Okay, this is the first time I see that error. This is just a guess, but try running cmake --build . Or, disabling validator with cmake \
-DCMAKE_BUILD_TYPE=Release \
-DSMTG_MYPLUGINS_SRC_PATH="../../VSTPlugins" \
-DSMTG_ADD_VST3_HOSTING_SAMPLES=FALSE \
-DSMTG_ADD_VST3_PLUGINS_SAMPLES=FALSE \
-DSMTG_RUN_VST_VALIDATOR=FALSE \ # Add this.
..
cmake --build . If both of above doesn't solve the issue, please report the error to VST 3 SDK repository. The error indicates link failure on VST 3 validator. I don't have environment to test it for now, so can't provide a fix in this case. While I'd like to support Linux better, I can't do it without help from people who are familiar with the specific distribution. In case of macOS, there were several people who stepped up to help me debugging the issue. Some of those lengthy conversations aren't on this repository because it was done in email. Sorry for inconvenience. |
@ryukau No problem, unfortunately I can't help much since my knowledge with these specific stuff is basically none, I'll try to look more and give another try in the future. EDIT: Build completed with these workarounds but even so still crashes in Ardour, different error but still unusable. |
Sorry for late reply. I haven't noticed the edit. It's probably better to add a new comment when there is progress, so that I can get email notification. Did you get core dump on crash? I'll provide debugging instruction depending on core dump is there or not. Also, just in case, make sure to clean the previously installed plugin (Ubuntu builds) from |
In addition to above comment: To check if core dump is produced, run following command. coredumpctl list | tail Or, maybe coredumpctl list -1 If the bottom of the list is changing for each crash, then core dump is available. |
Unfortunately no changes and yes I'm cleaning the install every time. |
Steps to get debug information are following:
Details are written below. It might not work as intended, because this is the first time I use gdb this way. In this case, let me know about it. I'll work on it. 1. Reduce build timeEdit top level cmake_minimum_required(VERSION 3.20)
add_subdirectory(common)
add_subdirectory(CubicPadSynth) To restore top level git checkout -- CMakeLists.txt 2. Build plugin in debug modeRebuild is required. Change cmake \
-DCMAKE_BUILD_TYPE=Debug \ # Change here.
-DSMTG_MYPLUGINS_SRC_PATH="../../VSTPlugins" \
-DSMTG_ADD_VST3_HOSTING_SAMPLES=FALSE \
-DSMTG_ADD_VST3_PLUGINS_SAMPLES=FALSE \
-DSMTG_RUN_VST_VALIDATOR=FALSE \
..
cmake --build . I'm not sure if it's still the case, but if cmake is generating 3. Attach gdb to ArdourProbably following command can be used to get backtrace. gdb ardour
(gdb) r
# Ardour should be running here. Load debug plugin to trigger crash before next command.
(gdb) thread apply all bt full Once backtrace is obtained, copy it to here. If it's too long, Gist might be used. Above commands are paraphrase of this answer found in StackOverflow. |
I also found that Ardour has demo version for Windows. And the plugins on this repository worked on my Windows environment. So this issue seems specific to Ardour on Linux environment. |
Possibly, in my case I'm using the version pre compiled from ardour website. (don't know if this can be a fedora specific issue too) The only thing I've found that caught my eye was this, but don't know if was the crash cause:
|
The error messages can be ignored. It is about missing optional config file. As you pointed out, the use of pre compiled version might be the cause. Perhaps try a package provided by Fedora, and let me know if it works or not. dnf install ardour7 # or ardour6. |
same problem, if it work in Ubuntu I bet it's something related to fedora only, I won't be able to do much next days but I'll comment if I find something |
Could you download REAPER demo, and see if the plugins work on there? After extracting the archive, REAPER executable is found at Context: This comment shows Linux environment I used last time. There's a video on the linked comment, and the plugins were working on REAPER on Fedora at that point. So I'd like to know if the situation is changed. Edit: Added link to REAPER download page. |
@ryukau with Reaper is working indeed, I'll try to contact ardour devs to check what could be happening |
Some updates, Paul answered (even though I asked in the wrong place) and here's what he said:
|
Hmm. I think we hit a wall. I looked into if all the required packages for VST 3 SDK contains static libraries. However, following packages are missing static library file (*.a).
Links to Packaged Files on Debian, Ubuntu, and FedoraDebian unstable: Ubuntu 22.04: Fedora 38: This means that I have to build and include those libraries into this repository, but I wouldn't like to maintain static libraries which I'm not familiar with. My understanding is that the fully statically linked program may fail if the version of statically linked library is far diverged from the system library version. For example, if some config path is changed, then the program fails because it tries to search into old path. My concern is that I have no idea how stable above libraries were in the past, so I can't determine if including static library into this repository is good idea or not. So I won't likely work on this issue. However if someone is able to provide a solution, pull requests are welcome. A solution in this case probably requires to:
Probably, it only requires to change the codes in Another option might be to find a way to dynamically link Ardour dependencies, and to provide the information to Fedora packager. I'll keep open this issue, and sorry again for inconvenience. |
@ryukau I see, anyway thanks for helping me with it. |
I read somewhere that it might be possible to use the plugins, if both of Ardour and the plugins are built from source code. |
@ryukau I'll try this later on, unfortunately this last months some stuff appeared that need my attention so I won't be able to look at this issue for some time |
A plugin from V 0.62 cause crashes in Ubuntu 22.04/Reaper. The Accumulative Ring Mod will crash when other Uhhyou plugins are added. I started Reaper from the console, and there was the error in the console after Reaper crashed: |
@maxxatgit Thanks for the report. However it's probably not related to this issue. I opened another issue (#54). |
Closing due to no response. |
Trying some plugins on Ardour I got the following error after crashing:
Apparently this is happening with all plugins, so far all five I've tried got the same error.
But while this happens in Ardour, with Carla I got crashes with only
CubicPadSynth
,LightPadSynth
andFeedback Phase
. The logs from the crash were just saying basically "carla crashed" so nothing helpful.I'm currently using Fedora Linux 37.
The text was updated successfully, but these errors were encountered: