IE based program read fault XML

Questions about Wine on Linux
Locked
soyuka
Newbie
Newbie
Posts: 1
Joined: Thu Sep 01, 2022 4:09 am

IE based program read fault XML

Post by soyuka »

Hi everyone, thanks for the work on wine I actually use it a lot!

I'm trying to install a windows-only program, which is old and heavily based on the use of XML files (msxml) and a web browser frame (ieframe).

In my first "almost-working" attempt I tried the default IE implementation using:

Code: Select all

WINEARCH=win32 winetricks corefonts dxvk
Vulkan is correctly setup and the program launches but when I reach the step where it should read an XML file I get a parse error, the related wine errors are:

Code: Select all

010c:fixme:ieframe:PersistStreamInit_InitNew (02EFB000)
010c:fixme:ieframe:navigate_url Unsupported args (Flags 0020816C {VT_I4: 0}; TargetFrameName 0020815C {VT_BSTR: (null)})
010c:fixme:ieframe:BrowserService_GetTravelLog 02EC12B8 00205A98
010c:fixme:ieframe:ClientSite_GetContainer (02EFB0D8)->(00205A7C)
010c:fixme:msxml:XMLView_BindStatusCallback_OnProgress ulStatusCode: 14
010c:fixme:msxml:XMLView_BindStatusCallback_OnProgress ulStatusCode: 6
010c:err:msxml:doparse colons are forbidden from PI names 'xml:stylesheet'
010c:fixme:msxml:display_error_page Error page not implemented yet.
010c:err:mshtml:update_window_doc Could not get nsIDOMHTMLDocument iface: 80004002
010c:fixme:ieframe:DocObjectService_IsErrorUrl 02EC12B8 L"file:///C:/users/soyuka/Temp/Temp.xml" 002057E0
010c:fixme:ieframe:handle_navigation_error Navigate to error page
010c:fixme:msxml:XMLView_OleObject_GetUserClassID (02EF3BE8)->(00205C10)
010c:fixme:msxml:XMLView_OleObject_SetClientSite (02EF3BE8)->(02EFB0D8)
010c:fixme:ieframe:dochost_object_available SetClientSite failed: 80004001
Solutions tried:
- force the native msxml dll
- install msxml6

As it looks to be XML and IE based, I attempted to use IE7 and IE8 I also tried to install them (cleaning wine after each tries). When I use IE8 for example (the problem is the same with IE7 but IE8 rendering is prettier so I kept trying on IE8) I get a memory read fault. Relevant wine logs:

Code: Select all

010c:fixme:ntdll:EtwRegisterTraceGuidsW   register trace class {3e1fd72a-c323-4574-9917-5ce9c936f78c}
010c:fixme:ntdll:EtwRegisterTraceGuidsW   register trace class {afff9c82-5be3-4205-9b3e-49e014c09a63}
010c:fixme:heap:RtlSetHeapInformation handle 00540000, info_class 0, info 002094D4, size 4 stub!
010c:fixme:ntdll:EtwRegisterTraceGuidsW   register trace class {0cfe0455-93ba-440d-a3fe-553973d0b723}
010c:fixme:ntdll:EtwRegisterTraceGuidsW   register trace class {797fabac-7b58-4796-b924-d51178a59ce4}
010c:fixme:msimtf:DllGetClassObject ({50d5107a-d278-4871-8989-f4ceaaf59cfc} {00000001-0000-0000-c000-000000000046} 0020CED8)
010c:err:ole:apartment_getclassobject DllGetClassObject returned error 0x80040111 for dll L"C:\\windows\\system32\\msimtf.dll"
010c:err:ole:com_get_class_object no class object {50d5107a-d278-4871-8989-f4ceaaf59cfc} could be created for context 0x401
010c:fixme:shell:DllGetClassObject failed for CLSID={ff393560-c2a7-11cf-bff4-444553540000} (History)
010c:fixme:msxml:XMLView_Moniker_IsSystemMoniker (00574C90)->(002023FC)
010c:fixme:msxml:XMLView_BindStatusCallback_OnProgress ulStatusCode: 14
010c:fixme:msxml:XMLView_BindStatusCallback_OnProgress ulStatusCode: 6
010c:err:msxml:doparse colons are forbidden from PI names 'xml:stylesheet'
010c:fixme:msxml:display_error_page Error page not implemented yet.
010c:fixme:msxml:XMLView_Binding_GetBindResult (005E87C8)->({00000001-45c0-1a40-8028-20003961411a} 00202884 00202878 00000000)
010c:fixme:msxml:XMLView_OleObject_GetUserClassID (0059F318)->(00201934)
010c:fixme:msxml:XMLView_PersistHistory_GetClassID (0059F318)->(00201934)
010c:fixme:msxml:XMLView_OleObject_SetClientSite (0059F318)->(005D30AC)
010c:fixme:msxml:XMLView_OleObject_SetClientSite (0059F318)->(00000000)
010c:fixme:msxml:XMLView_OleObject_DoVerb 0059F324, 0, 00000000, 00000000, -1, 00000000, 00000000.
010c:fixme:msxml:XMLView_OleObject_GetClientSite (0059F318)->(00201C70)
wine: Unhandled page fault on read access to 00000000 at address 0289A5DB (thread 010c), starting debugger...
solutions tried:
- dotnet48
- added winhttp / wininet

