[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ft-devel] Freetype crashes on ARM
From: |
Frank Meerkoetter |
Subject: |
[ft-devel] Freetype crashes on ARM |
Date: |
Thu, 26 Jan 2006 09:54:24 +0100 |
User-agent: |
Internet Messaging Program (IMP) H3 (4.0) |
Hi,
i'm using poppler(xpdf derived) and freetype on an ARM based system
to render pdf documents.
I encounter crashes when loading documents which contained embedded
Type1 fonts. The crashes were due to "Illegal Intructions".
I could track it down to FT_Get_Name_Index().
This lead me to a problem posted to this mailing list last year.
http://lists.gnu.org/archive/html/freetype-devel/2005-04/msg00033.html
I upgraded freetype to 2.1.10 and recompiled with -fno-strict-aliasing.
This fixed the problem with the illegal instructions but
the code still crashes when loading embedded type1 fonts.
Below the gdb output.
Alignment trap: apdf (64) PC=0x40248094 Instr=0xe5823004 Address=0x00000002 FSR
0x801
Program received signal SIGBUS, Bus error.
[Switching to Thread 1024 (LWP 64)]
0x40248094 in FT_List_Remove (list=0x66480, node=0x613c0) at ftlist.c:114
114 ftlist.c: No such file or directory.
in ftlist.c
(gdb) bt
#0 0x40248094 in FT_List_Remove (list=0x66480, node=0x613c0) at ftlist.c:114
#1 0x40244a7c in FT_Done_Face (face=0x81018) at ftobjs.c:1409
#2 0x40912e00 in ~SplashFTFontFile (this=0x83580) at SplashFTFontFile.cc:96
#3 0x40913e6c in SplashFontFile::decRefCnt (this=0xfffffffe)
at SplashFontFile.cc:53
#4 0x4091317c in ~SplashFont (this=0x835d0) at SplashFont.cc:82
#5 0x40911d54 in ~SplashFTFont (this=0x835d0) at SplashFTFont.cc:125
#6 0x409136a0 in ~SplashFontEngine (this=0x65e38) at SplashFontEngine.cc:76
#7 0x40864dcc in ~SplashOutputDev (this=0x6a630) at SplashOutputDev.cc:229
#8 0x4002d4a4 in Poppler::Page::renderToImageScaled (this=0x4ed38, q=0x4ebd8,
hDpi=72, vDpi=72, abortCheckCbk=0xbefff9c0, abortCheckCbkData=0x4002d4a4)
at poppler-page.cc:217
#9 0x00014be8 in QGArray::detach ()
#10 0x000658e8 in ?? ()
Cannot access memory at address 0x110
The same code runs on a X86-based system without problems.
Any ideas?
Frank
- [ft-devel] Freetype crashes on ARM,
Frank Meerkoetter <=