keeperfx icon indicating copy to clipboard operation
keeperfx copied to clipboard

Crash on battle window with floating spirits on the map

Open rainlizard opened this issue 2 years ago • 3 comments

I haven't bothered to look into the specifics.

  1. Play map: map00002.zip
  2. Open battle window
  3. Turn on frameskip and wait for crash

gdb.exe error message:

Program received signal SIGFPE, Arithmetic exception.
0x00506473 in draw_battle_head.part.0 ()

rainlizard avatar Aug 03 '22 08:08 rainlizard

Oops my bad, this was actually a very obvious one. It's because of the two Floating Spirit creatures on the map. Removing them stops the crash.

rainlizard avatar Aug 03 '22 08:08 rainlizard

I thought the game always crashed when you possess, query, or open a battle window on a fight involving a Floating Spirit?

AdamPlenty avatar Aug 03 '22 15:08 AdamPlenty

yes, and I could not find a listed issue for it. It's set to low because there's no support to use floating spirits, but crashing is never good. Better for it to just 'not work' and provide a log error.

Loobinex avatar Aug 03 '22 18:08 Loobinex