The page fault backtrace:

Code: Select all

couldn't load main module (87)
Unhandled exception: page fault on read access to 0x00000000 in 32-bit code (0x0289a5db).
Register dump:
 CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:006b
 EIP:0289a5db ESP:00201c7c EBP:00202d14 EFLAGS:00010246(  R- --  I  Z- -P- )
 EAX:00000000 EBX:005992b0 ECX:66b0c06c EDX:00201cb4
 ESI:005995d0 EDI:00000000
Stack dump:
0x00201c7c:  02905524 00201cb4 00000000 005dcf68
0x00201c8c:  005da858 7ffc3415 05b51fc8 00000012
0x00201c9c:  00000000 027db05c 000003eb 05b51fc8
0x00201cac:  00000012 00000001 00000000 005c0230
0x00201cbc:  00000000 00201ed4 00000000 00201d18
0x00201ccc:  00000001 00201ed4 7ffc3427 00201d18
Backtrace:
=>0 0x0289a5db in ieframe (+0xca5db) (0x00202d14)
  1 0x1a42ec87 in urlmon (+0x2ec87) (0x00202d2c)
  2 0x1a42edec in urlmon (+0x2edec) (0x00202d44)
  3 0x1a42fe4c in urlmon (+0x2fe4c) (0x00202d94)
  4 0x1a42fce0 in urlmon (+0x2fce0) (0x00202dc0)
  5 0x1a40a202 in urlmon (+0xa202) (0x00202df0)
  6 0x1a409f5b in urlmon (+0x9f5b) (0x00202e10)
  7 0x1a407778 in urlmon (+0x7778) (0x00202e38)
  8 0x1a4076e7 in urlmon (+0x76e7) (0x00202e64)
  9 0x1a40762c in urlmon (+0x762c) (0x00202e84)
  10 0x1a409e29 in urlmon (+0x9e29) (0x00202ea8)
  11 0x1a428aac in urlmon (+0x28aac) (0x00202fcc)
  12 0x1a42883f in urlmon (+0x2883f) (0x00203564)
  13 0x1a41590e in urlmon (+0x1590e) (0x00203590)
  14 0x1a415754 in urlmon (+0x15754) (0x002035ac)
  15 0x1a41602c in urlmon (+0x1602c) (0x002035e0)
  16 0x1a407c16 in urlmon (+0x7c16) (0x00203630)
  17 0x1a4081a3 in urlmon (+0x81a3) (0x002036b8)
  18 0x1a407db4 in urlmon (+0x7db4) (0x002036fc)
  19 0x1a42fa50 in urlmon (+0x2fa50) (0x00203738)
  20 0x0289888a in ieframe (+0xc888a) (0x00203770)
  21 0x02898734 in ieframe (+0xc8734) (0x00204818)
  22 0x0289063c in ieframe (+0xc063c) (0x00204850)
  23 0x02890506 in ieframe (+0xc0506) (0x00204888)
  24 0x02890a79 in ieframe (+0xc0a79) (0x00204944)
  25 0x02890962 in ieframe (+0xc0962) (0x00204968)
  26 0x02890878 in ieframe (+0xc0878) (0x002049a8)
  27 0x028906fc in ieframe (+0xc06fc) (0x002049d8)
  28 0x0288fe9a in ieframe (+0xbfe9a) (0x00205a5c)
  29 0x028bb75a in ieframe (+0xeb75a) (0x00205cac)
  30 0x028c8854 in ieframe (+0xf8854) (0x00205cc0)
  31 0x027fc06b in ieframe (+0x2c06b) (0x00205cdc)
  32 0x027fc003 in ieframe (+0x2c003) (0x00205d04)
  33 0x028fc2ce in ieframe (+0x12c2ce) (0x00205d28)
  34 0x6ed6210c in user32 (+0x6210c) (0x00205d58)
  35 0x6ed62629 in user32 (+0x62629) (0x00205db8)
  36 0x6ed649d0 in user32 (+0x649d0) (0x00205e08)
  37 0x6ed475d7 in user32 (+0x475d7) (0x00205e68)
  38 0x6ed48e46 in user32 (+0x48e46) (0x00205ee8)
  39 0x027f9ec1 in ieframe (+0x29ec1) (0x00205f08)
  40 0x027f9e94 in ieframe (+0x29e94) (0x00205f24)
  41 0x028bb458 in ieframe (+0xeb458) (0x00205f44)
  42 0x028bc7e3 in ieframe (+0xec7e3) (0x00205f58)
  43 0x028bc83e in ieframe (+0xec83e) (0x0020809c)
  44 0x028be03c in ieframe (+0xee03c) (0x002080d4)
  45 0x029ca593 in ieframe (+0x1fa593) (0x00208100)
  46 0x0049cc50 (0x00208188)
  47 0x0040650f (0x025e1800)
0x0289a5db ieframe+0xca5db: movl	0x0(%eax),%ecx
Modules:
Module	Address			Debug info	Name (46 modules)
PE	00780000-007da000	Deferred        combase
PE	007e0000-008a8000	Deferred        winmm
PE	01230000-012aa000	Deferred        winex11
PE	012e0000-01316000	Deferred        uxtheme
PE	01c60000-01c6d000	Deferred        im8bmp.dil
PE	01e70000-01e95000	Deferred        im8jpg.dil
PE	020a0000-02122000	Deferred        im8tif.dil
PE	027d0000-03261000	Export          ieframe
PE	035a0000-035c9000	Deferred        msls31
PE	03800000-0382f000	Deferred        iepeers
PE	03830000-03916000	Deferred        wininet
PE	03920000-03929000	Deferred        normaliz
PE	059d0000-05c0f000	Deferred        msxml3
PE	10000000-10060000	Deferred        imgman81
PE	1a400000-1a532000	Export          urlmon
PE	5dca0000-5de88000	Deferred        iertutil
PE	61740000-61783000	Deferred        advapi32
PE	62fc0000-6304e000	Deferred        rpcrt4
PE	633c0000-633ed000	Deferred        atl100
PE	63480000-6348d000	Deferred        version
PE	63580000-63b2c000	Deferred        mshtml
PE	63bc0000-63bda000	Deferred        shcore
PE	64ec0000-64fea000	Deferred        oleaut32
PE	663c0000-66472000	Deferred        winspool
PE	664c0000-664f2000	Deferred        oledlg
PE	66b00000-66b3c000	Deferred        win32u
PE	67840000-6784a000	Deferred        psapi
PE	67ec0000-687f5000	Deferred        shell32
PE	69480000-694b2000	Deferred        mlang
PE	6a040000-6a062000	Deferred        msacm32
PE	6a280000-6a32c000	Deferred        msvcrt
PE	6a400000-6a534000	Deferred        ole32
PE	6a740000-6a761000	Deferred        msimtf
PE	6bc00000-6bc2c000	Deferred        sechost
PE	6c9c0000-6ca46000	Deferred        gdi32
PE	6cc40000-6cd99000	Deferred        comctl32
PE	6d780000-6d7a9000	Deferred        ws2_32
PE	6ed00000-6eec1000	Dwarf           user32
PE	70b40000-70c17000	Deferred        ucrtbase
PE	70d00000-70e05000	Deferred        comdlg32
PE	70e80000-70e8a000	Deferred        msimg32
PE	71200000-7121b000	Deferred        imm32
PE	77f60000-77fd6000	Deferred        shlwapi
PE	7b000000-7b29d000	Deferred        kernelbase
PE	7b600000-7b661000	Deferred        kernel32
PE	7bc00000-7bcaa000	Deferred        ntdll
Threads:
process  tid      prio    name (all IDs are in hex)
00000038 services.exe
	0000003c    0     
	00000040    0     
	0000004c    0     
	00000070    0     
	000000c0    0     
	000000d8    0     
	0000010c    0     
00000044 winedevice.exe
	00000048    0     
	00000054    0     
	00000058    0     
	0000005c    0     
	00000060    0     
	00000064    0     
	000000e4    0     
00000068 winedevice.exe
	0000006c    0     
	00000074    0     
	00000078    0     
	0000007c    0     
	00000080    0     
	00000084    0     
	00000088    0     
0000008c explorer.exe
	00000090    0     
	000000f0    0     
	000000f4    0     
000000a8 plugplay.exe
	000000ac    0     
	000000c4    0     
	000000c8    0     
	000000cc    0     
000000d0 svchost.exe
	000000d4    0     
	000000dc    0     
	000000e0    0     
00000104 rpcss.exe
	00000108    0     
	00000114    0     
	00000118    0     
	0000011c    0     
	00000120    0     
	00000124    0     
0000012c (D) 
	00000130    0 <== 
	00000188    0     
	00000190    0     
	000001a4    0     
0000019c conhost.exe
	000001a0    0     
System information:
    Wine build: wine-7.16
    Platform: i386
    Version: Windows 7
    Host system: Linux
    Host version: 5.19.3-arch1-1
 

The software I'm trying to run is a BMW DVD with repair manuals. It's quite basic software I know I'm close, if someone has a tip to help me it'd be very appreciated!
Locked