[Bug 45868] Multiple .NET 4.x applications crash due to shell32.SHGetStockIconInfo lacking support for SHGSI_ICON flag (Windower 5 beta/FF XI tool, Affinity Designer 1.x)

WineHQ Bugzilla wine-bugs at winehq.org
Sat Mar 21 05:59:24 CDT 2020


https://bugs.winehq.org/show_bug.cgi?id=45868

Anastasius Focht <focht at gmx.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |focht at gmx.net
                URL|http://files.windower.net/5 |https://web.archive.org/web
                   |/core/test/windower.portabl |/20200321100419/http://file
                   |e.zip                       |s.windower.net/5/core/test/
                   |                            |windower.portable.zip
            Summary|Windower 5 beta (FF XI      |Multiple .NET 4.x
                   |tool) crash:                |applications crash due to
                   |System.ArgumentNullExceptio |shell32.SHGetStockIconInfo
                   |n: Value cannot be null.    |lacking support for
                   |Parameter name: icon  at    |SHGSI_ICON flag (Windower 5
                   |System.Windows.Interop.Imag |beta/FF XI tool, Affinity
                   |ing.CreateBitmapSourceFromH |Designer 1.x)
                   |Icon() at                   |
                   |Windower.UI.StockIcons.GetS |
                   |tockIcon()                  |

--- Comment #5 from Anastasius Focht <focht at gmx.net> ---
Hello folks,

ping. Also encountered with Affinity Designer 1.8.2 (.NET 4.x app). Refining
fields.

Prerequisite: 'winetricks -q dotnet472'

--- snip ---
$ wine ./affinity-designer-1.8.2.exe
...
005c:fixme:path:parse_url failed to parse L"SetupUI.resources"
005c:fixme:path:parse_url failed to parse L"UIAutomationProvider"
005c:fixme:shell:SHGetStockIconInfo (77, 0x101, 0x32e3d8) semi-stub
005c:fixme:shell:SHGetStockIconInfo flags 0x101 not implemented
005c:fixme:advapi:RegisterEventSourceW ((null),L".NET Runtime"): stub
005c:fixme:advapi:ReportEventW
(0xcafe4242,0x0001,0x0000,0x00000402,(nil),0x0001,0x00000000,0x32d338,(nil)):
stub
005c:err:eventlog:ReportEventW L"Application: SetupUI.exe\nFramework Version:
v4.0.30319\nDescription: The process was terminated due to an unhandled
exception.\nException Info: System.ArgumentNullException\nStack:\n   at
System.Windows.Interop.Imaging.CreateBitmapSourceFromHIcon(IntPtr,
System.Windows.Int32Rect, System."...
005c:fixme:advapi:DeregisterEventSource (0xcafe4242) stub
wine: Unhandled exception 0xe0434352 in thread 5c at address 7B00DBB1 (thread
005c), starting debugger...
--- snip ---

Download:

https://store.serif.com/en-gb/update/windows/designer/1/

https://web.archive.org/web/20200321081455/https://d1gl0nrskhax8d.cloudfront.net/windows/designer/1.8.2/affinity-designer-1.8.2.exe?Expires=1584782063&Signature=J1xj5Un43p8ZUb~SJtOWJp~xMg64tc7FuNH6anxm~B7y8y~0Z-ypxF2Pqy6wJws5VXJhdkW2NJY5n9IA~YREB~vjGnHJ9OkZnWKttekjvzKEhMUrRZWCmPDnMKavI-O30oR3vPzStCTcl7woKxpUUS0p0bqBlw9dGAASEfYBNMLN0shYEaI4towfMxQvYNwDmZJpmr9UE8dRKaUIgcu8LY41EMVkQP0ZLcPl1O-n9Jn~30TwUca5ofk563LP1ogSF7~uZDWWsnFPrTpFfetUwVIyO0Ke6MWtz33U5lAbGDDKUl6OxPV9FRNrHCkB~v-wWe~rciT3hl6hyvTF9oGBCA__&Key-Pair-Id=APKAIMMPYSI7GSVTEAAQ

Wine source:

https://source.winehq.org/git/wine.git/blob/3ddf3a720f2a342141550c973f10854b573d80ed:/dlls/shell32/iconcache.c#l993

$ sha1sum affinity-designer-1.8.2.exe 
00cdf703a24cb8b98e7d2c8afc8cf66bccbb57ff  affinity-designer-1.8.2.exe

$ du -sh affinity-designer-1.8.2.exe 
484M    affinity-designer-1.8.2.exe

$ wine --version
wine-5.4-206-geb6f8a1d78

Regards

-- 
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