Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 138662 - Fontforge crashes when attempting to use autotrace - SplineCharFindBounds ()
Summary: Fontforge crashes when attempting to use autotrace - SplineCharFindBounds ()
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Fonts Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-06-30 23:10 UTC by Kristian Poul Herkild
Modified: 2007-02-07 04:57 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
GDB Backtrace for fontforge (gdb_output_bt-fontforge,2.09 KB, text/plain)
2006-07-01 14:25 UTC, Kristian Poul Herkild
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kristian Poul Herkild 2006-06-30 23:10:56 UTC
GDB output - FontForge 

mrjones@mrjones ~ $ gdb fontforge
GNU gdb 6.4
Copyright 2005 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 "i686-pc-linux-gnu"...(no debugging symbols found)
Using host libthread_db library "/lib/tls/libthread_db.so.1".

(gdb) start
Breakpoint 1 at 0x805dc40
Starting program: /usr/bin/fontforge
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread -1214888272 (LWP 16192)]
[Switching to Thread -1214888272 (LWP 16192)]
0x0805dc40 in main ()
(gdb) continue
Continuing.
Copyright (c) 2000-2006 by George Williams.
 Executable based on sources from 22:35 8-Apr-2006-ML.
FontForge does not support your encoding (UTF8), it will try to use iconv()
 or it will pretend the local encoding is latin1

Program received signal SIGSEGV, Segmentation fault.
0x081807c9 in SplineCharFindBounds ()
(gdb) continue
Continuing.
Couldn't get registers: Ingen s
Comment 1 Kristian Poul Herkild 2006-06-30 23:10:56 UTC
GDB output - FontForge 

mrjones@mrjones ~ $ gdb fontforge
GNU gdb 6.4
Copyright 2005 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 "i686-pc-linux-gnu"...(no debugging symbols found)
Using host libthread_db library "/lib/tls/libthread_db.so.1".

(gdb) start
Breakpoint 1 at 0x805dc40
Starting program: /usr/bin/fontforge
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread -1214888272 (LWP 16192)]
[Switching to Thread -1214888272 (LWP 16192)]
0x0805dc40 in main ()
(gdb) continue
Continuing.
Copyright (c) 2000-2006 by George Williams.
 Executable based on sources from 22:35 8-Apr-2006-ML.
FontForge does not support your encoding (UTF8), it will try to use iconv()
 or it will pretend the local encoding is latin1

Program received signal SIGSEGV, Segmentation fault.
0x081807c9 in SplineCharFindBounds ()
(gdb) continue
Continuing.
Couldn't get registers: Ingen sådan proces.
(gdb) quit
The program is running.  Exit anyway? (y or n) y
mrjones@mrjones ~ $
Comment 2 Kristian Poul Herkild 2006-06-30 23:11:27 UTC
mrjones ~ # emerge --info
Portage 2.1-r1 (default-linux/x86/2006.0, gcc-4.1.1, glibc-2.3.6-r4, 2.6.15-gentoo-r1-kph0 i686)
=================================================================
System uname: 2.6.15-gentoo-r1-kph0 i686 AMD Sempron(tm) 2200+
Gentoo Base System version 1.6.15
dev-lang/python:     2.3.5-r2, 2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r2
sys-devel/gcc-config: 1.3.13-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://mirror.uni-c.dk/pub/gentoo/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://mirror.gentoo.no/ ftp://ftp.du.se/pub/os/gentoo"
LANG="da_DK.UTF8"
LC_ALL="da_DK.UTF8"
LINGUAS="da en"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="x86 3dnow X a52 aac aalib acpi aim alsa apache2 audiofile avahi avi bash-completion beagle berkdb bitmap-fonts bonobo bzip2 cdinstall cdr cli crypt cups curl dbus doc dri dv eds emacs emboss encode esd exif expat fam ffmpeg firefox flac flash foomaticdb fortran ftp gb gcj gd gdbm gif glut gmp gnome gpm gstreamer gtk gtk2 gtkhtml guile hal icq idn imagemagick imlib ipv6 isdnlog jabber jack java javascript jpeg junit lcms ldap lesstif libcaca libg++ libwww lua mad matroska matrox mhash mikmod mime ming mmx mng mono mozilla mp3 mpeg msn mysql nas ncurses nls nptl nsplugin nvidia objc odbc offensive ogg openal opengl oscar oss pam pcre pdflib perl php png posix postgres pppd python qdbm qt qt3 qt4 quicktime radius readline reflection ruby samba sasl sdl session slang sndfile sox speex spell spl sqlite sse ssl svg svga symlink tcltk tcpd test tetex theora tidy tiff tokenizer truetype truetype-fonts type1-fonts udev unicode usb v4l vcd videos vorbis win32codecs wmf wxwindows xml xml2 xmlrpc xorg xosd xpm xprint xsl xv xvid yahoo zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux linguas_da linguas_en userland_GNU"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2006-07-01 00:26:03 UTC
See http://www.gentoo.org/proj/en/qa/backtraces.xml for info how to produce useful backtrace and reopen when ready. Thanks.
Comment 4 Kristian Poul Herkild 2006-07-01 14:25:44 UTC
Created attachment 90645 [details]
GDB Backtrace for fontforge

The error is easily reproducible.

Import png-image and run autotrace.
Comment 5 Kristian Poul Herkild 2006-07-01 17:38:52 UTC
Backtrace added.
Comment 6 Andrew A. Gill 2006-10-06 10:35:45 UTC
I'm also getting this error in AMD64.  Here's my backtrace:

#0  0x000000000053bcf7 in SplineCharFindBounds (sc=0x7fffec1280d0, 
    bounds=0x7fffec128330) at splineutil.c:715
#1  0x00000000005630d0 in _SCAutoTrace (sc=0xb4a6c0, args=0x0)
    at autotrace.c:157
#2  0x0000000000563c6d in SCAutoTrace (sc=0xb4a6c0, v=0xb6be50, 
    ask=<value optimized out>) at autotrace.c:535
#3  0x00002ae4beaec891 in gmenu_mouse (m=0xb88af0, event=0x7fffec128690)
    at gmenu.c:565
#4  0x00002ae4beaecdb8 in gmenu_eh (w=<value optimized out>, ge=0x7fffec128690)
    at gmenu.c:825
#5  0x00002ae4beb05087 in dispatchEvent (gdisp=0xa8da40, event=0x7fffec128750)
    at gxdraw.c:3138
#6  0x00002ae4beb069fd in GXDrawEventLoop (gd=<value optimized out>)
    at gxdraw.c:3237
#7  0x000000000054fc06 in FontForgeMain (argc=1, argv=0x7fffec129298)
    at start.c:795
#8  0x00002ae4bff96134 in __libc_start_main () from /lib/libc.so.6
#9  0x000000000041bbf9 in _start ()
Comment 7 SpanKY gentoo-dev 2006-10-28 16:52:17 UTC
you should try with the latest version, there have been autotrace fixes ...
Comment 8 SpanKY gentoo-dev 2007-02-07 04:57:37 UTC
re-open if latest fontforge doesnt address this