Comment 11 for bug 1665048

Revision history for this message
Alistair Buxton (a-j-buxton) wrote : Re: xfce4-display-settings crashed with SIGSEGV in g_closure_invoke()

I noticed that the crash doesn't seem to happen if you change the screenmode from within xfce4-display-settings before resizing the window.

I think what happens is something like this:

1. Xfce desktop starts at the default resolution 800x600.
2. Resizing the VBox window changes the list of available screen modes, but not the current screenmode.
3. xfce4-display-settings starts. Because there is no existing configuration it asks for the current desktop size, and ask xrandr for the screen mode matching that size.
4. Because that screen mode is no longer in the list, xrandr returns "no such mode".
5. xfce4-display-settings can't handle that, so it crashes.