dia 9.1-pre2 crash on startup

I just managed to compile dia 9.1-pre2 on my Mandrake 8.2 box (which was not 
easy since upgrading pango required me to upgrade a lot of other stuff 
including glibc, XFree86, tetex and gcc. This also meant my X was broken and 
so is currently my CTRL-key and some of the fonts - today is not a good day 
to upgrade from Mandrake 8.2 to the unstable cooker version - I should have 
waited for 9.1). When rpm-hell was finally over, dia compiled fine.

But then, when I start dia I get:

martin chachacha ~/builds/dia-0.91-pre2 $ app/run_dia.sh

** (lt-dia:31245): WARNING **: Cannot open font file for font Arial 10
app/run_dia.sh: line 18: 31245 Segmentation fault      
/home/martin/builds/dia-0.91-pre2/app/dia $*
martin chachacha ~/builds/dia-0.91-pre2 $

It turns out the upgrading killed most of my true-type fonts including Arial. 
But I think dia should respond in a more sensible manner to this. I am unable 
to find any ~/.dia or so which could specify the Arial font so I have no clue 
where it gets this setting.

I'll try to see if I can install those fonts again one of these days.



Here are some details about the crash - is this enough?

-------------< some version information >-------------

martin chachacha ~/builds/dia-0.91-pre2 $ uname -a
Linux chachacha.kagsaa.dk 2.4.18-6mdk #1 Fri Mar 15 02:59:08 CET 2002 i686 
unknown unknown GNU/Linux

martin chachacha ~/builds/dia-0.91-pre2 $ gcc -v
Reading specs from /usr/lib/gcc-lib/i586-mandrake-linux-gnu/3.2.1/specs
Configured with: ../configure --prefix=/usr --libdir=/usr/lib 
--with-slibdir=/lib --mandir=/usr/share/man --infodir=/usr/share/info 
--enable-shared --enable-threads=posix --disable-checking --enable-long-long 
--enable-__cxa_atexit --enable-languages=c,c++,ada,f77,objc,java 
--host=i586-mandrake-linux-gnu --with-system-zlib
Thread model: posix
gcc version 3.2.1 (Mandrake Linux 9.1 3.2.1-7mdk)

--------------< backtrace >---------------

martin chachacha ~/builds/dia-0.91-pre2 $ export DEBUGGER=gdb
martin chachacha ~/builds/dia-0.91-pre2 $ app/run_dia.sh
GNU gdb 5.1.1
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-mandrake-linux"...
(gdb) run
Starting program: /home/martin/builds/dia-0.91-pre2/app/.libs/lt-dia

** (lt-dia:31311): WARNING **: Cannot open font file for font Arial 10

Program received signal SIGSEGV, Segmentation fault.
0x407221f9 in XftCharIndex () from /usr/X11R6/lib/libXft.so.2
(gdb) bt
#0  0x407221f9 in XftCharIndex () from /usr/X11R6/lib/libXft.so.2
#1  0x403b3af1 in pango_xft_font_get_glyph () from 
Cannot access memory at address 0xf

-------------< configure >---------------

