develop crashes my project
-
hello friends :) I just got my Mac setup and compiled develop branch, but when i open the NEAT player project (developed on master) it crashes instantly. I just tested it on my windows machine as well and get the same result
how can I start to debug this master -> develop transition?
-
Run HISE in the debugger and report the stacktrace of the crashes - or subsequently remove elements from your project to isolate the problem.
-
@christoph-hart said in develop crashes my project:
Run HISE in the debugger
How does one do this? Sorry I'm new to debugging, been lucky so far I think...
I built HISE for debug in VS, I assume that's step one
-
@iamlamprey just open HISE in VS (file>open project/solution) and launch debuggin process (new to this too but i do it like this)
-
@matt_sf Yes that works thank you!
@Christoph-Hart What should I be posting here? Something like...
Exception thrown: read access violation. __that was 0x20.
Line 494 of the MacroControlBroadcaster.h file
-
@iamlamprey the error message gives you info about what is making everything crash. What you can try is opening the script in an external editor and remove/comment the parts where you're using macro controls an reopen the project (obviously you want to backup your project first )
Just throwing an idea here, but the point is to isolate the problem so you can load your project and see what you can do to fix it.
-
@matt_sf Yeah it seems like it's a macro problem, which is unfortunate because the player relies on them pretty heavily... Thanks for your help :)
-
@iamlamprey But when you'll isolate the function which is making hise crash, you can rewrite it so you won't loose everything. Maybe it's the whole thing, maybe it's just a tiny function...
Of course regarding your NEAT project it wont be easy (nice one btw!)
Maybe one of our HISE gurus will have more knowledge about how to proceed... -
Line 494 of the MacroControlBroadcaster.h file
That doesn't exist. Can you make a screenshot of the stack trace at the crash?
-
-
@iamlamprey How many copies of the HISE source do you have on your system?
Your thread title is wrong, develop doesn't crash your project, your project crashes develop :p
-
@d-healey Just the one, the mac was a clean install as well
Your thread title is wrong, develop doesn't crash your project, your project crashes develop
touche
-
this probably could have been avoided if i was up to date on the develop/new layout and squashed this weeks ago, i was holding off using it in case it caused an error but now I regret it lol
-
@iamlamprey It crashes somewhere in scriptnode, so I would recommend removing all modules that use scriptnode to isolate the one that is faulty.
-
@christoph-hart Okay I'll give that a try, thanks for taking a look :)