I have some trouble when using pdf2htmlEX

172 views
Skip to first unread message

Qin Zhang

unread,
Nov 10, 2012, 10:08:13 PM11/10/12
to pdf2h...@googlegroups.com

when i using 
$pdf2htmlEX /path/to/foobar.pdf
I get the information "segmentation fault (core dumped)  pdf2htmlEX"
--

天道如何,吞恨者多。


王璐

unread,
Nov 11, 2012, 5:27:44 AM11/11/12
to Qin Zhang, pdf2h...@googlegroups.com
Hello

Please specify your environment (OS, compiler, poppler, fontforge).
Please also provide a stack dump.

regards,
- Lu Wang
2012.11.11


--

天道如何,吞恨者多。


--
 
 

王璐

unread,
Nov 11, 2012, 6:59:50 AM11/11/12
to Qin Zhang, pdf2h...@googlegroups.com
Did you compile it from source or install from PPA?

Does pdf2htmlEX also crash on other files? Please send me the problematic file if possible.

(please cc the mailing list)

regards,
- Lu


On Sun, Nov 11, 2012 at 7:49 PM, Qin Zhang <zhangqin...@gmail.com> wrote:
My OS is ubuntu 12.04 
compiler gcc 4.6.3 python 2.7.3
poppler 0.20.5 
fontforge 20120906 libfontforge 20120906-ML

the stack dump is below:
Starting program: /usr/local/bin/pdf2htmlEX online-education.pdf
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1".
Preprocessing: 0/0
Working: 0/0
Program received signal SIGSEGV, Segmentation fault.
0x08072c2c in ffw_prepare_font ()

Thanks for your feedback

-Zhang Qin
2012.11.11
--

天道如何,吞恨者多。



Qin Zhang

unread,
Nov 11, 2012, 8:29:46 AM11/11/12
to pdf2h...@googlegroups.com
I compile it from source also i get the ppa,I used the example file for the usage of git .

王璐

unread,
Nov 11, 2012, 8:33:16 AM11/11/12
to Qin Zhang, pdf2h...@googlegroups.com
If you meant 'path/to/foobar', that was only a placeholder, a fake name for demo.
Please use a real file and see if the problem still exists.

regards,
- Lu


On Sun, Nov 11, 2012 at 9:29 PM, Qin Zhang <zhangqin...@gmail.com> wrote:
I compile it from source also i get the ppa,I used the example file for the usage of git .

--
 
 

Qin Zhang

unread,
Nov 11, 2012, 8:45:14 AM11/11/12
to pdf2h...@googlegroups.com
It's mean the file 'git搭建' when i say example file not the fake name.
--

天道如何,吞恨者多。


Qin Zhang

unread,
Nov 11, 2012, 9:08:55 AM11/11/12
to pdf2h...@googlegroups.com
The stack dump is from my private pdf file ,but i used the git搭建 to test whether the pdf2htmlEX could work.Both file can be open with the pdfviewer.

regards,
-Qin

On Sun, Nov 11, 2012 at 9:54 PM, 王璐 <coolw...@gmail.com> wrote:
According to the previous stack dump you gave me, there seems to be no page in the PDF (that can be recognized by pdf2htmlEX).
So you renamed git搭建.pdf  to 'online-education.pdf' ? Can you open it with another PDF viewer?

regards,
- Lu


--

天道如何,吞恨者多。


--
 
 




--

天道如何,吞恨者多。


王璐

unread,
Nov 11, 2012, 9:14:27 AM11/11/12
to Qin Zhang, pdf2h...@googlegroups.com
ffw_prepare_font is not somewhere usually get crashed. And still I need more information.
Please reconfigure your source code with "cmake -DCMAKE_BUILD_TYPE=Debug ." and show me the log .
Then you should be able to get a detailed stack dump.

If possible, please also use a debug version of Fontforge.

Thanks.

regards,
- Lu


--

天道如何,吞恨者多。


--
 
 

Reply all
Reply to author
Forward
0 new messages