Package: inkscape
Version: 0.46-9
Severity: important
After upgrading Inkscape from 0.46-6 to 0.46-8, it started crashing
with the following error on some files.
The program 'inkscape' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadWindow (invalid Window parameter)'.
(Details: serial 15628 error_code 3 request_code 3 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.)
I determined that this only happens when Inkscape opens a file
containing the inkscape:window-width and/or inkscape:window-height
attributes. Of course, Inkscape seems to include these in every file it
saves, so this is true of every file I have. Inkscape does not crash if
I remove these attributes from the file. Also, it crashes immediately if
I run inkscape somefile.svg (where somefile.svg includes the window
width/height attributes). But if I just run inkscape, then do
File-Open-somefile.svg, it does not crash. If I then do
File-Open-somefile.svg a second time, it does crash.
Inkscape continued to crash after I downgraded to 0.46-6, with the same
behavior. Apparently, there is an interaction with libgtk2.0-0, which
was upgraded to version 2.16.1-2 when I upgraded inkscape. When I
downgraded gtk to 2.14.7-5, the problem disappeared (using inkscape
0.46-6).
So perhaps in the end this is a gtk problem, but I can't tell without
examining the Inkscape source. I was hoping you could try to find the
problem. In the mean time, I'll stick with an old Inkscape and gtk.
Thanks!
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (300, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.28.7-quaternion (PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages inkscape depends on:
ii libatk1.0-0 1.22.0-1 The ATK accessibility toolkit
ii libc6 2.9-4GNU C Library: Shared libraries
ii libcairo2 1.8.6-2+b1 The Cairo 2D vector graphics libra
ii libcairomm-1.0-11.8.0-1 C++ wrappers for Cairo (shared lib
ii libfontconfig1 2.6.0-1 generic font configuration library
ii libfreetype62.3.5-1+b1 FreeType 2 font engine, shared lib
ii libgc1c21:6.8-1.2conservative garbage collector for
ii libgcc1 1:4.3.3-3GCC support library
ii libgconf2-4 2.24.0-7 GNOME configuration database syste
ii libglib2.0-02.20.0-2 The GLib library of C routines
ii libglibmm-2.4-1c2a 2.20.0-1 C++ wrapper for the GLib toolkit (
ii libgnomevfs2-0 1:2.22.0-5 GNOME Virtual File System (runtime
ii libgtk2.0-0 2.16.1-2 The GTK+ graphical user interface
ii libgtkmm-2.4-1c2a 1:2.16.0-2 C++ wrappers for GTK+ 2.4 (shared
ii libgtkspell02.0.10-3+b1 a spell-checking addon for GTK's T
ii liblcms11.16-5 Color management library
ii libpango1.0-0 1.24.0-2 Layout and rendering of internatio
ii libpangomm-1.4-12.24.0-2 C++ Wrapper for pango (shared libr
ii libpng12-0 1.2.15~beta5-1 PNG library - runtime
ii libpoppler-glib40.10.5-1 PDF rendering library (GLib-based
ii libpoppler4 0.10.5-1 PDF rendering library
ii libpopt01.14-4 lib for parsing cmdline parameters
ii libsigc++-2.0-0c2a 2.0.18-2 type-safe Signal Framework for C++
ii libssl0.9.8 0.9.8g-16SSL shared libraries
ii libstdc++6 4.2.1-5 The GNU Standard C++ Library v3
ii libwpd8c2a 0.8.7-5 Library for handling WordPerfect d
ii libwpg-0.1-10.1.0-4 WordPerfect graphics import/conver
ii libx11-62:1.0.3-7X11 client-side library
ii libxft2 2.1.12-3 FreeType-based font drawing librar
ii libxml2 2.7.3.dfsg-1 GNOME XML library
ii libxslt1.1 1.1.19-1 XSLT processing library - runtime
ii zlib1g 1:1.2.3.3.dfsg-5 compression library - runtime
Versions of packages inkscape recommends:
ii imagemagick 7:6.2.4.5.dfsg1-0.14 Image manipulation programs
pn libwmf-bin none (no description available)
pn perlmagick none (no description available)
pn pstoeditnone (no description available)
Versions of packages inkscape suggests:
pn dia | dia-gnome none