asumagic / kag-staging

Issue tracker for the KAG staging build
6 stars 0 forks source link

Crash on Linux after pressing a key #66

Closed asumagic closed 4 years ago

asumagic commented 4 years ago

Linux version crashes once you press any button after joining the server:

terminate called after throwing an instance of 'utf8::invalid_utf8'
  what():  Invalid UTF-8
Aborted (core dumped)

But it doesn't crash if you launch it again (i.e. you join server the first time, press any button, it crashes, you start KAG again and join server and can play normally) I'm not sure what exactly determines if it will crash, but it seems rebooting is reliable way to force it to crash again. Also waiting several minutes before restarting forces it to crash the same way

(@jammer312 on discord)

asumagic commented 4 years ago

Cannot reproduce, but should be fixed by catching the exception in the SDL2 <-> Irrlicht event bridge.