Inkscape crashes with X Window System error : Badmatch

Bug #1340071 reported by Nizamov Shawkat
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inkscape
Invalid
Undecided
Unassigned

Bug Description

Hi,

Inkscape sometime crash with the error message in konsole (see below).

Inkscape: 0.48.4-3ubuntu2
Kubuntu 14.04, 64-bit.

I can reliably reproduce it by following steps:

1) open inkscape, draw a box - or open the attached file
2) object -> fill and stroke -> stroke style
3) try setting dashes
4) on hovering the cursor over the possible settings or something similar, inkscape crashes.

It seems to me that it started happening recently, because the bug is triggered by freqently used basic functionality - I would note such crashes immediately. However I did not used inkscape for a while and can not say exactly what could be a reason for such regression. It might be as well some local system or inkscape settings - the dash line which inkscape shows in selection menu at this moment is empty. I guess that there is some custom dash line setting is saved within my inkscape instance that can not be restored/processed properly.

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

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

(...)

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 77630 error_code 8 request_code 130 minor_code 3)
  (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.)

Revision history for this message
Nizamov Shawkat (nizamov-shawkat) wrote :
Revision history for this message
Nizamov Shawkat (nizamov-shawkat) wrote :

Just in case if needed: ~/.config/inkscape/preferences.xml
 (stored filenames were removed)

Revision history for this message
Nizamov Shawkat (nizamov-shawkat) wrote :

deleting/recreating preferences.xml did not help :(

description: updated
tags: added: crash linux markers
Revision history for this message
Liam P. White (liampwhite) wrote :

Failed to reproduce in clean chroot, Inkscape 0.48.4, Ubuntu 14.04 (kubuntu-desktop metapackage installed).

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

Not reproducing it here either.

Nizamov, what the error message is saying, is that Inkscape's trying to draw something with a 32-bit color format into a document that only supports 24-bit max. I could imagine this happening if you have some local system or inkscape settings that might be incorrect. Can you reproduce the bug if you're logged into a guest account or some other user?

If not, then try removing ~/.cache/inkscape, ~/.config/inkscape.

If it affects all users, then try uninstalling inkscape, deleting anything leftover in /usr/share/inkscape, and reinstalling inkscape.

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

Possibly another bug triggered by gtk theme engines under KDE (bug #948178 as an example for an earlier upstream bug which triggered crashes in inkscape when using the 'Fill and Stroke' dialog).

Similar earlier report from opensuse (AFAIK defaults to KDE):
- Bug #1231623 “Inkscape crashes changing dashes”
  https://bugs.launchpad.net/inkscape/+bug/1231623

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

Closing due to lack of feedback by the reporter.

Could have been a bug related to a custom GTK2 theme engine on Kubuntu (oxygen-gtk), as reported earlier for gtk2-engines-oxygen:
* Bug #1175949 “Inkscape crashes when changing dash pattern”
  https://bugs.launchpad.net/ubuntu/+source/gtk2-engines-oxygen/+bug/1175949
«It seems to be an error in the GTK2 Oxygen engine, as the crash is solved when I change the engine to Rayleigh.»

Changed in inkscape:
status: Incomplete → Invalid
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.