Bug#262273: dia-gnome: Crash on command line eps export
Tom Parker
Tom Parker <palfrey@bits.bris.ac.uk>, 262273@bugs.debian.org
Fri, 30 Jul 2004 14:42:48 +0200
Package: dia-gnome
Version: 0.94-pre3-1
Severity: important
Tags: experimental patch
Dia crashes when trying to export certain files as eps on the command
line. Export works via the GUI, but segfaults on the command line. The
one-line patch below fixes this.
--- app_procs.c 2004-07-30 14:23:12.000000000 +0200
+++ app_procs.c.fixed 2004-07-30 14:21:30.000000000 +0200
@@ -294,7 +294,7 @@
if (export_file_format) {
char *export_file_name = NULL;
- DiaExportFilter *ef;
+ DiaExportFilter *ef=NULL;
/* First try guessing based on extension */
export_file_name = build_output_file_name(in_file_name,
-- System Information:
Debian Release: 3.1
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.7-1-686-smp
Locale: LANG=C, LC_CTYPE=C
Versions of packages dia-gnome depends on:
ii dia-common 0.94-pre3-1 Diagram editor (common files)
ii dia-libs 0.94-pre3-1 Diagram editor (library files)
ii libart-2.0-2 2.3.16-6 Library of functions for 2D graphi
ii libatk1.0-0 1.6.1-2.1 The ATK accessibility toolkit
ii libaudiofile0 0.2.6-4 Open-source version of SGI's audio
ii libbonobo2-0 2.6.2-5 Bonobo CORBA interfaces library
ii libbonoboui2-0 2.6.1-1 The Bonobo UI library
ii libc6 2.3.2.ds1-13 GNU C Library: Shared libraries an
ii libesd0 0.2.34-1 Enlightened Sound Daemon - Shared
ii libfreetype6 2.1.7-2.1 FreeType 2 font engine, shared lib
ii libgconf2-4 2.7.1-1 GNOME configuration database syste
ii libgcrypt7 1.1.90-9 LGPL Crypto library - runtime libr
ii libglib2.0-0 2.4.4-1 The GLib library of C routines
ii libgnome-keyring0 0.2.1-2 GNOME keyring services library
ii libgnome2-0 2.7.1-2 The GNOME 2 library - runtime file
ii libgnomecanvas2-0 2.7.1-1 A powerful object-oriented display
ii libgnomeui-0 2.7.1-1 The GNOME 2 libraries (User Interf
ii libgnomevfs2-0 2.7.2-1 The GNOME virtual file-system libr
ii libgnutls10 1.0.4-7 GNU TLS library - runtime library
ii libgpg-error0 0.7-3 library for common error values an
ii libgtk2.0-0 2.4.4-2 The GTK+ graphical user interface
ii libice6 4.3.0.dfsg.1-6 Inter-Client Exchange library
ii libjpeg62 6b-9 The Independent JPEG Group's JPEG
ii liborbit2 1:2.10.2-1.1 libraries for ORBit2 - a CORBA ORB
ii libpango1.0-0 1.5.0-2 Layout and rendering of internatio
ii libpng12-0 1.2.5.0-6 PNG library - runtime
ii libpopt0 1.7-4 lib for parsing cmdline parameters
ii libsm6 4.3.0.dfsg.1-6 X Window System Session Management
ii libtasn1-2 0.2.10-1 Manage ASN.1 structures (runtime)
ii libx11-6 4.3.0.dfsg.1-6 X Window System protocol client li
ii libxml2 2.6.11-2 GNOME XML library
ii xlibs 4.3.0.dfsg.1-6 X Window System client libraries m
ii zlib1g 1:1.2.1.1-5 compression library - runtime
-- no debconf information