Opened 2 years ago

Last modified 2 months ago

#10698 new defect

BACKENDS: Linux (OPENGL/SDL) - BadMatch crash when switching from windowed to fullscreen

Reported by: dafioram Owned by:
Priority: normal Component: Port: Linux
Keywords: Cc:
Game:

Description

SDL: 2.0.7
OS: Ubuntu 18.04
Lastest scummvm

When switching from windowed to fullscreen sometimes the game crashes with BadMatch errors.

I can't reproduce this, it happens occasionally when switching from windowed. I think it it more likely to happen if the game has been running for a while windowed. I was playing riven at the time.

Here is two of the errors:

X Error of failed request:  BadMatch (invalid parameter attributes)
  Major opcode of failed request:  141 (RANDR)
  Minor opcode of failed request:  21 (RRSetCrtcConfig)
  Serial number of failed request:  1146968
  Current serial number in output stream:  1146968

X Error of failed request:  BadMatch (invalid parameter attributes)
  Major opcode of failed request:  141 (RANDR)
  Minor opcode of failed request:  21 (RRSetCrtcConfig)
  Serial number of failed request:  168885
  Current serial number in output stream:  168885

Change History (4)

comment:1 by digitall, 2 years ago

Would probably need to run ScummVM from gdb i.e. gdb ./scummvm, then type "run" at gdb command line and play game as normal. If / when the crash occurs you will be back at the gdb command line and can do "bt" to get a backtrace on the assertion / crash to see where this is triggered from and what the values of the function call stack is... that might allow debugging of this.

comment:2 by digitall, 2 years ago

Summary: GRAPHICS: OPENGL/SDL: BadMatch crash when switching from windowed to fullscreenOPENGL/SDL: BadMatch crash when switching from windowed to fullscreen

comment:3 by digitall, 23 months ago

Component: --Other--Port: Linux

comment:4 by raziel-, 2 months ago

Summary: OPENGL/SDL: BadMatch crash when switching from windowed to fullscreenBACKENDS: Linux (OPENGL/SDL) - BadMatch crash when switching from windowed to fullscreen
Note: See TracTickets for help on using tickets.