Skip to content
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

Shutdown memory error message when using "Dummy" #2441

Closed
M374LX opened this issue Nov 12, 2015 · 1 comment
Closed

Shutdown memory error message when using "Dummy" #2441

M374LX opened this issue Nov 12, 2015 · 1 comment
Labels

Comments

@M374LX
Copy link
Contributor

M374LX commented Nov 12, 2015

As said in #2376, when using the "Dummy" audio device, the following error message is show at the program's shutdown:
*** Error in lmms': free(): invalid size: 0x00000000020169b0 ***`

Here is what happens, which may be related to this problem:

  1. By calling Mixer::stopProcessing(), the FIFO writer is stopped and deleted (audio devices, as opposed to audio file devices, typically use Mixer with the FIFO writer).
  2. The audio device (Dummy), still running, calls Mixer::nextBuffer() which now renders a new buffer without the FIFO writer, but it looks like something goes wrong.
@Umcaruje Umcaruje added the bug label Nov 18, 2015
@zonkmachine
Copy link
Member

This is fixed in #2793

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants