Crash when importing big PDFs via poppler
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Inkscape |
Fix Released
|
Medium
|
Patrick Storz | ||
0.92.x |
Fix Released
|
Medium
|
Patrick Storz |
Bug Description
I have PDFs with an embedded raster image. If that image gets too big I can no longer import the file with poppler, the internal PDF importer still works.
Output on the shell:
Entity: line 4: parser error : AttValue length too long
<image id="image1759" width="1784" height="2672" xlink:href=
Entity: line 4: parser error : attributes construct error
<image id="image1759" width="1784" height="2672" xlink:href=
Entity: line 4: parser error : Couldn't find end of Start Tag image line 4
<image id="image1759" width="1784" height="2672" xlink:href=
Entity: line 6: parser error : xmlSAX2Characters: huge text node
<g id="surface1755">
^
Entity: line 6: parser error : Extra content at the end of the document
<g id="surface1755">
^
**
ERROR:.
Emergency save activated!
Emergency save completed. Inkscape will close now.
If you can reproduce this crash, please file a bug at www.inkscape.org
with a detailed description of the steps leading to the crash, so we can fix it.
Abgebrochen
followed by a SIGABRT.
This seems to be related to the following bugs: bug #1243011, bug #1373322 and bug #1073315.
Converting the PDF to an SVG with pdftocairo results in a file that Inkscape can open.
Versions used:
libxml2: 2.9.2
libcairo2: 1.14.0
libcairomm: 1.10.0
libpoppler: 0.26.5
all from Debian/sid.
Inkscape is self compiled from rev 13864
tags: | added: bitmap importing pdf poppler |
Changed in inkscape: | |
milestone: | 0.92 → 0.93 |
Changed in inkscape: | |
status: | Fix Committed → Fix Released |
On OS X 10.7.5:
- not reproduced with Inkscape 0.91+devel r13864, cairo 1.12.14, poppler 0.22.1, libxml2 2.8.0
- reproduced with Inkscape 0.91+devel r13864, cairo 1.14.0, poppler 0.30.0, libxml2 2.9.2
Similar issue for CDR files with embedded bitmap images: /bugs.launchpad .net/inkscape/ +bug/1243011
- Bug #1243011 “trunk: fails to load CDR file with large bitmap (libxml2 >= 2.9.0)”
https:/