Question

I am getting a Segmentation fault (core dumped) error when converting a PDF to SWF using the pdf2swf from swftools. Has anyone come across this or knows what could be wrong.

The notices I get before the error are:

NOTICE File contains jpeg pictures
NOTICE file contains soft masks
NOTICE file contains forms
NOTICE file contains transparency groups
Segmentation fault (core dumped)

This may be impossible to help me but worth a shot.

Was it helpful?

Solution

And try running pdf2swf with "-O 1" flag.

OTHER TIPS

use gdb and attach to the core dump and see what happened...

Check dmesg and you will probably see something similar to:

pdf2swf[23607]: segfault at 0 ip 00f88400 sp bf8af690 error 4 in libjpeg.so.8.0.0[f7e000+34000]

indicating that the segfault is coming from libjpeg. Downgrading to libjpeg7 solved this issue for me (Fedora Core 12).

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top