[Bug 20037] New: msxml wine: Unhandled exception 0x80000004 at address 0x740078
http://bugs.winehq.org/show_bug.cgi?id=20037 Summary: msxml wine: Unhandled exception 0x80000004 at address 0x740078 Product: Wine Version: 1.1.23 Platform: PC OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: msxml3 AssignedTo: wine-bugs(a)winehq.org ReportedBy: eric(a)molitor.org Crash when trying to run Sid Meiers Railroads game using wines version on msxml3 fixme:msxml:schema_cache_add (0x1792a0)->(L"x-schema:AudioDefinesSchema.xml", var(vt 9)): stub fixme:msxml:domdoc_putref_schemas (0x179218): semi-stub fixme:msxml:domdoc_validate wine: Unhandled exception 0x80000004 at address 0x740078 (thread 001b), starting debugger... -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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.
http://bugs.winehq.org/show_bug.cgi?id=20037 Vitaliy Margolen <vitaliy(a)kievinfo.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks| |11059 Summary|msxml wine: Unhandled |Sid Meiers Railroads |exception 0x80000004 at |crashes |address 0x740078 | --- Comment #1 from Vitaliy Margolen <vitaliy(a)kievinfo.com> 2009-09-13 19:27:31 --- Please attach (as a plain text file DO NOT paste) complete terminal output of running your program. Make sure to upgrade your Wine version first. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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.
http://bugs.winehq.org/show_bug.cgi?id=20037 Anastasius Focht <focht(a)gmx.net> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |focht(a)gmx.net --- Comment #2 from Anastasius Focht <focht(a)gmx.net> 2010-06-09 15:33:40 --- Hello, Visual C++ Redistributable Package Version 2010 (10.00.30319.xxx) also suffers from various msxml3 shortcomings - resulting in crash without native msxml3 override. One bug - the crash due to a shortcoming in domdoc_validate() stub - should be targeted here. When an XML document load/parser failure is encountered, various apps/installers call validate() on DOM doc and expect a valid parser instance returned. Some app code (including Microsoft) access the parse error instance directly (out param) - without checking HRESULT - leading to crash. --- snip --- 0045:trace:msxml:xmlcf_CreateInstance (nil) {2933bf95-7b36-11d2-b20e-00c04f983e60} 0x33f580 0045:trace:msxml:DOMDocument_create ((nil),0x33f39c) ... 0045:trace:msxml:xmldoc_add_ref 1 0045:trace:msxml:DOMDocument_create_from_xmldoc returning iface 0x149670 0045:trace:msxml:domdoc_QueryInterface (0x149650)->({2933bf95-7b36-11d2-b20e-00c04f983e60} 0x33f580) 0045:trace:msxml:domdoc_AddRef 0x149650 0045:trace:msxml:domdoc_Release 0x149650 0045:Ret ole32.CoCreateInstance() retval=00000000 ret=100591cb 0045:trace:msxml:domdoc_loadXML (0x149650)->(L"<?xml version=\"1.0\" encoding=\"utf-16\"?>\r\n<SetupUI xmlns=\"http://schemas.microsoft.com/SetupUI/2008/01/imui\" xmlns:imui=\"http://schemas.microsoft.com/SetupUI/2008/01/imui\" >\r\n <UI>\r\n\r\n <ResourceDll>SetupResources.dll</ResourceDll>\r\n <SplashScreen>\r\n <Hide/>\r\n </Spl"... 0x33f530) ... 0045:trace:msxml:xmldoc_release 0 0045:trace:msxml:xmldoc_release freeing docptr 0x7c05c3c8 0045:Call ntdll.RtlFreeHeap(00110000,00000000,00149068) ret=68ea3fce 0045:Ret ntdll.RtlFreeHeap() retval=00000001 ret=68ea3fce 0045:trace:msxml:xmldoc_add_ref 1 0045:fixme:msxml:domdoc_validate (0x149650)->(0x33f4dc) 0045:trace:seh:raise_exception code=c0000005 flags=0 addr=0x1002b220 ip=1002b220 tid=0045 0045:trace:seh:raise_exception info[0]=00000000 0045:trace:seh:raise_exception info[1]=00000000 0045:trace:seh:raise_exception eax=00000000 ebx=00000000 ecx=00000000 edx=00000000 esi=0033f578 edi=0033f580 0045:trace:seh:raise_exception ebp=0033f4ec esp=0033f4cc cs=0023 ds=002b es=002b fs=0063 gs=006b flags=00010246 0045:trace:seh:call_vectored_handlers calling handler at 0x68ade100 code=c0000005 flags=0 0045:trace:seh:call_vectored_handlers handler at 0x68ade100 returned 0 0045:trace:seh:call_stack_handlers calling handler at 0x1008ff77 code=c0000005 flags=0 ... --- snip --- Translated app sequence is basically like this: --- snip --- 1. CoCreateInstance( uuidof(DOMDocument30)) -> DOM doc 2. doc->loadXML( ...) returns: S_FALSE (parser error encountered) 3. doc->validate( &parseError) 4. parseError->get_reason() (crash because parseError is NULL) ... --- snip --- Wine should at least return some dummy parser to work around apps that try to access the parser instance directly without checking HRESULT. --- snip dlls/msxml3/domdoc.c --- static HRESULT WINAPI domdoc_validate( IXMLDOMDocument2* iface, IXMLDOMParseError** err) { domdoc *This = impl_from_IXMLDOMDocument2( iface ); FIXME("(%p)->(%p)\n", This, err); return E_NOTIMPL; } --- snip dlls/msxml3/domdoc.c --- With a dummy parser returned, the crash is prevented and the apps at least show/log some error. The other problems (parser failure in first place, real validate() impl.) should be targeted by different bugs. Regards -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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.
http://bugs.winehq.org/show_bug.cgi?id=20037 Adam Martinson <amartinson(a)codeweavers.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |amartinson(a)codeweavers.com --- Comment #3 from Adam Martinson <amartinson(a)codeweavers.com> 2010-11-03 14:21:12 CDT --- Can someone try this again with current git? The crash from domdoc_validate() should be fixed. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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.
http://bugs.winehq.org/show_bug.cgi?id=20037 GyB <gyebro69(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |gyebro69(a)gmail.com --- Comment #4 from GyB <gyebro69(a)gmail.com> 2010-12-28 00:45:02 CST --- (In reply to comment #3)
Can someone try this again with current git? The crash from domdoc_validate() should be fixed.
I can confirm the game (v1.10 here) is starting properly, without crashing, using Wine's built-in msxml* libraries. I've just tested with Wine-1.3.10 but anything after 1.3.7 is also good. To avoid problems on starting I had to perform the following changes: 1. native d3dx9_36.dll placed into the game's directory. 2. the 'VBlankSynch' option must be set to '0' in the game's configuration file. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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.
http://bugs.winehq.org/show_bug.cgi?id=20037 --- Comment #5 from GyB <gyebro69(a)gmail.com> 2011-03-07 13:45:18 CST --- Ping. This one can be closed as fixed. Sid Meier's Railroads! no longer requires native msxml3. Here's the demo, anyone can test it: http://www.gamershell.com/download_16158.shtml -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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.
http://bugs.winehq.org/show_bug.cgi?id=20037 Austin English <austinenglish(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |FIXED --- Comment #6 from Austin English <austinenglish(a)gmail.com> 2011-03-07 14:56:33 CST --- Fixed. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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.
http://bugs.winehq.org/show_bug.cgi?id=20037 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #7 from Alexandre Julliard <julliard(a)winehq.org> 2011-03-18 14:39:05 CDT --- Closing bugs fixed in 1.3.16. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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.
http://bugs.winehq.org/show_bug.cgi?id=20037 Anastasius Focht <focht(a)gmx.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download Fixed by SHA1| |ff644cb1b123c38476755659c27 | |3cdfb1c741d17 URL| |http://www.gamershell.com/d | |ownload_16158.shtml -- 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.
participants (1)
-
wine-bugs@winehq.org