swftools-common
[Top][All Lists]
Advanced

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

Re: [Swftools-common] pdf2swf "segmentation fault"


From: Matthew Morgan
Subject: Re: [Swftools-common] pdf2swf "segmentation fault"
Date: Fri, 04 Dec 2009 08:21:11 -0500
User-agent: Thunderbird 2.0.0.23 (X11/20090817)


German Geek wrote:
Hi, I had the same segmentation fault on some PDFs when compiling swftools 0.9.0 from source on CentOS 5.4, Debian 5.0 "Lenny" and Ubuntu 8.1 server, but when I installed the deb package on Ubuntu it worked. Are we compiling it wrongly? I get the same warnings etc. All i did was

./configure && make && make install

after installing the dependencies from yum or apt-get .

http://packages.ubuntu.com/karmic/i386/swftools/download (i think it was that worked)

We've now got an Ubuntu server. Had to switch from CentOS to that only because of this issue. Would still be curious as to what the solution to this is.

Regards,
Tim

++Tim Hinnerk Heuer++

http://www.ihostnz.com


2009/12/3 Jonas Schnelli <address@hidden <mailto:address@hidden>>

    Hi

    I've tried to build the 0.9.0 version on debian lenny.
    ./configure works fine, no missing library.
    ./make brings all the "warning: deprecated conversion from string
    constant to ‘char*’" (same in working 0.8.1release, but works fine)
    ./make check, as written in INSTALL has no targets
    ./lib/pdf/pdf2swf SOMEFILE.pdf gives:

    Truetype wasn't able to load glyph 0, error 6
    Truetype wasn't able to load glyph 0, error 6
    NOTICE  processing PDF page 1 (1088x756:0:0) (move:0:0)
    NOTICE  File contains jpeg pictures
    WARNING Approximating advance value for glyph 0
    NOTICE  processing PDF page 2 (1088x756:0:0) (move:0:0)
    NOTICE  File contains links
    NOTICE  processing PDF page 3 (1088x756:0:0) (move:0:0)
    NOTICE  processing PDF page 4 (1088x756:0:0) (move:0:0)
    NOTICE  processing PDF page 5 (1088x756:0:0) (move:0:0)
    NOTICE  processing PDF page 6 (1088x756:0:0) (move:0:0)
    NOTICE  processing PDF page 7 (1088x756:0:0) (move:0:0)
    NOTICE  processing PDF page 8 (1088x756:0:0) (move:0:0)
    NOTICE  processing PDF page 9 (1088x756:0:0) (move:0:0)
    NOTICE  processing PDF page 10 (1088x756:0:0) (move:0:0)
    NOTICE  processing PDF page 11 (1088x756:0:0) (move:0:0)
    NOTICE  processing PDF page 12 (1088x756:0:0) (move:0:0)
    NOTICE  processing PDF page 13 (1088x756:0:0) (move:0:0)
    NOTICE  processing PDF page 14 (1088x756:0:0) (move:0:0)
    NOTICE  File contains soft masks
    NOTICE  File contains forms
    NOTICE  File contains transparency groups
    Segmentation fault


    Any ideas?


    grz
    -
    Jonas




I don't know anything about the pdf2wf source, but could you enable debugging and do a stack trace? That might give you a hint. I'm sure there are several ways to do it, but the way I do it is run the program with gdb, then when it crashes, use the "where" command.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]