Crash on opening an EMF

Bug #1799099 reported by Andreas Beeker
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inkscape
Invalid
Undecided
Unassigned

Bug Description

Inkscape version: Inkscape 0.92.3 (2405546, 2018-03-11)
System: Linux 4.15.0-36-generic #39-Ubuntu SMP Mon Sep 24 16:19:09 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

The attached file causes a segmentation fault.

In case you want to do a mass test, I have a common-crawl / govdocs corpus of ~200000 emf files, which I currently use to implement an EMF parser/renderer.

Revision history for this message
Andreas Beeker (kiwiwings) wrote :
Revision history for this message
Alvin Penner (apenner) wrote :

confirmed on Windows 10, Inkscape 0.92.3 (2405546, 2018-03-11)

backtrace:
Program received signal SIGSEGV, Segmentation fault.
0x75da9350 in strcmp () from C:\WINDOWS\SysWOW64\msvcrt.dll
(gdb) bt
#0 0x75da9350 in strcmp () from C:\WINDOWS\SysWOW64\msvcrt.dll
#1 0x01148f18 in libinkscape_base!ftinfo_load_fontname () from c:\program files (x86)\inkscape\libinkscape_base.dll
#2 0x0111cb73 in libinkscape_base!_ZN8Inkscape9Extension8Internal3Emf17myEnhMetaFileProcEPcjPNS1_17emf_callback_dataE ()
   from c:\program files (x86)\inkscape\libinkscape_base.dll
#3 0x0111e0e6 in libinkscape_base!_ZN8Inkscape9Extension8Internal3Emf4openEPNS0_5InputEPKc ()
   from c:\program files (x86)\inkscape\libinkscape_base.dll
#4 0x010ed9bd in libinkscape_base!_ZN8Inkscape9Extension5Input4openEPKc ()
   from c:\program files (x86)\inkscape\libinkscape_base.dll
#5 0x0e0813a8 in ?? ()
#6 0x0161d032 in libinkscape_base!_Z12sp_file_openRKN4Glib7ustringEPN8Inkscape9Extension9ExtensionEbb ()
   from c:\program files (x86)\inkscape\libinkscape_base.dll
#7 0x0162151a in libinkscape_base!_Z19sp_file_open_dialogRN3Gtk6WindowEPvS2_ ()
   from c:\program files (x86)\inkscape\libinkscape_base.dll
#8 0x016d9c28 in libinkscape_base!_ZN8Inkscape8FileVerb7performEP8SPActionPv ()
   from c:\program files (x86)\inkscape\libinkscape_base.dll
#9 0x0196e877 in libinkscape_base!_ZN4sigc8internal9slot_callINS_12bind_functorILin1ENS2_ILin1ENS_16pointer_functor2IP8SPActionPvvEES6_NS_3nilES8_S8_S8_S8_S8_EES5_S8_S8_S8_S8_S8_S8_EEvJEE7call_itEPNS0_8slot_repE ()
   from c:\program files (x86)\inkscape\libinkscape_base.dll
#10 0x011af999 in libinkscape_base!_Z17sp_action_performP8SPActionPv () from c:\program files (x86)\inkscape\libinkscape_base.dll
#11 0x63c45f03 in ?? () from c:\program files (x86)\inkscape\libgobject-2.0-0.dll
#12 0x63c582cd in ?? () from c:\program files (x86)\inkscape\libgobject-2.0-0.dll
#13 0x63c600e7 in ?? () from c:\program files (x86)\inkscape\libgobject-2.0-0.dll
#14 0x63c60937 in ?? () from c:\program files (x86)\inkscape\libgobject-2.0-0.dll
#15 0x61b68279 in ?? () from c:\program files (x86)\inkscape\libgtk-win32-2.0-0.dll
#16 0x61a6094b in ?? () from c:\program files (x86)\inkscape\libgtk-win32-2.0-0.dll
#17 0x61a60be2 in ?? () from c:\program files (x86)\inkscape\libgtk-win32-2.0-0.dll
#18 0x61a4e0aa in ?? () from c:\program files (x86)\inkscape\libgtk-win32-2.0-0.dll
...

Changed in inkscape:
status: New → Confirmed
Revision history for this message
Jonathan Hofinger (jhofinger) wrote :

Hi - thanks for reporting this bug, I've manually migrated it to Inkscape's new bug tracker on GitLab, and closed it here.

Please feel free to file new bugs about the issues you're seeing at http://inkscape.org/report.

Moved to: https://gitlab.com/inkscape/inbox/issues/1672
Closed by: https://gitlab.com/jhofinger

Changed in inkscape:
status: Confirmed → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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