-
-
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
LMMS freezes when you try to render audio twice #3397
Comments
Can you explain 'Bounce' -What does you do exactly? |
Sorry, render audio. |
I have been having a similar render issue for quite some time too on master branch ( crash on render ). I haven't delved into debugging the cause yet. From memory I think it may be GUI related ( not sure, but will work on this tonight ) I have been building against QT5 on Linux , so to rule that out I will build with the defaults in another folder too. * note to myself ...test with all possible audio backends and config settings * |
@zonkmachine has been running into export crashes with #3403, which I believe are related to this issue. I think the issue with this, (and any exporter related issues) is the renderer class itself, which I believe is causing a race condition with the audio mixer. |
The discussion in #2457 might contain some hints. |
@PaulBatchelor Can you still reproduce this issue with latest |
If you still able to do so, could you please post backtrace with all threads(using |
I am still able to reproduce this bug. I have attached both the project file and the backtrace below: |
I cant reproduce with your file on win32 rc4 (std settings wave)
In fact, could you list your exact reprocurable method? |
I'm running on Slackware Linux 14.1 64-bit, and I am using JACK version 0.124.1. Here are the steps I do to get the bug:
At this point, LMMS freezes. I have also tried variations where I save to different filenames. Same results. |
@PaulBatchelor Does LMMS still hangs if you use other audio backend? |
@PhysSong seems to work fine using ALSA. |
Linux issue, i step out |
@PaulBatchelor Are you able to get backtrace using gdb with
Anyway, does the first export breaks playback as well as the second export? Those results can be useful when investigating this issue. |
@PhysSong There's a backtrace zipped in this comment above: #3397 (comment) |
Ah, thanks! |
lmms/src/core/audio/AudioJack.cpp Lines 399 to 403 in 55076d0
After rendering finishes, I think this condition should be removed and replaced properly. |
FYI, #3207 might be fixed with the same way... |
Sorry folks, I found another bug which I can reproduce. LMMS really doesn't like this laptop of mine!
When I bounce an audio file, then go to bounce it again, it freezes. The GDB backtrace would seem to suggest that it's some sort of threading race condition.
gdb.txt
On a related but unrelated note, is there someone I can talk to off github whose knowledgeable about the part s of the codebase in charge of offline rendering? My email is thisispaulbatchelor at gmail dot com.
The text was updated successfully, but these errors were encountered: