Your message dated Wed, 24 May 2006 16:51:26 -0700
with message-id <[EMAIL PROTECTED]>
and subject line libfreetype6: jnethack: mkfontscale: segfaults on 64 bit
arches.
has caused the attached Bug report 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 I am
talking about this indicates a serious mail system misconfiguration
somewhere. Please contact me immediately.)
Debian bug tracking system administrator
(administrator, Debian Bugs database)
--- Begin Message ---
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
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/jnethack-1.1.5/debian/tmp/usr/lib/games/jnethack )
( cd win/X11 ; cp JNetHack.ad
/usr/src/jnethack-1.1.5/debian/tmp/usr/lib/games/jnethack/JNetHack )
( cd win/gtk ; cp GTKRC
/usr/src/jnethack-1.1.5/debian/tmp/usr/lib/games/jnethack/gtkrc )
( bdftopcf win/X11/nh10.bdf >
/usr/src/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)
/bin/sh: line 1: 24584 Segmentation fault mkfontdir
/usr/src/jnethack-1.1.5/debian/tmp/usr/lib/games/jnethack
make[3]: *** [dofiles-nodlb] Error 139
The command that got executed was:
/usr/X11R6/bin/mkfontscale -b -s -l
/usr/src/jnethack-1.1.5/debian/tmp/usr/lib/games/jnethack
I've rebuild freetype with debug info and no optimazation
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/freetype-2.1.10/freetype-2.1.10/src/winfonts/winfnt.c:514
#1 0x00002aaaaabd4584 in open_face (driver=0x511180, stream=0x517270,
face_index=0, num_params=0, params=0x0, aface=0x7ffffff79300)
at ftobjs.c:927
#2 0x00002aaaaabd55cb in FT_Open_Face (library=0x50c730, args=0x7ffffff793a0,
face_index=0, aface=0x7ffffff79cf8) at ftobjs.c:1634
#3 0x00002aaaaabd464f in FT_New_Face (library=0x50c730,
pathname=0x517220
"/usr/src/jnethack-1.1.5/debian/tmp/usr/lib/games/jnethack/dungeon",
face_index=0, aface=0x7ffffff79cf8) at ftobjs.c:987
#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/ld-linux-x86-64.so.2
#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/freetype-2.1.10/freetype-2.1.10/src/winfonts/winfnt.c:514
514 FT_MEM_COPY( font->family_name,
(gdb) p font->family_name
$1 = (FT_String *) 0x0
(gdb) p font->fnt_frame + font->header.face_name_offset
$2 = (FT_Byte *) 0x2aaaef0bf000 <Address 0x2aaaef0bf000 out of bounds>
(gdb) p family_size
$3 = -1140849918
(gdb) p font->header.file_size
$9 = 770
(gdb) p font->header.face_name_offset
$10 = 1140850688
The file seems to have a size of 2200.
I don't know if this font is broken, or this is a bug in libfreetype.
Kurt
--- End Message ---
--- Begin Message ---
Version: 2.2.1-1
Hi Kurt,
I've reproduced this bug with libfreetype6 2.1.10-3 using the same mkfontdir
command as in the original bug report, and confirmed that mkfontdir no
longer segfaults with libfreetype6 2.2.1-2. Closing the report accordingly.
Thanks,
--
Steve Langasek Give me a lever long enough and a Free OS
Debian Developer to set it on, and I can move the world.
[EMAIL PROTECTED] http://www.debian.org/
signature.asc
Description: Digital signature
--- End Message ---