crash when previewing corrupted jpg file
Bug #228697 reported by
Cerno
This bug report is a duplicate of:
Bug #173116: Gtk::PixbufError exception not caught in Windows.
Edit
Remove
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Inkscape |
Confirmed
|
High
|
Unassigned |
Bug Description
When trying to open the attached .jpg file in the "open file..." dialog, Inkscape attempts to preview the file which causes a hard crash.
The file was made with a digital camera whose xd-card sometimes corrupts the picture files. I have a couple more of these files if that helps.
The crash does not occur when drag-and-dropping the file to Inkscape but then nothing happens (because the file is corrupt)
2 things follow from this:
- corrupt jpg files probably throw an exception that is not caught
- drag and dropping corrupt files should cause an error message, not just "nothing", which could confuse users.
Cheers,
Cerno
tags: | added: bitmap crash |
Changed in inkscape: | |
importance: | Undecided → High |
To post a comment you must log in.
running win32 build from May 2 APP>python inkcl.py
In DOS I get the exit message :
C:\Python25\
return code: 3
terminate called after throwing an instance of 'Gdk::PixbufError'
Emergency save activated!