Page 1 of 1

[BUG] Bake Animation Script Crash

PostPosted: Wed Jan 10, 2018 8:55 pm
by Alvaro Castaneda
Hello everyone
I was trying to script a tool and was testing the Bake Animation script to use it as an example but as soon as you open the tool Fusion crashes, looks like an issue with the window system or something

This is on Linux Centos 7, Fusion 9.0.2

thank you

Re: [BUG] Bake Animation Script Crash

PostPosted: Wed Jan 10, 2018 9:38 pm
by Bryan Ray
Which version of Bake Animation are you using? The latest is 3.2, and it seems to work as expected in Fusion 9.0.1, Windows 7.

Re: [BUG] Bake Animation Script Crash

PostPosted: Wed Jan 10, 2018 9:56 pm
by Alvaro Castaneda
is 3.1
the one that comes with Fusion, the issue is the popup dialog, comes up and is blank then it crashes and I bet this is a Linux thing

Re: [BUG] Bake Animation Script Crash

PostPosted: Wed Jan 10, 2018 10:51 pm
by Bryan Ray
There were a couple of minor changes that need to be made for the script to work in Fusion 9. Download version 3.2 from here and see if it works: https://www.steakunderwater.com/wesuckl ... 489#p10924

The crash itself might be a Linux issue; it should just spit out an error to the Console View. Possible there's a bug of some kind in the error handler.

Re: [BUG] Bake Animation Script Crash

PostPosted: Thu Jan 11, 2018 1:53 am
by Alvaro Castaneda
Got the latest script, still crashes
I'm sure is about the GUI lib for that

fusionCrash.gif
Mr. Crashing Pants
fusionCrash.gif (631.99 KiB) Viewed 1463 times


and the only thing in the command line is

Code: Select all
New State 0x7fe7e0ef5d50
Segmentation fault (core dumped)


I ran some of this scripts https://www.steakunderwater.com/wesuckl ... f=6&t=1411 they are using fu.GUIManager and those run fine so I think the other script is using another GUI library and that library is the way to go for GUI related scripts

hope that helps

Cheers!

Re: [BUG] Bake Animation Script Crash

PostPosted: Thu Jan 11, 2018 4:48 pm
by Bryan Ray
How strange. The only GUI that script uses is the AskUser dialog, which is as basic as it comes—that thing should always work. Hopefully a Linux-enabled TD can take a look and try to get to the bottom of it.

In your Console window, run this command:

composition:AskUser("test", {})

If that crashes Fusion, then it's definitely time for a bug report.

Re: [BUG] Bake Animation Script Crash

PostPosted: Thu Jan 11, 2018 6:02 pm
by Alvaro Castaneda
Hey Bryan
I ran the command and yeah, exact same issue and behavior, crashes Fusion

thanks for checking that out

so where do you actually submit bugs?

by the way, love you blog. :)

Re: [BUG] Bake Animation Script Crash

PostPosted: Thu Jan 11, 2018 9:45 pm
by Sander de Regt
I always use this link to send support e-mails:

https://www.blackmagicdesign.com/support/contact/email

Re: [BUG] Bake Animation Script Crash

PostPosted: Thu Jan 11, 2018 10:52 pm
by Bryan Ray
There is also a bug tracker subforum at steakunderwater.com where we like to document issues.
https://www.steakunderwater.com/wesuckl ... m.php?f=19

It's unofficial, but at least it's visible to the public, and I believe at least a couple of devs are aware enough of it that they look in on it from time to time.

edit: Oh, and thanks for the compliment!