Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Debug Bodymovin Extension Crash during Export w/ Expressions #112

Closed
njho opened this issue Jan 29, 2022 · 2 comments
Closed

Debug Bodymovin Extension Crash during Export w/ Expressions #112

njho opened this issue Jan 29, 2022 · 2 comments

Comments

@njho
Copy link

njho commented Jan 29, 2022

It appears that bodymovin will crash with render failed randomly during our export.

@njho njho changed the title m Bodymovin Extension Crashes during Export w/ Expressions Jan 29, 2022
@njho njho changed the title Bodymovin Extension Crashes during Export w/ Expressions Debug Bodymovin Extension Crash during Export w/ Expressions Jan 29, 2022
@njho
Copy link
Author

njho commented Jan 29, 2022

It appears that we're able to debug the extension using:

chrome://inspect/#devices

And configuring the port addresses with the following
image

There I can verify that the reason it is failing is due to a broken else statement as it states it inside of the console.

image

Bodymovin uses Esprima.js in order to parse the expressions, and if there is a syntax error, it may crash.

@njho njho closed this as completed Jan 29, 2022
@bodymovin
Copy link
Owner

@njho if you find the expression that crashes it, it'd be great to share, so I can fix it, or at least catch the error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants
@bodymovin @njho and others