问题
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.
回答1:
And try running pdf2swf with "-O 1" flag.
回答2:
use gdb and attach to the core dump and see what happened...
回答3:
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).
来源:https://stackoverflow.com/questions/2055061/swftools-segmentation-fault