Hi All,
Can anyone help with a problem I am having regarding Rhino crashing whenever I try to open the C# editor in GH and type something? If I just open the editor not much happens, until I start typing, and Rhino crashes:
System::AppDomain::CurrentDomain->UnhandledException event occured
SENDER: Name:DefaultDomain
There are no context policies.
EXCEPTION: System.ExecutionEngineException
MESSAGE: Exception of type ‘System.ExecutionEngineException’ was thrown.
SOURCE:
CALL STACK
Regards,
Ryan
Hi Ryan,
where did you copy that information from? A messagebox? The crash-dump report? The command line?
Is there any callstack data?
Hi David,
This is the entire contents of RhinoDotNetCrash.txt a crash report, I’m guessing/
No, there isn’t anything else, it’s quite difficult to see where the error comes from.
I should add that over the course of last night / this morning, this has begun to happen more sporadically, and now it seems that I can sometimes go in and edit scripts / write new ones…it’s just difficult to know when it will crash.
Ryan
The vast majority of crashes originating with the code editor are due to the multi-threaded syntax parser in the text-editor controls we use (QWhale, but hopefully we’ll have a good alternative soonish). Since the exceptions come from threads or otherwise at very unpredictable times, it’s difficult to catch them for me and prevent an application shutdown.
I haven’t heard about this particular problem before though, so it may be due to some unfortunate interference between QWhale and your specific system setup…? Maybe.
Does the VB editor also crash?
Thanks for the reply David.
I’ll keep an eye on it and see how things go.
It seems to be back working again, and VB looks good too. I will update if anything changes 
Best,
Ryan