Crash after reopening previously saved file

Bug #327401 reported by Bigsterl
2
Affects Status Importance Assigned to Milestone
Inkscape
Confirmed
Medium
Unassigned

Bug Description

When i go to load a previously saved work in Inkscape, a read box comes up and says, "This application you requested the runtime to terminate it in an unusual way." Then it closes Inkscape on me....Please help?

I don't know if this is a bug in your system or in mine. Other programs ive used such as adobe illustrator do not do this problem.

Tags: crash ui win32
Revision history for this message
Bigsterl (www-s-a-rod) wrote :
Revision history for this message
ScislaC (scislac) wrote :

Is that a file that you saved? If so, Inkscape does not support writing to BMP files. It most likely wrote an SVG with the bmp extension at your request. Please rename the bmp to svg and try to open again.

Revision history for this message
Niko Kiirala (kiirala) wrote :

Yes, that is indeed the case, it is an SVG file. Then again, such funny naming should not crash Inkscape. Actually, on my system (Inkscape 0.46+devel on x86 Linux) the file opens just fine. Maybe this is platform-specific problem or something fixed already in development version.

description: updated
summary: - When i go to load a previously saved work in Inkscape, a read box comes
- up and says, "This application you requested the runtime to turminate it
- in an unusual way." Then it closes Inkscape on me....Please help?
+ Crash after reopening previously saved file
tags: added: crash
Revision history for this message
su_v (suv-lp) wrote :

duplicate of (newer) bug #429529 “Opened bitmap images get overwritten with svg on save without warning” ?
(Fix committed in 22516)

Revision history for this message
jazzynico (jazzynico) wrote :

Confirmed on Windows XP, Inkscape 0.46 and trunk revision 10760.
Steps to reproduce:
1. Open a bitmap document (bmp or jpg) directly with Inkscape (not with import).
2. Modify the document.
3. Save (0.46), or Save As (0.47+) and force a bitmap extension in the file name field.
4. Use File>Open (or File>Import) and click on the document in the list to crash Inkscape.

Note that with 0.46, there was no protection when saving with the same file extension. As of 0.47, Inkscape shows a warning and you need to force the invalid extension.

Also note that disabling the file preview in the Open file browser prevents Inkscape from crashing.
Will test with the gtk file dialog to confirm it's a Windows only issue.

Changed in inkscape:
importance: Undecided → Medium
status: New → Confirmed
Revision history for this message
jazzynico (jazzynico) wrote :

No crash with the GTK file dialog (on Windows XP). The invalid files are just ignored and not rendered in the file preview.
One more good point for GTK against the native Windows dialog...

Revision history for this message
jazzynico (jazzynico) wrote :

Command line message (sorry, no backtrace):

terminate called after throwing an instance of 'Gdk::PixbufError'

tags: added: ui win32
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.