As original reporter stated, it usually appears related to OpenGL window
resize events.  I have also noted that xrandr display resolution changes
can trigger the crash.

I see errors in dmesg that mention libmutter:

[15040.472843] gnome-shell[32127]: segfault at 8 ip 00007f327f29d5d0 sp
00007ffeccf94a38 error 4 in libmutter-1.so.0.0.0[7f327f243000+142000]

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gnome-shell in Ubuntu.
https://bugs.launchpad.net/bugs/911591

Title:
  gnome-shell crashes when resizing OpenGL window

Status in gnome-shell package in Ubuntu:
  Confirmed

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)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-shell/+bug/911591/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to