martin chachacha ~/builds/dia-0.91-pre2 $ ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets $(MAKE)... yes
checking for working aclocal-1.4... missing
checking for working autoconf... found
checking for working automake-1.4... missing
checking for working autoheader... found
checking for working makeinfo... found
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking whether to enable maintainer-specific portions of Makefiles... no
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking for a sed that does not truncate output... /bin/sed
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking command to parse /usr/bin/nm -B output... ok
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for ranlib... ranlib
checking for strip... strip
checking for objdir... .libs
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.lo... yes
checking if gcc supports -fno-rtti -fno-exceptions... yes
checking whether the linker (/usr/bin/ld) supports shared libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking whether -lc should be explicitly linked in... no
creating libtool
checking whether build environment is sane... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking whether make sets $(MAKE)... (cached) yes
checking for strerror in -lcposix... no
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for ANSI C header files... (cached) yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking for unistd.h... (cached) yes
checking utime.h usability... yes
checking utime.h presence... yes
checking for utime.h... yes
checking for an ANSI C-conforming const... yes
checking for select... yes
checking for strcspn... yes
checking for strdup... yes
checking for strtol... yes
checking for snprintf... yes
checking for intltool >= 0.21... 0.25 found
checking for perl... /usr/bin/perl
checking for pkg-config... /usr/bin/pkg-config
checking for GLIB - version >= 2.0.0... yes (version 2.2.1)
checking for pkg-config... (cached) /usr/bin/pkg-config
checking for GTK+ - version >= 2.0.0... yes (version 2.0.6)
checking for pango >= 1.1.5... yes
checking PANGOVERSION_CFLAGS...  -I/usr/include/pango-1.0 
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
checking PANGOVERSION_LIBS...  -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl 
checking for pangoft2... yes
checking PANGOFT2_CFLAGS...  -I/usr/include/pango-1.0 -I/usr/include/freetype2 
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
checking PANGOFT2_LIBS...  -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 
-lgmodule-2.0 -ldl -lglib-2.0
checking for FT_Init_FreeType in -lfreetype... yes
checking if FreeType version is 2.0.9 or higher... yes
checking for libart-2.0... yes
checking LIBART_CFLAGS...  -I/usr/include/libart-2.0
checking LIBART_LIBS...  -lart_lgpl_2
checking whether GNOME specific code should be used... no
checking for gtk+-2.0 libxml-2.0 gdk-pixbuf-2.0 pangoft2 libart-2.0... yes
checking GTK_CFLAGS...      -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include 
-I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/X11R6/include 
-I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include 
-I/usr/include/libxml2 -I/usr/include/libart-2.0
checking GTK_LIBS...      -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lpangoxft-1.0 
-lpangox-1.0 -lxml2 -lz -lgdk_pixbuf-2.0 -lm -lpangoft2-1.0 -lpango-1.0 
-lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 -lart_lgpl_2
checking for libxslt... Package libxslt was not found in the pkg-config search 
Perhaps you should add the directory containing `libxslt.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libxslt' found
checking for poptSetOtherOptionHelp in -lpopt... yes
checking popt.h usability... yes
checking popt.h presence... yes
checking for popt.h... yes
checking png.h usability... yes
checking png.h presence... yes
checking for png.h... yes
checking for png_read_info in -lpng... yes
checking for png_structp in png.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking for LC_MESSAGES... yes
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking for dgettext in libc... yes
checking for bind_textdomain_codeset... yes
checking for msgfmt... /usr/bin/msgfmt
checking for dcgettext... yes
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for catalogs to be installed...  am az ca cs da de el en_GB es fi fr 
ga hu it ja ko nl nn no pl pt pt_BR ro ru sk sl sv tr uk vi zh_CN zh_TW
checking for xml2-config... xml2-config
checking for libxml >= 2.3.9... found
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking for gzread in -lz... yes
checking math.h usability... yes
checking math.h presence... yes
checking for math.h... yes
checking for isinf in -lm... yes
checking if C compiler accepts -Wall... yes
checking if C compiler accepts -Wunused... yes
checking if C compiler accepts -Winline... yes
checking if C compiler accepts -Wmissing-prototypes... yes
checking if C compiler accepts -Wmissing-declarations... yes
checking if C compiler accepts -finline-functions... yes
checking if C compiler accepts -fstrict-aliasing... yes
checking for db2html... /usr/bin/db2html
configure: creating ./config.status
config.status: creating Makefile
config.status: creating lib/Makefile
config.status: creating po/Makefile.in
config.status: creating objects/Makefile
config.status: creating objects/bondgraph/Makefile
config.status: creating objects/chronogram/Makefile
config.status: creating objects/custom/Makefile
config.status: creating objects/ER/Makefile
config.status: creating objects/flowchart/Makefile
config.status: creating objects/FS/Makefile
config.status: creating objects/GRAFCET/Makefile
config.status: creating objects/Misc/Makefile
config.status: creating objects/network/Makefile
config.status: creating objects/SADT/Makefile
config.status: creating objects/standard/Makefile
config.status: creating objects/UML/Makefile
config.status: creating shapes/Makefile
config.status: creating shapes/Assorted/Makefile
config.status: creating shapes/Circuit/Makefile
config.status: creating shapes/Cisco/Makefile
config.status: creating shapes/Civil/Makefile
config.status: creating shapes/Contact/Makefile
config.status: creating shapes/Electric/Makefile
config.status: creating shapes/flowchart/Makefile
config.status: creating shapes/jigsaw/Makefile
config.status: creating shapes/Logic/Makefile
config.status: creating shapes/Misc/Makefile
config.status: creating shapes/MSE/Makefile
config.status: creating shapes/network/Makefile
config.status: creating shapes/Pneumatic/Makefile
config.status: creating shapes/SDL/Makefile
config.status: creating shapes/sybase/Makefile
config.status: creating app/Makefile
config.status: creating samples/Makefile
config.status: creating sheets/Makefile
config.status: creating sheets/ER/Makefile
config.status: creating sheets/GRAFCET/Makefile
config.status: creating sheets/UML/Makefile
config.status: creating plug-ins/Makefile
config.status: creating plug-ins/cgm/Makefile
config.status: creating plug-ins/dxf/Makefile
config.status: creating plug-ins/hpgl/Makefile
config.status: creating plug-ins/metapost/Makefile
config.status: creating plug-ins/pixbuf/Makefile
config.status: creating plug-ins/pstricks/Makefile
config.status: creating plug-ins/python/Makefile
config.status: creating plug-ins/shape/Makefile
config.status: creating plug-ins/svg/Makefile
config.status: creating plug-ins/wmf/Makefile
config.status: creating plug-ins/wpg/Makefile
config.status: creating plug-ins/xfig/Makefile
config.status: creating plug-ins/xslt/Makefile
config.status: creating doc/Makefile
config.status: creating doc/en/Makefile
config.status: creating doc/pl/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing default-1 commands
config.status: executing default-2 commands
config.status: executing default-3 commands

        Source code location:   .
        Compiler:               gcc

        Gnome support:                          no
        Python support:                         no
        Libart support (PNG export):            yes

Now type make to build dia...

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]