crashes when importing a pdf

Bug #1073721 reported by Benjamin Phillips on 2012-10-31
This bug affects 2 people
Affects Status Importance Assigned to Milestone

Bug Description

Crashes after attempting to import a pdf. Attached is the file. On Inkscape 0.48.2 on Windows 7 64 bit.

Benjamin Phillips (benphill) wrote :
Benjamin Phillips (benphill) wrote :
  • errors2.docx Edit (35.0 KiB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)

here are the specific error messages it gives before crashing.

su_v (suv-lp) on 2012-10-31
tags: added: importing pdf
su_v (suv-lp) wrote :

On OS X 10.7.4 (with poppler 0.18.4 and 0.20.3), Inkscape and 0.48+devel r11856 simply hangs even before opening the PDf import dialog with the page preview, same on Ubuntu 12.10 (with poppler 2.20.4). Same happens when trying to open the PDF file with the 'Adobe PDF via poppler-cairo (*.pdf)' experimental file format in current trunk.

Since Evince 2.30.2 and 3.6.0 (poppler-based PDF viewer) also hang when trying to render the PDF file (on OS X as well as Ubuntu), this looks more like an issue in upstream poppler and not Inkscape itself.

Ghostscript 0.9.6, Xpdf 3.02 and Apple's OTOH open the file just fine (Preview is unusually slow to load and pan the document though)

Attaching a random sample of hanging Inkscape process (after about 30-50 sec) on OS X (with poppler 2.20.3).

jazzynico (jazzynico) wrote :

Also hangs, but doesn't crash on Windows XP, Inkscape trunk revision 11859. Then editing the map is very slow.
Opens and render as expected with Acrobat reader 9.

jazzynico (jazzynico) wrote :

Crash confirmed on Windows XP, Inkscape
After a 10 minutes hang, the application stops with Glib-ERROR**:gmem.c errors (as shown in the file comment #2).

Similar to "Bug #846389 uploading (big) PDF file load *physical* memory until crash", except that in the current report the file is not big enough to crash the trunk versions.

Changed in inkscape:
importance: Undecided → High
status: New → Triaged
tags: added: crash performance
su_v (suv-lp) wrote :

> Also hangs, but doesn't crash on Windows XP, Inkscape
> trunk revision 11859. Then editing the map is very slow.

I wasn't patient enough to time the actual loading of the file: on OS X 10.7.4 (2.4 GHz Intel Core i5, 8GB RAM), with poppler 0.18.4 and cairo 1.12.2 installed, current trunk takes about 3 - 3.5 minutes until the 'PDF import settings' dialog with the preview image opens, and then another 1.5 minutes until the drawing opens in the main window.

This is unusual based on my experience: normally, the 'PDF import settings' dialog with the preview (created with poppler-cairo) opens rather quickly, and Inkscape's own PDF import routines then take much longer (up to several minutes) until the selected page of the PDF file is finally opened in the main window.

babayasin (serge-timakov) wrote :

Inkscape r9886 hangs without any dialog or console message on any PDF file import on Debian testing amd_64 w/ libpoppler19 and libpoppler44 .

Evince shows PDF files as usual.

PDF export from Inkscape: OK.

Same version of Inkscape on same Debian testing but 32-bit had no problems with PDF import.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers