Crash when opening WMF file
Bug #1434721 reported by
su_v
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Inkscape |
Confirmed
|
Medium
|
Unassigned |
Bug Description
On 2015-03-20 14:16 (+0100), John Portnov asked this question:
https:/
Original question:
==================
I need to load my WMF File into InkScape so that I can work with it and save it as svg file eventually.
Based on what I read, InkScape allows you to open wmf files. When I place WMF file in InkScape it closes and/or crashes.
I have done open, import, and dragged WMF file into InkScape. The result is that InkScape closes without warning.
Version info:
=============
I got InkScape (0.91 version) yesterday and believe that I have the latest version of it.
Test case:
==========
https:/
To post a comment you must log in.
Crash confirmed with Inkscape 0.91 r13725 and 0.91+devel r14020 on OS X 10.7.5. UniConverter 1.1.5 also fails to open the file.
The file format by the way is not WMF as suggested, it seems to be an EMF file:
$ file test12.wmf
test12.wmf: Windows Enhanced Metafile (EMF) image data version 0x10000
Renaming the file to test12.emf and attempting to open it in Inkscape doesn't result in a crash, but fails to load with a different error (Inkscape itself does not crash):
Entity: line 591669: parser error : internal error: Huge input lookup -101183. 14 -101183. 14 -101183. 14
L 91242.202,
^
Entity: line 591669: parser error : internal error: Huge input lookup
L 91242.202,
^
Entity: line 591669: parser error : Extra content at the end of the document
L 91242.202,
^
Even if the file turns out to be damaged (or otherwise unsupported by Inkscape), the application should not crash (instead, it should notify the user that it fails to open the file).