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

Loading of project hangs non-deterministicly when using "Allpass delay line, noninterpolating" #6920

Open
michaelgregorius opened this issue Oct 3, 2023 · 0 comments
Labels

Comments

@michaelgregorius
Copy link
Contributor

Bug Summary

While working on #2068 I have used the attached test project LADSPA-TestProject.zip to check how various LADSPA effects look. From time to time when loading the project LMMS got into an infinite loop, the loading progress stayed at 20% and I had to kill it.

Steps to reproduce

Unfortunately, this issue cannot be reproduced in a deterministic fashion. Just load the project file in LADSPA-TestProject.zip repeatedly until the hang occurs.

Expected behavior

The file loads without problems.

Actual behavior

The loading of the file hangs the whole application.

Results from debugging

Debugging with gdb showed that the problem is caused by the LADSPA plugin "Allpass delay line, noninterpolating" which is contained in the project.

The application hangs in line 66 of allpass_1895.xml. In my case the value of size was 0 and the value of minsize was 2214592512 during the hang. This then results in never ending bit shifting in the main thread.

Affected LMMS versions

Current master at 8b94bd8 and potentially all older versions.

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

1 participant