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

Jan Dittberner jandd at debian.org
Thu Sep 24 08:46:27 UTC 2009


On Thu, Sep 24, 2009 at 12:18:10AM +0200, W. Martin Borgert wrote:
> On 2009-09-23 22:24, Jan Dittberner wrote:
> > 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
> 
> Not for me:
> 
> $ DISPLAY='' dia -s 400x400 -e foo.png -t png-libart foo.dia 
> /usr/lib/pymodules/python2.5/gtk-2.0/gtk/__init__.py:57: GtkWarning: could not open display
>   warnings.warn(str(e), _gtk.Warning)
> foo.dia --> foo.png
> $ identify foo.png 
> foo.png PNG 400x400 400x400+0+0 8-bit DirectClass 1.46kb 
> 
> ii  dia            0.97-2         Diagram editor


The error occurs when running in a sid pbuilder chroot the used dia version is 0.97-2 too.

The ldap-is-a-tree.dia file comes from the ldaptor source package (I attached it to #538309).


Regards
Jan
-------------- 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/20090924/9228076a/attachment.pgp>


More information about the Pkg-dia-team mailing list