Public bug reported: When executing the following program, the whole session crashes and I need to log in again:
#!/usr/bin/env python import logging import signal from gi.repository import Gdk from gi.repository import Gtk, GLib class App(Gtk.Application): def __init__(self): Gtk.Application.__init__( self, application_id=None) self.connect("activate", self.on_activate) self.connect("startup", self.on_startup) self.log = logging.getLogger() self.log = logging def on_startup(self, app): self.log.info("Startup") self.window = Gtk.ApplicationWindow(application=app) lt = Gtk.TextView() def add_text(text='foo', widget=lt): buffer = widget.get_buffer() buffer.set_text(text * 1000) add_text() self.window.add(lt) def on_quit(self, app, param=None): self.quit() def on_activate(self, app): self.log.info("Activate!") self.window.show_all() def main(): app = App() try: GLib.unix_signal_add_full(GLib.PRIORITY_HIGH, signal.SIGINT, lambda *args : app.quit(), None) except AttributeError: pass app.run() if __name__ == '__main__': main() ProblemType: Bug DistroRelease: Ubuntu 15.04 Package: gnome-shell 3.14.4-0ubuntu1 ProcVersionSignature: Ubuntu 3.19.0-15.15-generic 3.19.3 Uname: Linux 3.19.0-15-generic x86_64 ApportVersion: 2.17.2-0ubuntu1 Architecture: amd64 CurrentDesktop: GNOME Date: Wed Apr 29 10:49:28 2015 DisplayManager: gdm GsettingsChanges: b'org.gnome.shell.calendar' b'show-weekdate' b'true' b'org.gnome.desktop.interface' b'gtk-im-module' b"'gtk-im-context-simple'" b'org.gnome.desktop.interface' b'clock-show-date' b'true' SourcePackage: gnome-shell UpgradeStatus: No upgrade log present (probably fresh install) ** Affects: gnome-shell (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-bug vivid -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1449913 Title: the whole gnome-shell crashes when asking for a very wide window To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnome-shell/+bug/1449913/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs