-
Notifications
You must be signed in to change notification settings - Fork 514
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Occasional crashes when rescanning autoload dir on Windows #168
Comments
Are you able to trace which commit introduces this? |
I did a bunch more testing and it seems to only happen when local config files are being used, as was the case with the two portable CI builds I tried initally. Using the CI builds with a config file from the appdata folder the crashes no longer happen. I tested build 8962 from here and that version is also affected. So probably an issue with the local config logic used in Aegisub in general. |
Figured this out on the discord. For future reference here the summary. Aegisub/src/libresrc/default_config.json Lines 290 to 294 in c218db6
When using a local config ?user gets set to the value of ?data Lines 182 to 184 in c218db6
Causing the lines to effectively be ?data/automation/autoload/|?data/automation/autoload/ , which means the automation folders get loaded twice.Line 325 in c218db6
I would assueme the actual crash happens because of some race condition. |
I was unable to reproduce these crashes under Linux and they are not 100% consistant.
Tested on both arch1t3cht's build and this build.
Requires certain automations to be installed.
Installing l0.Nudge and rescanning the autoload dir a couple times triggers the crash. Though they can also happen on startup causing Aegisub to not even open.
I have observed different behaviors. Sometimes only a script fails to initialize with this error message:
Rarely I get this exception:
Attaching windbg I get this error on crash:
The text was updated successfully, but these errors were encountered: