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

[Pkg-fonts-devel] Bug#550120: marked as done (fontforge segfaults when writing an SVG font)



Your message dated Sun, 26 Sep 2010 16:02:30 +0000
with message-id <E1OztgM-0005Xs-O0@franck.debian.org>
and subject line Bug#550120: fixed in fontforge 0.0.20100501-2
has caused the Debian Bug report #550120,
regarding fontforge segfaults when writing an SVG font
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
550120: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=550120
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: fontforge
Version: 0.0.20080429-1

If I try to use FontForge to convert the attached tiny .sfd file
into an SVG font, using the command line

  fontforge -lang=ff -c 'Open($1); Generate($2);' test.sfd test.svg

then fontforge terminates with a segfault, having opened test.svg
for writing but not written any data to it.

This occurs on a Debian Lenny machine on ordinary Intel x86.

Running it under valgrind reports (after a lot of errors in
PyObject_Free, which appear to be unrelated to the segfault inasmuch
as they also occur in runs of fontforge which complete successfully):

==28251== Jump to the invalid address stated on the next line
==28251==    at 0x3F: ???
==28251==    by 0x43785F8: (within /usr/lib/fontforge/libfontforge.so.1.0.0)
==28251==    by 0x43797AF: WriteSVGFont (in /usr/lib/fontforge/libfontforge.so.1.0.0)
==28251==    by 0x42C4FF2: _DoSave (in /usr/lib/fontforge/libfontforge.so.1.0.0)
==28251==    by 0x42C6ADB: GenerateScript (in /usr/lib/fontforge/libfontforge.so.1.0.0)
==28251==    by 0x42DB993: (within /usr/lib/fontforge/libfontforge.so.1.0.0)
==28251==    by 0x42E48E5: (within /usr/lib/fontforge/libfontforge.so.1.0.0)
==28251==    by 0x42E0F2B: (within /usr/lib/fontforge/libfontforge.so.1.0.0)
==28251==    by 0x42E213D: (within /usr/lib/fontforge/libfontforge.so.1.0.0)
==28251==    by 0x42E231D: (within /usr/lib/fontforge/libfontforge.so.1.0.0)
==28251==    by 0x42E261D: (within /usr/lib/fontforge/libfontforge.so.1.0.0)
==28251==    by 0x42E287B: (within /usr/lib/fontforge/libfontforge.so.1.0.0)
==28251==  Address 0x3f is not stack'd, malloc'd or (recently) free'd

which looks as if something has either trashed its stack or called
through a corrupted function pointer. I tried debugging it myself,
but was unable to reproduce the problem in a version of fontforge
built with debugging information.

Here are my installed version numbers of packages which are either
listed in fontforge's dependencies or which provide a shared library
listed by 'ldd fontforge':

fontforge                   0.0.20080429-1
libc6                       2.7-18
libfreetype6                2.3.7-2+lenny1
libgif4                     4.1.6-6
libice6                     2:1.0.4-1
libjpeg62                   6b-14
libpng12-0                  1.2.27-2+lenny2
libsm6                      2:1.0.3-2
libspiro0                   20071029-2
libtiff4                    3.8.2-11.2
libuninameslist0            0.0.20060907-2
libx11-6                    2:1.1.5-2
libxau6                     1:1.0.3-3
libxcb-xlib0                1.1-1.2
libxcb1                     1.1-1.2
libxdmcp6                   1:1.0.2-3
libxml2                     2.6.32.dfsg-5+lenny1
python2.5                   2.5.2-15
zlib1g                      1:1.2.3.3.dfsg-12

Cheers,
Simon
-- 
Simon Tatham         These are my opinions. There are many
<anakin@pobox.com>   like them but these ones are mine.
SplineFontDB: 3.0
FontName: Test
FullName: Test
FamilyName: Test
Weight: Medium
Copyright: No copyright is claimed on the outline data of this font.
Version: 0.1.8680
ItalicAngle: 0
UnderlinePosition: -100
UnderlineWidth: 50
Ascent: 800
Descent: 200
LayerCount: 2
Layer: 0 0 "Back" 1
Layer: 1 0 "Fore" 0
UseXUID: 0
OS2Version: 0
OS2_WeightWidthSlopeOnly: 0
OS2_UseTypoMetrics: 1
CreationTime: 1252826347
ModificationTime: 1254912472
OS2TypoAscent: 0
OS2TypoAOffset: 1
OS2TypoDescent: 0
OS2TypoDOffset: 1
OS2TypoLinegap: 0
OS2WinAscent: 0
OS2WinAOffset: 1
OS2WinDescent: 0
OS2WinDOffset: 1
HheadAscent: 0
HheadAOffset: 1
HheadDescent: 0
HheadDOffset: 1
OS2Vendor: 'PfEd'
DEI: 0
Encoding: UnicodeBmp
UnicodeInterp: none
NameList: Adobe Glyph List
DisplaySize: -96
AntiAlias: 1
FitToEm: 1
WinInfo: 64 8 2
BeginChars: 65537 150

