crash on opening pdf

Bug #920519 reported by iav
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inkscape
New
High
Unassigned

Bug Description

Inkscape crashes opening this pdf http://sabileweb.tosteris.com/wp-content/uploads/2011/03/Sabiles-pilseta-teritorijas-planojums.pdf

Windows XP 64bit, 4 GB ram
Inkscape inkscape_r10898-201201180735.7z

gdb output:
[New thread 5684.0x13a4]
[New thread 5684.0x24c]
[New thread 5684.0xe50]
warning: HEAP[inkscape.exe]:
warning: HEAP: Free Heap block 4ef1988 modified at 4ef1b30 after it was freed

Program received signal SIGTRAP, Trace/breakpoint trap.
0x7d61002e in ?? ()
(gdb) bt
#0 0x7d61002e in ?? ()
#1 0x7d684c99 in ?? ()
#2 0x0022e0a0 in ?? ()
#3 0x7d656674 in ?? ()
#4 0x04ef1988 in ?? ()
#5 0x01e80000 in ?? ()
#6 0x04ef1bc8 in ?? ()
#7 0x04ef1bd0 in ?? ()
#8 0x0022e17c in ?? ()
#9 0x7d635639 in ?? ()
#10 0x00000198 in ?? ()
#11 0x00000230 in ?? ()
#12 0x0022e15c in ?? ()
#13 0x00000000 in ?? ()
(gdb)

su_v (suv-lp)
tags: added: crash importing pdf
Changed in inkscape:
importance: Undecided → High
Revision history for this message
su_v (suv-lp) wrote :

Crash not reproduced with Inkscape 0.48.2 and Inkscape 0.48+devel r10920 on
- Mac OS X 10.5.8 Leopard (32bit), 4GB RAM, 2.4 GHz Intel Core 2 Duo
- OS X 10.7.2 Lion (64bit), 8GB RAM, 2.4 GHz Intel Core i5

Saving the opened PDF file as 'Inkscape SVG' results in document with the size of ~83.3 MB.

Revision history for this message
Alvin Penner (apenner) wrote :

- crash reproduced on Windows 7 (32 bit), Inkscape 0.48.2 with 4GB. crash occurred at a reported memory usage of 2 GB, exit message was :
** (inkscape.exe:1028): WARNING **: GC Warning: Out of Memory! Returning NIL!

- crash not reproduced on Windows XP, Inkscape rev 10915. In this case the total reported memory usage was about 1.5GB.

Revision history for this message
jazzynico (jazzynico) wrote :

Reproduced on WIndows XP, Inkscape 0.48.2.
Not reproduced with trunk revision 10923.

Note that the similar (duplicate?) issue in Bug #367779 "Out of memory crash while importing large pdf" (with a PDF file 1.6Mio bigger than the one in this report) also crashes with r10923.

Revision history for this message
iav (iav) wrote :

try in inkscape_r10923-201201301241.7z

(gdb) run
The program being debugged has been started already.
Start it from the beginning? (y or n) y

Starting program: G:\inkscape/inkscape.exe
[New thread 7792.0x2b24]
Error: dll starting at 0x77d40000 not found.
Error while mapping shared library sections:
NOT_AN_IMAGE: No such file or directory.
Error while mapping shared library sections:
C:\windows\SysWOW64\ntdll32.dll: No such file or directory.
Error: dll starting at 0x77d40000 not found.
Error: dll starting at 0x77c20000 not found.
[New thread 7792.0x2ba4]
[New thread 7792.0xdfc]
[New thread 7792.0x2644]
[New thread 7792.0x1ffc]
[New thread 7792.0x29e0]
[New thread 7792.0x2570]
[New thread 7792.0x2a08]
[New thread 7792.0x2648]
warning: Lowest section in C:\windows\system32\xpsp2res.dll is .rsrc at 00011000

[New thread 7792.0x21d0]
[New thread 7792.0x26e4]
[New thread 7792.0x2990]
[New thread 7792.0x20b0]
warning: HEAP[inkscape.exe]:
warning: HEAP: Free Heap block 4eefa88 modified at 4eefc30 after it was freed

Program received signal SIGTRAP, Trace/breakpoint trap.
0x7d61002e in ?? ()
(gdb)

Revision history for this message
Kris (kris-degussem) wrote :

Re comment 3: I would consider bug 920519 and bug 367779 to be duplicates.
As crashing seems to be size linked, I'd consider this bug to be about memory consumption reduction.
However, one strange thing about this bug on vista 64 bit (4GB ram) with trunk r12126 is that the PDF does not crash the system with file > open, but crashes because of too few memory with File > import.

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.