trunk: crashes related to <image> elements (rev 12978)

Bug #1272649 reported by su_v
36
This bug affects 5 people
Affects Status Importance Assigned to Milestone
Inkscape
Fix Released
Critical
Martin Owens

Bug Description

Reproduced with r12978 inkscape-trunk PPA on Ubuntu 13.04 (VM, 64bit) as well as with local builds on OS X 10.7.5.

Related console message:
** (inkscape:31140): CRITICAL **: void SPObject::detach(SPObject*): assertion 'object->parent == this' failed

AFAICT once such a warning was output to the console, apparently the next encounter with an <image> element (including previews in file dialogs) crashes inkscape r12978.

Various steps to reproduce the crash:
- select a template in 'File > New > Templates…'
- create bitmap copies
- browse directories with bitmap images and SVG documents
- import a bitmap image
- duplicate a linked or embedded image (e.g. after opening a bitmap image directly)
- …

Based on tests with archived builds on OS X 10.7.5:
- not reproduced with rev <= 12977,
- reproduced with rev 12978;
the regression seems to have been introduced with latest revision:
<http://bazaar.launchpad.net/~inkscape.dev/inkscape/trunk/revision/12978>

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

Sample backtrace from
> - select a template in 'File > New > Templates…'

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

Sample backtrace from
> - import a bitmap image
(preview in file dialog disabled to prevent crash right on selection of the file; default import options)

Changed in inkscape:
milestone: none → 0.91
su_v (suv-lp)
summary: - trunk: segfaults related to <image> elements (rev 12978)
+ trunk: crashes related to <image> elements (rev 12978)
Revision history for this message
jazzynico (jazzynico) wrote :

Reproduced on Crunchbang Waldorf, Inkscape trunk revision 12978.

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

@Martin - could you please take a look at this regression?

Martin Owens (doctormo)
Changed in inkscape:
assignee: nobody → Martin Owens (doctormo)
su_v (suv-lp)
tags: added: blocker
su_v (suv-lp)
Changed in inkscape:
importance: High → Critical
Revision history for this message
su_v (suv-lp) wrote :

No longer reproduced with r12984 (reverts partial refactoring of sp-image) on OS X 10.7.5.

@Mathog - can you confirm the same with your Linux builds (bug #1273900)?

Revision history for this message
David Mathog (mathog) wrote :

revision 12984 works. (Doesn't crash as noted above, images seem to be handled properly.)

su_v (suv-lp)
Changed in inkscape:
milestone: 0.91 → none
status: Triaged → Fix Released
tags: removed: blocker
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.