[Pkg-dia-team] Bug#492396: even worse, now dia segfaults without display

Jan Dittberner jandd at debian.org
Wed Sep 23 20:24:35 UTC 2009


if DISPLAY is not set or no X is available dia segfaults now:

DISPLAY='' make -C doc
make[1]: Entering directory `/tmp/buildd/ldaptor-0.0.43/doc'
dia -t png-libart --export=ldap-is-a-tree.dia.png.tmp ldap-is-a-tree.dia
/usr/lib/pymodules/python2.5/gtk-2.0/gtk/__init__.py:57: GtkWarning: could not open display
  warnings.warn(str(e), _gtk.Warning)
sys:1: Warning: invalid (NULL) pointer instance
sys:1: Warning: g_signal_connect_data: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed
sys:1: GtkWarning: gdk_pango_context_get_for_screen: assertion `GDK_IS_SCREEN (screen)' failed
sys:1: PangoWarning: pango_context_set_font_description: assertion `context != NULL' failed
sys:1: PangoWarning: pango_context_set_base_dir: assertion `context != NULL' failed
sys:1: PangoWarning: pango_context_set_language: assertion `context != NULL' failed
sys:1: PangoWarning: pango_layout_new: assertion `context != NULL' failed
sys:1: PangoWarning: pango_layout_set_attributes: assertion `layout != NULL' failed
sys:1: PangoWarning: pango_layout_set_text: assertion `layout != NULL' failed
sys:1: PangoWarning: pango_layout_get_unknown_glyphs_count: assertion `PANGO_IS_LAYOUT (layout)' failed
sys:1: Warning: g_object_unref: assertion `G_IS_OBJECT (object)' failed
sys:1: GtkWarning: Screen for GtkWindow not set; you must always set
a screen for a GtkWindow before using the window
sys:1: PangoWarning: pango_layout_set_alignment: assertion `layout != NULL' failed
sys:1: PangoWarning: pango_layout_set_ellipsize: assertion `PANGO_IS_LAYOUT (layout)' failed
sys:1: PangoWarning: pango_layout_set_single_paragraph_mode: assertion `PANGO_IS_LAYOUT (layout)' failed
sys:1: PangoWarning: pango_layout_set_width: assertion `layout != NULL' failed
sys:1: PangoWarning: pango_layout_get_extents: assertion `layout != NULL' failed
sys:1: PangoWarning: pango_context_get_language: assertion `context != NULL' failed
sys:1: PangoWarning: pango_context_get_metrics: assertion `PANGO_IS_CONTEXT (context)' failed
sys:1: PangoWarning: pango_font_metrics_get_ascent: assertion `metrics != NULL' failed
sys:1: PangoWarning: pango_font_metrics_get_descent: assertion `metrics != NULL' failed
sys:1: PangoWarning: pango_font_metrics_get_approximate_digit_width: assertion `metrics != NULL' failed
sys:1: GtkWarning: gdk_screen_get_default_colormap: assertion `GDK_IS_SCREEN (screen)' failed
sys:1: GtkWarning: gdk_colormap_get_visual: assertion `GDK_IS_COLORMAP (colormap)' failed
sys:1: GtkWarning: gdk_screen_get_root_window: assertion `GDK_IS_SCREEN (screen)' failed
sys:1: GtkWarning: gdk_window_new: assertion `GDK_IS_WINDOW (parent)' failed
make[1]: *** [ldap-is-a-tree.dia.png] Segmentation fault
make[1]: Leaving directory `/tmp/buildd/ldaptor-0.0.43/doc'
make: *** [doc-stamp] Error 2

-- 
Jan Dittberner - Debian Developer
GPG-key: 4096R/558FB8DD 2009-05-10
         B2FF 1D95 CE8F 7A22 DF4C  F09B A73E 0055 558F B8DD
http://ddportfolio.debian.net/ - http://people.debian.org/~jandd/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-dia-team/attachments/20090923/7028bf84/attachment.pgp>


More information about the Pkg-dia-team mailing list