Opened 7 months ago

Last modified 5 months ago

#10698 new defect

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 (3)

comment:1 Changed 5 months ago by digitall

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 Changed 5 months ago by digitall

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

comment:3 Changed 5 months ago by digitall

Component: --Other--Port: Linux
Note: See TracTickets for help on using tickets.