[Bug 35023] New: Paint.NET 3.22 crashes on startup, reporting "Property cannot be found"

wine-bugs at winehq.org wine-bugs at winehq.org
Sat Nov 30 14:51:41 CST 2013


http://bugs.winehq.org/show_bug.cgi?id=35023

             Bug #: 35023
           Summary: Paint.NET 3.22 crashes on startup, reporting "Property
                    cannot be found"
           Product: Wine
           Version: 1.7.7
          Platform: x86
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: gdiplus
        AssignedTo: wine-bugs at winehq.org
        ReportedBy: focht at gmx.net
    Classification: Unclassified


Hello folks,

as the summary says ... found while revisiting bug 12336 

Prerequisite: 'winetricks -q dotnet20' in 32-bit WINEPREFIX (Mono might work
too)

Managed backtrace from Paint.NET crash log tool:

--- snip ---
...
Loaded assemblies: 
    mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
@ C:\windows\Microsoft.NET\Framework\v2.0.50727\mscorlib.dll
    PaintDotNet, Version=3.22.2933.24445, Culture=neutral, PublicKeyToken=null
@ C:\Program Files\Paint.NET\PaintDotNet.exe
    System.Windows.Forms, Version=2.0.0.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089 @
C:\windows\assembly\GAC_MSIL\System.Windows.Forms\2.0.0.0__b77a5c561934e089\System.Windows.Forms.dll
    System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 @
C:\windows\assembly\GAC_MSIL\System\2.0.0.0__b77a5c561934e089\System.dll
    System.Drawing, Version=2.0.0.0, Culture=neutral,
PublicKeyToken=b03f5f7f11d50a3a @
C:\windows\assembly\GAC_MSIL\System.Drawing\2.0.0.0__b03f5f7f11d50a3a\System.Drawing.dll
    PaintDotNet.Core, Version=3.22.2933.24442, Culture=neutral,
PublicKeyToken=null @ C:\Program Files\Paint.NET\PaintDotNet.Core.dll
    PaintDotNet.Base, Version=3.22.2933.24440, Culture=neutral,
PublicKeyToken=null @ C:\Program Files\Paint.NET\PaintDotNet.Base.dll
    PaintDotNet.SystemLayer, Version=3.22.2933.24441, Culture=neutral,
PublicKeyToken=null @ C:\Program Files\Paint.NET\PaintDotNet.SystemLayer.dll
    PaintDotNet.Resources, Version=3.22.2933.24441, Culture=neutral,
PublicKeyToken=null @ C:\Program Files\Paint.NET\PaintDotNet.Resources.dll
    PaintDotNet.Data, Version=3.22.2933.24442, Culture=neutral,
PublicKeyToken=null @ C:\Program Files\Paint.NET\PaintDotNet.Data.dll
    PaintDotNet.Effects, Version=3.22.2933.24443, Culture=neutral,
PublicKeyToken=null @ C:\Program Files\Paint.NET\PaintDotNet.Effects.dll

Exception details:
System.ArgumentException: Property cannot be found.
   at System.Drawing.Image.get_PropertyItems()
   at PaintDotNet.SystemLayer.PropertyItem2.GetPropertyItem()
   at PaintDotNet.SystemLayer.PropertyItem2.ToPropertyItem()
   at PaintDotNet.SystemLayer.PdnGraphics.CreatePropertyItem()
   at PaintDotNet.Exif.CreatePropertyItem(Int16 id, ExifTagType type, Byte[]
data)
   at PaintDotNet.Document.set_DpuUnit(MeasurementUnit value)
   at PaintDotNet.AppWorkspace.CreateBlankDocumentInNewWorkspace(Size size,
MeasurementUnit dpuUnit, Double dpu, Boolean isInitial)
   at PaintDotNet.MainForm..ctor(String[] args)
   at PaintDotNet.Startup.StartPart2()
   at PaintDotNet.Startup.Start()
   at PaintDotNet.Startup.Main(String[] args)
--- snip ---

Trace log:

--- snip ---
0009:trace:gdiplus:GdipImageGetFrameDimensionsList (0x1893e0,0x1d0ce0,1)
0009:fixme:ole:RemUnknown_QueryInterface No interface for iid
{00000019-0000-0000-c000-000000000046}
0024:trace:gdiplus:GdipDeleteFontFamily Deleting 0x1cd528 (L"Tahoma")
0024:trace:gdiplus:GdipDisposeImage 0x130780
0024:trace:gdiplus:GdipDeleteFontFamily Deleting 0x1d0658 (L"Tahoma")
0024:trace:gdiplus:GdipDisposeImage 0x1b0a20
0024:trace:gdiplus:GdipDeleteFontFamily Deleting 0x1bb450 (L"Tahoma")
0024:trace:gdiplus:GdipDeleteFontFamily Deleting 0x1d1cb8 (L"Tahoma")
0009:trace:gdiplus:decode_image_wic
0x38af710,{389ea17b-5078-4cde-b6ef-25c15175c751},0,0x32f148
0009:trace:gdiplus:decode_image_wic {6fddc324-4e03-4bfe-b185-3d77768dc90c} =>
0x21808
0009:trace:gdiplus:GdipCreateBitmapFromScan0 1 1 0 0x21808 (nil) 0x32eef8
0009:trace:gdiplus:GdipCreateBitmapFromScan0 <-- 0x130780
0009:trace:gdiplus:GdipBitmapLockBits 0x130780 (nil) 2 0x21808 0x32eeb4
0009:trace:gdiplus:GdipBitmapUnlockBits (0x130780,0x32eeb4)
0009:fixme:wincodecs:PngDecoder_Block_GetCount 0x1d1cc0,0x32ee8c: stub
0009:trace:gdiplus:get_palette using predefined palette 0x9
0009:trace:gdiplus:decode_image_wic => 0x130780
0009:trace:gdiplus:GdipImageForceValidation 0x130780
0009:trace:gdiplus:GdipGetImageType 0x130780 0x32f120
0009:trace:gdiplus:GdipGetImageRawFormat (0x130780, 0x32f0b0)
0009:trace:gdiplus:GdipGetPropertyCount (0x130780, 0x32f13c)
0009:trace:gdiplus:GdipGetPropertySize (0x130780,0x32f140,0x32f13c)
0009:trace:seh:raise_exception code=e0434f4d flags=1 addr=0x7b83a8ef
ip=7b83a8ef tid=0009
0009:trace:seh:raise_exception  info[0]=80070057
0009:trace:seh:raise_exception  eax=7b826921 ebx=7b8ba000 ecx=80070057
edx=0032efa4 esi=0032f028 edi=e0434f4d
0009:trace:seh:raise_exception  ebp=0032efe8 esp=0032ef84 cs=0023 ds=002b
es=002b fs=0063 gs=006b flags=00000283
0009:trace:seh:call_stack_handlers calling handler at 0x79f9a3c8 code=e0434f4d
flags=1
0009:trace:seh:call_stack_handlers handler at 0x79f9a3c8 returned 1
0009:trace:seh:call_stack_handlers calling handler at 0x7a3197d4 code=e0434f4d
flags=1
0009:trace:seh:call_stack_handlers handler at 0x7a3197d4 returned 1
0009:trace:seh:call_stack_handlers calling handler at 0x79f948ec code=e0434f4d
flags=1 
--- snip ---

'winetricks -q gdiplus' works around.

$ sha1sum PaintDotNet_3_22.exe 
e38977998714e177ff32470419a801cb285821a6  PaintDotNet_3_22.exe

$ du -sh PaintDotNet_3_22.exe 
1.4M    PaintDotNet_3_22.exe

$ wine --version
wine-1.7.7-230-g2507330

Regards

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list