Open Veratil opened 3 years ago
Enabling FPE debugging (-DWANT_DEBUG_FPE=true) causes A LOT of trouble. I'm on a current KUbuntu 22.04, and current master yields this console output when I compile it with FPE debugging and try to add a Monstro or Sample as a track:
Enabling FPE debugging (-DWANT_DEBUG_FPE=true) causes A LOT of trouble.
As it's supposed to. It's for hard core troubleshooting. We test for issues that the user wouldn't have noticed if we fixed or not. You would not have this option enabled on a daily basis.
Following that @PhysSong tracked down an update fixing the function in CAPS 0.9.25.
I can confirm the fix. @Veratil I suggest you merge the patch above as a temporary fix until the caps submodule is done.
Edit: The update message in CAPS 0.9.25 is somewhat intriguing.
0.9.25
* potential gcc overoptimisation resulting in NaN in Kaiser window setup eliminated
(fix contributed by Jean Pierre Cimalando)
Bug Summary
When loading any demo projects containing the LADSPA CAPS Amp effect, LMMS crashes.
Steps to reproduce
demos/CapDan/CapDan-TwilightArea-OriginalByAlf42red.mmpz
)Expected behavior
LMMS loads the demo project
Actual behavior
LMMS crashes during load of demo project
Affected LMMS versions
LMMS 1.3.0-alpha.1.65+g623e35ca2 Unknown how further back this crash affects.
Logs
@PhysSong and myself start searching for clues starting here: discord message of gdb backtrace I tracked it back to this line. Following that @PhysSong tracked down an update fixing the function in CAPS 0.9.25.
Small backport of the function and I can load demos successfully.