Bug#525767: inkscape: crash on files which specify window size -- fixed

2009-11-20 Thread Jason McCarty
Package: inkscape
Followup-For: Bug #525767

Hi,

I tested Inkscape 0.47pre4-1, and the window-size bug appears to be
fixed. I think you can safely close this bug as well as #532913.

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.26.0-1 The ATK accessibility toolkit
ii  libc6   2.10.1-5 GNU 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-4  generic font configuration library
ii  libfreetype62.3.11-1 FreeType 2 font engine, shared lib
ii  libgc1c21:6.8-1.2conservative garbage collector for
ii  libgcc1 1:4.4.1-2GCC support library
ii  libgconf2-4 2.28.0-1 GNOME configuration database syste
ii  libglib2.0-02.22.2-2 The GLib library of C routines
ii  libglibmm-2.4-1c2a  2.22.1-2 C++ wrapper for the GLib toolkit (
ii  libgnomevfs2-0  1:2.22.0-5   GNOME Virtual File System (runtime
ii  libgomp14.4.1-2  GCC OpenMP (GOMP) support library
ii  libgsl0ldbl 1.13+dfsg-1  GNU Scientific Library (GSL) -- li
ii  libgtk2.0-0 2.18.3-1 The GTK+ graphical user interface 
ii  libgtkmm-2.4-1c2a   1:2.18.2-1   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  libmagick++27:6.5.7.8-1  object-oriented C++ interface to I
ii  libmagickcore2  7:6.5.7.8-1  low-level image manipulation libra
ii  libpango1.0-0   1.24.5-1 Layout and rendering of internatio
ii  libpangomm-1.4-12.26.0-1 C++ Wrapper for pango (shared libr
ii  libpng12-0  1.2.39-1 PNG library - runtime
ii  libpoppler-glib40.12.0-2.1   PDF rendering library (GLib-based 
ii  libpoppler5 0.12.0-2.1   PDF rendering library
ii  libpopt01.15-1   lib for parsing cmdline parameters
ii  libsigc++-2.0-0c2a  2.0.18-2 type-safe Signal Framework for C++
ii  libstdc++6  4.4.1-2  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  libxml2 2.7.5.dfsg-1 GNOME XML library
ii  libxslt1.1  1.1.24-2 XSLT processing library - runtime 
ii  zlib1g  1:1.2.3.3.dfsg-5 compression library - runtime

Versions of packages inkscape recommends:
ii  imagemagick7:6.5.1.0-1.1 image manipulation programs
pn  libwmf-bin none(no description available)
pn  perlmagick none(no description available)
pn  pstoedit   none(no description available)

Versions of packages inkscape suggests:
pn  dia | dia-gnome   none (no description available)
pn  libgnomevfs2-extranone (no description available)
pn  libsvg-perl   none (no description available)
pn  libxml-xql-perl   none (no description available)
ii  python2.5.2-1An interactive high-level object-o
ii  python-lxml   2.1.5-1pythonic binding for the libxml2 a
ii  python-numpy  1:1.2.1-1  Numerical Python adds a fast array
pn  python-uniconvertor   none (no description available)
pn  ruby  none (no description available)
pn  skencil   none (no description available)
ii  ttf-bitstream-vera1.10-3 The Bitstream Vera family of free 

-- no debconf information

-- 
Jason McCarty jmcca...@sent.com



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#525767: inkscape: crash on files which specify window size

2009-04-26 Thread Jason McCarty
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