-
-
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
SIGSEGV when closing empty PianoRoll #2050
Comments
Thanks for submitting the bug report. Please surround stacktraces in ``` tags. I've done this for you out of courtesy. Also, can you edit your original bug report with specific information about how to reproduce. This must include:
-Tres |
Platform : Linux chaos 4.0.2 SMP x86_64 , qt-4.8.5
|
@psilhavy, thanks, we'll take a look. |
Looks like this might be fixed in master? I get the crash on stable-1.1 but not on master. |
Not affecting me on master either - using Ubuntu 15.04 & gcc 4.9. |
Since we've no plans to patch |
I guess there wouldn't be interest in a PR for this fix (let me know if I'm wrong about this), but since it's stupid simple, here's the patch I've been using. In case anyone finds it useful.
I've been using this applied on top of |
Interesting. This seems like a bug that has appeared intermittently throughout development. It does effect the current master (commit 96a1d41), however I have an older install from 4 weeks ago that is immune to this bug (not sure as to why). To reproduce on current master, just launch LMMS and hit F7 (shortcut to open Piano Roll) once it loads. Looking through the source code, it doesn't appear that the |
And if you submit a PR for this, I'd say to target it against master since 1.1 is so near the end of its life. |
This prevents a segmentation fault when closing an empty piano roll, fixing issue LMMS#2050.
IMHO This PR should be merged. I tested it and it works 👍 |
I'm closing this now that @ThomasJClark's fix has been merged. |
This prevents a segmentation fault when closing an empty piano roll, fixing issue LMMS#2050.
Platform : Linux chaos 4.0.2 SMP x86_64 , qt-4.8.5
LMMS Version 1.1.3
LMMS from git stable-1.1
How to cause SIGSEGV :
The text was updated successfully, but these errors were encountered: