Debian Bug report logs - #538309
dia segfaults when exporting a png from a dia file using png-libart

version graph

Package: dia; Maintainer for dia is Philippe SWARTVAGHER <phil.swart@gmx.fr>; Source for dia is src:dia (PTS, buildd, popcon).

Reported by: Jan Dittberner <jandd@debian.org>

Date: Fri, 24 Jul 2009 17:36:04 UTC

Severity: important

Found in versions dia/0.96.1-7, dia/0.97-2

Fixed in version 0.97.1-1

Done: Roland Stigge <stigge@antcom.de>

Bug is archived. No further changes may be made.

Forwarded to https://bugzilla.gnome.org/show_bug.cgi?id=611276

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Debian Dia Team <pkg-dia-team@lists.alioth.debian.org>:
Bug#538309; Package dia. (Fri, 24 Jul 2009 17:36:07 GMT) (full text, mbox, link).


Acknowledgement sent to Jan Dittberner <jan@dittberner.info>:
New Bug report received and forwarded. Copy sent to Debian Dia Team <pkg-dia-team@lists.alioth.debian.org>. (Fri, 24 Jul 2009 17:36:07 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Jan Dittberner <jan@dittberner.info>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: dia segfaults when exporting a png from a dia file using png-libart
Date: Fri, 24 Jul 2009 19:35:07 +0200
[Message part 1 (text/plain, inline)]
Package: dia
Version: 0.97-2
Severity: important

dia segfaults when converting the attached dia file using the command
line below. Dia is used to convert the file to png during the build of
the ldaptor package.

The stacktrace indicates a wrong pygtk call.

# dia -t png-libart --export=ldap-is-a-tree.png ldap-is-a-tree.dia
No protocol specified
/usr/lib/pymodules/python2.5/gtk-2.0/gtk/__init__.py:72: 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
sys:1: GtkWarning: gdk_window_new: assertion `window != NULL' failed
sys:1: GtkWarning: gdk_window_enable_synchronized_configure: assertion `GDK_IS_WINDOW (window)' failed
sys:1: GtkWarning: gdk_window_set_user_data: assertion `GDK_IS_WINDOW (window)' failed
sys:1: GtkWarning: gtk_style_attach: assertion `window != NULL' failed
sys:1: GtkWarning: gtk_style_set_background: assertion `GTK_IS_STYLE (style)' failed
sys:1: GtkWarning: gtk_paint_flat_box: assertion `GTK_IS_STYLE (style)' failed
sys:1: GtkWarning: gdk_window_set_accept_focus: assertion `GDK_IS_WINDOW (window)' failed
sys:1: GtkWarning: gdk_window_set_focus_on_map: assertion `GDK_IS_WINDOW (window)' failed
sys:1: GtkWarning: gdk_window_set_modal_hint: assertion `GDK_IS_WINDOW (window)' failed
sys:1: GtkWarning: gtk_window_realize_icon: assertion `widget->window != NULL' failed
sys:1: GtkWarning: gdk_window_set_geometry_hints: assertion `GDK_IS_WINDOW (window)' failed
sys:1: Warning: g_object_ref: assertion `G_IS_OBJECT (object)' failed
sys:1: GtkWarning: gdk_window_invalidate_rect: assertion `GDK_IS_WINDOW (window)' failed
sys:1: GtkWarning: gdk_drawable_get_size: assertion `GDK_IS_DRAWABLE (drawable)' failed
sys:1: GtkWarning: gdk_screen_get_display: assertion `GDK_IS_SCREEN (screen)' failed
sys:1: GtkWarning: gdk_cursor_new_for_display: assertion `GDK_IS_DISPLAY (display)' failed
sys:1: GtkWarning: gdk_cursor_unref: assertion `cursor != NULL' failed
sys:1: GtkWarning: gdk_window_set_background: assertion `GDK_IS_WINDOW (window)' failed
sys:1: GtkWarning: gdk_window_show: assertion `GDK_IS_WINDOW (window)' failed
sys:1: GtkWarning: _gtk_style_peek_property_value: assertion `GTK_IS_STYLE (style)' failed
Segmentation fault


-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.29-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) (ignored: LC_ALL set to C)
Shell: /bin/sh linked to /bin/bash

Versions of packages dia depends on:
ii  dia-common             0.97-2            Diagram editor (common files)
ii  dia-libs               0.97-2            Diagram editor (library files)
ii  libart-2.0-2           2.3.20-2          Library of functions for 2D graphi
ii  libatk1.0-0            1.26.0-1          The ATK accessibility toolkit
ii  libc6                  2.9-21            GNU C Library: Shared libraries
ii  libcairo2              1.8.8-2           The Cairo 2D vector graphics libra
ii  libfontconfig1         2.6.0-4           generic font configuration library
ii  libfreetype6           2.3.9-5           FreeType 2 font engine, shared lib
ii  libglib2.0-0           2.20.4-1          The GLib library of C routines
ii  libgtk2.0-0            2.16.5-1          The GTK+ graphical user interface 
ii  libpango1.0-0          1.24.5-1          Layout and rendering of internatio
ii  libpng12-0             1.2.38-1          PNG library - runtime
ii  libxml2                2.7.3.dfsg-2      GNOME XML library
ii  zlib1g                 1:1.2.3.3.dfsg-14 compression library - runtime

Versions of packages dia recommends:
pn  gsfonts-x11                   <none>     (no description available)

dia suggests no packages.

-- no debconf information
[ldap-is-a-tree.dia (application/octet-stream, attachment)]
[signature.asc (application/pgp-signature, inline)]

Added indication that bug 538309 blocks526522 Request was from Jan Dittberner <jandd@debian.org> to control@bugs.debian.org. (Fri, 24 Jul 2009 18:27:16 GMT) (full text, mbox, link).


Changed Bug submitter to 'Jan Dittberner <jandd@debian.org>' from 'Jan Dittberner <jan@dittberner.info>' Request was from Jan Dittberner <jandd@debian.org> to control@bugs.debian.org. (Fri, 24 Jul 2009 18:36:06 GMT) (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, Debian Dia Team <pkg-dia-team@lists.alioth.debian.org>:
Bug#538309; Package dia. (Fri, 24 Jul 2009 19:09:03 GMT) (full text, mbox, link).


Acknowledgement sent to Jan Dittberner <jandd@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian Dia Team <pkg-dia-team@lists.alioth.debian.org>. (Fri, 24 Jul 2009 19:09:03 GMT) (full text, mbox, link).


Message #14 received at 538309@bugs.debian.org (full text, mbox, reply):

From: Jan Dittberner <jandd@debian.org>
To: 538309@bugs.debian.org
Subject: more information how to reproduce the issue
Date: Fri, 24 Jul 2009 21:05:22 +0200
[Message part 1 (text/plain, inline)]
the issue occurs when $DISPLAY is not set (i.e. when run from pdebuild
in cowbuilder)

here is how to reproduce the problem including a gdb session with
libgtk2.0-0-dbg installed:

ldaptor-0.0.43/doc> unset DISPLAY ; gdb -w --args dia -t png-libart --export=ldap-is-a-tree.png ldap-is-a-tree.dia 
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 "x86_64-linux-gnu"...
(no debugging symbols found)
(gdb) run
Starting program: /usr/bin/dia -t png-libart --export=ldap-is-a-tree.png ldap-is-a-tree.dia
[Thread debugging using libthread_db enabled]
[New Thread 0x7f18ae35c760 (LWP 6606)]
/usr/lib/pymodules/python2.5/gtk-2.0/gtk/__init__.py:72: 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
sys:1: GtkWarning: gdk_window_new: assertion `window != NULL' failed
sys:1: GtkWarning: gdk_window_enable_synchronized_configure: assertion `GDK_IS_WINDOW (window)' failed
sys:1: GtkWarning: gdk_window_set_user_data: assertion `GDK_IS_WINDOW (window)' failed
sys:1: GtkWarning: gtk_style_attach: assertion `window != NULL' failed
sys:1: GtkWarning: gtk_style_set_background: assertion `GTK_IS_STYLE (style)' failed
sys:1: GtkWarning: gtk_paint_flat_box: assertion `GTK_IS_STYLE (style)' failed
sys:1: GtkWarning: gdk_window_set_accept_focus: assertion `GDK_IS_WINDOW (window)' failed
sys:1: GtkWarning: gdk_window_set_focus_on_map: assertion `GDK_IS_WINDOW (window)' failed
sys:1: GtkWarning: gdk_window_set_modal_hint: assertion `GDK_IS_WINDOW (window)' failed
sys:1: GtkWarning: gtk_window_realize_icon: assertion `widget->window != NULL' failed
sys:1: GtkWarning: gdk_window_set_geometry_hints: assertion `GDK_IS_WINDOW (window)' failed
sys:1: Warning: g_object_ref: assertion `G_IS_OBJECT (object)' failed
sys:1: GtkWarning: gdk_window_invalidate_rect: assertion `GDK_IS_WINDOW (window)' failed
sys:1: GtkWarning: gdk_drawable_get_size: assertion `GDK_IS_DRAWABLE (drawable)' failed
sys:1: GtkWarning: gdk_screen_get_display: assertion `GDK_IS_SCREEN (screen)' failed
sys:1: GtkWarning: gdk_cursor_new_for_display: assertion `GDK_IS_DISPLAY (display)' failed
sys:1: GtkWarning: gdk_cursor_unref: assertion `cursor != NULL' failed
sys:1: GtkWarning: gdk_window_set_background: assertion `GDK_IS_WINDOW (window)' failed
sys:1: GtkWarning: gdk_window_show: assertion `GDK_IS_WINDOW (window)' failed
sys:1: GtkWarning: _gtk_style_peek_property_value: assertion `GTK_IS_STYLE (style)' failed

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7f18ae35c760 (LWP 6606)]
IA__gtk_widget_style_get_valist (widget=0x15ac0a0, first_property_name=<value optimized out>, var_args=0x7fffb648cb30) at /scratch/build-area/gtk+2.0-2.16.1/gtk/gtkwidget.c:9112
9112	/scratch/build-area/gtk+2.0-2.16.1/gtk/gtkwidget.c: No such file or directory.
	in /scratch/build-area/gtk+2.0-2.16.1/gtk/gtkwidget.c
(gdb) bt
#0  IA__gtk_widget_style_get_valist (widget=0x15ac0a0, first_property_name=<value optimized out>, var_args=0x7fffb648cb30) at /scratch/build-area/gtk+2.0-2.16.1/gtk/gtkwidget.c:9112
#1  0x00007f18adc37714 in IA__gtk_widget_style_get (widget=0x15ac0a0, first_property_name=0x7f18adcbd09b "inner-border") at /scratch/build-area/gtk+2.0-2.16.1/gtk/gtkwidget.c:9146
#2  0x00007f18adab2178 in _gtk_entry_effective_inner_border (entry=0x15ac0a0, border=0x7fffb648cc60) at /scratch/build-area/gtk+2.0-2.16.1/gtk/gtkentry.c:2926
#3  0x00007f18adab646d in gtk_entry_adjust_scroll (entry=0x15ac0a0) at /scratch/build-area/gtk+2.0-2.16.1/gtk/gtkentry.c:5846
#4  0x00007f18adabfee1 in gtk_entry_realize (widget=0x15ac0a0) at /scratch/build-area/gtk+2.0-2.16.1/gtk/gtkentry.c:2648
#5  0x00007f18adb98558 in gtk_spin_button_realize (widget=<value optimized out>) at /scratch/build-area/gtk+2.0-2.16.1/gtk/gtkspinbutton.c:552
#6  0x00007f18abc9511d in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#7  0x00007f18abca8513 in ?? () from /usr/lib/libgobject-2.0.so.0
#8  0x00007f18abcaa022 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#9  0x00007f18abcaa4f3 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#10 0x00007f18adc3de16 in IA__gtk_widget_realize (widget=0x15ac0a0) at /scratch/build-area/gtk+2.0-2.16.1/gtk/gtkwidget.c:3322
#11 0x00007f18adc3e638 in IA__gtk_widget_map (widget=0x15ac0a0) at /scratch/build-area/gtk+2.0-2.16.1/gtk/gtkwidget.c:3196
#12 0x00007f18ada7a86b in gtk_box_forall (container=0x16290b0, include_internals=<value optimized out>, callback=0x7f18adaabab0 <gtk_container_map_child>, callback_data=0x0)
    at /scratch/build-area/gtk+2.0-2.16.1/gtk/gtkbox.c:1249
