libfreetype6: jnethack: mkfontscale: segfaults on 64 bit arches.
Bug #28427 reported by
Debian Bug Importer
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
freetype (Debian) |
Fix Released
|
Unknown
|
|||
freetype (Ubuntu) |
Invalid
|
High
|
Tollef Fog Heen |
Bug Description
Automatically imported from Debian bug report #347776 http://
Changed in freetype: | |
assignee: | nobody → tfheen |
To post a comment you must log in.
Message-ID: <email address hidden>
Date: Thu, 12 Jan 2006 17:01:49 +0100
From: Kurt Roeckx <email address hidden>
To: <email address hidden>
Subject: libfreetype6: jnethack: mkfontscale: segfaults on 64 bit arches.
Package: libfreetype6
Version: 2.1.10-1
Severity: serious
Hi,
While building the jnethack 1.1.5-19 package on 64 bit arches we get the jnethack- 1.1.5/debian/ tmp/usr/ lib/games/ jnethack ) jnethack- 1.1.5/debian/ tmp/usr/ lib/games/ jnethack/ JNetHack ) jnethack- 1.1.5/debian/ tmp/usr/ lib/games/ jnethack/ gtkrc ) jnethack- 1.1.5/debian/ tmp/usr/ lib/games/ jnethack/ nh10.pcf ; mkfontdir /usr/src/ jnethack- 1.1.5/debian/ tmp/usr/ lib/games/ jnethack) jnethack- 1.1.5/debian/ tmp/usr/ lib/games/ jnethack
following error:
( cd dat ; cp x11tiles pet_mark.xbm rip.xpm license t32-1024.xpm credit.xpm floor.xpm jhelp jhh jcmdhelp jhistory jopthelp jwizhelp jjj dungeon asmodeus.lev baalz.lev bigrm-?.lev castle.lev fakewiz?.lev juiblex.lev knox.lev medusa-?.lev minend-?.lev minefill.lev minetn-?.lev oracle.lev orcus.lev sanctum.lev tower?.lev
valley.lev wizard?.lev astral.lev air.lev earth.lev fire.lev water.lev ?-goal.lev ?-fill?.lev ?-locate.lev ?-start.lev data joracles options quest.dat jrumors
/usr/src/
( cd win/X11 ; cp JNetHack.ad /usr/src/
( cd win/gtk ; cp GTKRC /usr/src/
( bdftopcf win/X11/nh10.bdf > /usr/src/
/bin/sh: line 1: 24584 Segmentation fault mkfontdir /usr/src/
make[3]: *** [dofiles-nodlb] Error 139
The command that got executed was: bin/mkfontscale -b -s -l /usr/src/ jnethack- 1.1.5/debian/ tmp/usr/ lib/games/ jnethack
/usr/X11R6/
I've rebuild freetype with debug info and no optimazation freetype- 2.1.10/ freetype- 2.1.10/ src/winfonts/ winfnt. c:514 79300) 93a0, 79cf8) at ftobjs.c:1634 0x517220 "/usr/src/ jnethack- 1.1.5/debian/ tmp/usr/ lib/games/ jnethack/ dungeon" , face_index=0, aface=0x7ffffff 79cf8) at ftobjs.c:987 ld-linux- x86-64. so.2 freetype- 2.1.10/ freetype- 2.1.10/ src/winfonts/ winfnt. c:514 face_name_ offset
and then get this are result from the core:
(gdb) bt
#0 0x00002aaaaac44d3f in FNT_Face_Init (stream=0x517270, face=0x5172d0,
face_index=0, num_params=0, params=0x0)
at /usr/src/
#1 0x00002aaaaabd4584 in open_face (driver=0x511180, stream=0x517270,
face_index=0, num_params=0, params=0x0, aface=0x7ffffff
at ftobjs.c:927
#2 0x00002aaaaabd55cb in FT_Open_Face (library=0x50c730, args=0x7ffffff7
face_index=0, aface=0x7ffffff
#3 0x00002aaaaabd464f in FT_New_Face (library=0x50c730,
pathname=
#4 0x0000000000402c20 in ?? ()
#5 0x00000000004038e8 in ?? ()
#6 0x00002aaaaae9c4ca in __libc_start_main () from /lib/libc.so.6
#7 0x000000000040165a in ?? ()
#8 0x00007ffffff7a258 in ?? ()
#9 0x00002aaaaabc29c0 in ?? () from /lib64/
#10 0x0000000000000005 in ?? ()
#11 0x00007ffffff7ae55 in ?? ()
#12 0x00007ffffff7ae70 in ?? ()
#13 0x00007ffffff7ae73 in ?? ()
#14 0x00007ffffff7ae76 in ?? ()
#15 0x00007ffffff7ae79 in ?? ()
#16 0x0000000000000000 in ?? ()
(gdb) frame 0
#0 0x00002aaaaac44d3f in FNT_Face_Init (stream=0x517270, face=0x5172d0,
face_index=0, num_params=0, params=0x0)
at /usr/src/
514 FT_MEM_COPY( font->family_name,
(gdb) p font->family_name
$1 = (FT_String *) 0x0
(gdb) p font->fnt_frame + font->header.
$2 = (FT_...