http://bugs.winehq.org/show_bug.cgi?id=14193
Summary: Monster Truck Madness 2 Trial: page fault on write access Product: Wine Version: 1.1.0 Platform: PC-x86-64 URL: http://www.google.com/url?sa=U&start=1&q=http://www.micr osoft.com/games/monster/&usg=AFQjCNE8_bPThwdRL_BK5oB- RZOOyTnYpw OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: gaming4jc2@yahoo.com
Created an attachment (id=14460) --> (http://bugs.winehq.org/attachment.cgi?id=14460) Page faults, fixmes, and buggies.
Upon successfully installing the Monster Truck Madness 2 Trial (Demo) from M$, I get this error every time I launch the game. Looks rather serious...
http://bugs.winehq.org/show_bug.cgi?id=14193
Louis Lenders xerox_xerox2000@yahoo.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |xerox_xerox2000@yahoo.co.uk Status|UNCONFIRMED |NEW Component|-unknown |msacm32 Ever Confirmed|0 |1 Keywords| |download
--- Comment #1 from Louis Lenders xerox_xerox2000@yahoo.co.uk 2008-06-29 16:57:13 --- Confirming. Starts fine with native msacm32. There's also issues with the graphics ingame, but that would be another bug then of course
http://bugs.winehq.org/show_bug.cgi?id=14193
Jeff Zaroyko jeffz@jeffz.name changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jeffz@jeffz.name URL|http://www.google.com/url?sa%7Chttp://download.microsoft.co |=U&start=1&q=http://www.micr%7Cm/download/monstertruck20/Tr |osoft.com/games/monster/&usg|ial/1.0/W97/EN- |=AFQjCNE8_bPThwdRL_BK5oB- |US/MtM2trial.EXE |RZOOyTnYpw |
http://bugs.winehq.org/show_bug.cgi?id=14193
Sylvain Petreolle spetreolle@yahoo.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |spetreolle@yahoo.fr
http://bugs.winehq.org/show_bug.cgi?id=14193
Anders Andersson trezker@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |trezker@gmail.com
--- Comment #2 from Anders Andersson trezker@gmail.com 2009-05-13 17:37:37 --- Bug still exists: Ubuntu 9.04, wine 1.1.21
http://bugs.winehq.org/show_bug.cgi?id=14193
JP jpkmaster@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jpkmaster@gmail.com
--- Comment #3 from JP jpkmaster@gmail.com 2009-06-12 23:27:23 --- Bug not present on Ubuntu 8.04 (Hardy), wine 1.1.22
http://bugs.winehq.org/show_bug.cgi?id=14193
--- Comment #4 from Jeff Zaroyko jeffz@jeffz.name 2009-06-12 23:56:37 --- It's still present in latest git.
http://bugs.winehq.org/show_bug.cgi?id=14193
Jeff Zaroyko jeffz@jeffz.name changed:
What |Removed |Added ---------------------------------------------------------------------------- Alias|+Luke |
http://bugs.winehq.org/show_bug.cgi?id=14193
--- Comment #5 from JP jpkmaster@gmail.com 2009-06-13 19:54:54 --- http://jpkmaster.googlepages.com/mtm2trial.png
Did you install DirectX 9 and DirectPlay? Works fine even with Compiz. I see that you have the 64 bits version of Hardy, perhaps it has something to do with this?
http://bugs.winehq.org/show_bug.cgi?id=14193
--- Comment #6 from Jeff Zaroyko jeffz@jeffz.name 2009-06-13 19:59:29 --- (In reply to comment #5)
http://jpkmaster.googlepages.com/mtm2trial.png
Did you install DirectX 9 and DirectPlay? Works fine even with Compiz. I see that you have the 64 bits version of Hardy, perhaps it has something to do with this?
No, there is no valid reason to install dx9 and directplay. It does not matter that I'm using 64bit distro, Wine is 32bit.
Did you download the demo linked in the URL field, install it and test it or are you testing the retail version?
http://bugs.winehq.org/show_bug.cgi?id=14193
--- Comment #7 from Jeff Zaroyko jeffz@jeffz.name 2009-06-13 20:07:25 --- Also if you're using native dlls you need to test in a clean prefix before you report that bugs are fixed.
http://bugs.winehq.org/show_bug.cgi?id=14193
--- Comment #8 from JP jpkmaster@gmail.com 2009-06-13 21:54:38 --- (In reply to comment #6)
(In reply to comment #5)
http://jpkmaster.googlepages.com/mtm2trial.png
Did you install DirectX 9 and DirectPlay? Works fine even with Compiz. I see that you have the 64 bits version of Hardy, perhaps it has something to do with this?
No, there is no valid reason to install dx9 and directplay. It does not matter that I'm using 64bit distro, Wine is 32bit.
Did you download the demo linked in the URL field, install it and test it or are you testing the retail version?
Actually, you need DirectX 9.0c to run mtm2... and DirectPlay to use multiplayer features, I'm using the official trial version (there's only one released by MS) which is 2.00.41 (the executable is exactly the same as in retail version if you didn't notice) I'm using the executable setup package that comes with Win98SE. There's only one trial version so it really doesn't matter. I'm using native dlls.
http://bugs.winehq.org/show_bug.cgi?id=14193
--- Comment #9 from Jeff Zaroyko jeffz@jeffz.name 2009-06-14 00:11:07 --- (In reply to comment #8)
No, there is no valid reason to install dx9 and directplay. It does not matter that I'm using 64bit distro, Wine is 32bit.
Did you download the demo linked in the URL field, install it and test it or are you testing the retail version?
Actually, you need DirectX 9.0c to run mtm2... and DirectPlay to use multiplayer features, I'm using the official trial version (there's only one released by MS) which is 2.00.41 (the executable is exactly the same as in retail version if you didn't notice) I'm using the executable setup package that comes with Win98SE. There's only one trial version so it really doesn't matter. I'm using native dlls.
See comment 7.
If you're using native dlls and refuse to use a clean prefix to test please stop posting here. Native dlls are only sometimes useful for confirming that a bug is present in a particular subsystem or as a workaround for users who want their program to work, it is not an acceptable solution only a workaround.
This bug is about a crash that occurs in the demo with builtin msacm32. It has nothing to do with DirectPlay or DirectX 9, the game only uses DirectX 5.
http://bugs.winehq.org/show_bug.cgi?id=14193
--- Comment #10 from JP jpkmaster@gmail.com 2009-06-14 19:09:29 --- Sorry, I thought I was using a "clean prefix", I'm not familiarized with some of those terms yet. And since a workaround seems to be a solution but is not an acceptable one I have nothing to do here. I will try to recreate the bug tho, and be more specific about how to make the trial work with a workaround on the appdb.
http://bugs.winehq.org/show_bug.cgi?id=14193
--- Comment #11 from Jeff Zaroyko jeffz@jeffz.name 2009-06-15 05:15:06 --- I have come up with a patch that fixes the crash, though I'm just trying to figure out why it fixes it. I'll post details sometime soon.
http://bugs.winehq.org/show_bug.cgi?id=14193
--- Comment #12 from Luke gaming4jc2@yahoo.com 2009-12-21 11:45:48 --- Created an attachment (id=25345) --> (http://bugs.winehq.org/attachment.cgi?id=25345) Unhandled exception: page fault on write access to 0x34313747 in 32-bit code (0x7bc46944).
Just thought I'd stop by to add a newer log. This one is from Ubuntu 9.10 x64 with wine 1.1.33.
http://bugs.winehq.org/show_bug.cgi?id=14193
Pilot pilota51@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |pilota51@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=14193
--- Comment #13 from joaopa jeremielapuree@yahoo.fr 2011-08-08 02:57:34 CDT --- Created an attachment (id=35875) --> (http://bugs.winehq.org/attachment.cgi?id=35875) backtrace with +relay,+tid,+seh
Jeff, what about your patch?
http://bugs.winehq.org/show_bug.cgi?id=14193
--- Comment #14 from Jeff Zaroyko jeffz@jeffz.name 2011-08-08 03:00:50 CDT --- (In reply to comment #13)
Created an attachment (id=35875)
--> (http://bugs.winehq.org/attachment.cgi?id=35875) [details]
backtrace with +relay,+tid,+seh
Jeff, what about your patch?
I lost access to my wine development machine, I think the patch was erroneous. Can't remember exactly what it was either, sorry.
http://bugs.winehq.org/show_bug.cgi?id=14193
joaopa jeremielapuree@yahoo.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jeremielapuree@yahoo.fr
--- Comment #15 from joaopa jeremielapuree@yahoo.fr 2012-05-12 15:56:36 CDT --- Bug still there in current git.
Native dll solves this bug.
Since the bug is in MSACM, I think that changing the title of this bug as "Monster Truck Madness 2 Trial: crash in MSACM" would help people interested in sound problem problems to have a glance in this bug.
http://bugs.winehq.org/show_bug.cgi?id=14193
--- Comment #16 from joaopa jeremielapuree@yahoo.fr 2012-05-12 15:58:05 CDT --- Created attachment 40142 --> http://bugs.winehq.org/attachment.cgi?id=40142 backtrace with msacm channel enabled
http://bugs.winehq.org/show_bug.cgi?id=14193
Wylda wylda@volny.cz changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |wylda@volny.cz Summary|Monster Truck Madness 2 |Monster Truck Madness 2 |Trial: page fault on write |Trial: crash in MSACM |access |
https://bugs.winehq.org/show_bug.cgi?id=14193
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #14460|0 |1 is obsolete| | Attachment #25345|0 |1 is obsolete| | Attachment #35875|0 |1 is obsolete| | Attachment #40142|0 |1 is obsolete| |
--- Comment #17 from Austin English austinenglish@gmail.com --- Created attachment 49309 --> https://bugs.winehq.org/attachment.cgi?id=49309 +msacm trace / backtrace - 1.7.24
https://bugs.winehq.org/show_bug.cgi?id=14193
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Monster Truck Madness 2 |Monster Truck Madness 2 |Trial: crash in MSACM |Trial: crash in msacm32
--- Comment #18 from Austin English austinenglish@gmail.com --- [austin@localhost 14193]$ sha1sum MtM2trial.EXE b3045f81a76bd97b03c8e4b37e84e7df17c2bd84 MtM2trial.EXE [austin@localhost 14193]$ du -h MtM2trial.EXE 18M MtM2trial.EXE
still in 1.7.24.
https://bugs.winehq.org/show_bug.cgi?id=14193
Teras teras@luukku.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |teras@luukku.com
--- Comment #19 from Teras teras@luukku.com --- Still crashing without overrides.
wine-1.7.36-113-g797bd65
https://bugs.winehq.org/show_bug.cgi?id=14193
super_man@post.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |super_man@post.com
--- Comment #20 from super_man@post.com --- Well it does crash, but I am not sure if we have the same issue here anymore.
1.7.48
https://bugs.winehq.org/show_bug.cgi?id=14193
Bernhard Übelacker bernhardu@vr-web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |bernhardu@vr-web.de
--- Comment #21 from Bernhard Übelacker bernhardu@vr-web.de --- Created attachment 51991 --> https://bugs.winehq.org/attachment.cgi?id=51991 Workaround to get past the crash.
It seems that Monsterx.EXE itself allocates some buffer with RtlAllocateHeap and then copies beyond the end of this buffer.
Attached patch just allocates twice the buffer size.
I still got not that far how msacm32 comes there into play ...
https://bugs.winehq.org/show_bug.cgi?id=14193
Bernhard Übelacker bernhardu@vr-web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #51991|0 |1 is obsolete| |
--- Comment #22 from Bernhard Übelacker bernhardu@vr-web.de --- Created attachment 52002 --> https://bugs.winehq.org/attachment.cgi?id=52002 Fix by failing acmFormatSuggest for specific destination format, with debug traces.
https://bugs.winehq.org/show_bug.cgi?id=14193
Bernhard Übelacker bernhardu@vr-web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #52002|0 |1 is obsolete| |
--- Comment #23 from Bernhard Übelacker bernhardu@vr-web.de --- Created attachment 52003 --> https://bugs.winehq.org/attachment.cgi?id=52003 Fix by failing acmFormatSuggest for specific destination format, without debug traces.
Dug a little more into the issue.
From my point of view following happens.
- acmMetrics is called to retrieve the needed size for the maximum WAVEFORMATEX size. - In wine and plain windows we need just 0x32. - A buffer of that size is allocated with RtlAllocateHeap. - acmFormatSuggest is called with an special destination wave format WAVE_FORMAT_MSRT24; and is succeeding in wine, contrary to windows. - Monsterx.EXE is now writing beyond the allocated buffer size.
Probably if a driver would be installed supporting WAVE_FORMAT_MSRT24, then the acmMetrics would return a higher maximum buffer size and the crash would not happen.
Attached patch just fails acmFormatSuggest for WAVE_FORMAT_MSRT24 in msacm32. With it demo is playable and sound is working.
https://bugs.winehq.org/show_bug.cgi?id=14193
Jared Smudde computerwhiz02@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |computerwhiz02@hotmail.com
--- Comment #24 from Jared Smudde computerwhiz02@hotmail.com --- Is this fixed yet?
https://bugs.winehq.org/show_bug.cgi?id=14193
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |00cpxxx@gmail.com
--- Comment #25 from Bruno Jesus 00cpxxx@gmail.com --- Created attachment 52288 --> https://bugs.winehq.org/attachment.cgi?id=52288 quit on invalid destination format
If the only valid input type is WAVE_FORMAT_PCM (according to the current existing test) I guess this patch is simpler and makes the game work too.
https://bugs.winehq.org/show_bug.cgi?id=14193
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |c6afba8979500af43cb48fee1c3 | |3eae5fb544d03 Status|NEW |RESOLVED Resolution|--- |FIXED
--- Comment #26 from Bruno Jesus 00cpxxx@gmail.com --- Fixed by http://source.winehq.org/git/wine.git/?a=commit;h=c6afba8979500af43cb48fee1c...
Thanks to Bernhard Übelacker for finding the issue.
https://bugs.winehq.org/show_bug.cgi?id=14193
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #27 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 1.7.52.