core dump exporting to non existing folder
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Inkscape |
Fix Released
|
High
|
John Smith |
Bug Description
These are three (minor) reports in one:
1. Exporting an SVG to a PDF on the commandline to a non-exisiting folder using inkscape 0.46 results in a segfault. See the example below (the folder 'pfd' is a typo in the command and should have been 'pdf'):
$ inkscape -f svg/dbschema.svg -A pfd/dbschema.pdf
inkscape: fopen(pfd/
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.
Afgebroken (core dumped)
$
Exporting to other formats (like PS or EPS) does not show this behaviour.
2. Exporting a PNG shows this error:
$ inkscape -f svg/dbschema.svg -e pfd/dbschema.png
Background RRGGBBAA: ffffff00
Area 0:0:744.094:1052.36 exported to 744 x 1052 pixels (90 dpi)
Bitmap saved as: pfd/dbschema.png
** (inkscape:15526): CRITICAL **: bool sp_png_
$
3. Supplying the '-D' argument when exporting a PDF results in a weird and incorrect warning: the file IS exported correctly.
$ inkscape -D -f svg/dbschema.svg -A dbschema.pdf
** (inkscape:15636): WARNING **: No export filename given and no filename hint. Nothing exported.
$
tags: | added: cli |
Changed in inkscape: | |
milestone: | none → 0.49 |
Changed in inkscape: | |
status: | Fix Committed → Fix Released |
Hello Jeroen, I guess you are using inkscape-0.46 on a Linux system.
Could you please:
- get a daily version higher than svn revision 22241 and test again,
- could you also describe what would you expect? Sould the export fail on nonexisting path or should inkscape create the path?
In my opinion inkscape should fail as a simple copy command would do. Do you agree.
I agree inkscape must not die that way.
Regards, Adib.