This repository was archived by the owner on Dec 9, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
This repository was archived by the owner on Dec 9, 2018. It is now read-only.
Program received signal SIGSEGV, Segmentation fault. #722
Copy link
Copy link
Open
Description
Hi, I faced problem with converting on ubuntu 16.04.
pdf2htmlEX version 0.14.6
Copyright 2012-2015 Lu Wang <coolwanglu@gmail.com> and other contributors
Libraries:
poppler 0.43.0
libfontforge 20170529
cairo 1.14.6
Default data-dir: /usr/local/share/pdf2htmlEX
Supported image format: png svg
I tried to use debugger, but can't figure out where's the problem.
EncMapFromEncoding (sf=0x1fb02b0, enc=0xfffffffff7323200) at encoding.c:1861
1861 encoding.c: No such file or directory.
(gdb) backtrace
#0 EncMapFromEncoding (sf=0x1fb02b0, enc=0xfffffffff7323200) at encoding.c:1861
#1 0x000000000044ce00 in ffw_do_reencode ()
#2 0x0000000000440fd4 in pdf2htmlEX::HTMLRenderer::embed_font(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, GfxFont*, pdf2htmlEX::FontInfo&, bool) ()
#3 0x0000000000441917 in pdf2htmlEX::HTMLRenderer::install_external_font(GfxFont*, pdf2htmlEX::FontInfo&) ()
#4 0x0000000000441eff in pdf2htmlEX::HTMLRenderer::install_font(GfxFont*) ()
#5 0x00000000004458b5 in pdf2htmlEX::HTMLRenderer::check_state_change(GfxState*) ()
#6 0x00000000004467bc in pdf2htmlEX::HTMLRenderer::drawString(GfxState*, GooString*) ()
#7 0x00007ffff7a60fa6 in Gfx::doShowText (this=this@entry=0x732b70, s=0x733380) at Gfx.cc:4118
#8 0x00007ffff7a616ad in Gfx::opShowSpaceText (this=0x732b70, args=0x7fffffffdec0, numArgs=<optimized out>) at Gfx.cc:3913
#9 0x00007ffff7a5918e in Gfx::go (this=this@entry=0x732b70, topLevel=topLevel@entry=true) at Gfx.cc:763
#10 0x00007ffff7a59630 in Gfx::display (this=this@entry=0x732b70, obj=obj@entry=0x7fffffffe1c0, topLevel=topLevel@entry=true) at Gfx.cc:729
#11 0x00007ffff7a9bce5 in Page::displaySlice (this=0x7223e0, out=0x6c1c10, hDPI=72, vDPI=72, rotate=0, useMediaBox=false, crop=<optimized out>,
sliceX=sliceX@entry=-1, sliceY=-1, sliceW=-1, sliceH=-1, printing=false, abortCheckCbk=0x0, abortCheckCbkData=0x0, annotDisplayDecideCbk=0x0,
annotDisplayDecideCbkData=0x0, copyXRef=false) at Page.cc:599
#12 0x00007ffff7a9bf48 in Page::display (this=<optimized out>, out=<optimized out>, hDPI=<optimized out>, vDPI=<optimized out>, rotate=<optimized out>,
useMediaBox=<optimized out>, crop=<optimized out>, printing=<optimized out>, abortCheckCbk=0x0, abortCheckCbkData=0x0, annotDisplayDecideCbk=0x0,
annotDisplayDecideCbkData=0x0, copyXRef=false) at Page.cc:521
#13 0x00000000004398cd in pdf2htmlEX::HTMLRenderer::process(PDFDoc*) ()
#14 0x000000000042056f in main ()
Metadata
Metadata
Assignees
Labels
No labels