inkscape crashes with bad alloc on conversion from svg to png
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Inkscape |
Fix Released
|
High
|
Krzysztof Kosinski |
Bug Description
Hi!
like some guys before i want to render data from openstreetmap.org
i've got several svg files and attached the biggest one, because inkscape crashes while converting this svg to png!
I'm working with Windows XP Professonal and therefore i use this little Python script from http://
My command: InkCL -e C:\bilder_
and the error msg i get:
Message: Error: Inkscape ist auf einen internen Fehler gesto\xdfen und wird nun geschlossen.
terminate called after throwing an instance of 'std::bad_alloc'
what(): std::bad_alloc'
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.
The output is an uncompleted png file, half of it is succesfully converted and looks great, the rest is blank (white)!
If i use a width of 800 in the command, it works, but i ned the specific resolution with a width of 1590!
Related branches
tags: | added: crash svg |
tags: | added: performance |
Changed in inkscape: | |
assignee: | nobody → Krzysztof Kosinski (tweenk) |
tags: |
added: bitmap exporting removed: svg |
tags: |
added: win32 removed: performance |
Changed in inkscape: | |
status: | Fix Committed → Fix Released |
confirmed on Windows XP, Inkscape 0.47pre2. This may be related to how much memory you have, my crash occurred when I ran out of memory at 1.04 GB.
Exit message is:
D:\Program Files\Inkscape> inkscapec -e C:\windows\ temp\output_ 0013.png C:\windows\ temp\output_ 0013.svg -w 1590 temp\output_ 0013.png
Background RRGGBBAA: ffffff00
Area 0:0:500:749.968 exported to 1590 x 2385 pixels (286.2 dpi)
Bitmap saved as: C:\windows\
** Message: Error: Inkscape encountered an internal error and will close now.
terminate called after throwing an instance of 'std::bad_alloc'
what(): std::bad_alloc
Emergency save activated!