Comment 7 for bug 381301

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

to reproduce similiar crash on OS X:

rename preferences.xml
1) create a new drawing, draw an object
2) save as 'drawing.svg' in 'File System' aka '/'
3) Inkscape silently fails to save (except console warning)
4) window title bar now says '/drawing.svg'
4) select shape, Edit > Make a Bitmap Copy
5) again, inkscape silently fails (console msg only), no bitmap is pasted
6) Edit > Paste
7) inscape crashes with 'Inkscape encountered an internal error and will close now.'

On OS X 10.5.7, X11 2.3.3.2, Inkscape 0.46+devel r21420, these steps crash inkscape about 3 times of 4 in a row. Could not figure out what else is in play.

--------------------------------------------------------------------------------
Fri May 29 13:27:23 CEST 2009
script: starting inkscape...
arguments:
--------------------------------------------------------------------------------
Xlib: extension "RANDR" missing on display "/tmp/launch-6GNBI7/:0".

(inkscape-bin:17650): Gtk-WARNING **: Unable to find default local directory monitor type

(inkscape-bin:17650): Gtk-WARNING **: Unable to find default local directory monitor type

(inkscape-bin:17650): Gtk-WARNING **: Unable to find default local directory monitor type

** (inkscape-bin:17650): WARNING **: There was an error saving the file.

(inkscape-bin:17650): Gtk-WARNING **: Unable to retrieve the file info for `file:///drawing.svg': Error stating file '/drawing.svg': No such file or directory

** (inkscape-bin:17650): CRITICAL **: bool sp_png_write_rgba_striped(SPDocument*, const gchar*, long unsigned int, long unsigned int, double, double, int (*)(const guchar**, int, int, void*), void*): assertion `fp != NULL' failed
terminate called after throwing an instance of 'Glib::FileError'

Emergency save activated!
Emergency save completed. Inkscape will close now.
If you can reproduce this crash, please file a bug at www.inkscape.org
with a detailed description of the steps leading to the crash, so we can fix it.