i have some python scripts initially developed under Rhino 5 which just show objects (points, clouds, lines, arrows) in a display conduit (using
DrawForeground) and do get frequent crashes in Rhino 6 SR 12 ((6.12.19029.6381, 29.01.2019). When Rhino crashes, all i do is toggling the visibility of objects in the display conduit from the commandline. I do not get a dialog to report the crashes nor do i get the text file on the desktop which could help to pinpoint the source. The dll listed in the crash dialog, which pops up is always
I have all my conduit related code in try / except blocks but do not get any exceptions fired at all. The crashes do not appear under Rhino 5. Below is what is shown in the dialog when Rhino 6 goes down:
Zusatzinformation 1: 57d1
Zusatzinformation 2: 57d1b217b3631ca7a6013087c8f7eca7
Zusatzinformation 3: bef5
Zusatzinformation 4: bef5a7f105bada7413ab4710ca9b211a
One source of a possible crash has been probably the method:
args.Display.DrawLines(lines, Color.Magenta, 1)
i’ve found that if an empty list of lines was passed, it crashed reliably. But even after removing above from my code, i still get random crashes. How can i track down why and where Rhino 6 crashes ?
I can provide code and example files via PM, but it is a lot of code.