Bug#520109: python-gtk2: running bleachbit without X causes segfault in gtk
Martin Hawlisch
martin at hawlisch.de
Tue Mar 17 13:23:29 UTC 2009
Package: python-gtk2
Version: 2.14.1-1
Severity: normal
Running bleachbit (version 0.4.0-1) without X causes a segfault in gtk.
(a bug against bleachbit not catching the missing X server is already filed)
I dont know if this is a bug of gtk or pygtk, but pygtk should always throw an exception instead of segfaulting.
gdb python
GNU gdb 6.8-debian
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "i486-linux-gnu"...
(no debugging symbols found)
(gdb) run /usr/bin/bleachbit
Starting program: /usr/bin/python /usr/bin/bleachbit
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[New Thread 0xb7d6d6c0 (LWP 7210)]
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
---Type <return> to continue, or q <return> to quit---
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
/var/lib/python-support/python2.5/gtk-2.0/gtk/__init__.py:72: GtkWarning: could not open display
warnings.warn(str(e), _gtk.Warning)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
---Type <return> to continue, or q <return> to quit---
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
/var/lib/python-support/python2.5/bleachbit/GUI.py:607: Warning: invalid (NULL) pointer instance
self.window = gtk.Window()
/var/lib/python-support/python2.5/bleachbit/GUI.py:607: Warning: g_signal_connect_data: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed
self.window = gtk.Window()
(no debugging symbols found)
/var/lib/python-support/python2.5/bleachbit/GUI.py:573: Warning: invalid (NULL) pointer instance
menubar = uimanager.get_widget('/MenuBar')
/var/lib/python-support/python2.5/bleachbit/GUI.py:573: Warning: g_signal_connect_data: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed
menubar = uimanager.get_widget('/MenuBar')
/var/lib/python-support/python2.5/bleachbit/GUI.py:573: GtkWarning: gtk_settings_get_for_screen: assertion `GDK_IS_SCREEN (screen)' failed
menubar = uimanager.get_widget('/MenuBar')
/var/lib/python-support/python2.5/bleachbit/GUI.py:573: Warning: g_object_get: assertion `G_IS_OBJECT (object)' failed
menubar = uimanager.get_widget('/MenuBar')
/var/lib/python-support/python2.5/bleachbit/GUI.py:573: Warning: value "TRUE" of type `gboolean' is invalid or out of range for property `visible' of type `gboolean'
menubar = uimanager.get_widget('/MenuBar')
/var/lib/python-support/python2.5/bleachbit/GUI.py:578: Warning: invalid (NULL) pointer instance
toolbar = gtk.Toolbar()
/var/lib/python-support/python2.5/bleachbit/GUI.py:578: Warning: g_signal_connect_data: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed
toolbar = gtk.Toolbar()
/var/lib/python-support/python2.5/bleachbit/GUI.py:584: Warning: invalid (NULL) pointer instance
tooltips = gtk.Tooltips()
/var/lib/python-support/python2.5/bleachbit/GUI.py:584: Warning: g_signal_connect_data: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed
tooltips = gtk.Tooltips()
/var/lib/python-support/python2.5/bleachbit/GUI.py:526: GtkWarning: gtk_settings_get_for_screen: assertion `GDK_IS_SCREEN (screen)' failed
scrolled_window = gtk.ScrolledWindow()
/var/lib/python-support/python2.5/bleachbit/GUI.py:248: GtkWarning: gtk_settings_get_for_screen: assertion `GDK_IS_SCREEN (screen)' failed
self.view.append_column(self.column0)
/var/lib/python-support/python2.5/bleachbit/GUI.py:248: Warning: g_object_get: assertion `G_IS_OBJECT (object)' failed
self.view.append_column(self.column0)
/var/lib/python-support/python2.5/bleachbit/GUI.py:257: GtkWarning: gtk_settings_get_for_screen: assertion `GDK_IS_SCREEN (screen)' failed
self.view.append_column(self.column1)
/var/lib/python-support/python2.5/bleachbit/GUI.py:257: Warning: g_object_get: assertion `G_IS_OBJECT (object)' failed
self.view.append_column(self.column1)
/var/lib/python-support/python2.5/bleachbit/GUI.py:639: GtkWarning: gtk_settings_get_for_screen: assertion `GDK_IS_SCREEN (screen)' failed
swindow = gtk.ScrolledWindow()
/var/lib/python-support/python2.5/bleachbit/GUI.py:644: GtkWarning: gdk_pango_context_get_for_screen: assertion `GDK_IS_SCREEN (screen)' failed
swindow.add(textview)
/var/lib/python-support/python2.5/bleachbit/GUI.py:644: PangoWarning: pango_context_set_font_description: assertion `context != NULL' failed
swindow.add(textview)
/var/lib/python-support/python2.5/bleachbit/GUI.py:644: PangoWarning: pango_context_set_base_dir: assertion `context != NULL' failed
swindow.add(textview)
/var/lib/python-support/python2.5/bleachbit/GUI.py:644: PangoWarning: pango_context_set_language: assertion `context != NULL' failed
swindow.add(textview)
/var/lib/python-support/python2.5/bleachbit/GUI.py:644: Warning: g_object_unref: assertion `G_IS_OBJECT (object)' failed
swindow.add(textview)
/var/lib/python-support/python2.5/bleachbit/GUI.py:644: GtkWarning: gtk_settings_get_for_screen: assertion `GDK_IS_SCREEN (screen)' failed
swindow.add(textview)
/var/lib/python-support/python2.5/bleachbit/GUI.py:644: GtkWarning: gdk_screen_get_display: assertion `GDK_IS_SCREEN (screen)' failed
swindow.add(textview)
/var/lib/python-support/python2.5/bleachbit/GUI.py:644: GtkWarning: gdk_keymap_get_for_display: assertion `GDK_IS_DISPLAY (display)' failed
swindow.add(textview)
/var/lib/python-support/python2.5/bleachbit/GUI.py:644: Warning: g_object_get: assertion `G_IS_OBJECT (object)' failed
swindow.add(textview)
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb7d6d6c0 (LWP 7210)]
0xb756492e in gdk_keymap_get_direction () from /usr/lib/libgdk-x11-2.0.so.0
(gdb) bt
#0 0xb756492e in gdk_keymap_get_direction () from /usr/lib/libgdk-x11-2.0.so.0
#1 0xb777ed1c in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#2 0x00000000 in ?? ()
(gdb) quit
Cheers, Martin.
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.26-1-686 (SMP w/1 CPU core)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash
Versions of packages python-gtk2 depends on:
ii libatk1.0-0 1.24.0-2 The ATK accessibility toolkit
ii libc6 2.9-4 GNU C Library: Shared libraries
ii libcairo2 1.8.6-2+b1 The Cairo 2D vector graphics libra
ii libfontconfig1 2.6.0-3 generic font configuration library
ii libfreetype6 2.3.9-4 FreeType 2 font engine, shared lib
ii libglib2.0-0 2.20.0-1 The GLib library of C routines
ii libgtk2.0-0 2.14.7-4+b1 The GTK+ graphical user interface
ii libpango1.0-0 1.22.4-2 Layout and rendering of internatio
ii python 2.5.4-2 An interactive high-level object-o
ii python-cairo [python2. 1.4.12-1.2 Python bindings for the Cairo vect
ii python-gobject [python 2.16.1-1 Python bindings for the GObject li
ii python-support 0.8.7 automated rebuilding support for P
ii python2.5 2.5.4-1 An interactive high-level object-o
ii zlib1g 1:1.2.3.3.dfsg-13 compression library - runtime
Versions of packages python-gtk2 recommends:
ii python-numpy 1:1.2.1-1 Numerical Python adds a fast array
Versions of packages python-gtk2 suggests:
pn python-gtk2-doc <none> (no description available)
-- no debconf information
More information about the pkg-gnome-maintainers
mailing list