Crash due to re-registering GdkPixbufGdipAnim during BMP read
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Inkscape |
Fix Released
|
Critical
|
Patrick Storz | ||
Inkscape Devlibs for Windows 64-bit |
Fix Committed
|
Undecided
|
Patrick Storz |
Bug Description
Visible fault:
Inkscape cannot read a Windows bitmap (BMP) file subsequent to opening an SVG file with an embedded raster object. Attempting to do so causes the program to simply disappear from the screen without warning.
To reproduce:
1) Open an SVG containing a raster object (any BMP/PNG/JPG etc already imported and embedded into the image), either with File → Open, or by starting Inkscape by double-clicking an SVG file in Windows Explorer/File Explorer
2) Try to import a BMP file using any of the methods below, either into the same document, or into a new document (after File → New):
a) Drop a BMP file onto the image
b) File → Import, click image (with thumbnail panel active in Open dialog) — crashes inside the Open dialog when showing the thumbnail prior to clicking Open
c) File → Import, click image, click Open (with thumbnail panel hidden) — crashes during import
Cause:
It appears the SVG image read process registers GdkPixbufGdipAnim when the image contains a raster object, as does reading a Windows BMP (but not PNG/JPG). Trying to re-register this type during a BMP read subsequent to reading an SVG document fails, causing the program to terminate.
Output from inkscapec.exe:
(inkscape.
(inkscape.
(inkscape.
Setup:
Inkscape 0.91 r13725 64-bit (from inkscape 0.91 pre 2 x64.msi)
Windows 8.1 Pro 64-bit
Changed in inkscape: | |
milestone: | none → 0.92 |
status: | New → Triaged |
Changed in inkscape: | |
status: | Fix Committed → Fix Released |
See also: /bugzilla. redhat. com/show_ bug.cgi? id=795152# c1
https:/