mojira.dev
MC-203547

Crash when turning on monitor

Steps to reproduce (in my environment):
> Turn the monitor off
> Turn it on again
> Wait up to 10 seconds, it will crash. If you were in the menu screen, enter any world and it will crash
It started crashing in 1.16.4 (or maybe in RCs I don't know). It doesn't create a crash report so I've attached a launcher_log.txt. I think the error is here:

 

X Error of failed request: BadRRCrtc (invalid Crtc parameter)
Major opcode of failed request: 139 (RANDR)
Minor opcode of failed request: 20 (RRGetCrtcInfo)
Crtc id in failed request: 0x426
Serial number of failed request: 86733
Current serial number in output stream: 86733
AL lib: (EE) alc_cleanup: 1 device not closed

[Info: 2020-11-04 17:23:25.178109105: GameCallbacks.cpp(163)] Launcher/monitor (Process Monitor) Fatal Process crashed with exit code 1
[Info: 2020-11-04 17:23:25.179230530: GameController.cpp(471)] Game closed with id 1

Attachments

Comments 4

Thank you for your report!
However, this issue is Invalid.

This is a technical support issue; this site is for bug reports only. We do not have the resources to provide you with technical support.
Please contact Community Support for assistance.

Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki

Isn't it a bug? It didn't crash until 1.16.4

I'm seeing the same crash in 1.16.5 on Fedora 32.  It happens when I come back from going AFK.  It runs for a few seconds and then crashes with:

[17:15:36] [Server thread/INFO]: Saving and pausing game...

[17:15:36] [Server thread/INFO]: Saving chunks for level 'ServerLevel[New World 2020-02-08]'/minecraft:overworld

[17:15:36] [Server thread/INFO]: Saving chunks for level 'ServerLevel[New World 2020-02-08]'/minecraft:the_nether

[17:15:36] [Server thread/INFO]: Saving chunks for level 'ServerLevel[New World 2020-02-08]'/minecraft:the_end

X Error of failed request: BadRRCrtc (invalid Crtc parameter)

Major opcode of failed request: 139 (RANDR)

Minor opcode of failed request: 20 (RRGetCrtcInfo)

Crtc id in failed request: 0x56e

Serial number of failed request: 1226680

Current serial number in output stream: 1226680

AL lib: (EE) alc_cleanup: 1 device not closed

Process exited with code 1.

I can reproduce this crash in 1.17.1.

I'm on Gentoo Linux, using sway (wayland) as window manager, musl libc, and java 16.0.1+9.

 

[14:02:01] [Server thread/INFO]: Saving and pausing game...
[14:02:01] [Server thread/INFO]: Saving chunks for level 'ServerLevel[New World]'/minecraft:overworld
[14:02:01] [Server thread/INFO]: Saving chunks for level 'ServerLevel[New World]'/minecraft:the_nether
[14:02:01] [Server thread/INFO]: Saving chunks for level 'ServerLevel[New World]'/minecraft:the_end
X Error of failed request:  BadRRCrtc (invalid Crtc parameter)
  Major opcode of failed request:  139 (RANDR)
  Minor opcode of failed request:  20 (RRGetCrtcInfo)
  Crtc id in failed request: 0x20
  Serial number of failed request:  728947
  Current serial number in output stream:  728947
AL lib: (EE) alc_cleanup: 1 device not closed
Process exited with code 1.

Iaiao

(Unassigned)

Unconfirmed

1.16.4

Retrieved