-
-
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
Segfault when job queue is full #777
Comments
Another crash... this seems to happen with arpeggiator, when tweaking the knobs while the instrument is playing.
|
On commit 66c05f6
But that's all I'm doing nowadays, tweaking arpeggiator knobs live, and I've never seen a crash like that. I'll try and make it go down bad but so far nothing remotely suspicious going on. |
On 06/11/2014 10:06 PM, Oskar Wallgren wrote:
Easier to trigger it when you turn the speed all the way up to 25ms and |
Nope. 25ms works just fine. Short notes. Long notes. Overlapping notes. |
On 06/11/2014 10:35 PM, Oskar Wallgren wrote:
Ok, try it with LB302... might be I still have some issues unsolved there. |
Funny, after I recompiled from stable-1.1, now I can't seem to trigger it either... wonder what happened? |
Oh wait, now I can again. It's easiest to reproduce like this: enable both stacking + arpeggio, should crash pretty quickly. Problem is I can't get a backtrace: it just shows this
|
I think this is probably solved now. Will reopen if this happens again in 1.1. |
I get a crash similar to this one when rendering the project from #3223 after increasing the buffer size ( lmms/src/core/MixerWorkerThread.cpp Line 57 in efd0d34
|
I think implementing thread safe and extendable queue will resolve this problem. However, I wonder if there would be some performance issues. |
Boost has a lock-free queue implementation, but I remember there were problems with finding Boost in CMake scripts. Could we somehow (re-)implement the algorithm or something similar? |
@PhysSong A way to find Boost has been included with CMake for quiet some tie, are you sure there are issues with it? |
@PhysSong Are you sure? I don't see any reference to that in that PR, only that the PR used Boost but then it got removed because it was no longer necessary. His commit for adding Boost seems to be correct as well, but I might be missing something. |
@simonvanderveldt If I recall correctly, the troubles I had were with the MinGW build. Here's a link to the last Travis build before I abolished the idea of using Boost: https://travis-ci.org/LMMS/lmms/builds/269638905 It's definitely doable with Boost, I just couldn't be bothered with fixing it for cross-compiling back then. |
Just documenting the backtrace here for future reference
The text was updated successfully, but these errors were encountered: