https://bugs.winehq.org/show_bug.cgi?id=56493
Bug ID: 56493 Summary: PresentationFontCache.exe crashes during .Net 3.51 SP1 installation Product: Wine Version: 9.5 Hardware: x86-64 OS: Linux Status: NEW Keywords: regression Severity: normal Priority: P2 Component: msi Assignee: wine-bugs@winehq.org Reporter: dmitry@baikal.ru CC: hans@meelstraat.net Regression SHA1: 2c450fd6215c0da4685143f97ece8b6db0f54a0b Distribution: ---
Starting from commit 2c450fd6215c0da4685143f97ece8b6db0f54a0b installing .Net 3.51 SP1 with 'winetricks -q dotnet351sp1' leads to a crash in drive_c/windows/Microsoft.NET/Framework/v3.0/WPF/PresentationFontCache.exe
0448:fixme:advapi:RegisterEventSourceW ((null),L".NET Runtime 2.0 Error Reporting"): stub 0448:fixme:advapi:ReportEventW (CAFE4242,0x0001,0x0000,0x000003e8,00000000,0x0008,0x00000100,3009B09C,014CDB08): stub 0448:err:eventlog:ReportEventW L"presentationfontcache.exe" 0448:err:eventlog:ReportEventW L"0.0.0.0" 0448:err:eventlog:ReportEventW L"488f1424" 0448:err:eventlog:ReportEventW L"kernelbase.dll" 0448:err:eventlog:ReportEventW L"0.0.0.0" 0448:err:eventlog:ReportEventW L"660521cd" 0448:err:eventlog:ReportEventW L"0" 0448:err:eventlog:ReportEventW L"00012162" 0448:fixme:advapi:DeregisterEventSource (CAFE4242) stub wine: Unhandled exception 0xe0434f4d in thread 43c at address 7BC72162 (thread 043c), starting debugger...
Note that window with the debugger prompt may not actually appear.
PresentationFontCache.exe is a demand starting service, and once installation has finished executing 'wine sc start FontCache3.0.0.0' doesn't lead to a crash. The crash happens after the check GetFileAttributesW("C:\windows\assembly\GAC_32\PresentationCore\3.0.0.0__31bf3856ad364e35\PresentationCore.dll") which returns 0xffffffff and GetLastError()=3. Before the offending commit PresentationCore.dll exists and the service doesn't crash.