#13 0x00007f18adaaba89 in gtk_container_map (widget=0x9) at /scratch/build-area/gtk+2.0-2.16.1/gtk/gtkcontainer.c:2665
#14 0x00007f18abc9506f in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#15 0x00007f18abca8513 in ?? () from /usr/lib/libgobject-2.0.so.0
#16 0x00007f18abcaa022 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#17 0x00007f18abcaa4f3 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#18 0x00007f18adc3e5cc in IA__gtk_widget_map (widget=0x16290b0) at /scratch/build-area/gtk+2.0-2.16.1/gtk/gtkwidget.c:3198
#19 0x00007f18ada7a86b in gtk_box_forall (container=0x1629020, include_internals=<value optimized out>, callback=0x7f18adaabab0 <gtk_container_map_child>, callback_data=0x0)
    at /scratch/build-area/gtk+2.0-2.16.1/gtk/gtkbox.c:1249
#20 0x00007f18adaaba89 in gtk_container_map (widget=0x9) at /scratch/build-area/gtk+2.0-2.16.1/gtk/gtkcontainer.c:2665
#21 0x00007f18abc9506f in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#22 0x00007f18abca8513 in ?? () from /usr/lib/libgobject-2.0.so.0
#23 0x00007f18abcaa022 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#24 0x00007f18abcaa4f3 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#25 0x00007f18adc3e5cc in IA__gtk_widget_map (widget=0x1629020) at /scratch/build-area/gtk+2.0-2.16.1/gtk/gtkwidget.c:3198
#26 0x00007f18adc4e56d in gtk_window_map (widget=0x163d000) at /scratch/build-area/gtk+2.0-2.16.1/gtk/gtkwindow.c:4545
#27 0x00007f18adab0f24 in gtk_dialog_map (widget=0x9) at /scratch/build-area/gtk+2.0-2.16.1/gtk/gtkdialog.c:403
#28 0x00007f18abc9511d in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#29 0x00007f18abca8513 in ?? () from /usr/lib/libgobject-2.0.so.0
#30 0x00007f18abcaa022 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#31 0x00007f18abcaa4f3 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#32 0x00007f18adc3e5cc in IA__gtk_widget_map (widget=0x163d000) at /scratch/build-area/gtk+2.0-2.16.1/gtk/gtkwidget.c:3198
#33 0x00007f18adc4e64e in gtk_window_show (widget=0x163d000) at /scratch/build-area/gtk+2.0-2.16.1/gtk/gtkwindow.c:4510
#34 0x00007f18abc9511d in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#35 0x00007f18abca8513 in ?? () from /usr/lib/libgobject-2.0.so.0
#36 0x00007f18abcaa022 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#37 0x00007f18abcaa4f3 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#38 0x00007f18adc3ed4c in IA__gtk_widget_show (widget=0x163d000) at /scratch/build-area/gtk+2.0-2.16.1/gtk/gtkwidget.c:3006
#39 0x000000000042e338 in ?? ()
#40 0x000000000042e8df in app_init ()
#41 0x000000000045c139 in main ()
(gdb) continue
Continuing.

Program terminated with signal SIGSEGV, Segmentation fault.
The program no longer exists.
(gdb) quit
[signature.asc (application/pgp-signature, inline)]

Added indication that bug 538309 blocks 545663 Request was from Jan Dittberner <jandd@debian.org> to control@bugs.debian.org. (Tue, 08 Sep 2009 17:45:14 GMT) (full text, mbox, link).


