Segmentation fault (core dumped)

165 views
Skip to first unread message

Justin Ezequiel

unread,
Jul 5, 2017, 9:57:19 PM7/5/17
to pdf2htmlEX
Greetings. I am trying to get pdf2htmlEX running on Ubuntu and I get "Segmentation fault (core dumped)" on all PDF files including the one-page test file from github.

I installed pdf2htmlEX using the script from https://gist.github.com/rajeevkannav/d07f822e209a22d07176

I've also "updated" fontforge using 
sudo apt-get update;
sudo apt-get install fontforge;

I've also tried updating pdf2htmlEX using
sudo apt-add-repository ppa:coolwanglu/pdf2htmlex
sudo apt-get update
sudo apt-get install pdf2htmlex

What else can I do?

root@ubuntu-512mb-sgp1-01:~# uname -a
Linux ubuntu-512mb-sgp1-01 4.4.0-81-generic #104-Ubuntu SMP Wed Jun 14 08:17:06 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
root@ubuntu-512mb-sgp1-01:~# fontforge -v
Copyright (c) 2000-2014 by George Williams. See AUTHORS for Contributors.
 License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
 with many parts BSD <http://fontforge.org/license.html>. Please read LICENSE.
 Based on sources from 00:33 UTC  6-Jul-2017-ML-D.
 Based on source from git with hash: 5efb937f0a636912aeca0272c5019e01ce329d67
no xdefs_filename!
TESTING: getPixmapDir:/usr/local/share/fontforge/pixmaps
TESTING: getShareDir:/usr/local/share/fontforge
TESTING: GResourceProgramDir:/usr/local/bin
trying default theme:/usr/local/share/fontforge/pixmaps/resources
fontforge 00:33 UTC  6-Jul-2017
libfontforge 20170706
root@ubuntu-512mb-sgp1-01:~# pdf2htmlEX -v
pdf2htmlEX version 0.14.6
Copyright 2012-2015 Lu Wang <coolw...@gmail.com> and other contributors
Libraries:
  poppler 0.33.0
  libfontforge 20170706
  cairo 1.14.6
Default data-dir: /usr/local/share/pdf2htmlEX
Supported image format: png svg

root@ubuntu-512mb-sgp1-01:~# pdf2htmlEX --debug 1 --tmp-dir ./tests/tmp --dest-dir ./tests/out/Ezequiel001 ./tests/Ezequiel001.pdf Ezequiel001.html
temporary dir: ./tests/tmp/pdf2htmlEX-UikS2y
Preprocessing: 4/4
Add new temporary file: ./tests/tmp/pdf2htmlEX-UikS2y/__css
Add new temporary file: ./tests/tmp/pdf2htmlEX-UikS2y/__outline
Add new temporary file: ./tests/tmp/pdf2htmlEX-UikS2y/__pages
Install font 1: (8 0) YCMCEY+NimbusRomNo9L-Regu
Add new temporary file: ./tests/tmp/pdf2htmlEX-UikS2y/f1.cff
Embed font: ./tests/tmp/pdf2htmlEX-UikS2y/f1.cff 1
Add new temporary file: ./tests/tmp/pdf2htmlEX-UikS2y/__raw_font_1.cff
em size: 1000
Add new temporary file: ./tests/tmp/pdf2htmlEX-UikS2y/f1.map
Segmentation fault (core dumped)
root@ubuntu-512mb-sgp1-01:~#

Ezequiel001.pdf
1-page.pdf

Justin Ezequiel

unread,
Jul 6, 2017, 1:44:49 AM7/6/17
to pdf2htmlEX
Tried on a different machine (VMWare) and was able to convert.
I think it's the poppler version which I am unable to update on the original machine.


--
You received this message because you are subscribed to a topic in the Google Groups "pdf2htmlEX" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/pdf2htmlex/DYw1jU-sO5s/unsubscribe.
To unsubscribe from this group and all its topics, send an email to pdf2htmlex+unsubscribe@googlegroups.com.
To post to this group, send email to pdf2h...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pdf2htmlex/a9c3b097-69ed-4d03-a437-0d16e4098b8b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages