Inkscape crashes when shifting location of large embeded PNG file
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Inkscape |
New
|
Undecided
|
Unassigned |
Bug Description
Inkscape 0.48.4 r9939
Windows 7 x64 SP1
Just found a way to crash Inkscape reliably 100% of the time. It happens after you embed a large PNG file and try to shift it's location by using the 'Shit+arrow keys'. Memory shoots through the roof and Inkscape then crashes.
Steps to reproduce:
1. Download and save the 'original' size PNG located at this page: http://
2. Once you have the image saved, go to wherever you saved it to and then import it into Inkscape.
3. When the window shows up asking you to either 'link' or 'embed' the image, select 'embed'.
4. Once he main Inkscape GUI shows up with the 'embeded' image, select the image with you mouse.
5. After you have selected the image, hold down your 'SHIFT' button and any of the keyboard's 'arrow' keys (any of the 4 will do, happens with all) for as long as necessary to trigger what happens below.
What should happen:
Inkscape should shift the image in the direction of the arrow button you're holding down without a massive memory leak + crash.
What happens:
After about ~3-5 seconds, Inkscape crashes because of a massive memory leak from shifting the image location. The memory usage for Inkscape gets up to around 1.32GB when it crashes. It seems that every time the image is shifted by the 'SHIFT' + 'Arrow Key', the memory goes up ~36,000K per move via the arrow keys. That adds up really fast if you need to move the embeded image a lot and results in the crash.
This happens with a fresh brand new profile and my normal profile, so, not a profile bug.
Seems similar or related to /bugs.launchpad .net/inkscape/ +bug/1327481>
- Bug #1327481 “Crashes while using bmp files”
<https:/