Removed indication that bug 538309 blocks 545663 Request was from Jan Dittberner <jandd@debian.org> to control@bugs.debian.org. (Wed, 21 Oct 2009 20:12:04 GMT) (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, Debian Dia Team <pkg-dia-team@lists.alioth.debian.org>:
Bug#538309; Package dia. (Wed, 21 Oct 2009 20:15:03 GMT) (full text, mbox, link).


Acknowledgement sent to Jan Dittberner <jandd@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian Dia Team <pkg-dia-team@lists.alioth.debian.org>. (Wed, 21 Oct 2009 20:15:03 GMT) (full text, mbox, link).


Message #23 received at 538309@bugs.debian.org (full text, mbox, reply):

From: Jan Dittberner <jandd@debian.org>
To: 538309@bugs.debian.org
Subject: workaround found
Date: Wed, 21 Oct 2009 22:03:57 +0200
[Message part 1 (text/plain, inline)]
I found a workaround for this issue today.

--8<------------------
Author: Jan Dittberner <jandd@debian.org>
Description: Fixes the invocation of dia for diagramm generation in a headless 
environment
--- a/doc/Makefile
+++ b/doc/Makefile
@@ -129,7 +129,7 @@
                '$(@D)'/foil*.html
 
 %.dia.png: %.dia
-       dia -t png-libart --export=$@.tmp $<
+       dia -n -t cairo-alpha-png --export=$@.tmp $<
        mv $@.tmp $@
 
 api:
--8<------------------

using the cairo-alpha-png renderer instead of png-libart made it work.


Regards
Jan

-- 
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/
[signature.asc (application/pgp-signature, inline)]

Set Bug forwarded-to-address to 'https://bugzilla.gnome.org/show_bug.cgi?id=611276'. Request was from Roland Stigge <stigge@antcom.de> to control@bugs.debian.org. (Sat, 27 Feb 2010 12:33:10 GMT) (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, Debian Dia Team <pkg-dia-team@lists.alioth.debian.org>:
Bug#538309; Package dia. (Sat, 27 Feb 2010 12:42:06 GMT) (full text, mbox, link).


Acknowledgement sent to Roland Stigge <stigge@antcom.de>:
Extra info received and forwarded to list. Copy sent to Debian Dia Team <pkg-dia-team@lists.alioth.debian.org>. (Sat, 27 Feb 2010 12:42:06 GMT) (full text, mbox, link).


Message #30 received at 538309@bugs.debian.org (full text, mbox, reply):

From: Roland Stigge <stigge@antcom.de>
To: 538309@bugs.debian.org
Subject: dia: segfaults when exporting a png from a dia file using png-libart
Date: Sat, 27 Feb 2010 13:24:57 +0100
Hi,

I can't produce the segault just by unsetting DISPLAY for dia 0.97.1 but
get the python warning.

Forwarded upstream.

At least, the resulting image looks fine.

bye,
  Roland




Forcibly Merged 492396 538309. Request was from Roland Stigge <stigge@antcom.de> to control@bugs.debian.org. (Sat, 27 Feb 2010 13:03:06 GMT) (full text, mbox, link).


Disconnected #492396 from all other report(s). Request was from Roland Stigge <stigge@antcom.de> to control@bugs.debian.org. (Thu, 29 Dec 2011 18:27:08 GMT) (full text, mbox, link).


Reply sent to Roland Stigge <stigge@antcom.de>:
You have taken responsibility. (Thu, 29 Dec 2011 18:45:11 GMT) (full text, mbox, link).


Notification sent to Jan Dittberner <jandd@debian.org>:
Bug acknowledged by developer. (Thu, 29 Dec 2011 18:45:11 GMT) (full text, mbox, link).


Message #39 received at 538309-done@bugs.debian.org (full text, mbox, reply):

From: Roland Stigge <stigge@antcom.de>
To: 538309-done@bugs.debian.org
Subject: Debian #538309: dia segfaults when exporting a png from a dia file using png-libart
Date: Thu, 29 Dec 2011 19:41:27 +0100
Version: 0.97.1-1

Hi,

upstream claims that the bug is most probably fixed in 0.97.1 already. I
can also not reproduce the bug, even with DISPLAY unset and in a
pbuilder chroot.

Therefore closing. If you still encounter sth. like this, please get
back to the bug report and/or feel free to reopen.

Thanks,

Roland




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Fri, 27 Jan 2012 07:33:01 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Sun Jul 2 07:27:43 2023; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.