← Back to team overview

desktop-packages team mailing list archive

[Bug 1485362] [NEW] 2 MB PDF uses several GB of memory and causes crash

 

Public bug reported:

Trying to open this 2 MB PDF with Inkscape causes Inkscape to use 3.7 GB
of memory. Saving it as an svg file uses 78 MB on disk. Opening the
saved svg file requires 3.5 GB of memory. If I then do ctl+A, ctl+G, it
crashes immediately with the following output:

Too many heap sections: Increase MAXHINCR or MAX_HEAP_SECTS

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.
Too many heap sections: Increase MAXHINCR or MAX_HEAP_SECTS
Aborted

** Affects: inkscape (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: pdf

** Attachment added: "The offending PDF"
   https://bugs.launchpad.net/bugs/1485362/+attachment/4445550/+files/49f5925c-f9a3-4bcd-86f4-80acd4c74118_all_cell_0-1000.pdf

** Project changed: inkscape => inkscape (Ubuntu)

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to inkscape in Ubuntu.
https://bugs.launchpad.net/bugs/1485362

Title:
  2 MB PDF uses several GB of memory and causes crash

Status in inkscape package in Ubuntu:
  New

Bug description:
  Trying to open this 2 MB PDF with Inkscape causes Inkscape to use 3.7
  GB of memory. Saving it as an svg file uses 78 MB on disk. Opening the
  saved svg file requires 3.5 GB of memory. If I then do ctl+A, ctl+G,
  it crashes immediately with the following output:

  Too many heap sections: Increase MAXHINCR or MAX_HEAP_SECTS

  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.
  Too many heap sections: Increase MAXHINCR or MAX_HEAP_SECTS
  Aborted

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/inkscape/+bug/1485362/+subscriptions


Follow ups