-
-
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
Mallets synthesizer segfault #1649
Comments
Linux builds can vary across distributions so we'll need more information about your specific setup to know if this is a bug or not. For starters, the OS and where you got the LMMS software package from so that we can reproduce. |
I'm running the latest LMMS packages from http://ppa.launchpad.net/kxstudio-debian/* on Debian 8 testing (Jessie). On this setup, all that needs to be done to reproduce is to drag the Mallets instrument into a song editor track, open the instrument window and press a key on the virtual keyboard. |
I'm getting weird segfaults when I don't have the |
Looking into this now. |
I had stk 4.4.4-5+b1 installed while getting this segfault. I should also mention that this is for a 64-bit build as this may also be relevant. |
The source of my confusion, we may be looking at 2 different bugs here |
Yeah, the OPs bug is likely more related to the libraries than the -Tres |
Here is what I can see when running from the command line: Stream successfully created Segmentation fault And here is what is in syslog: I don't see a debug build in the kxstudio repo so let me know what I can do to capture more information. |
Here's what gdb reports:
|
@pbella thank you for putting so much effort into this bug report. I cant seem to tigger this on my ubuntu system. I am going to try and clone your setup. would you be able to provide me with links to a few things please?
thanks, |
No problem. I'm also the person on lmms-devel having issues building lmms (I figure one way or another, we'll get things sorted out :-)
(I should also mention that other than the Mallets issue and a couple of relatively rare crash scenarios that I haven't narrowed down yet, LMMS has been quite usable on Debian 8 so far) |
i will try :) |
I cant seen to get Debian to boot from my only non broken usb stick, although ubuntu will just fine, I get a bios error about security booting from selected device. |
I can probably load this up in a VM... Will try to take a swing at it today. |
@pbella, Can you help me install the dependencies? I see your note about -Tres |
The first thing I'd try is to make sure to run 'sudo apt-get update' after installing the kxstudio package as your system may currently be pointing to an invalid mix of debian and kxstudio packages. Not sure why that would matter for stk as on my system it's showing as being from the debian repos:
It looks like you already have the kxstudio sources added, but here's what mine look like just in case... From /etc/apt/sources.list:
From /etc/apt/sources.list.d/kxstudio-debian:
From /etc/apt/sources.list.d/kxstudio-non-free:
|
Please wrap in code block tags,
|
Ok, so this line seems to allow the installation to continue (thanks):
Insert this:
Install via:
Launch LMMS $ lmms Add Mallets, play note, crash So I've reproduced the issue you are describing. Note the packages that are installed:
I agree that this is likely a packaging problem somewhere along the line. Just not sure if this is an upstream Debian problem or something related to the KXStudio packaging. @falkTX any idea? |
This is indeed a small problem in the kxstudio packaging. I haven't built stk statically yet, I'll do that soon. In the mean time you can grab libstk0c2a from and older debian version, and LMMS will then install just fine. |
I would tend to agree that a statically linked build would likely be better. Shared libraries work well when building for the main debian or ubuntu repos for a specific release, not so well when one package serves multiple distros or even multiple versions of a single distro. |
Closing this out since we can't fix it from a code perspective, but please feel free to continue commenting here as needed. 🍺 |
What would be the best way to propose changing the kxstudio builds to be statically linked? |
The kxstudio builds are static, I just haven't built stk as static yet. |
Thanks @falkTX |
FYI This is now fixed in the kxstudio repos. |
Thanks Filipe! |
Confirmed fixed after installing the new build. Thanks again. |
As of 1.1, the mallets synthesizer segfaults when attempting to play any note on Linux. I believe this was working in the previous release.
The text was updated successfully, but these errors were encountered: