http://bugs.winehq.org/show_bug.cgi?id=11627
Summary: Need for Speed 2 SE 3dfx demo fails to start Product: Wine Version: CVS/GIT Platform: PC-x86-64 URL: http://www.nfshome.com/demos.php OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: kernel32 AssignedTo: wine-bugs@winehq.org ReportedBy: greg87@online.de
It just prints: The instruction at 0x00498d32 referenced memory at 0x00000004. The memory could not be written. And silently exits after that.
Which it didnt did before: b22183703f8f77f8e1e32482f34934cadd207963 is first bad commit commit b22183703f8f77f8e1e32482f34934cadd207963 Author: Alexandre Julliard julliard@winehq.org Date: Mon Oct 15 22:32:36 2007 +0200
kernel32: Fix GlobalMemoryStatus to take into account the IMAGE_FILE_LARGE_ADDRESS_AWARE flag.
Also the page file size must not be truncated to 2Gb no matter what the flag is set to.
:040000 040000 22266407af840ef6a38386a64fdc247e895c66ac 3924caf0140dfbe4bf8aff939710b1517b970e9f M dlls
http://bugs.winehq.org/show_bug.cgi?id=11627
Jeff Zaroyko jeffzaroyko@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jeffzaroyko@gmail.com
--- Comment #1 from Jeff Zaroyko jeffzaroyko@gmail.com 2008-02-17 20:56:10 --- which version of wine are you using? Please include it in the description of the bug report.
I've just tested this demo on my system with wine-0.9.55 and it runs without any problem so long as I use schedtool to force wine to run on one core of my cpu. (bug 11317)
http://bugs.winehq.org/show_bug.cgi?id=11627
Gregor Münch greg87@online.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |julliard@winehq.org Keywords| |regression
--- Comment #2 from Gregor Münch greg87@online.de 2008-02-18 15:50:34 --- As stated in the version field: GIT (wine-0.9.55-276-g2472e81)
It is interesting that it works for you. I'll try to investigate this more.
http://bugs.winehq.org/show_bug.cgi?id=11627
--- Comment #3 from Gregor Münch greg87@online.de 2008-03-16 11:34:49 --- Created an attachment (id=11434) --> (http://bugs.winehq.org/attachment.cgi?id=11434) half reverted patch
I tried to track down what part of the "bad" patch broke the game, and ended with this small hack. This let the "instruction... memory could not be read" message disappear. And let the game start for me again.
http://bugs.winehq.org/show_bug.cgi?id=11627
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch
--- Comment #4 from Austin English austinenglish@gmail.com 2008-10-23 15:19:36 --- Is this still an issue in current (1.1.6 or newer) wine?
http://bugs.winehq.org/show_bug.cgi?id=11627
--- Comment #5 from Gregor Münch greg87@online.de 2008-10-27 13:59:09 --- Tested with wine-1.1.7. No change.
http://bugs.winehq.org/show_bug.cgi?id=11627
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|CVS/GIT |unspecified
--- Comment #6 from Austin English austinenglish@gmail.com 2009-01-18 03:47:56 --- Removing deprecated CVS/GIT version tag. Please retest in current git. If the bug is still present in today's wine, but was not present in some earlier version of wine, please update version field to earliest known version of wine that had the bug. Thanks!
http://bugs.winehq.org/show_bug.cgi?id=11627
Wylda wylda@volny.cz changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |wylda@volny.cz
--- Comment #7 from Wylda wylda@volny.cz 2009-05-31 14:50:26 --- Hi,
running Need for Speed 2 Special Edition still fails under current wine (1.1.22) with following error:
$ wine nfs2sen.exe The instruction at 0x00493062 referenced memory at 0x00000004. The memory could not be written.
For the Glide version of NFS2 SE: $ wine NFS2SEA.EXE
and window popsup telling: "initgraphics - INITMEMMAN REQUIRED BEFORE INITGRAPHICS FILE C:\nfs2se\game\3rash\initgrf.c LINE 44"
I tired this Glide version with two different wrappers dgVoodoo1.50Beta2.zip and xgl200_v0.04a.zip, but both fails with the same popsup window.
http://bugs.winehq.org/show_bug.cgi?id=11627
--- Comment #8 from Jeff Zaroyko jeffz@jeffz.name 2009-05-31 16:01:07 --- Make sure you set the affinity to run on one cpu/core using schedtool or taskset.
http://bugs.winehq.org/show_bug.cgi?id=11627
--- Comment #9 from Wylda wylda@volny.cz 2009-05-31 16:14:16 --- (In reply to comment #8)
Make sure you set the affinity to run on one cpu/core using schedtool or taskset.
$ schedtool -a 0x1 -e wine nfs2sen.exe The instruction at 0x00493062 referenced memory at 0x00000004. The memory could not be written.
$ schedtool -a 0x1 -e wine pe.exe nfs2sen.exe found 900096 filesize Existing MajorSubsystemVersion: 3 Done!
None of these two attempts leads to start of NFS2 SE. Winecfg set to Windows98.
http://bugs.winehq.org/show_bug.cgi?id=11627
--- Comment #10 from Jeff Zaroyko jeffz@jeffz.name 2009-05-31 16:28:54 --- (In reply to comment #9)
(In reply to comment #8)
Make sure you set the affinity to run on one cpu/core using schedtool or taskset.
$ schedtool -a 0x1 -e wine nfs2sen.exe The instruction at 0x00493062 referenced memory at 0x00000004. The memory could not be written.
$ schedtool -a 0x1 -e wine pe.exe nfs2sen.exe found 900096 filesize Existing MajorSubsystemVersion: 3 Done!
None of these two attempts leads to start of NFS2 SE. Winecfg set to Windows98.
The first command is correct, but will not work presumably because of this bug.
http://bugs.winehq.org/show_bug.cgi?id=11627
--- Comment #11 from Jeff Zaroyko jeffz@jeffz.name 2009-05-31 16:30:36 --- (In reply to comment #10)
(In reply to comment #9)
(In reply to comment #8)
The first command is correct, but will not work presumably because of this bug.
Or it could be bug 12033 which is about the "instruction referenced foo... memory could not be read"
http://bugs.winehq.org/show_bug.cgi?id=11627
Ken Sharp kennybobs@o2.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|unspecified |0.9.48.
http://bugs.winehq.org/show_bug.cgi?id=11627
--- Comment #12 from Austin English austinenglish@gmail.com 2010-01-04 12:16:52 --- This is your friendly reminder that there has been no bug activity for 6 months. Is this still an issue in current (1.1.35 or newer) wine?
http://bugs.winehq.org/show_bug.cgi?id=11627
--- Comment #13 from Jeff Zaroyko jeffz@jeffz.name 2010-01-07 06:57:11 --- (In reply to comment #12)
This is your friendly reminder that there has been no bug activity for 6 months. Is this still an issue in current (1.1.35 or newer) wine?
Still present.
http://bugs.winehq.org/show_bug.cgi?id=11627
dthompson91@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dthompson91@gmail.com
--- Comment #14 from dthompson91@gmail.com 2010-01-13 18:54:17 --- (In reply to comment #13)
(In reply to comment #12)
This is your friendly reminder that there has been no bug activity for 6 months. Is this still an issue in current (1.1.35 or newer) wine?
Still present.
I can confirm this bug on my system as well, running wine 1.1.36. Using newest version of glide wrapper. Shows same error whether schedtool is used or not.
The instruction at 0x00498d32 referenced memory at 0x00000004. The memory could not be written.
http://bugs.winehq.org/show_bug.cgi?id=11627
--- Comment #15 from dthompson91@gmail.com 2010-01-13 19:03:52 --- Created an attachment (id=25724) --> (http://bugs.winehq.org/attachment.cgi?id=25724) Log output
This is the output shown after running the pe.exe program on the game, and launching the game on single core settings.
http://bugs.winehq.org/show_bug.cgi?id=11627
--- Comment #16 from dthompson91@gmail.com 2010-01-13 19:07:54 --- (From update of attachment 25724) $ schedtool -a 0x1 -e wine NFS2SEA.EXE err:x11settings:X11DRV_ChangeDisplaySettingsEx No matching mode found 320x200x16 @85! (XRandR) err:x11settings:X11DRV_ChangeDisplaySettingsEx No matching mode found 320x200x16 @85! (XRandR) err:x11settings:X11DRV_ChangeDisplaySettingsEx No matching mode found 320x200x32 @85! (XRandR) err:x11settings:X11DRV_ChangeDisplaySettingsEx No matching mode found 320x240x16 @85! (XRandR) err:x11settings:X11DRV_ChangeDisplaySettingsEx No matching mode found 320x240x16 @85! (XRandR) err:x11settings:X11DRV_ChangeDisplaySettingsEx No matching mode found 320x240x32 @85! (XRandR) err:x11settings:X11DRV_ChangeDisplaySettingsEx No matching mode found 400x256x16 @85! (XRandR) err:x11settings:X11DRV_ChangeDisplaySettingsEx No matching mode found 400x256x16 @85! (XRandR) err:x11settings:X11DRV_ChangeDisplaySettingsEx No matching mode found 400x256x32 @85! (XRandR) err:x11settings:X11DRV_ChangeDisplaySettingsEx No matching mode found 512x384x16 @85! (XRandR) err:x11settings:X11DRV_ChangeDisplaySettingsEx No matching mode found 512x384x16 @85! (XRandR) err:x11settings:X11DRV_ChangeDisplaySettingsEx No matching mode found 512x384x32 @85! (XRandR) err:x11settings:X11DRV_ChangeDisplaySettingsEx No matching mode found 640x200x16 @85! (XRandR) err:x11settings:X11DRV_ChangeDisplaySettingsEx No matching mode found 640x200x16 @85! (XRandR) err:x11settings:X11DRV_ChangeDisplaySettingsEx No matching mode found 640x200x32 @85! (XRandR) err:x11settings:X11DRV_ChangeDisplaySettingsEx No matching mode found 512x256x16 @85! (XRandR) err:x11settings:X11DRV_ChangeDisplaySettingsEx No matching mode found 512x256x16 @85! (XRandR) err:x11settings:X11DRV_ChangeDisplaySettingsEx No matching mode found 512x256x32 @85! (XRandR) err:x11settings:X11DRV_ChangeDisplaySettingsEx No matching mode found 400x300x16 @85! (XRandR) err:x11settings:X11DRV_ChangeDisplaySettingsEx No matching mode found 400x300x16 @85! (XRandR) err:x11settings:X11DRV_ChangeDisplaySettingsEx No matching mode found 400x300x32 @85! (XRandR) err:x11settings:X11DRV_ChangeDisplaySettingsEx No matching mode found 320x200x16 @85! (XRandR) err:x11settings:X11DRV_ChangeDisplaySettingsEx No matching mode found 320x200x16 @85! (XRandR) err:x11settings:X11DRV_ChangeDisplaySettingsEx No matching mode found 320x200x32 @85! (XRandR) err:x11settings:X11DRV_ChangeDisplaySettingsEx No matching mode found 320x240x16 @85! (XRandR) err:x11settings:X11DRV_ChangeDisplaySettingsEx No matching mode found 320x240x16 @85! (XRandR) err:x11settings:X11DRV_ChangeDisplaySettingsEx No matching mode found 320x240x32 @85! (XRandR) err:x11settings:X11DRV_ChangeDisplaySettingsEx No matching mode found 400x256x16 @85! (XRandR) err:x11settings:X11DRV_ChangeDisplaySettingsEx No matching mode found 400x256x16 @85! (XRandR) err:x11settings:X11DRV_ChangeDisplaySettingsEx No matching mode found 400x256x32 @85! (XRandR) err:x11settings:X11DRV_ChangeDisplaySettingsEx No matching mode found 512x384x16 @85! (XRandR) err:x11settings:X11DRV_ChangeDisplaySettingsEx No matching mode found 512x384x16 @85! (XRandR) err:x11settings:X11DRV_ChangeDisplaySettingsEx No matching mode found 512x384x32 @85! (XRandR) err:x11settings:X11DRV_ChangeDisplaySettingsEx No matching mode found 640x200x16 @85! (XRandR) err:x11settings:X11DRV_ChangeDisplaySettingsEx No matching mode found 640x200x16 @85! (XRandR) err:x11settings:X11DRV_ChangeDisplaySettingsEx No matching mode found 640x200x32 @85! (XRandR) err:x11settings:X11DRV_ChangeDisplaySettingsEx No matching mode found 512x256x16 @85! (XRandR) err:x11settings:X11DRV_ChangeDisplaySettingsEx No matching mode found 512x256x16 @85! (XRandR) err:x11settings:X11DRV_ChangeDisplaySettingsEx No matching mode found 512x256x32 @85! (XRandR) err:x11settings:X11DRV_ChangeDisplaySettingsEx No matching mode found 400x300x16 @85! (XRandR) err:x11settings:X11DRV_ChangeDisplaySettingsEx No matching mode found 400x300x16 @85! (XRandR) err:x11settings:X11DRV_ChangeDisplaySettingsEx No matching mode found 400x300x32 @85! (XRandR) The instruction at 0x004a8acc referenced memory at 0x00000000. The memory could not be read.
http://bugs.winehq.org/show_bug.cgi?id=11627
--- Comment #17 from Jeff Zaroyko jeffz@jeffz.name 2010-01-13 21:05:17 --- (In reply to comment #16)
(From update of attachment 25724 [details]) $ schedtool -a 0x1 -e wine NFS2SEA.EXE annoying spam that makes bugs harder to read, repeated many times. The instruction at 0x004a8acc referenced memory at 0x00000000. The memory could not be read.
dthompson91: Please don't do that. it makes bugs harder to read if people paste useless information instead of attaching it as a file.
http://bugs.winehq.org/show_bug.cgi?id=11627
--- Comment #18 from dthompson91@gmail.com 2010-01-14 07:30:27 --- (In reply to comment #17)
(In reply to comment #16)
(From update of attachment 25724 [details] [details]) $ schedtool -a 0x1 -e wine NFS2SEA.EXE annoying spam that makes bugs harder to read, repeated many times. The instruction at 0x004a8acc referenced memory at 0x00000000. The memory could not be read.
dthompson91: Please don't do that. it makes bugs harder to read if people paste useless information instead of attaching it as a file.
I know I'm sorry, I mis-read a button in the attachment details section and managed to make a 3rd comment with spam. Again, I am sorry, I knew that we shouldn't copy and paste log output.
On a more useful note though, checking the full debug output on wine I found 2 calls with the glide wrapper accessing the frame buffer and then quickly leading to the access violation. I tried to use the openglide drivers by pasting them into the executable's directory, program runs fine now, but there are graphical corruptions.
http://sourceforge.net/projects/openglide/
I'm currently testing other wrapper solutions.
http://bugs.winehq.org/show_bug.cgi?id=11627
--- Comment #19 from dthompson91@gmail.com 2010-01-14 11:51:10 --- Created an attachment (id=25735) --> (http://bugs.winehq.org/attachment.cgi?id=25735) Corrupt Graphics
Tried other wrappers, only OpenGlide and zeckensack's wrapper appear to produce any result besides a black screen. Zeckensack brings the same error, while OpenGlide runs the game fine with a few minor graphical corruptions.
I uploaded the images of the corruption, strange blue lines going across floor textures and the sky box, it also appears on some of the 2d gui.
http://bugs.winehq.org/show_bug.cgi?id=11627
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download
http://bugs.winehq.org/show_bug.cgi?id=11627
--- Comment #20 from Austin English austinenglish@gmail.com 2011-03-29 18:52:05 CDT --- Created an attachment (id=33858) --> (http://bugs.winehq.org/attachment.cgi?id=33858) crash log
Crash in 1.3.16 using openglide wrapper and http://download.nfshome.com/demos/nfs2sedemo.zip
http://bugs.winehq.org/show_bug.cgi?id=11627
--- Comment #21 from Adam Martinson amartinson@codeweavers.com 2011-05-22 14:29:44 CDT --- Created an attachment (id=34862) --> (http://bugs.winehq.org/attachment.cgi?id=34862) Patch -- please test
Try this =) Still need to test it with Adobe Illustrator 8... apparently that depends on the pagefile size *not* being limited.
http://bugs.winehq.org/show_bug.cgi?id=11627
Adam Martinson amartinson@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #34862|0 |1 is obsolete| |
--- Comment #22 from Adam Martinson amartinson@codeweavers.com 2011-05-22 15:42:56 CDT --- Created an attachment (id=34863) --> (http://bugs.winehq.org/attachment.cgi?id=34863) Patch -- please test
It looks like the problem was the hack for the Photoshop 4 installer. Tested Illustrator 8 with this, still works fine.
http://bugs.winehq.org/show_bug.cgi?id=11627
Henri Verbeet hverbeet@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Regression SHA1| |b22183703f8f77f8e1e32482f34 | |934cadd207963
http://bugs.winehq.org/show_bug.cgi?id=11627
Alexey Loukianov mooroon2@mail.ru changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |mooroon2@mail.ru
--- Comment #23 from Alexey Loukianov mooroon2@mail.ru 2011-09-12 04:04:55 CDT --- I remember playing this game in 2010 successfully with some older Wine version + dgVoodoo 1.50 beta 2 glide2x wrapper. It had been working extremely well, no render glitches or other nasty problems. Still have it on HDD and it seems that with Wine 1.3.28 and Wine 1.2.3 this game no longer runs perfectly. At the very least the game obviously experiences some strange CPU affinity-related troubles nowdays. Would test it more throughly this week, including proposed patch posted in the comments.
http://bugs.winehq.org/show_bug.cgi?id=11627
Alexey Loukianov mooroon2@mail.ru changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1
--- Comment #24 from Alexey Loukianov mooroon2@mail.ru 2011-09-12 04:58:38 CDT --- *** This bug has been confirmed by popular vote. ***
http://bugs.winehq.org/show_bug.cgi?id=11627
--- Comment #25 from Alexey Loukianov mooroon2@mail.ru 2011-09-12 05:03:56 CDT --- Well, tested it a bit more. Wine 1.3.28, taskset used to set CPU affinity to only use CPU #0, NSF2:SE with executables fixed using pe.exe, dgVoodoo 1.50 beta 2.
With such setup game runs perfectly either with Glide2x and with software renderers (NFS2SEA.EXE/NFS2SEN.EXE).
So, was this bug fixed or am I missing something? Having to set CPU affinity in order to run/play the game seems to be different bug than originally reported "The instruction at ... referenced memory at ..." bug.
http://bugs.winehq.org/show_bug.cgi?id=11627
--- Comment #26 from Alexey Loukianov mooroon2@mail.ru 2011-09-22 19:48:44 CDT --- (In reply to comment #25)
... NSF2:SE with executables fixed using pe.exe ...
That's was the key point. Original game executables are still affected by this bug. Meanwhile "fixed" game executables are invalid for genuine Windows (at least Windows 7 barks at them with "Not a Win32 executable"). Thus this bug still present and valid as of current wine git (wine-1.3.28-493-g05e1886).
http://bugs.winehq.org/show_bug.cgi?id=11627
Brandon Corujo haku08879@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |haku08879@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=11627
joaopa jeremielapuree@yahoo.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jeremielapuree@yahoo.fr
--- Comment #27 from joaopa jeremielapuree@yahoo.fr 2013-04-22 00:03:34 CDT --- still a bug in current wine?
https://bugs.winehq.org/show_bug.cgi?id=11627
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |5468e37508661ab0740f0066f9e | |1d4eaaca78cbd Status|NEW |RESOLVED Resolution|--- |FIXED
--- Comment #28 from Alexandre Julliard julliard@winehq.org --- It should be fixed by 5468e37508661ab0740f0066f9e1d4eaaca78cbd.
https://bugs.winehq.org/show_bug.cgi?id=11627
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #29 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 1.8-rc3.