Inkscape crashes with assertion failure on XAML import.

Bug #496756 reported by Łukasz Krotowski
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inkscape
Confirmed
High
Unassigned

Bug Description

When trying to import XAML file from [1] both 0.47 or r22598 crash with:
inkscape: /usr/include/boost/optional/optional.hpp:588: typename boost::optional_detail::optional_base<T>::pointer_type boost::optional<T>::operator->() [with T = Geom::D2<Geom::Interval>]: Assertion `this->is_initialized()' failed.

Inkscape was built with boost 1.40.0 on x86_64 Linux.

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

Could you attach the file that you are trying to import?

tags: added: crash importing
removed: assert import
Changed in inkscape:
importance: Undecided → High
status: New → Incomplete
Revision history for this message
Łukasz Krotowski (lukasz-krotowski) wrote :

Sorry, forgot to add link for [1]. Well:

[1] http://lostgarden.com/2007/05/dancs-miraculously-flexible-game.html

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

Reproduced with Inkscape 0.47 on OS X 10.5.8

console message:
Assertion failed: (this->is_initialized()), function operator->, file /opt/local-macports-with-a-really-very-quite-long-directory-name/include/boost/optional/optional.hpp, line 588.

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

reproduced with Inkscape r8888 on OS X 10.5.8, boost 1.39.0

console message:
Assertion failed: (this->is_initialized()), function operator->, file /Volumes/blue/mp/include/boost/optional/optional.hpp, line 588.

The crash log from my local build however shows a different trace of thread 0 than the crash log of the official 0.47 build from sf.net.

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

attaching the xaml file used to reproduce the crash (downloaded from link in comment #2)

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

The XML file '496756-PlanetCute.xaml' opens without error in Inkscape 0.46 on OS X 10.5.8 and can be saved as SVG.
The SVG file '496756-PlanetCute.svg' opens without error in Inkscape 0.46 but again crashes with the same error as the original XAML file when opened in Inkscape 0.47.

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

Linking as duplicate to bug #587897 “inkscape crashes when making svg nested elements”
<https://bugs.launchpad.net/inkscape/+bug/587897>

Please add a comment here and revert the duplicate status if you don't agree and think these are different issues.

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.