inkscape crashes on saving to non-existant dir when used from command line
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Inkscape |
Confirmed
|
Wishlist
|
Unassigned |
Bug Description
Inkscape crashes every time when saving to a dir that does not exist when performing conversions on the command line
inkscape file.svg -A .../file.pdf
note the incorrect triple ".".
This triggers the following error:
inkscape: fopen(.
terminate called after throwing an instance of 'Inkscape:
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.
** Message: Error: Inkscape encountered an internal error and will close now.
Aborted
Installed via aptitude from debian testing
$ aptitude show inkscape
Package: inkscape
State: installed
Automatically installed: no
Version: 0.47pre4-1
Priority: optional
Section: graphics
Maintainer: Wolfram Quester <email address hidden>
Uncompressed Size: 84.2M
Depends: libatk1.0-0 (>= 1.20.0), libc6 (>= 2.4), libcairo2 (>= 1.7.2), libcairomm-1.0-1 (>= 1.6.4), libfontconfig1 (>=
2.4.0), libfreetype6 (>= 2.2.1), libgc1c2 (>= 1:6.8-1.1), libgcc1 (>= 1:4.1.1), libgconf2-4 (>= 2.27.0),
liblcms1 (>= 1.15-1), libmagick++2, libmagickcore2, libpango1.0-0 (>= 1.14.0), libpangomm-1.4-1 (>= 2.26.0),
libpng12-0 (>= 1.2.13-4), libpoppler-glib4 (>= 0.12), libpoppler5, libpopt0 (>= 1.15), libsigc++-2.0-0c2a (>=
2.0.2), libstdc++6 (>= 4.2.1), libwpd8c2a, libwpg-0.1-1, libx11-6, libxml2 (>= 2.7.4), libxslt1.1 (>= 1.1.18),
zlib1g (>= 1:1.1.4)
Recommends: libwmf-bin, pstoedit, imagemagick, perlmagick
Suggests: dia | dia-gnome, ruby, libgnomevfs2-extra, libsvg-perl, libxml-xql-perl, python, python-numpy, python-lxml,
Confirmed on Ubuntu 9.10, Inkscape 0.47pre4.
In this case, crashing or aborting doesn't make a big difference, but Inkscape should avoid crashing here and send a readable error message instead.