After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 789858 - X11 clients requesting wrong window sizes crash gnome-shell (and entire session) in X or wayland
X11 clients requesting wrong window sizes crash gnome-shell (and entire sessi...
Product: gnome-shell
Classification: Core
Component: general
Other Linux
: Normal normal
: ---
Assigned To: gnome-shell-maint
Depends on:
Reported: 2017-11-03 12:10 UTC by mike
Modified: 2021-07-05 14:45 UTC
See Also:
GNOME target: ---
GNOME version: ---

python script to crash gnome-shell (487 bytes, text/x-python)
2017-11-03 12:10 UTC, mike
gdb backtrace of crash (31.73 KB, text/x-log)
2017-11-21 17:02 UTC, mike
image of console with X errors (30.22 KB, image/png)
2017-11-21 17:03 UTC, mike

Description mike 2017-11-03 12:10:49 UTC
Created attachment 362897 [details]
python script to crash gnome-shell

upstream report of debian bug 852165:

I'm reporting this bug upstream for the original submitter since I've encountered it and can use his test script to reproduce it.  I won't quote the whole thing here since you can just go to the URL but the Debian bug report includes a backtrace and it should be easy to reproduce with the attached script.
Comment 1 mike 2017-11-21 17:02:42 UTC
Created attachment 364132 [details]
gdb backtrace of crash
Comment 2 mike 2017-11-21 17:03:05 UTC
This is happening every few days for me, I'm trying to narrow down whether it's an extension or a user theme (the user theme extension is disabled for now) but I figured it would help if I installed all the debug symbols and generated a recent backtrace. This is a crashing bug and kills the entire X or wayland session so I figure that should make it a higher priority.

Attached is the backtrace of all threads and image of my console (which had some X errors on it that might be helpful).
Comment 3 mike 2017-11-21 17:03:29 UTC
Created attachment 364133 [details]
image of console with X errors
Comment 4 mike 2017-11-28 14:19:44 UTC
This happens mostly when I open a new window.  It's not a problem if gnome-shell restarts, BUT if the crashes happen too frequently together in time (within like 10 seconds or something?) then my entire X session crashes with all my windows, and that's when it's really a pain in the ass.  Is there anything that can be done to stop that from happening?
Comment 5 GNOME Infrastructure Team 2021-07-05 14:45:34 UTC
GNOME is going to shut down in favor of
As part of that, we are mass-closing older open tickets in
which have not seen updates for a longer time (resources are unfortunately
quite limited so not every ticket can get handled).

If you can still reproduce the situation described in this ticket in a recent
and supported software version, then please follow
and create a new ticket at

Thank you for your understanding and your help.