SWFTools Segmentation Fault

懵懂的女人 提交于 2019-12-02 10:41:41

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!