Script crashes Fusion 360, reliably

Script crashes Fusion 360, reliably

Anonymous
Not applicable
622 Views
2 Replies
Message 1 of 3

Script crashes Fusion 360, reliably

Anonymous
Not applicable

This js code provides a function HelloWorld().buildTSlot(application).  If you call it from the default script that's provided when you create a new script, in a drawing that has at least one sketch, Fusion 360 will crash.

 

(Just add HelloWorld().buildTSlot(app) right after the line "var app = adsk.core.Application.get() to a default script)

 

https://gist.githubusercontent.com/banshee/9d8dee0ba8f8964a42cc/raw/c9f88647f0787fe3d762c2f624ee320a...

 

Edit: here's one of my crash reports: CER_108820653

0 Likes
623 Views
2 Replies
Replies (2)
Message 2 of 3

marshaltu
Autodesk
Autodesk

Hello,

 

I had a try according to the steps you gave. Unfortunately I cannot reproduce the crash. In my machine, I saw sketch was rotated by 90 degree. 

 

From the callstack in CER report, it should be known issue. We have seen the kind of crash with different workflow in Fusion 360. A defect has been logged to track the issue in our internal system. 

 

Thanks,

Marshal



Marshal Tu
Fusion Developer
>
0 Likes
Message 3 of 3

Anonymous
Not applicable
FYI, I saw a similar thing in a newer release, so I posted a different script that had similar crashing behaviors: http://forums.autodesk.com/t5/api-and-scripts/script-to-crash-fusion/td-p/5570757
0 Likes