a line with self defined marker crashes inkscape

Bug #578990 reported by Sebastian
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inkscape
Fix Released
High
Unassigned

Bug Description

Hi,
I don't think this is the sam bug as bug #511577, so I report a new bug.
With test.svg from 511577, inkscape crashes immediately. With the attached test file, the inkscape window opens and then inkscape crashes. In both cases, I get the "Inkscape encountered an internal error and will close now." window.

I created the markes with inkscape and changed some things with the XML editor.
On some lines they are ok. But when I move a node of these lines with the node tool, inkscape crashes (before I release the mouse button during dragging)
So I deactivated the markers for a line, modified it with the node tool and then activated the markers again --> inkscape crashed.
So I activated the markers with a text editor --> now, inkscape crashes when opening the file.

$ uname -a
Linux svetz 2.6.33-3.slh.7-sidux-amd64 #1 SMP PREEMPT Sat May 8 01:15:07 UTC 2010 x86_64 GNU/Linux

Inkscape version: 0.47

With test.svg from 511577, the output on the console is just
------------------------------------------------------
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.
Segmentation fault
------------------------------------------------------

With the attached file, I get this output on the console (after many more gtk_misc_set_alignment assertions).
------------------------------------------------------
(inkscape:16730): Gtk-CRITICAL **: gtk_misc_set_alignment: assertion `GTK_IS_MISC (misc)' failed

(inkscape:16730): Gtk-CRITICAL **: gtk_misc_set_alignment: assertion `GTK_IS_MISC (misc)' failed
Gtk-Message: (for origin information, set GTK_DEBUG): failed to retrieve property `GtkOptionMenu::indicator-size' of type `GtkRequisition' from rc file value "0" of type `glong'
Gtk-Message: (for origin information, set GTK_DEBUG): failed to retrieve property `GtkOptionMenu::indicator-spacing' of type `GtkBorder' from rc file value "0" of type `glong'
terminate called after throwing an instance of 'Geom::ContinuityError'
  what(): lib2geom exception: Non-contiguous path (2geom/path.cpp:97)

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.
Aborted
------------------------------------------------------
For other svg files, I get a similar output up to "Gtk-Message: (for origin information, set GTK_DEBUG): failed to retrieve property `GtkOptionMenu::indicator-spacing' of type `GtkBorder' from rc file value "0" of type `glong'"

Tags: crash markers

Related branches

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

crash not reproduced on Windows XP, bzr rev 9404

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

crash reproduced with Inkscape 0.47 r22583 on OS X 10.5.8
crash *not* reproduced with Inkscape 0.47+devel r9405 on OS X 10.5.8

possibly fixed in current trunk version.

Revision history for this message
jazzynico (jazzynico) wrote :

Crash and fix confirmed on Windows XP, Inkscape 0.47 and bzr rev. 9381.

Changed in inkscape:
importance: Undecided → High
milestone: none → 0.48
status: New → Fix Committed
jazzynico (jazzynico)
Changed in inkscape:
status: Fix Committed → Fix Released
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.