I'm exploring the option of upgrading libfreetype6 from 2.3.7-2 to 2.3.11 as
found here
http://www.mail-archive.com/[email protected]/msg04759.html.

Lets see if that helps.

BR,
Akash



On Tue, Apr 26, 2011 at 3:14 PM, Akash Agrawal <[email protected]> wrote:

> Hi All,
>
> We are getting a lot of Floating point exceptions these days on pdf2swf
> (0.9.0). I compiled pdf2swf in debug mode on a pdf2swf instance and try to
> debug the problem. I found most of them are associated with *libfreetype* 
> library
> (for fonts). I tried to update that library but we are already on latest
> version for that.
>
> Here is the stack trace for attached pdf file:
>
> domU-12-31-39-09-0C-04:/home# gdb /usr/local/bin/pdf2swf
> GNU gdb 6.8-debian
> Copyright (C) 2008 Free Software Foundation, Inc.
> License GPLv3+: GNU GPL version 3 or later <
> http://gnu.org/licenses/gpl.html>
> This is free software: you are free to change and redistribute it.
> There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
> and "show warranty" for details.
> This GDB was configured as "i486-linux-gnu"...
> (gdb) run lifeisajourneypdf10.pdf
> Starting program: /usr/local/bin/pdf2swf lifeisajourneypdf10.pdf
> [Thread debugging using libthread_db enabled]
> NOTICE  Output filename not given. Writing to lifeisajourneypdf10.swf
> [New Thread 0xb7fd8a40 (LWP 10928)]
> Program received signal SIGFPE, Arithmetic exception.
> [Switching to Thread 0xb7fd8a40 (LWP 10928)]
> 0x008cf117 in ?? () from /usr/lib/libfreetype.so.6
> (gdb) where full
> #0  0x008cf117 in ?? () from* /usr/lib/libfreetype.so.6*
> No symbol table info available.
> #1  0x00000042 in ?? ()
> No symbol table info available.
> #2  0x008a6000 in ?? ()
> No symbol table info available.
> #3  0x00074b8c in ?? ()
> No symbol table info available.
> #4  0x00000001 in ?? ()
> No symbol table info available.
> #5  0x008a79bc in ?? () from /usr/lib/libfreetype.so.6
> No symbol table info available.
> #6  0x0091a8cc in ?? () from /usr/lib/libfreetype.so.6
> No symbol table info available.
> #7  0x0000000f in ?? ()
> No symbol table info available.
> #8  0xb7fdd2af in ?? ()
> No symbol table info available.
> #9  0xfffffffb in ?? ()
> No symbol table info available.
> #10 0x00000001 in ?? ()
> No symbol table info available.
> #11 0x00000001 in ?? ()
> No symbol table info available.
> #12 0x00000000 in ?? ()
> No symbol table info available.
> (gdb)
>
>
> *OS info: *It is an EC2 instance. Uname o/p is:
> * *Linux domU-12-31-39-09-0C-04 2.6.21.7-2.fc8xen-ec2-v1.0 #2 SMP Tue Sep
> 1 10:04:29 EDT 2009 i686 GNU/Linux
>
> If anybody can help us on this front, it will be very helpful. Anyways, I
> am putting this question in forums (Will share the link.)
>
> *PS:* I don't get this floating point exception in latest version (0.9.1)
> on my mac.
>
> BR,
> Akash
>

Reply via email to