-
-
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
Crash when previewing sample #5736
Comments
#5427 is suspect, I suppose, but I can't say I know why it would cause this to start happening. One thing I find suspicious is that the mixer seems to act as if it owns play handles added via
|
Yes. It looks like #5427 is the cause of this. I can't make lmms crash like this in the commit prior to this one. |
A more precise method to replicate this is.
|
Marking for 1.3 since it's a regression, but I'd love thoughts on the options above before I try to tackle this. I'm not particularly familiar with pointers. |
I got the following output with Valgrind: Click to expand
#5736 (comment) seems to make sense according to the output. |
So, does |
I will try reverting #5427 locally and check if the same error existed before. |
I could get a similar error, but very rarely. It seems like an underlying issue has been there for a long time. |
Found a much more reliable way to trigger the bug:
|
|
Adding Also, I feel like I should add
|
That's quite complicated. I think a number of functions in |
Doing so leads to several overlapping sample previews if you preview a new sample while an old one is auto-playing, so I wouldn't consider it a real fix. What about removing the logic that makes samples keep playing after mouse release? It's not really a fix either, but until I looked at this code I never really understood why samples sometimes stopped their preview and sonetines didn't. To me it's not particularly useful or intuitive, but I suppose it'd be good to get more opinions on this. |
Less than ideal, but should close #5736.
After some discussion in Discord, it's been decided that a new tag should be made once this is fixed. Discussion summary (hopefully accurate):
|
Question: LMMS currently removes all |
With the current state of our stop button I don't think it should. If we had a "silence everything" function it should stop previews IMO, but the stop button doesn't do that right now (it allows reverbs, note releases, and similar things to keep going). |
Got a crash when previewing a sample when running lmms in gdb.
-DCMAKE_BUILD_TYPE=Debug -DWANT_DEBUG_FPE=True
lmms version - master, 7808e0b with one unrelated commit on top.
Method to replicate
Logs
Click to expand
Edit: method to replicate issue updated
The text was updated successfully, but these errors were encountered: