https://bugs.winehq.org/show_bug.cgi?id=40735
Bug ID: 40735 Summary: Midnight Mysteries: The Edgar Allan Poe Conspiracy (Steam) fails to start (probably needs msscript) Product: Wine Version: 1.9.11 Hardware: x86 OS: Linux Status: NEW Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: gyebro69@gmail.com Distribution: ---
This is the only game from the Midnight Mysteries series on Steam which refuses to start. The game displays an error message after start: 'Exception EOleSysError in module Midnight Mysteries - Edgar Allan Poe Conspiracy.exe at 0008B9AD. OLE error 80004002.'
In the terminal:
fixme:msscript:ScriptControl_QueryInterface (0x177000)->({00000112-0000-0000-c000-000000000046} 0x33fca8) fixme:ole:CoCreateInstanceEx no instance created for interface {00000112-0000-0000-c000-000000000046} of class {0e59f1d5-1fbe-11d0-8ff2-00a0d10038bc}, hres is 0x80004002
I installed msscript.ocx with winetricks, and now the game window is opened and sound begins to play for a second then the game throws a different error: 'Access violation error at address....'. The error dialog box can't be dismissed, it's popping up continuously.
This is the terminal output with native msscript.ocx:
err:ole:CoCreateInstanceEx apartment not initialised fixme:jscript:JScript_SetScriptState unimplemented SCRIPTSTATE_INITIALIZED fixme:win:EnumDisplayDevicesW ((null),0,0x33f7e8,0x00000000), stub! fixme:win:EnumDisplayDevicesW ((null),0,0x33f638,0x00000000), stub!
wine-1.9.11-112-gd864119
https://bugs.winehq.org/show_bug.cgi?id=40735
--- Comment #1 from Nikolay Sivov bunglehead@gmail.com --- Hi, Béla.
Please try with current git, let's see what it needs after http://source.winehq.org/git/wine.git/?a=commit;h=b4800237522c9553c23f420531....
https://bugs.winehq.org/show_bug.cgi?id=40735
--- Comment #2 from Béla Gyebrószki gyebro69@gmail.com --- (In reply to Nikolay Sivov from comment #1)
Hi, Béla.
Please try with current git, let's see what it needs after http://source.winehq.org/git/wine.git/?a=commit; h=b4800237522c9553c23f420531990428d921b924.
Nikolay,
Your work on this bug is much appreciated. The error message is almost the same as before, except that now it shows the error code 'OLE Error 80004001'. In the terminal I have fixme:msscript:OleObject_GetMiscStatus (0x1749a0)->(1 0x140b4f4) fixme:msscript:OleObject_Close (0x1749a0)->(1) fixme:msscript:OleObject_SetClientSite (0x1749a0)->((nil))
https://bugs.winehq.org/show_bug.cgi?id=40735
--- Comment #3 from Nikolay Sivov bunglehead@gmail.com --- Created attachment 54642 --> https://bugs.winehq.org/attachment.cgi?id=54642 patch
Please try this one.
https://bugs.winehq.org/show_bug.cgi?id=40735
--- Comment #4 from Béla Gyebrószki gyebro69@gmail.com --- (In reply to Nikolay Sivov from comment #3)
Created attachment 54642 [details] patch
Please try this one.
Now I get these in the terminal: fixme:msscript:OleObject_SetClientSite (0x1757c8)->(0x140b53c) fixme:msscript:OleObject_Close (0x1757c8)->(1) fixme:msscript:OleObject_SetClientSite (0x1757c8)->((nil))
https://bugs.winehq.org/show_bug.cgi?id=40735
--- Comment #5 from Nikolay Sivov bunglehead@gmail.com --- Created attachment 54644 --> https://bugs.winehq.org/attachment.cgi?id=54644 patch
Ok, here's a next one.
https://bugs.winehq.org/show_bug.cgi?id=40735
--- Comment #6 from Béla Gyebrószki gyebro69@gmail.com --- (In reply to Nikolay Sivov from comment #5)
Created attachment 54644 [details] patch
Ok, here's a next one.
OLE Error 80004002.
fixme:msscript:ScriptControl_QueryInterface (0x175128)->({7fd52380-4e07-101b-ae2d-08002b2ec713} 0x140b4d4) fixme:msscript:OleObject_Close (0x175128)->(1)
https://bugs.winehq.org/show_bug.cgi?id=40735
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #54642|0 |1 is obsolete| | Attachment #54644|0 |1 is obsolete| |
--- Comment #7 from Nikolay Sivov bunglehead@gmail.com --- Created attachment 54648 --> https://bugs.winehq.org/attachment.cgi?id=54648 patch
Thanks, this patch includes previous two and will fix new error you get.
https://bugs.winehq.org/show_bug.cgi?id=40735
--- Comment #8 from Béla Gyebrószki gyebro69@gmail.com --- (In reply to Nikolay Sivov from comment #7)
Created attachment 54648 [details] patch
Thanks, this patch includes previous two and will fix new error you get.
This time I get OLE Error 80004001 and this: fixme:msscript:OleObject_GetExtent (0x1757c8)->(1 0x33fd84) fixme:msscript:OleObject_Close (0x1757c8)->(1)
https://bugs.winehq.org/show_bug.cgi?id=40735
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #54648|0 |1 is obsolete| |
https://bugs.winehq.org/show_bug.cgi?id=40735
--- Comment #9 from Nikolay Sivov bunglehead@gmail.com --- Next two patches
https://www.winehq.org/pipermail/wine-patches/2016-June/150977.html https://www.winehq.org/pipermail/wine-patches/2016-June/150978.html
https://bugs.winehq.org/show_bug.cgi?id=40735
--- Comment #10 from Béla Gyebrószki gyebro69@gmail.com --- (In reply to Nikolay Sivov from comment #9)
Next two patches
https://www.winehq.org/pipermail/wine-patches/2016-June/150977.html https://www.winehq.org/pipermail/wine-patches/2016-June/150978.html
Still no joy.
fixme:msscript:PersistStreamInit_InitNew (0x1752a0) fixme:msscript:OleObject_Close (0x1752a0)->(1)
https://bugs.winehq.org/show_bug.cgi?id=40735
--- Comment #11 from Nikolay Sivov bunglehead@gmail.com --- InitNew() is a next one then, thanks for testing.
https://bugs.winehq.org/show_bug.cgi?id=40735
--- Comment #12 from Nikolay Sivov bunglehead@gmail.com --- Created attachment 54654 --> https://bugs.winehq.org/attachment.cgi?id=54654 InitNew patch
Could you try this one on top of last two?
https://bugs.winehq.org/show_bug.cgi?id=40735
--- Comment #13 from Béla Gyebrószki gyebro69@gmail.com --- (In reply to Nikolay Sivov from comment #12)
Created attachment 54654 [details] InitNew patch
Could you try this one on top of last two?
The error message remains the same and terminal output now shows:
fixme:msscript:PersistStreamInit_InitNew (0x1752a0) fixme:msscript:ScriptControl_QueryInterface (0x1752a0)->({b196b288-bab4-101a-b69c-00aa00341d07} 0x140b4d8) fixme:msscript:OleObject_Close (0x1752a0)->(1)
https://bugs.winehq.org/show_bug.cgi?id=40735
--- Comment #14 from Nikolay Sivov bunglehead@gmail.com --- Created attachment 54655 --> https://bugs.winehq.org/attachment.cgi?id=54655 IOleControl stub
Okay, here's another one (to be applied on top of previous patches).
https://bugs.winehq.org/show_bug.cgi?id=40735
--- Comment #15 from Béla Gyebrószki gyebro69@gmail.com --- (In reply to Nikolay Sivov from comment #14)
Created attachment 54655 [details] IOleControl stub
Okay, here's another one (to be applied on top of previous patches).
fixme:msscript:PersistStreamInit_InitNew (0x1752a0) fixme:msscript:OleControl_GetControlInfo (0x1752a0)->(0x140b510) fixme:msscript:ScriptControl_QueryInterface (0x1752a0)->({376bd3aa-3845-101b-84ed-08002b2ec713} 0x140b4e0) fixme:msscript:ScriptControl_QueryInterface (0x1752a0)->({b196b284-bab4-101a-b69c-00aa00341d07} 0x33fd0c) fixme:msscript:ScriptControl_QueryInterface (0x1752a0)->({b196b284-bab4-101a-b69c-00aa00341d07} 0x33fd0c) fixme:msscript:OleControl_OnAmbientPropertyChange (0x1752a0)->(0xffffffff) fixme:msscript:ScriptControl_put_Language (0x1752a0)->(L"JScript") fixme:msscript:OleObject_Close (0x1752a0)->(1)
https://bugs.winehq.org/show_bug.cgi?id=40735
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #54654|0 |1 is obsolete| |
https://bugs.winehq.org/show_bug.cgi?id=40735
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #54655|0 |1 is obsolete| |
https://bugs.winehq.org/show_bug.cgi?id=40735
--- Comment #16 from Nikolay Sivov bunglehead@gmail.com --- Sent 3 more on top of current git:
https://www.winehq.org/pipermail/wine-patches/2016-June/151037.html https://www.winehq.org/pipermail/wine-patches/2016-June/151038.html https://www.winehq.org/pipermail/wine-patches/2016-June/151039.html
First two you already tested, third one is new.
https://bugs.winehq.org/show_bug.cgi?id=40735
--- Comment #17 from Béla Gyebrószki gyebro69@gmail.com --- (In reply to Nikolay Sivov from comment #16)
Sent 3 more on top of current git:
https://www.winehq.org/pipermail/wine-patches/2016-June/151037.html https://www.winehq.org/pipermail/wine-patches/2016-June/151038.html https://www.winehq.org/pipermail/wine-patches/2016-June/151039.html
First two you already tested, third one is new.
fixme:msscript:PersistStreamInit_InitNew (0x174b70) fixme:msscript:OleControl_GetControlInfo (0x174b70)->(0x140b510) fixme:msscript:ScriptControl_QueryInterface (0x174b70)->({376bd3aa-3845-101b-84ed-08002b2ec713} 0x140b4e0) fixme:msscript:ScriptControl_QueryInterface (0x174b70)->({b196b284-bab4-101a-b69c-00aa00341d07} 0x33fd0c) fixme:msscript:ScriptControl_QueryInterface (0x174b70)->({b196b284-bab4-101a-b69c-00aa00341d07} 0x33fd0c) fixme:msscript:OleControl_OnAmbientPropertyChange (0x174b70)->(0xffffffff) fixme:msscript:ScriptControl_put_Timeout (0x174b70)->(100000000) fixme:msscript:OleObject_Close (0x174b70)->(1)
https://bugs.winehq.org/show_bug.cgi?id=40735
--- Comment #18 from Nikolay Sivov bunglehead@gmail.com --- Created attachment 54664 --> https://bugs.winehq.org/attachment.cgi?id=54664 Timeout
Okay, another one on top of last three.
https://bugs.winehq.org/show_bug.cgi?id=40735
--- Comment #19 from Béla Gyebrószki gyebro69@gmail.com --- (In reply to Nikolay Sivov from comment #18)
Created attachment 54664 [details] Timeout
Okay, another one on top of last three.
fixme:msscript:PersistStreamInit_InitNew (0x174b70) fixme:msscript:OleControl_GetControlInfo (0x174b70)->(0x140b510) fixme:msscript:ScriptControl_QueryInterface (0x174b70)->({376bd3aa-3845-101b-84ed-08002b2ec713} 0x140b4e0) fixme:msscript:ScriptControl_QueryInterface (0x174b70)->({b196b284-bab4-101a-b69c-00aa00341d07} 0x33fd0c) fixme:msscript:ScriptControl_QueryInterface (0x174b70)->({b196b284-bab4-101a-b69c-00aa00341d07} 0x33fd0c) fixme:msscript:OleControl_OnAmbientPropertyChange (0x174b70)->(0xffffffff) fixme:msscript:ScriptControl_Reset (0x174b70) fixme:msscript:OleObject_Close (0x174b70)->(1)
https://bugs.winehq.org/show_bug.cgi?id=40735
--- Comment #20 from Nikolay Sivov bunglehead@gmail.com --- Please do another run with current wine + https://www.winehq.org/pipermail/wine-patches/2016-June/151284.html.
https://bugs.winehq.org/show_bug.cgi?id=40735
--- Comment #21 from Béla Gyebrószki gyebro69@gmail.com --- (In reply to Nikolay Sivov from comment #20)
Please do another run with current wine + https://www.winehq.org/pipermail/wine-patches/2016-June/151284.html.
fixme:msscript:PersistStreamInit_InitNew (0x1751c8) fixme:msscript:ScriptControl_QueryInterface (0x1751c8)->({376bd3aa-3845-101b-84ed-08002b2ec713} 0x140b4e0) fixme:msscript:ConnectionPointContainer_FindConnectionPoint (0x1751c8)->({9bfbbc02-eff1-101a-84ed-00aa00341d07} 0x33fd08) fixme:msscript:ConnectionPointContainer_FindConnectionPoint (0x1751c8)->({8b167d60-8605-11d0-abcb-00a0c90fffc0} 0x33fd08) fixme:msscript:OleControl_OnAmbientPropertyChange (0x1751c8)->(0xffffffff) fixme:msscript:ScriptControl_put_Language (0x1751c8)->(L"JScript") fixme:msscript:OleObject_Close (0x1751c8)->(1)
https://bugs.winehq.org/show_bug.cgi?id=40735
--- Comment #22 from Nikolay Sivov bunglehead@gmail.com --- Hi, Béla.
Please retest with current git, put_Language() is implemented now (http://source.winehq.org/git/wine.git/?a=commit;h=b22dfdc98ce594e446b9d8e3e4...).
https://bugs.winehq.org/show_bug.cgi?id=40735
--- Comment #23 from Béla Gyebrószki gyebro69@gmail.com --- (In reply to Nikolay Sivov from comment #22)
Hi, Béla.
Please retest with current git, put_Language() is implemented now (http://source.winehq.org/git/wine.git/?a=commit; h=b22dfdc98ce594e446b9d8e3e4dd6b7303d984da).
Hi Nikolay,
This is the terminal output in wine-1.9.14-142-gadde9fa:
fixme:msscript:PersistStreamInit_InitNew (0x17a868) fixme:msscript:ScriptControl_QueryInterface (0x17a868)->({376bd3aa-3845-101b-84ed-08002b2ec713} 0x140b4e0) fixme:msscript:ConnectionPoint_Advise (0x17a8ac)->(0x140b520 0x140b4ec) fixme:msscript:ConnectionPoint_Advise (0x17a89c)->(0x1445288 0x140b4f0) fixme:msscript:OleControl_OnAmbientPropertyChange (0x17a868)->(0xffffffff) fixme:msscript:ActiveScriptSite_OnStateChange (0x17efa0, 5) fixme:msscript:ScriptControl_put_Timeout (0x17a868)->(100000000) fixme:msscript:OleObject_Close (0x17a868)->(1) fixme:msscript:ActiveScriptSite_OnStateChange (0x17efa0, 4)
https://bugs.winehq.org/show_bug.cgi?id=40735
--- Comment #24 from Nikolay Sivov bunglehead@gmail.com --- Timeout property is working now, http://source.winehq.org/git/wine.git/?a=commit;h=37757d5e6c263bf37db83a7d7d.... Next is Reset() I think.
https://bugs.winehq.org/show_bug.cgi?id=40735
--- Comment #25 from Béla Gyebrószki gyebro69@gmail.com --- This is the log with wine-1.9.14-181-ga711285:
fixme:msscript:PersistStreamInit_InitNew (0x179b18) fixme:msscript:ScriptControl_QueryInterface (0x179b18)->({376bd3aa-3845-101b-84ed-08002b2ec713} 0x140b4e0) fixme:msscript:ConnectionPoint_Advise (0x179b60)->(0x140b520 0x140b4ec) fixme:msscript:ConnectionPoint_Advise (0x179b50)->(0x1445288 0x140b4f0) fixme:msscript:OleControl_OnAmbientPropertyChange (0x179b18)->(0xffffffff) fixme:msscript:ActiveScriptSite_OnStateChange (0x17f328, 5) fixme:msscript:ScriptControl_put_Timeout execution timeout ignored fixme:msscript:ScriptControl_Reset (0x179b18) fixme:msscript:OleObject_Close (0x179b18)->(1) fixme:msscript:ActiveScriptSite_OnStateChange (0x17f328, 4)
https://bugs.winehq.org/show_bug.cgi?id=40735
--- Comment #26 from Nikolay Sivov bunglehead@gmail.com --- I just sent 3 more:
https://www.winehq.org/pipermail/wine-patches/2016-July/152537.html https://www.winehq.org/pipermail/wine-patches/2016-July/152538.html https://www.winehq.org/pipermail/wine-patches/2016-July/152539.html
Only last one is relevant to this issue. Please test.
https://bugs.winehq.org/show_bug.cgi?id=40735
--- Comment #27 from Béla Gyebrószki gyebro69@gmail.com --- (In reply to Nikolay Sivov from comment #26)
I just sent 3 more:
https://www.winehq.org/pipermail/wine-patches/2016-July/152537.html https://www.winehq.org/pipermail/wine-patches/2016-July/152538.html https://www.winehq.org/pipermail/wine-patches/2016-July/152539.html
Only last one is relevant to this issue. Please test.
fixme:msscript:PersistStreamInit_InitNew (0x1795c0) fixme:msscript:ScriptControl_QueryInterface (0x1795c0)->({376bd3aa-3845-101b-84ed-08002b2ec713} 0x140b4e0) fixme:msscript:ConnectionPoint_Advise (0x179608)->(0x140b520 0x140b4ec) fixme:msscript:ConnectionPoint_Advise (0x1795f8)->(0x1445288 0x140b4f0) fixme:msscript:OleControl_OnAmbientPropertyChange (0x1795c0)->(0xffffffff) fixme:msscript:ActiveScriptSite_OnStateChange (0x17f458, 5) fixme:msscript:ScriptControl_put_Timeout execution timeout ignored fixme:jscript:JScript_SetScriptState unimplemented SCRIPTSTATE_INITIALIZED fixme:msscript:ScriptControl_AddObject (0x1795c0)->(L"O" 0x1468df4 0) fixme:msscript:OleObject_Close (0x1795c0)->(1) fixme:msscript:ActiveScriptSite_OnStateChange (0x17f458, 4)
https://bugs.winehq.org/show_bug.cgi?id=40735
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #54664|0 |1 is obsolete| |
https://bugs.winehq.org/show_bug.cgi?id=40735
--- Comment #28 from Nikolay Sivov bunglehead@gmail.com --- Next one https://www.winehq.org/pipermail/wine-patches/2016-July/152593.html. Please attach a +msscript log with it.
https://bugs.winehq.org/show_bug.cgi?id=40735
--- Comment #29 from Béla Gyebrószki gyebro69@gmail.com --- Created attachment 55158 --> https://bugs.winehq.org/attachment.cgi?id=55158 +msscript log
(In reply to Nikolay Sivov from comment #28)
Next one https://www.winehq.org/pipermail/wine-patches/2016-July/152593.html. Please attach a +msscript log with it.
We're almost there...
The game window is opened and sound begins to play, but I'm getting an access violation error message almost instantly. The error message can't be dismissed because it's always popping up.
https://bugs.winehq.org/show_bug.cgi?id=40735
--- Comment #30 from Nikolay Sivov bunglehead@gmail.com --- That's strange. It doesn't proceed after AddObject(), and some crash related traces come before msscript calls. Does it still work the same way with native msscript, maybe it's some unrelated regression sneaking in.
https://bugs.winehq.org/show_bug.cgi?id=40735
--- Comment #31 from Béla Gyebrószki gyebro69@gmail.com --- (In reply to Nikolay Sivov from comment #30)
That's strange. It doesn't proceed after AddObject(), and some crash related traces come before msscript calls. Does it still work the same way with native msscript, maybe it's some unrelated regression sneaking in.
The game behaves in the same way with native msscript too. I guess there must be some other problem that prevents the game from starting.
This is the terminal output with native msscript.ocx installed: err:ole:CoCreateInstanceEx apartment not initialised err:ole:CoCreateInstanceEx apartment not initialised fixme:jscript:JScript_SetScriptState unimplemented SCRIPTSTATE_INITIALIZED fixme:win:EnumDisplayDevicesW ((null),0,0x33f7e8,0x00000000), stub! fixme:dbghelp:elf_search_auxv can't find symbol in module
https://bugs.winehq.org/show_bug.cgi?id=40735
--- Comment #32 from Nikolay Sivov bunglehead@gmail.com --- Maybe it's possible to bisect while using native msscript.ocx to find out what regressed.
https://bugs.winehq.org/show_bug.cgi?id=40735
--- Comment #33 from Béla Gyebrószki gyebro69@gmail.com --- (In reply to Nikolay Sivov from comment #32)
Maybe it's possible to bisect while using native msscript.ocx to find out what regressed.
I don't think it is a regression, at least not a recent one. The game throws the same access violation error with Wine 1.7.0 too (when using native msscript). I can attach a +relay,+seh log when the game crashes if you would like to, but it's likely a different issue. Thanks for all your effort and time in this bug report.
https://bugs.winehq.org/show_bug.cgi?id=40735
--- Comment #34 from Nikolay Sivov bunglehead@gmail.com --- Okay, once AddObject() lands we can resolve this one and have another report for a crash that also appears with native msscript. +relay,+msscript,+tid could be helpful, yes. Also you could try native jscript.
https://bugs.winehq.org/show_bug.cgi?id=40735
Béla Gyebrószki gyebro69@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Midnight Mysteries: The |Midnight Mysteries: The |Edgar Allan Poe Conspiracy |Edgar Allan Poe Conspiracy |(Steam) fails to start |(Steam) needs a more |(probably needs msscript) |fleshed out msscript.ocx
https://bugs.winehq.org/show_bug.cgi?id=40735
--- Comment #35 from Nikolay Sivov bunglehead@gmail.com --- AddObject() patch was committed, http://source.winehq.org/git/wine.git/commit/82c5d08acc3e1b07ab0d0f7ea425bf1.... So should we resolve this one, and open another for a crash? (I'm sure it will need more of msscript if it's actually using it).
https://bugs.winehq.org/show_bug.cgi?id=40735
--- Comment #36 from Béla Gyebrószki gyebro69@gmail.com --- Created attachment 55177 --> https://bugs.winehq.org/attachment.cgi?id=55177 +relay,+msscript log (uncompressed 340 MB)
(In reply to Nikolay Sivov from comment #35)
AddObject() patch was committed, http://source.winehq.org/git/wine.git/commit/ 82c5d08acc3e1b07ab0d0f7ea425bf14e28c70da. So should we resolve this one, and open another for a crash? (I'm sure it will need more of msscript if it's actually using it).
Nikolay,
I lack of the skill necessary to find out what's going wrong in the attached +relay,+msscript log. It may be related to bug #15437: the game definitely uses that madcodehook thingy, but don't know what version of it. https://bugs.winehq.org/show_bug.cgi?id=15437#c39 (dated 2011) claims that current version of the MadCodeHook toolkit should be compatible with Wine.
Installing native msscript.ocx or even native jscript.dll results in the same access violation error message after start (just like with built-in msscript).
wine-1.9.15-27-g6e32b61
https://bugs.winehq.org/show_bug.cgi?id=40735
--- Comment #37 from Nikolay Sivov bunglehead@gmail.com --- Does it help to remove kernel32 and user32 fake dlls from system32? Looks indeed like a failure from bug 15437:
--- 005e:Call KERNEL32.GetFileAttributesA(05110a08 "C:\windows\system32\KERNEL32.dll") ret=00485c0f 005e:Ret KERNEL32.GetFileAttributesA() retval=00000020 ret=00485c0f 005e:Call KERNEL32.CreateFileA(05110a08 "C:\windows\system32\KERNEL32.dll",80000000,00000003,00000000,00000003,00000000,00000000) ret=00485c3d ... 005e:Ret KERNEL32.CreateFileA() retval=00000124 ret=00485c3d 005e:Call KERNEL32.CreateFileMappingA(00000124,00000000,00000002,00000000,00000000,00000000) ret=00485c58 005e:Ret KERNEL32.CreateFileMappingA() retval=00000128 ret=00485c58 005e:Call KERNEL32.MapViewOfFile(00000128,00000004,00000000,00000000,00000000) ret=00485c70 005e:Ret KERNEL32.MapViewOfFile() retval=05480000 ret=00485c70 005e:Call KERNEL32.IsBadReadPtr(05480000,00000002) ret=0047e34e 005e:Ret KERNEL32.IsBadReadPtr() retval=00000000 ret=0047e34e 005e:Call KERNEL32.UnmapViewOfFile(05480000) ret=00485d1f 005e:Ret KERNEL32.UnmapViewOfFile() retval=00000001 ret=00485d1f 005e:Call KERNEL32.CloseHandle(00000128) ret=00485d25 005e:Ret KERNEL32.CloseHandle() retval=00000001 ret=00485d25 005e:Call KERNEL32.CloseHandle(00000124) ret=00485d2b 005e:Ret KERNEL32.CloseHandle() retval=00000001 ret=00485d2b 005e:Call KERNEL32.GetFileAttributesA(05110be8 "C:\windows\system32\KERNEL32.map") ret=00482a7b 005e:Ret KERNEL32.GetFileAttributesA() retval=ffffffff ret=00482a7b 005e:Call KERNEL32.GetFileAttributesA(0510e6f8 "C:\windows\system32\KERNEL32.mad") ret=00482a7b 005e:Ret KERNEL32.GetFileAttributesA() retval=ffffffff ret=00482a7b ---
https://bugs.winehq.org/show_bug.cgi?id=40735
--- Comment #38 from Béla Gyebrószki gyebro69@gmail.com --- (In reply to Nikolay Sivov from comment #37)
Does it help to remove kernel32 and user32 fake dlls from system32? Looks indeed like a failure from bug 15437: ....
No, it doesn't help. Even though those 2 dlls are removed from /system32, Wine is able to load them from the build/source directory. What would be the point of that workaround?
https://bugs.winehq.org/show_bug.cgi?id=40735
--- Comment #39 from Nikolay Sivov bunglehead@gmail.com --- It was suggested on that other bug report. The point is that CreateFile with full path with fail I guess.
https://bugs.winehq.org/show_bug.cgi?id=40735
--- Comment #40 from Bruno Jesus 00cpxxx@gmail.com --- (In reply to Nikolay Sivov from comment #35)
AddObject() patch was committed, http://source.winehq.org/git/wine.git/commit/ 82c5d08acc3e1b07ab0d0f7ea425bf14e28c70da. So should we resolve this one, and open another for a crash? (I'm sure it will need more of msscript if it's actually using it).
This bug is related to 26 different commits so far, I believe it is time to call it fixed. Specially since the new problem is reproducible both with native and built-in dll.
https://bugs.winehq.org/show_bug.cgi?id=40735
Béla Gyebrószki gyebro69@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|NEW |RESOLVED
--- Comment #41 from Béla Gyebrószki gyebro69@gmail.com --- Nikolay,
Hopefully there are other applications/games out there that could benefit from the changes you've made recently regarding to Wine's msscript implementation. The originally reported error message ('OLE Error 80004002') has been gone after your series of patches. There's likely another bug somewhere that prevents the game from starting. Thanks again for your work.
I'm marking this bug FIXED (feel free to change the status of the bug to invalid or anything else if that's more appropriate).
https://bugs.winehq.org/show_bug.cgi?id=40735
Béla Gyebrószki gyebro69@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Midnight Mysteries: The |Midnight Mysteries: The |Edgar Allan Poe Conspiracy |Edgar Allan Poe Conspiracy |(Steam) needs a more |(Steam) needs a more |fleshed out msscript.ocx |fleshed out msscript.ocx to | |get past the initial 'OLE | |Error 80004002'
https://bugs.winehq.org/show_bug.cgi?id=40735
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Depends on| |15437
https://bugs.winehq.org/show_bug.cgi?id=40735
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |b4800237522c9553c23f4205319 | |90428d921b924
https://bugs.winehq.org/show_bug.cgi?id=40735
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #42 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 1.9.16.
https://bugs.winehq.org/show_bug.cgi?id=40735
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |msscript.ocx CC| |focht@gmx.net
https://bugs.winehq.org/show_bug.cgi?id=40735 Bug 40735 depends on bug 15437, which changed state.
Bug 15437 Summary: Multiple programs using madCodeHook crash (in-memory PE image of Wine builtins vs. ELF image on disk) https://bugs.winehq.org/show_bug.cgi?id=15437
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED