Comment 4 for bug 430301

Revision history for this message
Jeroen van der Vegt (ajvdvegt) wrote : Re: [Bug 430301] Re: core dump exporting to non existing folder

Hi,

I just upgraded to the build from oktober 4th, and the bug is still
in. Exporting to vector formats to non-exisiting folders give an
identical crash message, exporting to PNG gives a completely different
error:

jeroen@cerebro:/tmp$ inkscape-devel -P ps/test.ps Tekening.svg
inkscape: fopen(ps/test.ps): Bestand of map bestaat niet
terminate called after throwing an instance of
'Inkscape::Extension::Output::save_failed'

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: Er is een interne fout opgetreden in Inkscape. Het
programma wordt afgesloten.

Afgebroken
jeroen@cerebro:/tmp$ inkscape-devel -A pdf/test.pdf Tekening.svg
inkscape: fopen(pdf/test.pdf): Bestand of map bestaat niet
terminate called after throwing an instance of
'Inkscape::Extension::Output::save_failed'

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: Er is een interne fout opgetreden in Inkscape. Het
programma wordt afgesloten.

Afgebroken
jeroen@cerebro:/tmp$ inkscape-devel -E eps/test.eps Tekening.svg
inkscape: fopen(eps/test.eps): Bestand of map bestaat niet
terminate called after throwing an instance of
'Inkscape::Extension::Output::save_failed'

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: Er is een interne fout opgetreden in Inkscape. Het
programma wordt afgesloten.

Afgebroken
jeroen@cerebro:/tmp$ inkscape-devel -e png/test.png Tekening.svg
Background RRGGBBAA: ffffff00
Area 0:0:744,094:1052,36 exported to 744 x 1052 pixels (90 dpi)
Bitmap saved as: png/test.png

** (inkscape-devel:7634): 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
jeroen@cerebro:/tmp$ inkscape-devel -V
Inkscape 0.46+devel (Oct 4 2009)
jeroen@cerebro:/tmp$ ls -1
Tekening.svg
test.ps
jeroen@cerebro:/tmp$

I would expect a more or less identical error in all cases, telling me
the folder I entered does not exists an that I should make it my self
first.

Regards,

Jeroen van der Vegt.

2009/9/25 Jeroen van der Vegt <email address hidden>:
> I reproduced the problem with the PPA version of inkscpae, I suppose
> 0.47 pre3? (though 'inkscape --version still reports 0.46+devel!). It
> was build today, september 25th.
>
> It seems issue three is resolved, but (1) and (2) still exist:
>
> (1)
> Exporting a PDF to a non-existing folder generates this:
>
> jeroen@cerebro:/tmp$ LANG=C inkscape-devel -A pdf/test.pdf Tekening.svg
> inkscape: fopen(pdf/test.pdf): No such file or directory
> terminate called after throwing an instance of
> 'Inkscape::Extension::Output::save_failed'
>
> 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
> jeroen@cerebro:/tmp
>
> (2):
> Exporting a PNG to a non-existing folder generates this:
>
>
> jeroen@cerebro:/tmp$ LANG=C inkscape-devel -e pdf/test.png Tekening.svg
> Background RRGGBBAA: ffffff00
> Area 0:0:744.094:1052.36 exported to 744 x 1052 pixels (90 dpi)
> Bitmap saved as: pdf/test.png
>
> ** (inkscape-devel:28279): 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
> jeroen@cerebro:/tmp$
>
>
> Regards,
>
> Jeroen.
>