gnome-shell crashes when resizing OpenGL window

Bug #911591 reported by Victor Zamanian on 2012-01-04
This bug affects 2 people
Affects Status Importance Assigned to Milestone
gnome-shell (Ubuntu)

Bug Description

I have a couple of applications that I wrote myself. They are OpenGL graphics applications. One application uses SDL for OpenGL context management, and the other uses GLFW.

When I resize the windows of these applications by dragging the window edges, gnome-shell crashes almost 100 % of the time after a certain amount of resizing back and forth. This does not happen when instantly resizing the window (e.g. with Alt+F10, which effectively does a resize as far as SDL and GLFW are concerned anyway).

Rapidly resizing the window of glxgears does not seem to crash gnome-shell, which confuses me. I guess it is interacting with things differently or something.

Anyways, I'm using the following versions of involved software packages:

gnome-shell: 3.2.1-0ubuntu1.1
nvidia-current: 290.10-0ubuntu1~oneiric~xup1 (from the ubuntu-x-swat PPA)
SDL: 1.2.14-6.1ubuntu4
GLFW: 2.7.2-1

I'm thinking that maybe the two libraries I use (SDL and GLFW) create new OpenGL contexts every time when using their respective resizing mechanisms, whereas glxgears does something different, and requesting new contexts with new sizes too often during a small period of time might not go too well? Not sure at all what details I can provide regarding this problem. Hopefully someone can ask the right questions and I will be able to provide the necessary information.

I will be very lucky if the applications were started from a terminal. That way the undecorated window of the terminal has focus after the crash, and I can relaunch gnome-shell from there.

Any help is appreciated!

ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: gnome-shell 3.2.1-0ubuntu1.1
ProcVersionSignature: Ubuntu 3.0.0-15.24-generic 3.0.13
Uname: Linux 3.0.0-15-generic i686
NonfreeKernelModules: nvidia
ApportVersion: 1.23-0ubuntu4
Architecture: i386
Date: Wed Jan 4 04:19:48 2012
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release i386 (20111012)
SourcePackage: gnome-shell
UpgradeStatus: No upgrade log present (probably fresh install)

Victor Zamanian (victorz) wrote :
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in gnome-shell (Ubuntu):
status: New → Confirmed
dino99 (9d9) wrote :

EOL reached for that serie

Changed in gnome-shell (Ubuntu):
status: Confirmed → Invalid
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers