SWFTools 分段错误
使用 swftools 中的 pdf2swf 将 PDF 转换为 SWF 时,出现分段错误(核心转储)错误。有没有人遇到过这个或知道可能出了什么问题。
我在错误发生之前收到的通知是:
NOTICE File contains jpeg pictures
NOTICE file contains soft masks
NOTICE file contains forms
NOTICE file contains transparency groups
Segmentation fault (core dumped)
这可能无法帮助我,但值得一试。
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.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
并尝试使用“-O 1”标志运行 pdf2swf。
And try running pdf2swf with "-O 1" flag.
使用 gdb 并附加到核心转储,看看发生了什么......
use gdb and attach to the core dump and see what happened...
检查 dmesg,您可能会看到类似以下内容:
表明段错误来自 libjpeg。降级到 libjpeg7 为我解决了这个问题(Fedora Core 12)。
Check dmesg and you will probably see something similar to:
indicating that the segfault is coming from libjpeg. Downgrading to libjpeg7 solved this issue for me (Fedora Core 12).