Crash/display corruption when clicking stroke style tab

Bug #36304 reported by Luis Santander
32
Affects Status Importance Assigned to Milestone
inkscape (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

1. Launch Inkscape
2. Draw any figure
3. In the Stroke tab, change it to nothing
4. Attempt to change to Stroke Style tab
5. Crash!

== old desctiption ==
Inkscape crashing repeatedly when I click the workspace inmediatly after I change some object property.

Steps to reproduce:

1. Open Inkscape
2. Open file
3. Change attribute (Arrow End)
4. Click on workspace
5. Crash

Revision history for this message
Luis Santander (yetzero) wrote :
Download full text (8.7 KiB)

I forgot, this is what I get when running from the terminal right after following these steps:

yetzero@ubuntu:~$ inkscape

(inkscape:14249): Gtk-WARNING **: Theme file for gperfection2 has no name

(inkscape:14249): Gtk-CRITICAL **: gtk_pixmap_set: assertion `gdk_colormap_get_visual (gtk_widget_get_colormap (GTK_WIDGET (pixmap)))->depth == gdk_drawable_get_depth (GDK_DRAWABLE (val))' failed

(inkscape:14249): Gtk-CRITICAL **: gtk_pixmap_set: assertion `gdk_colormap_get_visual (gtk_widget_get_colormap (GTK_WIDGET (pixmap)))->depth == gdk_drawable_get_depth (GDK_DRAWABLE (val))' failed

(inkscape:14249): Gtk-CRITICAL **: gtk_pixmap_set: assertion `gdk_colormap_get_visual (gtk_widget_get_colormap (GTK_WIDGET (pixmap)))->depth == gdk_drawable_get_depth (GDK_DRAWABLE (val))' failed

(inkscape:14249): Gtk-CRITICAL **: gtk_pixmap_set: assertion `gdk_colormap_get_visual (gtk_widget_get_colormap (GTK_WIDGET (pixmap)))->depth == gdk_drawable_get_depth (GDK_DRAWABLE (val))' failed

(inkscape:14249): Gtk-CRITICAL **: gtk_pixmap_set: assertion `gdk_colormap_get_visual (gtk_widget_get_colormap (GTK_WIDGET (pixmap)))->depth == gdk_drawable_get_depth (GDK_DRAWABLE (val))' failed

(inkscape:14249): Gtk-CRITICAL **: gtk_pixmap_set: assertion `gdk_colormap_get_visual (gtk_widget_get_colormap (GTK_WIDGET (pixmap)))->depth == gdk_drawable_get_depth (GDK_DRAWABLE (val))' failed

(inkscape:14249): Gtk-CRITICAL **: gtk_pixmap_set: assertion `gdk_colormap_get_visual (gtk_widget_get_colormap (GTK_WIDGET (pixmap)))->depth == gdk_drawable_get_depth (GDK_DRAWABLE (val))' failed

(inkscape:14249): Gtk-CRITICAL **: gtk_pixmap_set: assertion `gdk_colormap_get_visual (gtk_widget_get_colormap (GTK_WIDGET (pixmap)))->depth == gdk_drawable_get_depth (GDK_DRAWABLE (val))' failed

(inkscape:14249): Gtk-CRITICAL **: gtk_pixmap_set: assertion `gdk_colormap_get_visual (gtk_widget_get_colormap (GTK_WIDGET (pixmap)))->depth == gdk_drawable_get_depth (GDK_DRAWABLE (val))' failed

(inkscape:14249): Gtk-CRITICAL **: gtk_pixmap_set: assertion `gdk_colormap_get_visual (gtk_widget_get_colormap (GTK_WIDGET (pixmap)))->depth == gdk_drawable_get_depth (GDK_DRAWABLE (val))' failed

(inkscape:14249): Gtk-CRITICAL **: gtk_pixmap_set: assertion `gdk_colormap_get_visual (gtk_widget_get_colormap (GTK_WIDGET (pixmap)))->depth == gdk_drawable_get_depth (GDK_DRAWABLE (val))' failed

(inkscape:14249): Gtk-CRITICAL **: gtk_pixmap_set: assertion `gdk_colormap_get_visual (gtk_widget_get_colormap (GTK_WIDGET (pixmap)))->depth == gdk_drawable_get_depth (GDK_DRAWABLE (val))' failed

(inkscape:14249): Gtk-CRITICAL **: gtk_pixmap_set: assertion `gdk_colormap_get_visual (gtk_widget_get_colormap (GTK_WIDGET (pixmap)))->depth == gdk_drawable_get_depth (GDK_DRAWABLE (val))' failed

(inkscape:14249): Gtk-CRITICAL **: gtk_pixmap_set: assertion `gdk_colormap_get_visual (gtk_widget_get_colormap (GTK_WIDGET (pixmap)))->depth == gdk_drawable_get_depth (GDK_DRAWABLE (val))' failed

(inkscape:14249): Gtk-CRITICAL **: gtk_pixmap_set: assertion `gdk_colormap_get_visual (gtk_widget_get_colormap (GTK_WIDGET (pixmap)))->depth == gdk_drawable_get_depth (GDK_DRAWABLE (val))' failed

(inkscape:14249): Gtk-CRITICAL **: gtk_pixmap...

Read more...

Revision history for this message
Phil Bull (philbull) wrote :

Thanks for the report.

Could you provide a backtrace of the crash, please? Follow the steps here to obtain one:

https://wiki.ubuntu.com/DebuggingProgramCrash

Changed in inkscape:
status: Unconfirmed → Needs Info
Revision history for this message
Luis Santander (yetzero) wrote :

I haven't been able to make that backtrace yet (unsolved dependencies for the debugger), but I've been narrowing the possibilities. Now I'm certain that the crash occurs when I try to switch to the Stroke Style tab while I have an object without stroke. Sounds pretty obvious, but one would expect to have the tab just disabled, not crashing the program. So, for clarity, the steps are:

1. Launch Inkscape
2. Draw any figure
3. In the Stroke tab, change it to nothing
4. Attempt to change to Stroke Style tab
5. Crash!

Hope that helps. I'll be trying to get that backtrace again.

Revision history for this message
sam tygier (samtygier) wrote :

i think i have seen this too.
try starting with clean preferences, run
mv ~/.inkscape ~/.inscape.old
then staert inscape.

can you still reproduce it?

at the moment i see bad corruption of the stroke style tab, when the stroke paint is set to 'x' or '?'

i'll atatch a screenshot

Revision history for this message
sam tygier (samtygier) wrote : stroke style coruption

stroke style coruption

Revision history for this message
Luis Santander (yetzero) wrote : Re: Crash when clicking workspace

Yeah, I reproduced that. When I cleaned .inkscape the screen was corrupted. Then I closed inkscape, started it again and tried the same, and it crashed again.

sam tygier (samtygier)
description: updated
Revision history for this message
John Asay (johnasay) wrote : gdb-inscape.txt (backtrace)

Backtrace of crash following instructions given by Luis

Revision history for this message
Jonathan Austin (mailforwho) wrote :

Still happening for me! At least I'm learning to save regularly (though not fast enough! :)

using 0.43-4ubuntu3

Clean .inkscape and it sill crashes if I use above steps - I don't ever see the distortion though

Revision history for this message
sam tygier (samtygier) wrote :

this seems to be fixed in 0.44 (inkscape-0.43+0.44pre2) built from source.

maybe this could be backported once it enters edgy.

Revision history for this message
Bryce Harrington (bryce) wrote :

Confirmed as working correctly in upstream Inkscape 0.44 and later. When switching to the stroke style dialog with objects that have no stroke paint, the stroke style dialog is greyed out.

Btw, the dashes dropdown loads its images via libart, so it's possible that the source of the issue could lay there.

Kees Cook (kees)
Changed in inkscape:
status: Needs Info → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.