StartChar: test
Encoding: 65 65 6
Width: 212.211
Flags: 
LayerCount: 2
Fore
SplineSet
102.411 268.247 m 1
 100.184 267.158 98.8579 265.074 98.6211 262.137 c 0
 98.5842 261.707 98.5609 261.319 98.5609 260.954 c 0
 98.5609 258.505 99.6128 257.121 104.684 251.432 c 0
 116.581 238.021 122.633 226.147 122.633 216.248 c 0
 122.633 213.14 122.037 210.226 120.837 207.521 c 0
 114.916 194.163 99.4263 173.368 81.8526 155.132 c 0
 55.7457 128.018 43.2934 104.692 43.2934 82.1254 c 0
 43.2934 76.0305 44.2018 69.9911 45.9947 63.9474 c 0
 50.4 49.0263 66.6474 27.8526 95.3053 -0.331579 c 0
 100.685 -5.58499 103.766 -7.85098 106.533 -7.85098 c 0
 107.932 -7.85098 109.252 -7.27129 110.747 -6.20526 c 0
 112.838 -4.72009 113.905 -3.0898 113.905 -1.09155 c 0
 113.905 1.75386 111.742 5.34535 107.289 10.3263 c 0
 95.5758 23.5178 89.5937 35.3929 89.5937 45.263 c 0
 89.5937 48.3646 90.1844 51.2683 91.3737 53.9526 c 0
 97.2947 67.3105 112.784 88.1053 130.358 106.342 c 0
 156.647 133.626 167.447 153.474 168.442 176.447 c 0
 168.514 178.025 168.553 179.552 168.553 181.038 c 0
 168.553 201.964 160.883 214.874 131.163 247.026 c 0
 115.472 264.003 110.012 269.119 105.653 269.119 c 0
 104.551 269.119 103.519 268.792 102.411 268.247 c 0
EndSplineSet
EndChar

EndChars
EndSplineFont

--- End Message ---
--- Begin Message ---
Source: fontforge
Source-Version: 0.0.20100501-2

We believe that the bug you reported is fixed in the latest version of
fontforge, which is due to be installed in the Debian FTP archive:

fontforge-nox_0.0.20100501-2_i386.deb
  to main/f/fontforge/fontforge-nox_0.0.20100501-2_i386.deb
fontforge_0.0.20100501-2.debian.tar.gz
  to main/f/fontforge/fontforge_0.0.20100501-2.debian.tar.gz
fontforge_0.0.20100501-2.dsc
  to main/f/fontforge/fontforge_0.0.20100501-2.dsc
fontforge_0.0.20100501-2_i386.deb
  to main/f/fontforge/fontforge_0.0.20100501-2_i386.deb
libfontforge-dev_0.0.20100501-2_i386.deb
  to main/f/fontforge/libfontforge-dev_0.0.20100501-2_i386.deb
libfontforge1_0.0.20100501-2_i386.deb
  to main/f/fontforge/libfontforge1_0.0.20100501-2_i386.deb
libgdraw4_0.0.20100501-2_i386.deb
  to main/f/fontforge/libgdraw4_0.0.20100501-2_i386.deb
