Burrito
Burrito copied to clipboard
burrito.x86_64 crashes on startup or freezes
Godot engine throws various exceptions when running the executable. Was working fine prior to upgrading nvidia drivers if that makes a difference(520->525). Using latest release and burrito_link works fine too. Snippet of errors:
ERROR: get_as_text: Condition "!f" is true. Returned: String() At: core/bind/core_bind.cpp:2126. ERROR: parse: Error parsing JSON at line 0: At: core/bind/core_bind.cpp:3292. ERROR: parse: Error parsing JSON at line 0: At: core/bind/core_bind.cpp:3292.
This looks like a JSON parsing crash. It is possible it is trying to parse a config file that is incorrectly formatted. That is definitely a bug.
https://github.com/AsherGlick/Burrito/blob/master/Settings.gd#L24
Check in ~/.godot/app_userdata/
to see if you can find an invalid or corrupted burrito config. Maybe just deleting it will solve your problem. If not maybe try creating a file with the same name that just contains the text {}
(and empty json object).
I will try and reproduce this myself when I get a chance because if this could be a very annoying bug if there is some corner case I missed around the settings file logic.
Actually this file seems to be ~/.local/share/godot/app_userdata/Burrito/settings.json
but that also does not seem to be the problem. I can reproduce a similar issue
ERROR: parse: Error parsing JSON at line 0: Expected '}'
At: core/bind/core_bind.cpp:3292.
ERROR: parse: Error parsing JSON at line 0: Expected '}'
At: core/bind/core_bind.cpp:3292.
by removing a trailing }
from a the config.
If the issue is happening while the game is running there is a chunk that is being sent from burrito_link that contains a block of JSON. Maybe the issue is parsing that data, like part of it is getting cut off.
How are you running burrito_link?