http://bugs.winehq.org/show_bug.cgi?id=9672
Summary: The Sims crashes with page fault on read access Product: Wine Version: 0.9.45. Platform: PC OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: wine-directx-ddraw AssignedTo: wine-bugs@winehq.org ReportedBy: diablownik@gmail.com
The Sims game doesn't run: output returns unhandled page fault on read access.
http://bugs.winehq.org/show_bug.cgi?id=9672
--- Comment #1 from Mateusz Butowski diablownik@gmail.com 2007-09-15 13:27:26 --- Created an attachment (id=8088) --> (http://bugs.winehq.org/attachment.cgi?id=8088) wine Sims.exe WINEDEBUG=warn+all
Log from running Sims.exe on wine 0.9.45
http://bugs.winehq.org/show_bug.cgi?id=9672
Mateusz Butowski diablownik@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #8088|wine Sims.exe |wine 0.9.45: wine Sims.exe description|WINEDEBUG=warn+all |
http://bugs.winehq.org/show_bug.cgi?id=9672
Vitaliy Margolen vitaliy@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #8088|text/x-log |text/plain mime type| |
http://bugs.winehq.org/show_bug.cgi?id=9672
--- Comment #2 from Vitaliy Margolen vitaliy@kievinfo.com 2007-09-15 15:46:46 ---
wine Sims.exe WINEDEBUG=warn+all
This command is invalid. If you want to enable all warnings, you should use this instead: WINEDEBUG=warn+all wine Sims.exe
WINEDEBUG is an environment variable, not an option.
http://bugs.winehq.org/show_bug.cgi?id=9672
Mateusz Butowski diablownik@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |diablownik@gmail.com
--- Comment #3 from Mateusz Butowski diablownik@gmail.com 2007-09-16 02:19:30 --- Sorry, I've run game with just "wine Sims.exe" command, my mistake. I'll attach detailed log later.
http://bugs.winehq.org/show_bug.cgi?id=9672
Jose Suarez guebby@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |guebby@gmail.com
--- Comment #4 from Jose Suarez guebby@gmail.com 2007-09-19 21:12:57 --- I had the same problem and after reading some developing mails I tried to modify a function called "IDirectDrawImpl_CreateNewSurface". In this function, after a line like this:
Format = PixelFormat_DD2WineD3D(&pDDSD->u4.ddpfPixelFormat);
I put this code:
if (Format == WINED3DFMT_UNKNOWN) Format = 23; //WINED3DFMT_R5G6B5;
and now the game can start:
$ wine explorer /desktop=foo,800x600 Sims.exe
but it still have some blinking artifacts, and I cannot see the mouse pointer. I also have tested all the posible values for "Format" and, despite any value different from "0" makes the game to start, some of that permits entering the houses and some not (crashes the game). Those are the wined3d pixel format values that do: 20, 21, 22, 23, 24, 25, 26, 28, 29, 30, 33, 51, 60, 61, 71, 75, 77, 79, 80.
http://bugs.winehq.org/show_bug.cgi?id=9672
--- Comment #5 from Austin English austinenglish@gmail.com 2008-04-15 00:50:55 --- Is this still an issue in current (0.9.59 or newer) wine?
http://bugs.winehq.org/show_bug.cgi?id=9672
Wai Ling Tsang simotsa@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |simotsa@gmail.com
--- Comment #6 from Wai Ling Tsang simotsa@gmail.com 2008-09-13 21:39:53 --- (In reply to comment #5)
Is this still an issue in current (0.9.59 or newer) wine?
Yes, it is still an issue for wine-1.1.4.
Backtrace: =>1 0x001434bb (0x0032f618) 2 0x7de28a00 IWineD3DBaseSurfaceImpl_GetParent+0x60() in wined3d (0x0032f648) 3 0x7de99413 IDirectDrawImpl_RecreateSurfacesCallback+0x73() in ddraw (0x0032f718) 4 0x7de9634f in ddraw (+0x634f) (0x0032f808) 5 0x7de96a85 in ddraw (+0x6a85) (0x0032f958) ...
Seems like IWineD3DBaseSurfaceImpl_GetParent isn't implemented correctly?
http://bugs.winehq.org/show_bug.cgi?id=9672
--- Comment #7 from Wai Ling Tsang simotsa@gmail.com 2008-09-13 21:53:14 --- Created an attachment (id=16090) --> (http://bugs.winehq.org/attachment.cgi?id=16090) error log
http://bugs.winehq.org/show_bug.cgi?id=9672
Lei Zhang thestig@google.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #16090|application/octet-stream |text/plain mime type| |
http://bugs.winehq.org/show_bug.cgi?id=9672
--- Comment #8 from Wai Ling Tsang simotsa@gmail.com 2008-09-21 16:58:36 --- Using the patch at http://www.winehq.org/pipermail/wine-devel/attachments/20070905/36d914ed/the...
which is suppose to fix the IDirectDrawImpl_CreateSurface and cursor problem, it still wouldn't start, using wine-1.1.5.
http://bugs.winehq.org/show_bug.cgi?id=9672
Robert Wm Ruedisueli esd45@earthlink.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |esd45@earthlink.net
--- Comment #9 from Robert Wm Ruedisueli esd45@earthlink.net 2008-10-13 14:37:57 --- This is a duplicate of the broader 12653. The question is, should it be marked a blocker or duplicate?
http://bugs.winehq.org/show_bug.cgi?id=9672
Vitaliy Margolen vitaliy@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Depends on| |12653
--- Comment #10 from Vitaliy Margolen vitaliy@kievinfo.com 2008-10-13 15:33:34 --- The other way around. The bug 12653 is about problem with safedisk.
http://bugs.winehq.org/show_bug.cgi?id=9672
Noel Bourke cros13@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1
--- Comment #11 from Noel Bourke cros13@gmail.com 2009-03-24 07:18:53 --- *** This bug has been confirmed by popular vote. ***
http://bugs.winehq.org/show_bug.cgi?id=9672
--- Comment #12 from Robert Wm Ruedisueli esd45@earthlink.net 2009-03-24 20:23:47 --- I'm not sure, but this bug may have been due to recently resolved regression.
Does someone want to check if this bug isn't already fixed as part of such resolutions?
http://bugs.winehq.org/show_bug.cgi?id=9672
Eduardo companheiro.vermelho@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |companheiro.vermelho@gmail.c | |om
--- Comment #13 from Eduardo companheiro.vermelho@gmail.com 2009-04-14 20:11:32 --- (In reply to comment #12)
I'm not sure, but this bug may have been due to recently resolved regression.
Does someone want to check if this bug isn't already fixed as part of such resolutions?
On my system (Ubuntu 8.10 with wine-1.1.19 and Nvidia GeForce 8500 GT) it still crashes at startup.
http://bugs.winehq.org/show_bug.cgi?id=9672
Johan Gill johan.gill@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |johan.gill@gmail.com
--- Comment #14 from Johan Gill johan.gill@gmail.com 2009-07-25 18:10:32 --- Has this ever occurred with an original executable?
http://bugs.winehq.org/show_bug.cgi?id=9672
--- Comment #15 from Robert Wm Ruedisueli esd45@earthlink.net 2010-03-12 21:27:49 --- Yes I have encounterd this with the regular executable.
I suspected that it is possible that Wine is not properly implementing some of the page permission changes being done in the copy protection.
I did notice some access control subsystems in the last log I reviewed. However, I'm not sure if it is file writing or memory writing that's being changed.
I should check that the bug exists still on newer versions, as well.
Copy protection systems have been known to do some pretty weird stuff in order to alter their own code after load as a means to reduce the ability to hack the binaries.
http://bugs.winehq.org/show_bug.cgi?id=9672
Luke Bratch l_bratch@yahoo.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |l_bratch@yahoo.co.uk
http://bugs.winehq.org/show_bug.cgi?id=9672
bryony bryonycampbell@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |bryonycampbell@hotmail.com
http://bugs.winehq.org/show_bug.cgi?id=9672
Ralph Little littlesincanada@yahoo.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |littlesincanada@yahoo.co.uk
--- Comment #16 from Ralph Little littlesincanada@yahoo.co.uk 2011-04-17 23:58:48 CDT --- Still getting this in Wine 1.3 (at 933b3af981d11628b2c5e98a6f97a74a529e830f) in The Sims.
http://bugs.winehq.org/show_bug.cgi?id=9672
becca1573@yahoo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |becca1573@yahoo.com
http://bugs.winehq.org/show_bug.cgi?id=9672
--- Comment #17 from becca1573@yahoo.com 2011-05-10 23:17:19 CDT --- I really need your help. I know nothing about computers. I just installed the sime medieval on my mac and I know this forum is for the sims 3, but I am getting the same error. I have called EA 5 times and they have never heard of this error. I dug around in the contents folders and found a thing called cider. When I executed cider I found the error msg about and it mentioned wine debugging which is what eventually led me to this website. My problem is that I am not a programmer and have not installed wine or cider on my mac; they came on my sims installation cd. I don’t have any place to type the suggestions you give, even if I did know what I was doing. All I have to type in any commands on mac is terminal. All I want to do is play the game, which is supposed to be for mac and my computer specifications are fine. This is my last hope. I was going to call apple but I have to pay 50 dollars per call to get their help. I tried to attach my error message but the file is too large to attach and I dont know how to make a url for it, but it is the page fault on read access error.This forum is old, Hopefully someone is still watching.
Thanks! Becca
http://bugs.winehq.org/show_bug.cgi?id=9672
joaopa jeremielapuree@yahoo.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jeremielapuree@yahoo.fr
--- Comment #18 from joaopa jeremielapuree@yahoo.fr 2011-05-11 01:13:40 CDT --- It is not a user forum. And cider is not related to wine.
http://bugs.winehq.org/show_bug.cgi?id=9672
--- Comment #19 from becca1573@yahoo.com 2011-05-11 10:24:08 CDT --- I know its not a user problem, and cider might not be related to wine, but as far as I have found, the error message I am getting is a wine error...
unhandled page fault on read at address....
And I don't know where to go or who to call for help as EA games has never heard of the error
(In reply to comment #18)
It is not a user forum. And cider is not related to wine.
http://bugs.winehq.org/show_bug.cgi?id=9672
--- Comment #20 from Austin English austinenglish@gmail.com 2011-05-11 11:26:09 CDT --- (In reply to comment #19)
I know its not a user problem, and cider might not be related to wine, but as far as I have found, the error message I am getting is a wine error...
unhandled page fault on read at address....
And I don't know where to go or who to call for help as EA games has never heard of the error
(In reply to comment #18)
It is not a user forum. And cider is not related to wine.
Please use http://forums.winehq.org/ for user support.
http://bugs.winehq.org/show_bug.cgi?id=9672
--- Comment #21 from Ralph Little littlesincanada@yahoo.co.uk 2011-05-11 11:51:48 CDT --- I have this game and I am getting the problem.
Is there anything that I can do to track the issue down, provide further information? I am willing to spend some time on it.
Traces? debugging?
I don't think it is related to the Safedisk copy protection. It looks like it correctly identifies the disk and moves onto graphical issues.
http://bugs.winehq.org/show_bug.cgi?id=9672
Mateusz Butowski diablownik@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC|diablownik@gmail.com |
http://bugs.winehq.org/show_bug.cgi?id=9672
Dan Kegel dank@kegel.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dank@kegel.com
--- Comment #22 from Dan Kegel dank@kegel.com 2011-05-12 10:47:50 CDT --- Folks, if you're running the Mac version of a game on a Mac, winehq is not the place for support.
http://bugs.winehq.org/show_bug.cgi?id=9672
--- Comment #23 from Ralph Little littlesincanada@yahoo.co.uk 2011-05-12 11:25:48 CDT --- (In reply to comment #22)
Folks, if you're running the Mac version of a game on a Mac, winehq is not the place for support.
I think Becca got the message.
There is nothing to be gained from badgering her further.
As I said, I have the bug in 1.3 and I would like to get it running. Is there any way that I can progress this? I am a programmer although I do not have any experience in Wine debugging and do not have any DirectX programming experience but I am willing to put some time into it if anyone is willing to give me some pointers.
http://bugs.winehq.org/show_bug.cgi?id=9672
--- Comment #24 from Ralph Little littlesincanada@yahoo.co.uk 2011-05-12 19:08:26 CDT --- Created an attachment (id=34670) --> (http://bugs.winehq.org/attachment.cgi?id=34670) Trace file
Tracing through what is happening, the problem seems to be manifesting in the DirectDraw implementation.
The Sims calls CreateSurface() with DDSD->dwFlags & DDSD_PIXELFORMAT set to state that a pixformat is specified in u4.ddpfPixelFormat, but no optional flags are set in the pixelformat u4.ddpfPixelFormat.dwFlags [DDPIXELFORMAT].
The function PixelFormat_DD2WineD3D uses this to determine the proper WINE3D pixformat implementation. It does not cope with what I presume is the default situation of no flags having been set, the value being 0.
I'm thinking that if you provide 0 for u4.ddpfPixelFormat.dwFlags, you get some basic default, but I don't know what that would be.
Certainly, The Sims seems to be providing zero for this parameter.
Any ideas what is the proper behaviour in this circumstance?
I presume the crash is the game's inability to handle the failure of the surface create gracefully.
Attached is the relevant trace fragment (with my bit of debug "pixelformat given, flags = 0" added):
==== I have sent this request for information to wine-devel but I have copied it here so that people know what is going on.
http://bugs.winehq.org/show_bug.cgi?id=9672
--- Comment #25 from Ralph Little littlesincanada@yahoo.co.uk 2011-05-12 19:10:56 CDT --- Rigging PixelFormat_DD2WineD3D() to return WINED3DFMT_B2G3R3_UNORM by default to see what happens, the game runs up and looks good.
It does crash after about a minute (consistently) and there are lots of FIXMEs but it actually looks pretty cool. No bitmap corruptions or anything obviously untoward. Sound is good also, despite using PulseAudio :D
So there is hope.
http://bugs.winehq.org/show_bug.cgi?id=9672
Bruni earns.61@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |earns.61@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=9672
--- Comment #26 from Robert Wm Ruedisueli ruediix@gmail.com 2011-05-30 05:23:55 CDT --- This is just a shot in the dark, but could the format "0" be some sort of autodetect.
This would explain a lot. It would be worth someone with more knowledge in the area to write a test case for. Simply a routine that creates Shaders with pixelformat 0 and feeds it various known types and see what types display, and which ones don't. Then, we can match the behavior.
http://bugs.winehq.org/show_bug.cgi?id=9672
--- Comment #27 from Ralph Little littlesincanada@yahoo.co.uk 2011-05-30 09:28:51 CDT --- I will try this when I get a moment.
I had a burst of activity on a day off and the opportunity has not presented itself since ;)
http://bugs.winehq.org/show_bug.cgi?id=9672
Joaquim Pedro França Simão osmano807@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |osmano807@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=9672
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|directx-ddraw |directx-d3d
http://bugs.winehq.org/show_bug.cgi?id=9672
Bug 9672 depends on bug 12653, which changed state.
Bug 12653 Summary: The Sims 1.0 crashes on startup (SafeDisc 1.x: secdrv.sys doesn't support WinVer > Win2000) http://bugs.winehq.org/show_bug.cgi?id=12653
What |Old Value |New Value ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED Resolution| |DUPLICATE
http://bugs.winehq.org/show_bug.cgi?id=9672
--- Comment #28 from Ralph Little littlesincanada@yahoo.co.uk 2012-01-27 14:55:53 CST --- Looking into this at the moment, should have a solution in a few days.
http://bugs.winehq.org/show_bug.cgi?id=9672
Paulo Thiago paulo@cetesbr.org changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |paulo@cetesbr.org
http://bugs.winehq.org/show_bug.cgi?id=9672
--- Comment #29 from Ralph Little littlesincanada@yahoo.co.uk 2012-02-08 15:01:43 CST --- Created attachment 38754 --> http://bugs.winehq.org/attachment.cgi?id=38754 Full +ddraw trace log
http://bugs.winehq.org/show_bug.cgi?id=9672
--- Comment #30 from Ralph Little littlesincanada@yahoo.co.uk 2012-02-08 15:02:12 CST --- I have attached a full ddraw trace log.
https://bugs.winehq.org/show_bug.cgi?id=9672
--- Comment #31 from Austin English austinenglish@gmail.com --- This is your friendly reminder that there has been no bug activity for 2 years. Is this still an issue in current (1.7.16 or newer) wine?
https://bugs.winehq.org/show_bug.cgi?id=9672
--- Comment #32 from Ralph Little littlesincanada@yahoo.co.uk --- (In reply to Austin English from comment #31)
This is your friendly reminder that there has been no bug activity for 2 years. Is this still an issue in current (1.7.16 or newer) wine?
I think this is likely to be a problem still. If I remember correctly, the program is very sensitive to the returned options from one of the early calls, something to do with pixelformat calls.
I haven't run it for a while: I'll give it a go again.
https://bugs.winehq.org/show_bug.cgi?id=9672
--- Comment #33 from Ralph Little littlesincanada@yahoo.co.uk --- Nope, still a problem. I think it likely that the problem is in The Sims being too sensitive about what it is getting back from one of the early calls. I did get a lon way down tracking this one down. I'm pretty busy at the moment. If I get some time, I'll look into it again. Sorry, families do that :(
https://bugs.winehq.org/show_bug.cgi?id=9672
--- Comment #34 from Austin English austinenglish@gmail.com --- This is your friendly reminder that there has been no bug activity for over a year. Is this still an issue in current (1.7.51 or newer) wine?
https://bugs.winehq.org/show_bug.cgi?id=9672
--- Comment #35 from Ralph Little littlesincanada@yahoo.co.uk --- (In reply to Austin English from comment #34)
This is your friendly reminder that there has been no bug activity for over a year. Is this still an issue in current (1.7.51 or newer) wine?
Hi, I suspect not. I will try it again in the next day or two, though.
Ralph
https://bugs.winehq.org/show_bug.cgi?id=9672
--- Comment #36 from Ralph Little littlesincanada@yahoo.co.uk --- Looks like it has the same issue.
https://bugs.winehq.org/show_bug.cgi?id=9672
--- Comment #37 from Bruno Jesus 00cpxxx@gmail.com --- (In reply to Ralph Little from comment #36)
Looks like it has the same issue.
Please attach a new log+crash http://wiki.winehq.org/FAQ#get_log
https://bugs.winehq.org/show_bug.cgi?id=9672
Håkon haakobja@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |haakobja@gmail.com
--- Comment #38 from Håkon haakobja@gmail.com --- Created attachment 59002 --> https://bugs.winehq.org/attachment.cgi?id=59002 The Sims: Wine-2.15, mac
It is still a problem in Wine-2.15 on Mac. I've also tried it on Linux, and it seems to be the same problem.
Please note that both of the versions are cracked, due to a lack of cdrom drives at my end.
https://bugs.winehq.org/show_bug.cgi?id=9672
--- Comment #39 from Ralph Little littlesincanada@yahoo.co.uk --- I will try to run the game again and generate a new trace.
https://bugs.winehq.org/show_bug.cgi?id=9672
--- Comment #40 from joaopa jeremielapuree@yahoo.fr --- Does the bug still occur with wine-4.1?
https://bugs.winehq.org/show_bug.cgi?id=9672
--- Comment #41 from Håkon haakobja@gmail.com --- I just tried on my Fedora-box, and it seems to work. The intro video is running, I'm able to navigate the menus and I'm able to start a game.
However, when I go into "Living"-mode (it might be other modes as well) the game hangs and I get the following error in the logs: 0060:err:gstreamer:push_data Sending returned: -2
But this is a new bug.
https://bugs.winehq.org/show_bug.cgi?id=9672
--- Comment #42 from Håkon haakobja@gmail.com --- I forgot to say that I tried with Wine-staging-4.2 and the following setup:
glxinfo | grep -i version: GLX version: 1.4 Version: 18.3.4 Max core profile version: 3.3 Max compat profile version: 3.0 Max GLES1 profile version: 1.1 Max GLES[23] profile version: 3.0 OpenGL core profile version string: 3.3 (Core Profile) Mesa 18.3.4 OpenGL core profile shading language version string: 3.30 OpenGL version string: 3.0 Mesa 18.3.4 OpenGL shading language version string: 1.30 OpenGL ES profile version string: OpenGL ES 3.0 Mesa 18.3.4 OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.00
VGA: 00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09) 01:00.0 VGA compatible controller: NVIDIA Corporation GF119M [GeForce GT 520M] (rev a1)
https://bugs.winehq.org/show_bug.cgi?id=9672
Jakob jakob.rosenblattl@protonmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jakob.rosenblattl@protonmai | |l.com
--- Comment #43 from Jakob jakob.rosenblattl@protonmail.com --- Created attachment 71952 --> https://bugs.winehq.org/attachment.cgi?id=71952 terminal output
Still there with wine-7.1.
The Sims: Complete Collection works, so maybe one could try to find the problem by comparing these two versions?
Is there any way I could drive the development of a fix? Unfortunately, I have none of the necessary experience…
kernel: 5.4.178-1-MANJARO GPU: AMD Radeon RX 5700 graphics driver: AMDgpu
https://bugs.winehq.org/show_bug.cgi?id=9672
Cedric Heintz cedric@ced117.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |cedric@ced117.net