python-fontforge_0.0.20100501-2_i386.deb
  to main/f/fontforge/python-fontforge_0.0.20100501-2_i386.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 550120@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Christian Perrier <bubulle@debian.org> (supplier of updated fontforge package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Sun, 26 Sep 2010 16:06:26 +0200
Source: fontforge
Binary: fontforge fontforge-nox libfontforge-dev libfontforge1 libgdraw4 python-fontforge
Architecture: source i386
Version: 0.0.20100501-2
Distribution: unstable
Urgency: low
Maintainer: Debian Fonts Task Force <pkg-fonts-devel@lists.alioth.debian.org>
Changed-By: Christian Perrier <bubulle@debian.org>
Description: 
 fontforge  - font editor
 fontforge-nox - font editor - non-X version
 libfontforge-dev - font editor - runtime library (development files)
 libfontforge1 - font editor - runtime library
 libgdraw4  - font editor - runtime graphics and widget library
 python-fontforge - font editor - Python bindings
Closes: 550120
Changes: 
 fontforge (0.0.20100501-2) unstable; urgency=low
 .
   * Team upload
   * Fix stack corruption in fontforge/svg.c
     Closes: #550120
Checksums-Sha1: 
 93aa93456692d006cec8f57d3c1b168f8ada89b7 1789 fontforge_0.0.20100501-2.dsc
 20853998ccb3547797f2ed55f90bd040afd0d53c 18977 fontforge_0.0.20100501-2.debian.tar.gz
 e0a0c9ba6eebce2ffe0471f687526e88890ef5c3 2267052 fontforge_0.0.20100501-2_i386.deb
 1038009e275dcd5362295f479e32e8bf86fe4131 1250778 fontforge-nox_0.0.20100501-2_i386.deb
 1f7c86760c29eef226204bf073146931f510c3f3 132804 libfontforge-dev_0.0.20100501-2_i386.deb
 f6303199aeafc13eec940b8d7db581d69eec98ee 2434084 libfontforge1_0.0.20100501-2_i386.deb
 df22cf67413917625a7562a7c9184cff7a47fa02 349454 libgdraw4_0.0.20100501-2_i386.deb
 651c7f8a2ed1569ead3a475b780ac90635b9077f 14696 python-fontforge_0.0.20100501-2_i386.deb
Checksums-Sha256: 
 4619282288a3d57249277eeb537365d9943aa0401b0418f596f4a9432e569072 1789 fontforge_0.0.20100501-2.dsc
 1db7df222c939b83b79bc567c67ada540ad732f43e8621987b622964ad260247 18977 fontforge_0.0.20100501-2.debian.tar.gz
 ba122d7ea450266f8481b78c94ab831b537e9d53068aeabd3d22afe48abc5fc5 2267052 fontforge_0.0.20100501-2_i386.deb
 35077d2c4e1dd216cab04e4fc21ccf6151fe3bbfc07bfe4e81de1c169f2e066b 1250778 fontforge-nox_0.0.20100501-2_i386.deb
 639cddf786f78ff632d1eff6c04b8097a14e1cb0b3aef8ddebdaf0089ebb6eca 132804 libfontforge-dev_0.0.20100501-2_i386.deb
 4857f2c8208279d33561a0bb940c0c9df3064b8e0ca703486891de752cba3c87 2434084 libfontforge1_0.0.20100501-2_i386.deb
 bcee1e986b04122939a12e39ee07bf444c71ded321815e164c0aa61f8f117c50 349454 libgdraw4_0.0.20100501-2_i386.deb
 61d18e50f10543c7580475d69c97a654dd4da76b5f3b409df74efee60f3300d4 14696 python-fontforge_0.0.20100501-2_i386.deb
Files: 
 36ca6e348e2379a6089f4e24c7bb5f8f 1789 fonts optional fontforge_0.0.20100501-2.dsc
 8843c7f59c99707ce3ed6f95401e87ab 18977 fonts optional fontforge_0.0.20100501-2.debian.tar.gz
 2ca5b09cfc9fbc3039e24f3a1329134c 2267052 fonts optional fontforge_0.0.20100501-2_i386.deb
 df886d5a053e5d1178ee31bde28d0900 1250778 fonts optional fontforge-nox_0.0.20100501-2_i386.deb
 abf122ed1bc68f0f5dc83a0409ea4411 132804 libdevel optional libfontforge-dev_0.0.20100501-2_i386.deb
 608f2f908c7de2c7fc16170eae265b37 2434084 libs optional libfontforge1_0.0.20100501-2_i386.deb
 4eb63e9dbbc022682127c6e12f272b6f 349454 libs optional libgdraw4_0.0.20100501-2_i386.deb
 2ff994f7bb01b582deef6bfec9030314 14696 python optional python-fontforge_0.0.20100501-2_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iD8DBQFMn2xN1OXtrMAUPS0RAopRAKCpKHM/Mg0jeY3j+LJDNuMqOB1paQCgpTp8
rapAZHrLY/JMPOnvwFhP2d4=
=lqvJ
-----END PGP SIGNATURE-----



--- End Message ---

Reply to: