-
-
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 closing #2584
Comments
This was introduced in ca7c90a Backtrace after closing directly after program start:
|
Ack, the Mixer gets destroyed before the effects, so there is nothing left to lock by the time EffectChain::clear() is called 😵. I could quick-fix this by checking if the mixer exists before locking it, but the shutdown sequence has been in need of a slightly larger overhaul for a long time. I propose to look into it after I chase down #2434. |
Sounds good to me. |
Woah, that's an unexpected new experience, automatically closing an issue by writing something in a commit message 😋. At any rate, I just pushed a rather trivial commit that fixes the newly introduced closing crash. Projects with peak controllers in them still crash when closing, however. This has to do with the rather funky way peak controllers are removed combined with the GUI not being there anymore but still being modified. I tried fixing that, but for every crash I got rid of another one surfaced. It'll need more attention, and it's a different issue. |
It is a very nice feature. It only works on the default branch, BTW (which currently is master). 👍 |
FYI i (win32 xp) does not have this issue with Qt5 PR (lmms-1.1.90-win32-qt5.exe) There is no mandatory crash after clicking red-X. Doubtful imo, that it is related with qt5, but something must have worked |
I think the reason you don't see this bug is because the issue was fixed before your build. |
Well, Windows handles the crashes a bit differently from Linux/Unix. In my experience, it's just less obvious. @musikBear load a 32-bit VST and then close the software and watch the remote plugin process hang forever in Task Manager. I also made a console version of the win32 build and you can see some errors before it closes (yes console is available via |
@tresf Yes i know about the hanging or orphan RemoteVSTprocess after a crash or a TM shutdown. I have cleaned them away often 👣
you mean kill the lmms process in TM, because then there are orphan every time. |
@zonkmachine has kindly 🙇 compiled a win32 RC2 1.2 for win32 and XP Not only did lmms RC2 close and disappeared from TM, all the VSTs was also correctly closed down and removed from memory. It look like this is not an issue on win 32 any more 👍 |
Thanks! Yes, it's pretty darn stable but no, I didn't compile the rc2.exe. I just linked you the new rc2. But please don't bump old issues that have been closed as fixed unless you see the problem still. This was closed as fixed almost a year ago on 24 Feb 2016 |
The program crashes instead of correctly closing when using File>Quit or the X button.
Windows 7 64bit 1.1.90
The text was updated successfully, but these errors were encountered: