editorData.json causing segfault with css
-
I've been trying to solve a segfault all day, I thought it was due to some library that I'd updated on my system.
Running in a debugger I hit on this line
addEditor(externalFile->getFileDocument(), isJavascript);
In PopupEditors.cpp, and I remembered that the last time I had HISE opened I'd been experimenting with external CSS files.
So then I decided to remove my HISE config folder, and then HISE opened without issue.
Looking into it further I went into the editorData.json file and found a reference to my external css file. Removing that reference HISE opens.
-
@d-healey Did that CSS file still exist or was it just not used in the current state? Trying to replicate this here as good as possible
-
@Christoph-Hart Yeah it still exists. I wonder if it's because I don't destroy all the script editor tabs each time HISE is closed/opened...
-
@d-healey Good catch, it was indeed crashing when I was opening HISE with a CSS editor in a floating window that will not be cleared on shutdown. Should be fixed now.
-
@Christoph-Hart Yep all fixed now, thanks - you've been a busy bee today!
-
-