Inkscape crashes when changing dash pattern

Bug #1175949 reported by Maarten Bezemer
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gtk2-engines-oxygen (Ubuntu)
New
Undecided
Unassigned

Bug Description

When I start inkscape I get a warning
$inkscape my_file.svg

(inkscape:2983): Gtk-WARNING **: Theme file for default has no directories

When I try to change the dash pattern of a line, the menu directly closes and the terminal shows:

(inkscape:2983): Gdk-WARNING **: /build/buildd/gtk+2.0-2.24.17/gdk/gdkpixbuf-drawable.c:1257: Depth of the source drawable is 32 where as the visual depth of the colormap passed is 24

(inkscape:2983): Gdk-WARNING **: Attempt to draw a drawable with depth 32 to a drawable with depth 24

(These errors are repeated 6 times)

When I reopen the pattern menu again, inkscape crashes:

The program 'inkscape' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadMatch (invalid parameter attributes)'.
  (Details: serial 44320 error_code 8 request_code 62 minor_code 0)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the --sync command line
   option to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)

It seems to be an error in the GTK2 Oxygen engine, as the crash is solved when I change the engine to Rayleigh.

$ lsb_release -d
Description: Ubuntu 13.04

$ apt-cache policy gtk2-engines-oxygen
gtk2-engines-oxygen:
  Installed: 1.3.1-0ubuntu1
  Candidate: 1.3.1-0ubuntu1
  Version table:
 *** 1.3.1-0ubuntu1 0
        500 http://nl.archive.ubuntu.com/ubuntu/ raring/universe amd64 Packages
        100 /var/lib/dpkg/status

Maarten Bezemer (veger)
description: updated
Revision history for this message
Maarten Bezemer (veger) wrote :

I do not know whether it is relevant, but attached is a test file that triggers the crash.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

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