[Reportbug-maint] Bug#648243: reportbug crashes when it has no Xwindow display
Mikulas Patocka
mikulas at artax.karlin.mff.cuni.cz
Wed Nov 9 21:35:29 UTC 2011
Package: reportbug
Version: 4.12.6
Severity: important
When I run reportbug without valid X display, it crashes with SIGFPE.
It should report an error or run in text mode when there are no Xwindows.
$ reportbug
/usr/lib/pymodules/python2.6/gtk-2.0/gtk/__init__.py:57: GtkWarning: could not open display
warnings.warn(str(e), _gtk.Warning)
/usr/lib/pymodules/python2.6/reportbug/ui/gtk2_ui.py:1310: Warning: invalid (NULL) pointer instance
gtk.Assistant.__init__ (self)
/usr/lib/pymodules/python2.6/reportbug/ui/gtk2_ui.py:1310: Warning: g_signal_connect_data: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed
gtk.Assistant.__init__ (self)
/usr/lib/pymodules/python2.6/reportbug/ui/gtk2_ui.py:1310: GtkWarning: gtk_settings_get_for_screen: assertion `GDK_IS_SCREEN (screen)' failed
gtk.Assistant.__init__ (self)
/usr/lib/pymodules/python2.6/reportbug/ui/gtk2_ui.py:1310: Warning: g_object_get: assertion `G_IS_OBJECT (object)' failed
gtk.Assistant.__init__ (self)
/usr/lib/pymodules/python2.6/reportbug/ui/gtk2_ui.py:1310: Warning: value "TRUE" of type `gboolean' is invalid or out of range for property `visible' of type `gboolean'
gtk.Assistant.__init__ (self)
/usr/lib/pymodules/python2.6/reportbug/ui/gtk2_ui.py:1333: GtkWarning: gtk_settings_get_for_screen: assertion `GDK_IS_SCREEN (screen)' failed
widget.set_label ("_Continue")
/usr/lib/pymodules/python2.6/reportbug/ui/gtk2_ui.py:1333: Warning: g_object_get: assertion `G_IS_OBJECT (object)' failed
widget.set_label ("_Continue")
/usr/lib/pymodules/python2.6/reportbug/ui/gtk2_ui.py:1334: GtkWarning: gtk_settings_get_for_screen: assertion `GDK_IS_SCREEN (screen)' failed
widget.set_image (image)
/usr/lib/pymodules/python2.6/reportbug/ui/gtk2_ui.py:1334: Warning: g_object_get: assertion `G_IS_OBJECT (object)' failed
widget.set_image (image)
/usr/lib/pymodules/python2.6/reportbug/ui/gtk2_ui.py:476: GtkWarning: Screen for GtkWindow not set; you must always set
a screen for a GtkWindow before using the window
gtk.main ()
/usr/lib/pymodules/python2.6/reportbug/ui/gtk2_ui.py:476: GtkWarning: gdk_screen_get_display: assertion `GDK_IS_SCREEN (screen)' failed
gtk.main ()
/usr/lib/pymodules/python2.6/reportbug/ui/gtk2_ui.py:476: GtkWarning: gdk_keymap_get_for_display: assertion `GDK_IS_DISPLAY (display)' failed
gtk.main ()
/usr/lib/pymodules/python2.6/reportbug/ui/gtk2_ui.py:476: Warning: invalid (NULL) pointer instance
gtk.main ()
/usr/lib/pymodules/python2.6/reportbug/ui/gtk2_ui.py:476: Warning: g_signal_connect_data: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed
gtk.main ()
/usr/lib/pymodules/python2.6/reportbug/ui/gtk2_ui.py:626: GtkWarning: gdk_pango_context_get_for_screen: assertion `GDK_IS_SCREEN (screen)' failed
self.entry = gtk.Entry ()
/usr/lib/pymodules/python2.6/reportbug/ui/gtk2_ui.py:626: PangoWarning: pango_context_set_font_description: assertion `context != NULL' failed
self.entry = gtk.Entry ()
/usr/lib/pymodules/python2.6/reportbug/ui/gtk2_ui.py:626: PangoWarning: pango_context_set_base_dir: assertion `context != NULL' failed
self.entry = gtk.Entry ()
/usr/lib/pymodules/python2.6/reportbug/ui/gtk2_ui.py:626: PangoWarning: pango_context_set_language: assertion `context != NULL' failed
self.entry = gtk.Entry ()
/usr/lib/pymodules/python2.6/reportbug/ui/gtk2_ui.py:626: PangoWarning: pango_layout_new: assertion `context != NULL' failed
self.entry = gtk.Entry ()
/usr/lib/pymodules/python2.6/reportbug/ui/gtk2_ui.py:626: PangoWarning: pango_layout_set_attributes: assertion `layout != NULL' failed
self.entry = gtk.Entry ()
/usr/lib/pymodules/python2.6/reportbug/ui/gtk2_ui.py:626: PangoWarning: pango_layout_set_text: assertion `layout != NULL' failed
self.entry = gtk.Entry ()
/usr/lib/pymodules/python2.6/reportbug/ui/gtk2_ui.py:626: PangoWarning: pango_layout_get_unknown_glyphs_count: assertion `PANGO_IS_LAYOUT (layout)' failed
self.entry = gtk.Entry ()
/usr/lib/pymodules/python2.6/reportbug/ui/gtk2_ui.py:626: Warning: g_object_unref: assertion `G_IS_OBJECT (object)' failed
self.entry = gtk.Entry ()
/usr/lib/pymodules/python2.6/reportbug/ui/gtk2_ui.py:644: GtkWarning: gtk_settings_get_for_screen: assertion `GDK_IS_SCREEN (screen)' failed
completion = gtk.EntryCompletion ()
/usr/lib/pymodules/python2.6/reportbug/ui/gtk2_ui.py:644: Warning: g_object_get: assertion `G_IS_OBJECT (object)' failed
completion = gtk.EntryCompletion ()
/usr/lib/pymodules/python2.6/reportbug/ui/gtk2_ui.py:644: Warning: invalid (NULL) pointer instance
completion = gtk.EntryCompletion ()
/usr/lib/pymodules/python2.6/reportbug/ui/gtk2_ui.py:644: Warning: g_signal_connect_data: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed
completion = gtk.EntryCompletion ()
/usr/lib/pymodules/python2.6/reportbug/ui/gtk2_ui.py:541: GtkWarning: Screen for GtkWindow not set; you must always set
a screen for a GtkWindow before using the window
self.assistant.show ()
/usr/lib/pymodules/python2.6/reportbug/ui/gtk2_ui.py:541: GtkWarning: gdk_pango_context_get_for_screen: assertion `GDK_IS_SCREEN (screen)' failed
self.assistant.show ()
/usr/lib/pymodules/python2.6/reportbug/ui/gtk2_ui.py:541: PangoWarning: pango_context_set_font_description: assertion `context != NULL' failed
self.assistant.show ()
/usr/lib/pymodules/python2.6/reportbug/ui/gtk2_ui.py:541: PangoWarning: pango_context_set_base_dir: assertion `context != NULL' failed
self.assistant.show ()
/usr/lib/pymodules/python2.6/reportbug/ui/gtk2_ui.py:541: PangoWarning: pango_context_set_language: assertion `context != NULL' failed
self.assistant.show ()
/usr/lib/pymodules/python2.6/reportbug/ui/gtk2_ui.py:541: PangoWarning: pango_layout_new: assertion `context != NULL' failed
self.assistant.show ()
/usr/lib/pymodules/python2.6/reportbug/ui/gtk2_ui.py:541: PangoWarning: pango_layout_set_text: assertion `layout != NULL' failed
self.assistant.show ()
/usr/lib/pymodules/python2.6/reportbug/ui/gtk2_ui.py:541: PangoWarning: pango_layout_set_attributes: assertion `layout != NULL' failed
self.assistant.show ()
/usr/lib/pymodules/python2.6/reportbug/ui/gtk2_ui.py:541: PangoWarning: pango_layout_set_justify: assertion `layout != NULL' failed
self.assistant.show ()
/usr/lib/pymodules/python2.6/reportbug/ui/gtk2_ui.py:541: PangoWarning: pango_layout_set_alignment: assertion `layout != NULL' failed
self.assistant.show ()
/usr/lib/pymodules/python2.6/reportbug/ui/gtk2_ui.py:541: PangoWarning: pango_layout_set_ellipsize: assertion `PANGO_IS_LAYOUT (layout)' failed
self.assistant.show ()
/usr/lib/pymodules/python2.6/reportbug/ui/gtk2_ui.py:541: PangoWarning: pango_layout_set_single_paragraph_mode: assertion `PANGO_IS_LAYOUT (layout)' failed
self.assistant.show ()
/usr/lib/pymodules/python2.6/reportbug/ui/gtk2_ui.py:541: PangoWarning: pango_layout_set_wrap: assertion `PANGO_IS_LAYOUT (layout)' failed
self.assistant.show ()
/usr/lib/pymodules/python2.6/reportbug/ui/gtk2_ui.py:541: PangoWarning: pango_layout_set_width: assertion `layout != NULL' failed
self.assistant.show ()
/usr/lib/pymodules/python2.6/reportbug/ui/gtk2_ui.py:541: PangoWarning: pango_layout_get_extents: assertion `layout != NULL' failed
self.assistant.show ()
/usr/lib/pymodules/python2.6/reportbug/ui/gtk2_ui.py:541: Warning: g_object_unref: assertion `G_IS_OBJECT (object)' failed
self.assistant.show ()
/usr/lib/pymodules/python2.6/reportbug/ui/gtk2_ui.py:541: GtkWarning: gdk_screen_get_width: assertion `GDK_IS_SCREEN (screen)' failed
self.assistant.show ()
/usr/lib/pymodules/python2.6/reportbug/ui/gtk2_ui.py:541: PangoWarning: pango_layout_get_line_count: assertion `layout != NULL' failed
self.assistant.show ()
Výjimka v pohyblivé řádové čárce (SIGFPE) (core dumped [obraz paměti uložen])
-- Package-specific info:
** Environment settings:
INTERFACE="text"
** /root/.reportbugrc:
reportbug_version "4.12.6"
mode standard
ui text
realname "Mikulas Patocka"
email "mikulas at artax.karlin.mff.cuni.cz"
no-check-uid
no-cc
header "X-Debbugs-CC: mikulas at artax.karlin.mff.cuni.cz"
smtphost reportbug.debian.org
-- System Information:
Debian Release: 6.0.3
APT prefers stable
APT policy: (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 3.1.0-fast (SMP w/8 CPU cores; PREEMPT)
Locale: LANG=cs_CZ, LC_CTYPE=cs_CZ (charmap=ISO-8859-2)
Shell: /bin/sh linked to /bin/dash
Versions of packages reportbug depends on:
ii apt 0.8.10.3+squeeze1 Advanced front-end for dpkg
ii python 2.6.6-3+squeeze6 interactive high-level object-orie
ii python-reportbug 4.12.6 Python modules for interacting wit
reportbug recommends no packages.
Versions of packages reportbug suggests:
pn debconf-utils <none> (no description available)
pn debsums <none> (no description available)
pn dlocate <none> (no description available)
pn emacs22-bin-common | <none> (no description available)
ii file 5.04-5 Determines file type using "magic"
ii gnupg 1.4.10-4 GNU privacy guard - a free PGP rep
pn postfix | exim4 | ma <none> (no description available)
ii python-gtk2 2.17.0-4 Python bindings for the GTK+ widge
pn python-gtkspell <none> (no description available)
pn python-urwid <none> (no description available)
ii python-vte 1:0.24.3-3 Python bindings for the VTE widget
ii xdg-utils 1.0.2+cvs20100307-2 desktop integration utilities from
-- no debconf information
More information about the Reportbug-maint
mailing list