[Pkg-utopia-maintainers] Bug#517251: d-feet causes segfault if started with $DISPLAY unset

Tuure Laurinolli tuure at laurinolli.net
Thu Feb 26 17:35:35 UTC 2009


Package: d-feet
Version: 0.1.8-2
Severity: normal


When started with empty $DISPLAY, d-feet causes a segmentation
fault. I did not explore further as to what the exact cause is, but if
$DISPLAY is set so that it can connect to an X server, the segfault
does not happen.

Steps to reproduce:

1. % export DISPLAY=""
2. % d-feet

Expected result:

d-feet complains that it cannot open display, like xterm for example.

Actual result:

d-feet displays the following messages and segfaults:

[19:34:17][tazle at pryan][~]% d-feet
/var/lib/python-support/python2.5/gtk-2.0/gtk/__init__.py:72: GtkWarning: could not open display
  warnings.warn(str(e), _gtk.Warning)
/var/lib/python-support/python2.5/dfeet/_ui/uiloader.py:38: GtkWarning: Unknown property: GtkAction.enabled

  self.ui.add_from_file(ui_dir + '/' + file)
/var/lib/python-support/python2.5/dfeet/_ui/uiloader.py:38: Warning: invalid (NULL) pointer instance
  self.ui.add_from_file(ui_dir + '/' + file)
/var/lib/python-support/python2.5/dfeet/_ui/uiloader.py:38: Warning: g_signal_connect_data: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed
  self.ui.add_from_file(ui_dir + '/' + file)
/var/lib/python-support/python2.5/dfeet/_ui/uiloader.py:38: GtkWarning: gtk_settings_get_for_screen: assertion `GDK_IS_SCREEN (screen)' failed
  self.ui.add_from_file(ui_dir + '/' + file)
/var/lib/python-support/python2.5/dfeet/_ui/uiloader.py:38: Warning: g_object_get: assertion `G_IS_OBJECT (object)' failed
  self.ui.add_from_file(ui_dir + '/' + file)
/var/lib/python-support/python2.5/dfeet/_ui/uiloader.py:38: Warning: value "TRUE" of type `gboolean' is invalid or out of range for property `visible' of type `gboolean'
  self.ui.add_from_file(ui_dir + '/' + file)
/var/lib/python-support/python2.5/dfeet/_ui/uiloader.py:38: GtkWarning: Screen for GtkWindow not set; you must always set
a screen for a GtkWindow before using the window
  self.ui.add_from_file(ui_dir + '/' + file)
/var/lib/python-support/python2.5/dfeet/_ui/uiloader.py:38: GtkWarning: gdk_pango_context_get_for_screen: assertion `GDK_IS_SCREEN (screen)' failed
  self.ui.add_from_file(ui_dir + '/' + file)
/var/lib/python-support/python2.5/dfeet/_ui/uiloader.py:38: PangoWarning: pango_context_set_font_description: assertion `context != NULL' failed
  self.ui.add_from_file(ui_dir + '/' + file)
/var/lib/python-support/python2.5/dfeet/_ui/uiloader.py:38: PangoWarning: pango_context_set_base_dir: assertion `context != NULL' failed
  self.ui.add_from_file(ui_dir + '/' + file)
/var/lib/python-support/python2.5/dfeet/_ui/uiloader.py:38: PangoWarning: pango_context_set_language: assertion `context != NULL' failed
  self.ui.add_from_file(ui_dir + '/' + file)
/var/lib/python-support/python2.5/dfeet/_ui/uiloader.py:38: PangoWarning: pango_layout_new: assertion `context != NULL' failed
  self.ui.add_from_file(ui_dir + '/' + file)
/var/lib/python-support/python2.5/dfeet/_ui/uiloader.py:38: PangoWarning: pango_layout_set_text: assertion `layout != NULL' failed
  self.ui.add_from_file(ui_dir + '/' + file)
/var/lib/python-support/python2.5/dfeet/_ui/uiloader.py:38: PangoWarning: pango_layout_set_attributes: assertion `layout != NULL' failed
  self.ui.add_from_file(ui_dir + '/' + file)
/var/lib/python-support/python2.5/dfeet/_ui/uiloader.py:38: PangoWarning: pango_layout_set_alignment: assertion `layout != NULL' failed
  self.ui.add_from_file(ui_dir + '/' + file)
/var/lib/python-support/python2.5/dfeet/_ui/uiloader.py:38: PangoWarning: pango_layout_set_ellipsize: assertion `PANGO_IS_LAYOUT (layout)' failed
  self.ui.add_from_file(ui_dir + '/' + file)
/var/lib/python-support/python2.5/dfeet/_ui/uiloader.py:38: PangoWarning: pango_layout_set_single_paragraph_mode: assertion `PANGO_IS_LAYOUT (layout)' failed
  self.ui.add_from_file(ui_dir + '/' + file)
/var/lib/python-support/python2.5/dfeet/_ui/uiloader.py:38: PangoWarning: pango_layout_set_width: assertion `layout != NULL' failed
  self.ui.add_from_file(ui_dir + '/' + file)
/var/lib/python-support/python2.5/dfeet/_ui/uiloader.py:38: PangoWarning: pango_layout_get_extents: assertion `layout != NULL' failed
  self.ui.add_from_file(ui_dir + '/' + file)
/var/lib/python-support/python2.5/dfeet/_ui/uiloader.py:38: PangoWarning: pango_layout_get_pixel_extents: assertion `PANGO_IS_LAYOUT (layout)' failed
  self.ui.add_from_file(ui_dir + '/' + file)
/var/lib/python-support/python2.5/dfeet/_ui/uiloader.py:38: Warning: g_object_unref: assertion `G_IS_OBJECT (object)' failed
  self.ui.add_from_file(ui_dir + '/' + file)
/var/lib/python-support/python2.5/dfeet/_ui/uiloader.py:38: GtkWarning: gtk_icon_theme_get_for_screen: assertion `GDK_IS_SCREEN (screen)' failed
  self.ui.add_from_file(ui_dir + '/' + file)
/var/lib/python-support/python2.5/dfeet/_ui/uiloader.py:38: GtkWarning: gtk_icon_size_lookup_for_settings: assertion `GTK_IS_SETTINGS (settings)' failed
  self.ui.add_from_file(ui_dir + '/' + file)
/var/lib/python-support/python2.5/dfeet/_ui/uiloader.py:38: GtkWarning: Invalid icon size 3

  self.ui.add_from_file(ui_dir + '/' + file)
/var/lib/python-support/python2.5/dfeet/_ui/uiloader.py:38: GtkWarning: gtk_icon_theme_load_icon: assertion `GTK_IS_ICON_THEME (icon_theme)' failed
  self.ui.add_from_file(ui_dir + '/' + file)
zsh: segmentation fault  d-feet

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.24.7pryan (SMP w/2 CPU cores)
Locale: LANG=en_US, LC_CTYPE=fi_FI at euro (charmap=ISO-8859-15)
Shell: /bin/sh linked to /bin/bash

Versions of packages d-feet depends on:
ii  python                        2.5.2-3    An interactive high-level object-o
ii  python-dbus                   0.83.0-1   simple interprocess messaging syst
ii  python-glade2                 2.12.1-6   GTK+ bindings: Glade support
ii  python-gnome2-desktop         2.22.0-2   Python bindings for the GNOME desk
ii  python-gtk2                   2.12.1-6   Python bindings for the GTK+ widge
ii  python-support                0.7.6      automated rebuilding support for p

d-feet recommends no packages.

d-feet suggests no packages.

-- debconf-show failed





More information about the Pkg-utopia-maintainers mailing list