worms invasion wrote:
Hello,
The latest win32 build from modevia: http://inkscape.modevia.com/win32/Inkscape19808-0809060128.7z crashes when you try to import either a jpg or a gif file. A png is imported fine.
OS: Windows 2000 SP4
Steps to reproduce:
- Launch Inkscape (create a new empty document)
- Select Import from the menu
- The standard Windows dialog opens
- Click on a jpg or gif file name
Result: Message. Runtime error, Inkscape encountered an error and will now close (or something) Crash.
If you already have an open document opened with stuff in it, the import dialog doesn't make Inkscape crash, but it does nothing.
I tried it, and the same happens here. Here is the backtrace I was able to get.
Load() seems to work. But maybe the native preview code is having trouble with the 2.14 API.
bob
==========================================================
(gdb) bt #0 0x77506136 in ole32!DcomChannelSetHResult () from C:\WINDOWS\system32\ole32.dll #1 0x4ed8fb96 in gdiplus!GdipCloneBitmapArea () from C:\WINDOWS\WinSxS\x86_Microsoft.Windows.GdiPlus_6595b64144ccf1df_1.0.260 0.5512_x-ww_dfb54e0c\GdiPlus.dll #2 0x4edc1c27 in gdiplus!GdipCloneBitmapArea () from C:\WINDOWS\WinSxS\x86_Microsoft.Windows.GdiPlus_6595b64144ccf1df_1.0.260 0.5512_x-ww_dfb54e0c\GdiPlus.dll #3 0x4edc201d in gdiplus!GdipCloneBitmapArea () from C:\WINDOWS\WinSxS\x86_Microsoft.Windows.GdiPlus_6595b64144ccf1df_1.0.260 0.5512_x-ww_dfb54e0c\GdiPlus.dll #4 0x4edc0951 in gdiplus!GdipCloneBitmapArea () from C:\WINDOWS\WinSxS\x86_Microsoft.Windows.GdiPlus_6595b64144ccf1df_1.0.260 0.5512_x-ww_dfb54e0c\GdiPlus.dll #5 0x4edc33df in gdiplus!GdipCloneBitmapArea () from C:\WINDOWS\WinSxS\x86_Microsoft.Windows.GdiPlus_6595b64144ccf1df_1.0.260 0.5512_x-ww_dfb54e0c\GdiPlus.dll #6 0x4edb6803 in gdiplus!GdipCloneBitmapArea () from C:\WINDOWS\WinSxS\x86_Microsoft.Windows.GdiPlus_6595b64144ccf1df_1.0.260 0.5512_x-ww_dfb54e0c\GdiPlus.dll #7 0x4ed901c4 in gdiplus!GdipCloneBitmapArea () from C:\WINDOWS\WinSxS\x86_Microsoft.Windows.GdiPlus_6595b64144ccf1df_1.0.260 0.5512_x-ww_dfb54e0c\GdiPlus.dll #8 0x4eca8472 in gdiplus!GdipGetFontHeight () from C:\WINDOWS\WinSxS\x86_Microsoft.Windows.GdiPlus_6595b64144ccf1df_1.0.260 0.5512_x-ww_dfb54e0c\GdiPlus.dll #9 0x4eca842d in gdiplus!GdipGetFontHeight () from C:\WINDOWS\WinSxS\x86_Microsoft.Windows.GdiPlus_6595b64144ccf1df_1.0.260 0.5512_x-ww_dfb54e0c\GdiPlus.dll #10 0x4ec94b64 in gdiplus!GdipGetPathGradientFocusScales () from C:\WINDOWS\WinSxS\x86_Microsoft.Windows.GdiPlus_6595b64144ccf1df_1.0.260 0.5512_x-ww_dfb54e0c\GdiPlus.dll #11 0x4ec94ab8 in gdiplus!GdipGetPathGradientFocusScales () from C:\WINDOWS\WinSxS\x86_Microsoft.Windows.GdiPlus_6595b64144ccf1df_1.0.260 0.5512_x-ww_dfb54e0c\GdiPlus.dll #12 0x4eca87c2 in gdiplus!GdipGetFontHeight () from C:\WINDOWS\WinSxS\x86_Microsoft.Windows.GdiPlus_6595b64144ccf1df_1.0.260 0.5512_x-ww_dfb54e0c\GdiPlus.dll #13 0x4ec68040 in gdiplus!GdipGetImageGraphicsContext () from C:\WINDOWS\WinSxS\x86_Microsoft.Windows.GdiPlus_6595b64144ccf1df_1.0.260 0.5512_x-ww_dfb54e0c\GdiPlus.dll #14 0x4ecaaa53 in gdiplus!GdipBitmapGetPixel () from C:\WINDOWS\WinSxS\x86_Microsoft.Windows.GdiPlus_6595b64144ccf1df_1.0.260 0.5512_x-ww_dfb54e0c\GdiPlus.dll #15 0x4ecaaa04 in gdiplus!GdipBitmapGetPixel () from C:\WINDOWS\WinSxS\x86_Microsoft.Windows.GdiPlus_6595b64144ccf1df_1.0.260 0.5512_x-ww_dfb54e0c\GdiPlus.dll #16 0x4ecaa9bc in gdiplus!GdipBitmapGetPixel () from C:\WINDOWS\WinSxS\x86_Microsoft.Windows.GdiPlus_6595b64144ccf1df_1.0.260 0.5512_x-ww_dfb54e0c\GdiPlus.dll #17 0x6535b54b in stop_load () from C:\inkscape\libgdk_pixbuf-2.0-0.dll #18 0x6535ba90 in gdk_pixbuf__gdip_image_stop_load () from C:\inkscape\libgdk_pixbuf-2.0-0.dll #19 0x653452ed in _gdk_pixbuf_generic_image_load () from C:\inkscape\libgdk_pixbuf-2.0-0.dll #20 0x653453e3 in gdk_pixbuf_new_from_file_utf8 () from C:\inkscape\libgdk_pixbuf-2.0-0.dll #21 0x012ac1da in Gdk::Pixbuf::create_from_file (filename=@0x22f140) at pixbuf.cc:511 #22 0x006e1545 in Inkscape::UI::Dialog::FileOpenDialogImplWin32::set_image_previ ew () #23 0x006e4c24 in Inkscape::UI::Dialog::FileOpenDialogImplWin32::load_preview () #24 0x006e4ee4 in Inkscape::UI::Dialog::FileOpenDialogImplWin32::show () #25 0x004149f4 in sp_file_import () #26 0x004fa4b2 in sp_action_perform () #27 0x63a43945 in g_closure_invoke () from C:\inkscape\libgobject-2.0-0.dll #28 0x63a57e75 in signal_emit_unlocked_R () from C:\inkscape\libgobject-2.0-0.dll #29 0x00000000 in ?? () (gdb)