Created attachment 18282 [details] xorg showing crash when running xrandr commands This morning I didn't realize my external DVI monitor was disconnected from my docking station when I tried to run my usual xrandr commands to light it up. However doing so caused X to crash. Steps to reproduce: 1. startx -- -logverbose 7 2. xrandr --newmode "1920x1200_60.00" 162 1920 2048 2256 2592 1200 1201 1204 124 3. xrandr --addmode DVI-D_1 1920x1200_60.00 crash. Oddly, the crash doesn't happen if I run plain X from the command line and run the same xrandr commands. It only seems to crash if I'm sitting at my gnome desktop.
Created attachment 18296 [details] [review] Fix. It doesn't make sense to add modes to an unattached output as we cannot validate the mode against the display device. Thus we should fail it unconditionally.
Fix pushed: 5660728fa27289ae8d51f72028918d7dac04bef3
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.