# Crash

**URL:** <https://community.revolutionarygamesstudio.com/t/crash/3880>\
**Category:** Bug Reports\
**Tags:** crash\
**Created:** [September 7, 2021, 4:12pm UTC](https://community.revolutionarygamesstudio.com/t/crash/3880 "2021-09-07T16:12:21Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![muppi](https://thrivecommunity-cdn.b-cdn.net/user_avatar/community.revolutionarygamesstudio.com/muppi/32/6929_2.png) [@muppi](https://community.revolutionarygamesstudio.com/u/muppi)\
**Post date:** [September 7, 2021, 4:12pm UTC](https://community.revolutionarygamesstudio.com/t/crash/3880/1 "2021-09-07T16:12:21Z")

</div>

When I was playing Thrive it seems to have randomly crashed the log is  
[Launcher Log](https://pastebin.com/TJXubCkZ)  
[Game Log](https://pastebin.com/WNXpz8V2)

---

<div class="post-metadata">

**Author:** ![hhyyrylainen](https://thrivecommunity-cdn.b-cdn.net/user_avatar/community.revolutionarygamesstudio.com/hhyyrylainen/32/32_2.png) [@hhyyrylainen](https://community.revolutionarygamesstudio.com/u/hhyyrylainen)\
**Post date:** [September 7, 2021, 5:04pm UTC](https://community.revolutionarygamesstudio.com/t/crash/3880/2 "2021-09-07T17:04:50Z")

</div>

Nothing interesting in the logs. Can’t really do anything else than say that this is just one of the random crashes that happen. If anyone can try to pin down why the crash happens then we can start figuring it out.

You didn’t include the process exit code that the launcher will say. That can be used to find out if anyone else got the same crash (as the exit code is dependent on where/how the game crashed).

---

<div class="post-metadata">

**Author:** ![muppi](https://thrivecommunity-cdn.b-cdn.net/user_avatar/community.revolutionarygamesstudio.com/muppi/32/6929_2.png) [@muppi](https://community.revolutionarygamesstudio.com/u/muppi)\
**Post date:** [September 8, 2021, 9:25am UTC](https://community.revolutionarygamesstudio.com/t/crash/3880/3 "2021-09-08T09:25:45Z")

</div>

after installing thinkfan _in case my computer overheated_  
and after checking thinkfan logs it was not overheated _and touching my fan_  
this is the first error that i found

```auto
ERROR: i965: Failed to submit batchbuffer: Input/output error

```

> [@hhyyrylainen](#):
>
> You didn’t include the process exit code that the launcher will say. That can be used to find out if anyone else got the same crash (as the exit code is dependent on where/how the game crashed).

I have posted the new logs  
now  
[Launcher log](https://pastebin.com/QstpJZv0)  
[Game log](https://pastebin.com/HpDfC2pL)

---

<div class="post-metadata">

**Author:** ![Penguin](https://thrivecommunity-cdn.b-cdn.net/user_avatar/community.revolutionarygamesstudio.com/penguin/32/6749_2.png) [@Penguin](https://community.revolutionarygamesstudio.com/u/Penguin)\
**Post date:** [September 10, 2021, 12:34am UTC](https://community.revolutionarygamesstudio.com/t/crash/3880/4 "2021-09-10T00:34:27Z")

</div>

For me i saw that these random crashes happens when a spike or some weird collision body hits iron or another microbe and the game’s physics are trying to figure out what the heck is happening here and the calculation takes up all the memory.

also happy ~~birth~~ cake day @muppi!

---

<div class="post-metadata">

**Author:** ![muppi](https://thrivecommunity-cdn.b-cdn.net/user_avatar/community.revolutionarygamesstudio.com/muppi/32/6929_2.png) [@muppi](https://community.revolutionarygamesstudio.com/u/muppi)\
**Post date:** [September 10, 2021, 5:59am UTC](https://community.revolutionarygamesstudio.com/t/crash/3880/5 "2021-09-10T05:59:44Z")

</div>

> [@Penguin](#):
>
> also happy ~~birth~~ cake day @muppi!

How do you know my birthday?  
never mid just realised i set it

---

<div class="post-metadata">

**Author:** ![hhyyrylainen](https://thrivecommunity-cdn.b-cdn.net/user_avatar/community.revolutionarygamesstudio.com/hhyyrylainen/32/32_2.png) [@hhyyrylainen](https://community.revolutionarygamesstudio.com/u/hhyyrylainen)\
**Post date:** [September 10, 2021, 6:10am UTC](https://community.revolutionarygamesstudio.com/t/crash/3880/6 "2021-09-10T06:10:33Z")

</div>

> [@Penguin](#):
>
> and the calculation takes up all the memory.

I doubt that is the case.  
Godot has a habit of getting into an infinite loop spamming a repeating error message taking up a ton of disk space (and probably memory as well):

> <https://github.com/godotengine/godot/issues/45181>
>
> \*\*Godot version:\*\*
> 3.2.3.stable.mono (also previous versions at least as far ba…ck as 3.2.1)
> 
> 
> \*\*OS/device including version:\*\*
> GLES3, both Windows and Linux
> 
> 
> \*\*Issue description:\*\*
> When Godot engine encounters an error, it prints it to logs. It's good that all error text is printed (and ignores normal print limit per second), however I've experienced this a few times and gotten reports from players, that in some cases when Godot really locks up on some error, it will infinitely spam an error message as fast as possible. One user reported that before they managed to kill the Godot process, the log file was over 2 gigabytes large. I can't guarantee this, but I've also received 3 reports total that my game, that uses Godot, has caused the user's computer to totally lockup, and in 2 cases rebooting and trying to run the game again didn't work (the game files had become corrupted). So I very strongly think that there needs to be some limit in all Godot error printing to stop gigabytes of logs being generated that freeze computers.
> 
> This issue is related to: https://github.com/godotengine/godot/issues/37652 however this is not the same, as I'm saying that all of the error printing code should have an inbuilt fail-safe to kill the process before ridiculous amounts of repeating logs are printed.
> 
> 
> Game using Godot froze / locked up (presumably) in a physics related bug. Instead of the game properly crashing and process exiting, instead the process just stayed open printing the same repeating error in log files that ended up taking gigabytes of space. I expected that the engine would have some kind of fail-safe to just give up on writing logs at some point.
> 
> I tried to find an issue about this, but I only found specific cases where infinite errors are printed, and not a general report about the problem of really big log files.
> 
> \*\*Steps to reproduce:\*\*
> Enable logging to a file, then hit a very serious bug in godot, for example https://github.com/godotengine/godot/issues/37652 and wait some time while Godot is frozen to generate really big log files.

(our issue tracking that: [Fix infinite error log spam · Issue #2318 · Revolutionary-Games/Thrive · GitHub](https://github.com/Revolutionary-Games/Thrive/issues/2318))

---

<div class="post-metadata">

**Author:** ![muppi](https://thrivecommunity-cdn.b-cdn.net/user_avatar/community.revolutionarygamesstudio.com/muppi/32/6929_2.png) [@muppi](https://community.revolutionarygamesstudio.com/u/muppi)\
**Post date:** [September 10, 2021, 6:48am UTC](https://community.revolutionarygamesstudio.com/t/crash/3880/7 "2021-09-10T06:48:37Z")

</div>

also why do these random crahes stop after reinstalling?

---

<div class="post-metadata">

**Author:** ![hhyyrylainen](https://thrivecommunity-cdn.b-cdn.net/user_avatar/community.revolutionarygamesstudio.com/hhyyrylainen/32/32_2.png) [@hhyyrylainen](https://community.revolutionarygamesstudio.com/u/hhyyrylainen)\
**Post date:** [September 10, 2021, 6:56am UTC](https://community.revolutionarygamesstudio.com/t/crash/3880/8 "2021-09-10T06:56:26Z")

</div>

Unless the game gets really broken by a hard crash, reinstalling _shouldn’t_ do anything. At least before I’ve only advised people who could no longer start the game after a crash to reinstall, which got the game working again.  
There’s something in Godot that causes the engine crash sometimes to mess up the game files somehow.  
This is a really abstract observation so I’m not sure how I would even approach the Godot developers trying to report this problem. Which is why I’m really hoping that I could get someone else to report these kinds of engine issues to them (after all not using a custom engine anymore I’m no longer the engine developer for Thrive).
