Fatal error in gc crash on save

Bug #427003 reported by MetaEd
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inkscape
Confirmed
Undecided
Unassigned

Bug Description

Steps to reproduce:
1. With Windows context menu right click "janitorialfinal1.pdf", select Open With ... Inkscape
2. PDF import options: defaults. (clip to NOT set, precision 2.0, import text as text, embed images) Click OK
3. File, Document properties, Fit page to selection. (leave document properties open)
4. File, Save
5. "Select file to save to" dialog: defaults. (name janitorialfinal1.svg, type Inkscape SVG) Click Save
6. Fatal error in gc. Too many heap sections.

App: Inkscape 0.46
O/S: Windows XP SP3

(add) Workaround: Replace step 4 with: Click "Save document" button on toolbar.

Revision history for this message
MetaEd (m-launchpad-net-metaed-com) wrote :
description: updated
Revision history for this message
Alvin Penner (apenner) wrote :

confirmed on Windows XP, Inkscape 0.47pre2.
I ran out of memory at about 1.1 GB and had to abort with the exit message:

** (inkscape.exe:4064): WARNING **: GC Warning: Out of Memory! Returning NIL!

Changed in inkscape:
status: New → Confirmed
Revision history for this message
su_v (suv-lp) wrote :

Inkscape 0.46+devel r22200 on OS X 10.5.8 - import took a while but the imported image looked the same as the PDF on screen.

1) I wanted to take a look at the XML structure and called the XML Editor, which never opened:
Inkscape used 100% CPU and up to 980 MB memory; after 10 min. I force quit Inkscape as it seemed to hang indefinitely.

2) after import I selected the image in the lower left corner - the status line says
> Group of 129243 objects in layer 427003-janitorialfinal1
and clicked 'ungroup' in the command bar: Inkscape used 100% CPU and up to 1.1 GB memory; after 10 min. I force quit Inkscape.

After that I did not try above steps to save it ;-)

@MetaEd
1) Do you have the source for the PDF file? i.e. do you know how it is structured? Most of Inkscape's imported PDF files I have seen have a deeply nested structure of groups - especially if some objects are filtered or have gradients (with transparency) - this one seems unusually 'flat' to me.
2) Can you open other PDF files created by 'Neevia Document Converter 5.1' with Inkscape?

Revision history for this message
su_v (suv-lp) wrote :

s/open/import and save as SVG/

Revision history for this message
MetaEd (m-launchpad-net-metaed-com) wrote :

@~suv
The file janitorialfinal1.pdf was created by http://convert.neevia.com/ from the file janitorialfinal1.eps which I shall now attach. I do not normally convert an EPS to a PDF and open in Inkscape, so this was my first experience with Neevia. I wish I could tell you more.

Revision history for this message
su_v (suv-lp) wrote :

Thank you for reporting back and attaching the EPS source file.

With Inkscape 0.46+devel r22200 on OS X 10.5.8 'janitorialfinal1.eps' imports smoothly and can be saved as SVG without problem. The XML tree of the imported document reflects the logical structure of the logo AFAICS.

The issue seems to be specifically with the PDF file generated by the Neevia online converter. Inkscape and the poppler library it uses for PDF import apparently have difficulties to handle it. I don't know whether this is a bug upstream with poppler or caused by specific settings (e.g. PDF 1.3) of the Neevia converter.

tags: added: crash import-export pdf
Revision history for this message
su_v (suv-lp) wrote :

Possible duplicate of bug #168914

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

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.