Tom_P
September 15, 2023, 5:17pm
1
Editing a c# script with the new Editor
in mac os x , intel based.
i sent crash report twice:
a=null;
edit the return-value will crash Rhino completely.
double click on “null” to select it → crash.
Recommended to save frequently while editing a script.
@eirannejad hopefully you can find my crash-reports and figure out why this happens.
1 Like
eirannejad
(Ehsan Iran-Nejad)
September 15, 2023, 5:31pm
3
I’ll test this today and I found your recent 5 crash reports. Thank you!
Tom_P
September 15, 2023, 5:43pm
4
where you able to repeat - otherwise i can try to find a repeatable crash-production… ?
1 Like
eirannejad
(Ehsan Iran-Nejad)
September 15, 2023, 5:45pm
5
Not on Windows. I’ll try this on macOS. That would be great if you can share a script and steps that would cause the crash. I can see the crash log and where it happens. Just not sure why
Tom_P
September 15, 2023, 6:53pm
6
the following steps allow a repeatable crash:
start Rhino
new document, small objects mm
start grasshopper (tutorials are shown)
double click on canvas and add a script component (the component already is set c# - from the last use ?)
double click the component to open the script once to have type hints available
close the script
set type hint for x and y to double
add a float-parameter set it to 0.33
wire float to x and float to y
add a single line at the really top
double result = a + b;
doulbe click “null” on the a=null
line to select the full word “null”
press delete
crash (rhinocode,grasshoper, rhino)
systemInfo_tom_p_2023-09-15.txt (4.9 KB)
ok - caught on CCTV:
kind regards -tom
1 Like
eirannejad
(Ehsan Iran-Nejad)
September 15, 2023, 10:25pm
7
OMG This is great!! Thank you!!! I’ll get it fixed!
eirannejad
(Ehsan Iran-Nejad)
September 18, 2023, 6:11pm
8
Okay I got this fixed and will be available in the next build
2 Likes
Tom_P
September 18, 2023, 6:21pm
9
…so you where able to repeat the crash…
great / thanks
1 Like
eirannejad
(Ehsan Iran-Nejad)
September 18, 2023, 6:24pm
10
I was in my unit tests. Had something to do with how line numbers start from 0 or 1
Just normal bad code hahaa
Thanks for catching it and the videos