-
-
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 at 100% on export #5664
Comments
I've tried with the demo "CapDan-ReggaeTry". Launched from a terminal, it says the same: Note that even if LMMS freezes, the WAV file seems to be correctly exported (ie: I can read it with VLC). |
How long are you waiting to determine that LMMS is frozen? I know on my system, LMMS sometimes sits several seconds at 100% before the export completes. You mention that you've succesfully exported projects before; what's changed since then? What was the latest configuration that worked? |
@Spekular I've just run a test for 5 full minutes and it still is frozen. Edit: 50 minutes and it sill is frozen. I had to Ctrl-C it. |
It happens to me too. opensuse TW |
@ViperZer0 & @Daniele71 |
Opensuse Tumbleweed here. It works with SDL backend ! |
Same for me. Tested the export with the SDL backend, then tested with the ALSA backend, that works fine. |
Super! Thank you both @trebmuh & @Daniele71 for your feedback! |
You're welcome. If that can help, I'm using a debian 1.9.14~dfsg-1 backport version of JACK2. |
The same problem is in master (I downloaded&compiled it at 15.09.2020). I use Debian Buster : libjack-jack2-dev 1.9.12~dfsg-2 P.S. |
Can someone provide a backtrace of the hang? See https://github.com/LMMS/lmms/wiki/Debugging-LMMS. |
With stable release (1.2.2) compiled with QT4 i found, that Hung in
//fifo_buffer.h :: line 69 I made some fprintf(stderr, ...) to trace problem with session (last project DnB) exporting mp3 with default setting. [----] With jackd device: [Actual files are: fifo_buffer.h , Mixer.cpp , RenderManager.cpp ] |
I found more bugs in rendering: the same is in portaudio device: But with soundio device there is SegFault on export start (exception with compiled version, but infinite loop with AppImage 1.2.2): P.S. |
I clear this: But I think it is not more actual ... |
This bug is related to #2638 [Thank You, PhysSong !] This can be formulated: Some (playable) devices have problems in Mixer::stopProcessing(): jackd and (sometimes) portaudio : P.S. In my experiment I replaced with void Mixer::restoreAudioDeviceWithQuality( const struct qualitySettings & _qs ) In original code |
Sorry for my mistake ... soundio crash with segmentation Fault in Mixer::startProcessing() ; but problem is in Mixer::stopProcessing() Line in AudioSoundIo.cpp:
} |
It seems that this bug can be fixed by adding only one line:
Patch file: But I have one pending PR ... |
It doesn't matter how many pull requests you had open. Made new PR if it fixes issue. |
It seems that I instead have added change to my pending PR ... |
Not that much at this moment. We can split them before merging if we should. |
I think it would be better to work with them both (not splitting): second change is too small - only 1 line. |
PR patch against stable LMMS 1.2.2 : |
Fixed in #5681. |
Awesome. |
Bug Summary
LMMS freezes at 100% on any exports that I try. I have tried to export three different projects, one which was new, and two older projects which I know had at one point successfully exported. Each one freezes at 100% and one closes entirely. Running LMMS from a terminal gives me the following error when the freeze/crash happens:
QMetaMethod::invoke: Unable to handle unregistered datatype 'MidiTime'
The project that crashes gives an additional segfault.
Steps to reproduce
Expected behavior
Project should export successfully.
Actual behavior
LMMS freezes and sometimes segfaults at 100% exported, throwing the error
QMetaMethod::invoke: Unable to handle unregistered datatype 'MidiTime'
Affected LMMS versions
Version 1.2.2
Arch Linux
JACK Audio
The text was updated successfully, but these errors were encountered: