Loading expansion causing crash
-
I'm getting a crash when loading full expansions. The debugger seems to indicate it's something to do with table LAF. I tried commenting all such functions from my project and expansion but that doesn't seem to have solved it. Any ideas?
-
This post is deleted! -
@d-healey Is it the same/similar issue ?
We are dealing with a crash using tables, although its when "mirroring" one table to another.
https://forum.hise.audio/topic/6802/hise-crashes-when-manipulating-table-data-objects -
@lalalandsynth No I don't think it's related (unless you are seeing the same thing in your debug log).
-
Can you make a example snippet?
-
@Christoph-Hart Will do, it will be a project rather than a snippet because it will need expansions
-
@Christoph-Hart I'm still working to make a minimal example of the table issue but in the process I found two other laf things that cause a crash, and for all I know it's also causing the table laf issue.
All that's needed to trigger both of these issues is to have a global laf object in the shell project.
The first crash will occur when you select an item in the preset browser and click the delete button (or I think any button that will display a modal dialog in the preset browser).
The second crash occurs when you have a keyboard floating tile in the shell project and you try to load an expansion.
I've included the expansion project in this zip in case you want to look at it, but there's nothing interesting there. The testPlayer project is the one that demos the problems.
-
More testing, the issue with the preset browser modal dialog causing a crash only seems to happen with a debug build.
-
@Christoph-Hart Any ideas about this?
-
Bump bump :)
-
@d-healey what kind of expansion is causing the crash out of interest?
-
@DanH Full, check the demo project I posted earlier this thread.
-
Yeah these were some trivial ones...
-
@Christoph-Hart Thank you! And this looks useful
"drawPresetBrowserDialog"
-
@d-healey It was already there, it just wasn't added to the list of available function names (which is why it asserted), but that is actually completely independent from the full instrument expansion mode.
-
Yep those two issues are solved! The table issue is still there though, I'm still trying to make a minimal example.