Windows 8: Inkscape crash when converting large .svg to raster format
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Inkscape |
New
|
Undecided
|
Unassigned |
Bug Description
When exporting a large .svg file to a raster format (e.g. .bmp or .png) Inkscape crashes. My inskcape version is 0.48.4 (r9939). I am attaching a sample.svg that should reproduce the crash. Similar but smaller .svg files do not make inkscape crash so the problem might be related to the file size.
The problem seems to be specific to Windows 8, although I am not sure of this as I don't have access to a Windows 7 machine anymore. However, I did convert in the past under Windows 7 quite a lot of very similar files to the sample that I am attaching and I never came across this problem. The same problem does not happen under Debian Linux 6.0 (running inkscape 0.47 r22583).
The crash manifests as a pop-up window that reads:
Runtime Error!
Program: C:\ProgramFiles (x86)\Inkscape\
This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.
tags: | added: bitmap cli crash exporting win32 |
On Windows 7, Inkscape 0.48.4, I am unable to open this file, I get the following exitt message in DOS.
C:\Program Files\Inkscape> inkscape
terminate called after throwing an instance of 'std::bad_alloc'
what(): std::bad_alloc
Does your crash occur when loading the .svg file, or only when exporting?
On Windows XP, Inkscape devel r12260, the svg file loads normally, and the export to png works normally at 300 dpi.