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@winehq.org ReportedBy: focht@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
http://bugs.winehq.org/show_bug.cgi?id=35023
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |dotnet, download URL| |http://www.oldapps.com/pain | |t_net.php?old_apps=24 Blocks| |12336
http://bugs.winehq.org/show_bug.cgi?id=35023
hanska2@luukku.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |hanska2@luukku.com
--- Comment #1 from hanska2@luukku.com --- I didnt see "Property cannot be found", but
the program needs dotnet20, gdiplus.
I think it's pretty much the same state. Without gdiplus override it didn't start.
wine 1.7.22
https://bugs.winehq.org/show_bug.cgi?id=35023
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Paint.NET 3.22 crashes on |Paint.NET 3.22 crashes on |startup, reporting |startup, reporting |"Property cannot be found" |"Property cannot be found" | |(no metadata | |reader/properties present | |for Png)
--- Comment #2 from Anastasius Focht focht@gmx.net --- Hello folks,
revisiting, still present.
$ wine --version wine-1.7.35-108-g512db44
Regards
https://bugs.winehq.org/show_bug.cgi?id=35023
nallekarhu_80@luukku.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |nallekarhu_80@luukku.com
--- Comment #3 from nallekarhu_80@luukku.com --- It doesnt work with mono I tried. Then I did winetricks -q dotnet20 and started the application with no issues. Gdiplus override was NOT needed.
I did manage to get it crashing after trying multiple of the tools in the program, but that never happened during startup.
e38977998714e177ff32470419a801cb285821a6 PaintDotNet_3_22.exe
wine-1.7.47-196-g4e6e9a1
https://bugs.winehq.org/show_bug.cgi?id=35023
super_man@post.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |focht@gmx.net, | |super_man@post.com
--- Comment #4 from super_man@post.com --- e38977998714e177ff32470419a801cb285821a6 PaintDotNet_3_22.exe
winetricks -q dotnet20, clean prefix. Starts with no issues
1.7.53
https://bugs.winehq.org/show_bug.cgi?id=35023
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |3c74e465bcc58c3f3b1a0b1918d | |fe69e667166a3 Status|NEW |RESOLVED Resolution|--- |FIXED
--- Comment #5 from Anastasius Focht focht@gmx.net --- Hello folks,
this was fixed by commits
https://source.winehq.org/git/wine.git/commitdiff/3b51859871513262770562bfd5... ("gdiplus: Add support for reading PNG tEXt metadata.")
https://source.winehq.org/git/wine.git/commitdiff/3c74e465bcc58c3f3b1a0b1918... ("gdiplus: Add support for reading png gAMA chunks.")
Thanks Vincent
Regards
https://bugs.winehq.org/show_bug.cgi?id=35023
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #6 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 1.7.54.
https://bugs.winehq.org/show_bug.cgi?id=35023
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- URL|http://www.oldapps.com/pain |https://web.archive.org/web |t_net.php?old_apps=24 |/20210201123003/https://fil | |ehippo.com/download_paint-n | |et/3.22.2933.24445.0/post_d | |ownload/