Jump to content

[18.5 Geoscape] Crash when hitting ESC while on the soldier assignment menu


Recommended Posts

Hello,

This does not seem to be reported yet but i checked with an earlier version and it already existed.

Steps to reproduce:

- Go to the soldiers screen in the base

- Open the assignment dropdown menu to change a soldier's assignment

- Change your mind and hit ESC to go back to the geoscape

- Crash

It is 100 % reproduced for me, with my saves or a fresh new game.

For the technical side of things:

The instruction where the crash happens is

009D926D |. 8B49 04 MOV ECX,DWORD PTR DS:[ECX+4]

It tries to access the address ECX+4 which is: FEEEFEF2

This memory is not mapped.

the ECX register contains FEEEFEEE, which is the magic number used by microsoft to indicate memory that has been freed.

So my theory is the games fires 2 events when hitting ESC, one to close/delete the dropdown menu and one to close the whole page and go back to the geoscape. And when the dropdown menu event is handled, the page has already been closed so it tries to access freed memory ?

Obviously I might be wrong since i don't know the code, but it should be close enough.

Link to comment
Share on other sites

Well there is an easy workaround - don't press esc. The more urgent issues are the game breakers on the ground combat or on the geoscape for example that prevents you from progressing further in the game. If you browse around on the forum you will find a few. :(

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...