[Bug 49536] Adobe Digital Editions 2.0 (.NET 3.5 app) crashes with 'System.Windows.Media.FontFamily threw System.AccessViolationException' since Wine 5.12

WineHQ Bugzilla wine-bugs at winehq.org
Sun Feb 21 19:37:52 CST 2021


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

Anastasius Focht <focht at gmx.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |dotnet, download,
                   |                            |regression
          Component|-unknown                    |ntdll
                 CC|                            |focht at gmx.net
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |DUPLICATE
                URL|                            |https://web.archive.org/web
                   |                            |/20190807075048/http://down
                   |                            |load.adobe.com/pub/adobe/di
                   |                            |gitaleditions/ADE_2.0_Insta
                   |                            |ller.exe
            Summary|Adobe Digital Editions 2.0  |Adobe Digital Editions 2.0
                   |does not start in 5.12      |(.NET 3.5 app) crashes with
                   |                            |'System.Windows.Media.FontF
                   |                            |amily threw
                   |                            |System.AccessViolationExcep
                   |                            |tion' since Wine 5.12

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

confirming. It was fixed by commit
https://source.winehq.org/git/wine.git/commitdiff/b7e51a1653320d06a9c04f53d0d9e7eda577c31b
("ntdll: Append ntdll.dll to the builtin_modules list.").

Part of Wine 5.14 release

Thanks Zebediah

Which makes this a dupe of bug 49626

Prerequisite: 'winetricks -q dotnet35sp1'

https://community.adobe.com/t5/digital-editions/can-t-install-adobe-digital-editions-2-0-on-windows-8/m-p/4618490

--- snip --
$ pwd
/home/focht/.wine/drive_c/Program Files/Adobe/Adobe Digital Editions 2.0

$ wine ./DigitalEditions.exe
...
Unhandled Exception: System.TypeInitializationException: The type initializer
for 'System.Windows.Media.FontFamily' threw an exception. --->
System.AccessViolationException: Attempted to read or write protected memory.
This is often an indication that other memory is corrupt.
   at RtlFreeSid(Void* )
   at MS.Internal.FontCache.LocalServiceSid.FreeRaw(IntPtr rawPtr)
   at MS.Internal.FontCache.LPCServices.TryConnectToLPCPort(String portName,
Sid expectedSid, Byte[] connectBuffer, Int32& errorCode)
   at MS.Internal.FontCache.LPCProtocol.TryConnectToServer(Int32 timeout,
Int32& errorCode)
   at MS.Internal.FontCache.IPCCacheManager.GetServerSectionName(Int32 timeout,
Int32& errorCode)
   at MS.Internal.FontCache.CacheManager.GetServerCache()
   at MS.Internal.FontCache.CacheManager.Lookup(IFontCacheElement e)
   at System.Windows.Media.FontFamily.PreCreateDefaultFamilyCollection()
   at System.Windows.Media.FontFamily..cctor()
   --- End of inner exception stack trace ---
   at System.Windows.Media.Typeface..ctor(FontFamily fontFamily, FontStyle
style, FontWeight weight, FontStretch stretch)
   at MS.Internal.Text.DynamicPropertyReader.GetTypeface(DependencyObject
element)
   at MS.Internal.Text.TextProperties.InitCommon(DependencyObject target)
   at MS.Internal.Text.TextProperties..ctor(FrameworkElement target, Boolean
isTypographyDefaultValue)
   at System.Windows.Controls.TextBlock.GetLineProperties()
...
   at System.Windows.Window.Show()
   at DE.App.OnStartup(StartupEventArgs e)
   at System.Windows.Application.<.ctor>b__0(Object unused)
...
   at System.Windows.Application.RunDispatcher(Object ignore)
   at System.Windows.Application.RunInternal(Window window)
   at System.Windows.Application.Run(Window window)
   at System.Windows.Application.Run()
   at DE.App.Main()
wine: Unhandled exception 0xe0434f4d in thread 24 at address 7B00EF91 (thread
0024), starting debugger...
--- snip --

$ sha1sum ADE_2.0_Installer.exe 
c294f04a2c7e6ded14bc6c5ece6dd7d0a81aec05  ADE_2.0_Installer.exe

$ du -sh ADE_2.0_Installer.exe 
5.7M    ADE_2.0_Installer.exe

$ wine --version
wine-5.13-268-gb7e51a16533

Regards

*** This bug has been marked as a duplicate of bug 49626 ***

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