inkscape crashes when trying to open or preview an inkscape .svg file

Bug #995672 reported by Christoph Gillessen
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inkscape
Triaged
Medium
Unassigned

Bug Description

Mac OS X 10.7.3
XQuarz 2.6.3
inkscape 0.48

When inkscape saved a file that I had worked on for a couple of hours, it crashed producing an additional backup of the current file.
When I try to open either the saved file or the crash backup, inkscape crashes again. This also occurs when the file is to be shown as preview in the open dialogue.

Cheers
Christoph

Tags: crash
Revision history for this message
Christoph Gillessen (9og-christoph) wrote :
Revision history for this message
Alvin Penner (apenner) wrote :

on Windows 7, Inkscape 0.48.3.1, the file opens correctly, as far as I can tell.

however, I get the following error messages in the console output

C:\Program Files\Inkscape>inkscape

** (inkscape.exe:4736): WARNING **: SPObject::updateDisplay(SPCtx *ctx, unsigned
 int flags) : throw in ((SPObjectClass *) G_OBJECT_GET_CLASS(this))->update(this
, ctx, flags);

** (inkscape.exe:4736): WARNING **: SPObject::updateDisplay(SPCtx *ctx, unsigned
 int flags) : throw in ((SPObjectClass *) G_OBJECT_GET_CLASS(this))->update(this
, ctx, flags);

** (inkscape.exe:4736): WARNING **: SPObject::updateDisplay(SPCtx *ctx, unsigned
 int flags) : throw in ((SPObjectClass *) G_OBJECT_GET_CLASS(this))->update(this
, ctx, flags);

** (inkscape.exe:4736): WARNING **: SPObject::updateDisplay(SPCtx *ctx, unsigned
 int flags) : throw in ((SPObjectClass *) G_OBJECT_GET_CLASS(this))->update(this
, ctx, flags);

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

Crash reproduced with the official package of Inkscape 0.48.2 for Mac OS X (32bit), running on Mac OS X 10.5.8 and OS X 10.7.3
Crash reproduced with local 32bit builds of Inkscape 0.48.2 on Mac OS X 10.5.8

Crash not reproduced with local 32bit builds of Inkscape 0.48.3.1 and current trunk on Mac OS X 10.5.8
Crash not reproduced with local 64bit builds of Inkscape 0.48.2, Inkscape 0.48.3.1 and current trunk on OS X 10.7.3

Notes:
1) If local 32bit builds do not crash when loading the original file, they display these console warnings:

inkscape-bin(8954,0xacaf32c0) malloc: *** mmap(size=1207959552) failed (error code=12)
*** error: can't allocate region
*** set a breakpoint in malloc_error_break to debug

** (inkscape-bin:8954): WARNING **: SPObject::updateDisplay(SPCtx *ctx, unsigned int flags) : throw in ((SPObjectClass *) G_OBJECT_GET_CLASS(this))->update(this, ctx, flags);

3) Local 64bit builds (stable and trunk) load the original file without console messages.

AFAICT this issue is related to or a duplicate of
Bug #345371 “stroked and scaled Linked Offset text causes a crash upon open file”
<https://bugs.launchpad.net/inkscape/+bug/345371>

Changing the stack order of the layers (moving the one with the original text to the bottom, so that linked offsets referencing the text are rendered after the original) prevents Inkscape 0.48.2 (32bit) from crashing (modified version attached) - this will alter the appearance though.

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

Backtrace from Inkscape 0.48.2 (32bit, Apple GCC 4.2.1, CFLAGS="-pipe -O2 -arch i386")

nightrow (jb-benoit)
Changed in inkscape:
status: New → Triaged
importance: Undecided → Medium
Revision history for this message
su_v (suv-lp) wrote :

Linking as duplicate to bug #345371 (see comment #3). Please add a comment here and revert the duplicate status if you don't agree and think these are different issues which need to be tracked separately.

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.