Reproduced with "Inkscape 0.47pre3 r22311 (Sep 29 2009)" using GTK+ 2.16.6. However, everything workds with GTK+ 2.14.7:
### GTK+ 2.16.6:
$ ~/software/inkscape/bin/inkscape /tmp/sinplot.svg
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 4566 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.)
Setting Inkscape Preferences → Windows → "Don't save window geometry" makes it work with GTK+ 2.16.6.
Setting Inkscape Preferences → Windows → "Remember and use last window's geometry" makes it CRASH with GTK+ 2.16.6.
Setting Inkscape Preferences → Windows → "Save and restore window geometry for each document" makes it CRASH with GTK+ 2.16.6.
I'm adding a backtrace, using GTK+ 2.16.6 and "Save and restore window geometry".
I wonder - since it breaks on GTK+ 2.16.6 and works with the other version - could this bug be related to bug #430853?
Reproduced with "Inkscape 0.47pre3 r22311 (Sep 29 2009)" using GTK+ 2.16.6. However, everything workds with GTK+ 2.14.7:
### GTK+ 2.16.6:
$ ~/software/ inkscape/ bin/inkscape /tmp/sinplot.svg
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 4566 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.)
### GTK+ 2.14.7
$ LD_LIBRARY_ PATH=~/ software/ gtk/lib/ ~/software/ inkscape/ bin/inkscape /tmp/sinplot.svg
(Opens the file, which was generated by gnuplot.)
###
Setting Inkscape Preferences → Windows → "Don't save window geometry" makes it work with GTK+ 2.16.6.
Setting Inkscape Preferences → Windows → "Remember and use last window's geometry" makes it CRASH with GTK+ 2.16.6.
Setting Inkscape Preferences → Windows → "Save and restore window geometry for each document" makes it CRASH with GTK+ 2.16.6.
I'm adding a backtrace, using GTK+ 2.16.6 and "Save and restore window geometry".
I wonder - since it breaks on GTK+ 2.16.6 and works with the other version - could this bug be related to bug #430853?