[Bug 49029] New: ABBYY FineReader 12 Professional crashes in trial mode

WineHQ Bugzilla wine-bugs at winehq.org
Sun Apr 26 17:48:24 CDT 2020


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

            Bug ID: 49029
           Summary: ABBYY FineReader 12 Professional crashes in trial mode
           Product: Wine
           Version: 5.7
          Hardware: x86
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: msxml6
          Assignee: wine-bugs at winehq.org
          Reporter: focht at gmx.net
      Distribution: ---

Hello folks,

continuation from bug 43454 ("Multiple installers and applications crash on
unhandled exception 0x000006ba inside NdrAsyncClientCall (ABBYY FineReader 12
Professional)").

Clicking 'Run Program' (= run app in trial mode) causes a crash.

--- snip ---
$ pwd
/home/focht/.wine/drive_c/Program Files (x86)/ABBYY FineReader 12

$ WINEDEBUG=+seh,+relay,+msxml wine ./FineReader.exe >>log.txt 2>&1
...
0055:Call ole32.CoCreateInstance(2f815e1c,00000000,00000017,2f815e2c,0032d544)
ret=2f7ab6e9 
...
0055:Ret  msxml3.DllGetClassObject() retval=00000000 ret=00ad5801
...
0055:trace:msxml:DOMClassFactory_CreateInstance (nil)
{00000000-0000-0000-c000-000000000046} 0x32d460
0055:trace:msxml:DOMDocument_create (60, 0x32d41c)
...
0055:trace:msxml:xmldoc_add_refs (0xf76c2d20)->(1)
0055:trace:msxml:get_domdoc_from_xmldoc returning iface 0x28b3f38
0055:trace:msxml:domdoc_QueryInterface
(0x28b3f20)->({00000000-0000-0000-c000-000000000046} 0x32d460)
0055:trace:msxml:domdoc_AddRef (0x28b3f20)->(2)
0055:trace:msxml:domdoc_Release (0x28b3f20)->(1)
0055:trace:msxml:DOMClassFactory_Release (0x28d6120) ref = 0
...
0055:Ret  ole32.CoCreateInstance() retval=00000000 ret=2f7ab6e9 
...
0055:trace:msxml:domdoc_createProcessingInstruction (0x28b3f20)->(L"xml"
L"version=\"1.0\" encoding=\"UTF-8\"" 0x32d46c) 
...
0055:trace:msxml:node_set_content (0x29856e0)->(L"version=\"1.0\"
encoding=\"UTF-8\"") 
...
0055:trace:msxml:domdoc_createNode (0x28b3f20)->(0x32d3e0 {VT_INT: 1} L"root"
L"http://www.abbyy.com/FineReader/BatchOptions/0" 0x32d468)
...
0055:trace:msxml:domdoc_createNode node_type 1 
...
0055:trace:msxml:domdoc_get_documentElement (0x28b3f20)->(0x32d480)
0055:trace:msxml:create_node type 1
...
0055:trace:msxml:xmldoc_add_refs (0xf76c2d20)->(2)
0055:trace:msxml:domelem_QueryInterface
(0x29856e0)->({2933bf80-7b36-11d2-b20e-00c04f983e60} 0x32d42c)
0055:trace:msxml:domelem_AddRef (0x29856e0)->(2)
0055:trace:msxml:domelem_Release (0x29856e0)->(1)
0055:trace:msxml:domelem_QueryInterface
(0x29856e0)->({2933bf86-7b36-11d2-b20e-00c04f983e60} 0x32d480)
0055:trace:msxml:domelem_AddRef (0x29856e0)->(2)
0055:trace:msxml:domelem_Release (0x29856e0)->(1)
0055:trace:msxml:domelem_AddRef (0x29856e0)->(2)
0055:trace:msxml:domelem_AddRef (0x29856e0)->(3)
0055:trace:msxml:domelem_Release (0x29856e0)->(2) 
...
0055:trace:msxml:domelem_setAttribute (0x29856e0)->(L"type" 0x32d400 {VT_BSTR:
L""}) 
...
0055:trace:msxml:domelem_setAttribute (0x29856e0)->(L"languages" 0x32d400
{VT_BSTR: L"English"})
0055:Call KERNEL32.WideCharToMultiByte(0000fde9,00000000,028b8ecc
L"English",ffffffff,00000000,00000000,00000000,00000000) ret=f799f4a2
0055:Call ntdll.RtlUnicodeToUTF8N(00000000,00000000,0032d324,028b8ecc,00000010)
ret=7b0198f4
0055:Ret  ntdll.RtlUnicodeToUTF8N() retval=00000000 ret=7b0198f4
0055:Ret  KERNEL32.WideCharToMultiByte() retval=00000008 ret=f799f4a2
0055:Call ntdll.RtlAllocateHeap(00110000,00000000,00000009) ret=f799f4c1
0055:Ret  ntdll.RtlAllocateHeap() retval=028d6120 ret=f799f4c1
0055:Call KERNEL32.WideCharToMultiByte(0000fde9,00000000,028b8ecc
L"English",ffffffff,028d6120,00000009,00000000,00000000) ret=f799f4ea
0055:Call ntdll.RtlUnicodeToUTF8N(028d6120,00000009,0032d324,028b8ecc,00000010)
ret=7b0198f4
0055:Ret  ntdll.RtlUnicodeToUTF8N() retval=00000000 ret=7b0198f4
0055:Ret  KERNEL32.WideCharToMultiByte() retval=00000008 ret=f799f4ea
0055:Call KERNEL32.WideCharToMultiByte(0000fde9,00000000,028310bc
L"languages",ffffffff,00000000,00000000,00000000,00000000) ret=f799f3a3
0055:Call ntdll.RtlUnicodeToUTF8N(00000000,00000000,0032d324,028310bc,00000014)
ret=7b0198f4
0055:Ret  ntdll.RtlUnicodeToUTF8N() retval=00000000 ret=7b0198f4
0055:Ret  KERNEL32.WideCharToMultiByte() retval=0000000a ret=f799f3a3
0055:Call ntdll.RtlAllocateHeap(00110000,00000000,0000000b) ret=f799f3c2
0055:Ret  ntdll.RtlAllocateHeap() retval=028b5a50 ret=f799f3c2
0055:Call KERNEL32.WideCharToMultiByte(0000fde9,00000000,028310bc
L"languages",ffffffff,028b5a50,0000000b,00000000,00000000) ret=f799f3e3
0055:Call ntdll.RtlUnicodeToUTF8N(028b5a50,0000000b,0032d324,028310bc,00000014)
ret=7b0198f4
0055:Ret  ntdll.RtlUnicodeToUTF8N() retval=00000000 ret=7b0198f4
0055:Ret  KERNEL32.WideCharToMultiByte() retval=0000000a ret=f799f3e3
0055:trace:seh:raise_exception code=c0000005 flags=0 addr=0xf7bd80b2
ip=f7bd80b2 tid=0055
0055:trace:seh:raise_exception  info[0]=00000000
0055:trace:seh:raise_exception  info[1]=a5317000
0055:trace:seh:raise_exception  eax=7d125010 ebx=f7cfb000 ecx=7d12501c
edx=a5317000 esi=00000030 edi=0000003f
0055:trace:seh:raise_exception  ebp=00000003 esp=0032d370 cs=0023 ds=002b
es=002b fs=0063 gs=006b flags=00010283
0055:trace:seh:call_stack_handlers calling handler at 0x2f7bc908 code=c0000005
flags=0
0055:trace:seh:call_stack_handlers handler at 0x2f7bc908 returned 1
...
wine: Unhandled page fault on read access to A5317000 at address F7BD80B2
(thread 0055), starting debugger... 
--- snip ---

Tidbit: The app installer bundles Microsoft MSXML 6.0 x64 redist installer.

>From 'AbbyyMsiLog.txt':

--- snip --
...
Get prerequisites...

Prerequisites: Z:\home\focht\Downloads\FR12_PE\MSXML\msxml6_x64.msi
Checking related Product for UpgradeCode:
{5BBED1F8-E6F3-4A02-BC97-26D35BE200CA}
Prerequisite MaxUpdateVersion is: 6.10.1129.0
No related products for this UpgradeCode
[Setup] Run="C:\windows\system32\msiexec.exe" /i
"Z:\home\focht\Downloads\FR12_PE\MSXML\msxml6_x64.msi" /passive /Liwrmo!vepacu
"C:\users\focht\Temp\msxml6_x64.log"

[Setup] RunExitCode=0
...
--- snip ---

Due to the presence of Wine's MSXML 6.0 PE builtins, the redist installer does
not overwrite them. Only binaries that don't exist in Wine, such as
'msxml6r.dll' get installed in SysWOW64 and System32 respectively. It wouldn't
work anyway as Wine always prefers msxml builtins for good reason.

'winetricks -q msxml6' prevents the crash.

$ sha1sum ABBYY_FR12_PRO_TRIAL.exe 
cd209916f9f13486a6d8f6fc6276eeb761b30803  ABBYY_FR12_PRO_TRIAL.exe

$ du -sh ABBYY_FR12_PRO_TRIAL.exe 
340M    ABBYY_FR12_PRO_TRIAL.exe

$ wine --version
wine-5.7

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