libTAS icon indicating copy to clipboard operation
libTAS copied to clipboard

Loading savestate with different resolution causes crash

Open slamotas opened this issue 7 years ago • 2 comments

This crash occurred when playing Terminal Velocity in DOSBox. If SVGA mode is turned on in the graphics options, the resolution of DOSBox increases once the first stage starts. If a state from the menu is loaded after the resolution change, DOSBox crashes.

slamotas avatar Nov 02 '18 20:11 slamotas

Seems to work fine with meatboy, although the game window isn't resized properly.

Matte27 avatar Apr 08 '19 17:04 Matte27

Yeah, in PCem it will load the state without crashing, but not resize the window back. I never posted any error message, here's what I get with gdb for this crash:

X Error of failed request: BadShmSeg (invalid shared segment parameter) Major opcode of failed request: 130 (MIT-SHM) Minor opcode of failed request: 3 (X_ShmPutImage) Segment id in failed request: 0x2c00015 Serial number of failed request: 1498 Current serial number in output stream: 1499 [Thread 0x7fffec45c700 (LWP 30582) exited] [Inferior 1 (process 30559) exited with code 01]

This is not a huge priority, I can work around this and there aren't really any frame perfect inputs that have to be done between resolution changes.

slamotas avatar Apr 08 '19 19:04 slamotas