swftools-common
[Top][All Lists]
Advanced

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

Re: [Swftools-common] Segmentation fault while converting pdf to swf


From: Юрий Богданов
Subject: Re: [Swftools-common] Segmentation fault while converting pdf to swf
Date: Thu, 8 Apr 2010 14:56:52 +0300

This pdf has 116 pages. 26 of them throw segmentation fault.

Memory usage during converting is realy small (10-20mb).

GDB says on each bad page (some last lines):

VERBOSE paintTransparencyGroup blend=normal softmaskon=1
NOTICE  File contains transparency groups
VERBOSE clearSoftMask statepos=3
VERBOSE Casting gfxline of 0 segments to a stroke-polygon
VERBOSE Casting gfxline of 5 segments (5 line segments) to a gfxpoly
VERBOSE Comparing polygon renderings of size 78x107 and 78x107
VERBOSE Bad SVP rewinding result- polygons don't match
VERBOSE Error in polygon processing

Program received signal SIGSEGV, Segmentation fault.
0x0810cff1 in polyops_startclip ()

I have successfully converted this pdf without 26 pages. But converting process is automatic and i can`t handle each pdf file manualy.
I have looked through these pages, but found nothing. Some have almost no graphic or text, some are full of it.
If it`s pdf problem - i have to know how to avoid this error.

On Wed, Apr 7, 2010 at 5:55 PM, Chris Pugh <address@hidden> wrote:
Try running it through,

GNU Debugger:  http://www.gnu.org/software/gdb/download/

( gdb should already be on your system )

or,

Valgrind:            http://valgrind.org/

Might give you a clue as to what is happening.

Segfault is a memory access error.

   http://en.wikipedia.org/wiki/Segmentation_fault

Are you perchance using a VP environment with restrictive memory?
Does this 34MB file
( which I have not attempted to download ) have a large number of
pages?  What happens if
you selectively choose the pages, avoiding the problem one(s)?

HTH.  Thoug maybe not!

Regards,



Chris.

Big file, with complex graphics?



On 7 April 2010 08:54, Юрий Богданов <address@hidden> wrote:
> Her is pdf2swf output:
> address@hidden:~/Download$ pdf2swf EMPIRE_03_2010.pdf empire/empire_%.swf -s
> insertstop -T 8
> NOTICE  outputting one file per page
> NOTICE  processing PDF page 1 (625x807:0:0) (move:-633:0)
> NOTICE  File contains jpeg pictures
> NOTICE  File contains forms
> WARNING multiply blended transparency groups not yet supported!
> NOTICE  Writing SWF file empire/empire_1.swf
> NOTICE  processing PDF page 2 (610x807:0:0) (move:0:0)
> NOTICE  Writing SWF file empire/empire_2.swf
> NOTICE  processing PDF page 3 (623x807:0:0) (move:0:0)
> NOTICE  Writing SWF file empire/empire_3.swf
> NOTICE  processing PDF page 4 (623x807:0:0) (move:0:0)
> NOTICE  Writing SWF file empire/empire_4.swf
> NOTICE  processing PDF page 5 (623x807:0:0) (move:0:0)
> NOTICE  Writing SWF file empire/empire_5.swf
> NOTICE  processing PDF page 6 (623x807:0:0) (move:0:0)
> NOTICE  File contains soft masks
> NOTICE  File contains transparency groups
> Segmentation fault
> Here is dmesg output:
> [ 1330.439959] pdf2swf[4219]: segfault at c ip 0810cff1 sp bf8e1300 error 4
> in pdf2swf[8048000+24a000]
> Here is pdf file:
> http://depositfiles.com/files/6g634pw7y
> I have no idea how to fix this error and why it happens.


reply via email to

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