http://bugs.winehq.org/show_bug.cgi?id=25518
Summary: gamestop downloader crashes in is_preserving_whitespace in xmlParseCharData Product: Wine Version: 1.3.9 Platform: x86 OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: msxml3 AssignedTo: wine-bugs@winehq.org ReportedBy: dank@kegel.com
I tried downloading a game purchased from gamestop's web site, without much luck. The download manager failed with
err:msxml:doparse XML declaration allowed only at the start of the document wine: Unhandled page fault on read access to 0x00000020 at address 0x7db96fc6 (thread 003e), starting debugger... Backtrace: =>0 is_preserving_whitespace+0x16(node=(nil)) [dlls/msxml3/domdoc.c:189] 1 0x7db97044 sax_characters+0x33(ctx=0x7c745940, ch=" <files> <file execute="yes" stamp="no"> ... /NeedForSpeedHotPursuit.Data.004?", len=0x0003) [msxml3/domdoc.c:390] 2 xmlParseCharData+0x2ba() in libxml2.so.2 (0x0066e954) 3 0x00405b09 in needforspeedhotpursuit-dm (+0x5b08) (0x0066e988)
This is on gentoo, with libxml2-2.7.3-r2. (There's a 2.7.6 available.)
I would have tried native msxml3, but bug 25517 interfered...
http://bugs.winehq.org/show_bug.cgi?id=25518
--- Comment #1 from Nikolay Sivov bunglehead@gmail.com 2010-12-26 13:47:48 CST --- Created an attachment (id=32628) --> (http://bugs.winehq.org/attachment.cgi?id=32628) patch
Attach a +msxml,+tid with this. It won't crash at the same point, the real problem I think is:
--- err:msxml:doparse XML declaration allowed only at the start of the document ---
Anyway default handlers do such check so it's fine to have it in custom ones, also I expect some output from error callback, this is another thing to check with this patch.
http://bugs.winehq.org/show_bug.cgi?id=25518
--- Comment #2 from Nikolay Sivov bunglehead@gmail.com 2011-01-04 07:05:40 CST --- Please retest with a patch so I can send it.
http://bugs.winehq.org/show_bug.cgi?id=25518
--- Comment #3 from Nikolay Sivov bunglehead@gmail.com 2011-02-18 16:35:44 CST --- Dan, please retest with a patch or provide a way to reproduce that.
http://bugs.winehq.org/show_bug.cgi?id=25518
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #4 from Nikolay Sivov bunglehead@gmail.com 2011-03-14 14:42:22 CDT --- Crash should be fixed with 610725289b18f07c3ec62438773ff52a01426565.
http://bugs.winehq.org/show_bug.cgi?id=25518
--- Comment #5 from Dan Kegel dank@kegel.com 2011-03-14 16:04:04 CDT --- Thanks. I had trouble with gamestop, couldn't test.
I found a free trial download from their store http://www.gamestop.com/pc/games/carnivores-2/62431
I'll try that as soon as I'm back at my linux box.
http://bugs.winehq.org/show_bug.cgi?id=25518
--- Comment #6 from Austin English austinenglish@gmail.com 2011-03-14 20:12:42 CDT --- (In reply to comment #5)
Thanks. I had trouble with gamestop, couldn't test.
I found a free trial download from their store http://www.gamestop.com/pc/games/carnivores-2/62431
http://d.trymedia.com/d/infogrames/30m_d_61/t_07po/Carnivores2Setup.exe sha1sum: c73af84d8e99fa26146bb9b65bbf6a42cac563d1
crashes in 1.3.14, but doesn't in today's git. However, it doesn't seem to succeed, instead looping: fixme:wininet:CommitUrlCacheEntryInternal entry already in cache - don't know what to do! err:msxml:doparse XML declaration allowed only at the start of the document
endlessly. Native msxml3 gets rid of the msxml error, but the app still doesn't start. winetricks ie7 gets a window to appear, I filed bug 26425 for that.
http://bugs.winehq.org/show_bug.cgi?id=25518
--- Comment #7 from Nikolay Sivov bunglehead@gmail.com 2011-03-15 05:22:20 CDT --- Please open a new one for that looping, and attach +msxml,+tid there. Also it will help if you attach xml file it tries to load - path will be visible in _load() or _loadXML() methods.
http://bugs.winehq.org/show_bug.cgi?id=25518
--- Comment #8 from Austin English austinenglish@gmail.com 2011-03-15 15:00:19 CDT --- (In reply to comment #7)
Please open a new one for that looping, and attach +msxml,+tid there. Also it will help if you attach xml file it tries to load - path will be visible in _load() or _loadXML() methods.
See bug 26434. It appears to be loading an url? 002b:trace:msxml:domdoc_loadXML (0x161a88)->(L"\n<?xml version=\"1.0\" encoding=\"UTF-16\"?>\n<dm>\n <files>\n <file execute="yes" stamp="yes">\n <url>http://cdn.dli.trymedia.com/r/release/infogrames/30m_d_61/Carnivores2Setup.e...</url>\n </file>\n </files>\n</dm>" 0x66e958)
http://bugs.winehq.org/show_bug.cgi?id=25518
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #9 from Alexandre Julliard julliard@winehq.org 2011-03-18 14:39:18 CDT --- Closing bugs fixed in 1.3.16.
https://bugs.winehq.org/show_bug.cgi?id=25518
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |610725289b18f07c3ec62438773 | |ff52a01426565 CC| |focht@gmx.net