http://bugs.winehq.org/show_bug.cgi?id=12653
Summary: The Sims crashes on startup Product: Wine Version: 0.9.59. Platform: PC OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: kernel32 AssignedTo: wine-bugs@winehq.org ReportedBy: chris@chrobis.com
Created an attachment (id=12299) --> (http://bugs.winehq.org/attachment.cgi?id=12299) The Sims backtrace when running in Win 98 mode (game designed for)
The game "The Sims" (v.1) crashes on startup and does not run. Oddly, when running Wine in Win 95 or 98 mode (which is what the game is designed for), I get a number of error messages asking to set Wine to NT4.0 or 3.1 (see log: sims98.txt). These do not appear when I run in NT4.0 (see log: simsnt4.txt) or in XP mode (sims.txt).
http://bugs.winehq.org/show_bug.cgi?id=12653
--- Comment #1 from Chris Wales chris@chrobis.com 2008-04-19 11:03:37 --- Created an attachment (id=12300) --> (http://bugs.winehq.org/attachment.cgi?id=12300) Sims backtrace running in NT4 mode (as asked for when run in Win 98)
http://bugs.winehq.org/show_bug.cgi?id=12653
--- Comment #2 from Chris Wales chris@chrobis.com 2008-04-19 11:04:10 --- Created an attachment (id=12301) --> (http://bugs.winehq.org/attachment.cgi?id=12301) Sims backtrace running in XP mode (for comparison)
http://bugs.winehq.org/show_bug.cgi?id=12653
--- Comment #3 from Luke Bratch l_bratch@yahoo.co.uk 2008-04-19 11:42:52 --- This game uses SafeDisc, so this a dupe of bug 219.
http://bugs.winehq.org/show_bug.cgi?id=12653
--- Comment #4 from Chris Wales chris@chrobis.com 2008-04-19 11:53:53 --- Created an attachment (id=12302) --> (http://bugs.winehq.org/attachment.cgi?id=12302) Sims backtrace when using a no-cd patch, Win 98 mode
I tried also running it with a no-cd patch; different set of complaints and the screen does go black briefly as if the game is about to start; however it still crashes and produces the backtrace attached (simsnocd.txt)
http://bugs.winehq.org/show_bug.cgi?id=12653
--- Comment #5 from vmp32k vampire@lifetimeblood.info 2008-05-11 19:29:39 --- Created an attachment (id=12949) --> (http://bugs.winehq.org/attachment.cgi?id=12949) Sims Backtrace when running in WinXP mode
Backtrace running The Sims 1 (boxed version (1.0?)) on wine-1.0-rc1 on Ubuntu Hardy x86_64
http://bugs.winehq.org/show_bug.cgi?id=12653
Chadwick Ferguson chadwick@clan-mac.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1
--- Comment #6 from Chadwick Ferguson chadwick@clan-mac.com 2008-08-05 01:27:39 --- *** This bug has been confirmed by popular vote. ***
http://bugs.winehq.org/show_bug.cgi?id=12653
Chadwick Ferguson chadwick@clan-mac.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |chadwick@clan-mac.com
http://bugs.winehq.org/show_bug.cgi?id=12653
--- Comment #7 from Alejandro alejandro@vonmankowski.de 2008-08-31 04:03:26 --- Created an attachment (id=15756) --> (http://bugs.winehq.org/attachment.cgi?id=15756) The Sims console output (winXP)
http://bugs.winehq.org/show_bug.cgi?id=12653
Robert Wm Ruedisueli esd45@earthlink.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |esd45@earthlink.net
--- Comment #8 from Robert Wm Ruedisueli esd45@earthlink.net 2008-10-06 06:36:20 --- According to my research on Safedisc the following will assist in proper execution of SafeDisc programs:
Programs, libraries, and modules should be able to write to themselves unless explicitly said otherwise. This "default off" self-protection is an unusual, and possibly dangerous "standard" in Windows, but must be done to follow (unwritten) standard.
Additionally, they should be able to create overlapping pages. This is another unusual behavior that Windows permits.
To allow both these functions Wine would have to be compiled with certain modules explicitly not using libMudFlap nor libSafe if installed, and explicitly modified to deactivate checks on programs attacking themselves.
http://bugs.winehq.org/show_bug.cgi?id=12653
--- Comment #9 from Dmitry Timoshkov dmitry@codeweavers.com 2008-10-06 07:25:50 --- (In reply to comment #8)
According to my research on Safedisc the following will assist in proper execution of SafeDisc programs: Programs, libraries, and modules should be able to write to themselves unless explicitly said otherwise. This "default off" self-protection is an unusual, and possibly dangerous "standard" in Windows, but must be done to follow (unwritten) standard.
That's not true.
Additionally, they should be able to create overlapping pages. This is another unusual behavior that Windows permits. To allow both these functions Wine would have to be compiled with certain modules explicitly not using libMudFlap nor libSafe if installed, and explicitly modified to deactivate checks on programs attacking themselves.
Before suggesting the solutions please provide the test cases (preferably integrated into Wine test suite) confirming the above claims.
http://bugs.winehq.org/show_bug.cgi?id=12653
--- Comment #10 from Robert Wm Ruedisueli esd45@earthlink.net 2008-10-10 06:54:10 --- (In reply to comment #9)
Before suggesting the solutions please provide the test cases (preferably integrated into Wine test suite) confirming the above claims.
OK, I made a presumption that you were reading the console outputs and checking my statements there.
Here is where I see it from http://bugs.winehq.org/attachment.cgi?id=15756: --Snip-- Unhandled exception: page fault on write access to 0x0043f69c in 32-bit code (0x00143440). --Snip-- =>1 0x00143440 (0x00017e2c) 0x00143440: andb %dh,0x0(%esp,%edx,1) --Snip-- This command will and the %dh with the item and the 32bit Stack Pointer added to the 32bit data pointer, which results in the address of 0x0043f69c, it will then place it there at that same memory address (0x0043f69c).
It just happens, that this runs a cross-page exploit from a data-command write to the stack pointer, directly into the executable segment of The Sims binary, done by a kernel call from The Sims binary. It was most likely intended to do this.
The only part of my analysis that is presumption is that this is intentionally done by the copy protection system to change an specific instruction or constant in the Sims binary, which is a reasonable assumption as many copy protection systems are known to do this.
Also, could you point me to where to get this wine test suite you speak of, it would be helpful, as I could help trace where the exact code segment is that needs to be changed, as not to create this crash when run in this manner.
http://bugs.winehq.org/show_bug.cgi?id=12653
--- Comment #11 from Dmitry Timoshkov dmitry@codeweavers.com 2008-10-10 08:48:34 --- Looks like a duplicate of the bug 9672.
http://bugs.winehq.org/show_bug.cgi?id=12653
--- Comment #12 from Robert Wm Ruedisueli esd45@earthlink.net 2008-10-10 21:20:03 --- Created an attachment (id=16575) --> (http://bugs.winehq.org/attachment.cgi?id=16575) error log from The Sims: Complete Collection on Wine 1.1.5 for Ubuntu build.
http://bugs.winehq.org/show_bug.cgi?id=12653
--- Comment #13 from Robert Wm Ruedisueli esd45@earthlink.net 2008-10-11 02:59:44 --- (In reply to comment #11)
Looks like a duplicate of the bug 9672.
Yes, That is a more specific bug, I was expressing that maybe the function should be allowed. This could be done by marking an executable to contain it's stack like Windows does, and then blocking stack overflows with another method. I was attempting to collaborate a little to try and see what other people thought of my analysis.
Maybe we should mark it as the blocker, and find someone who's computer is creating that crash.
Interestingly, I got a different bug on my wine (stock 1.1.5) I'm going to try it with the newly released 1.1.6 stock, and then with git.
http://bugs.winehq.org/show_bug.cgi?id=12653
--- Comment #14 from Dmitry Timoshkov dmitry@codeweavers.com 2008-10-11 03:41:02 --- Have you tried the workaround provided in the comment #4 of the bug 9672?
http://bugs.winehq.org/show_bug.cgi?id=12653
Philipp Weissenbacher philipp.weissenbacher@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |philipp.weissenbacher@gmail. | |com
--- Comment #15 from Philipp Weissenbacher philipp.weissenbacher@gmail.com 2008-10-11 08:19:49 --- Bug 9672 is most certainly a duplicate of this one.
Attaching error log with current stable (1.1.6) for Ubuntu 8.04.
http://bugs.winehq.org/show_bug.cgi?id=12653
--- Comment #16 from Philipp Weissenbacher philipp.weissenbacher@gmail.com 2008-10-11 08:20:50 --- Created an attachment (id=16577) --> (http://bugs.winehq.org/attachment.cgi?id=16577) Error log for wine 1.1.6 and The Sims Super Deluxe XL
http://bugs.winehq.org/show_bug.cgi?id=12653
--- Comment #17 from Robert Wm Ruedisueli esd45@earthlink.net 2008-10-11 10:34:01 --- Created an attachment (id=16580) --> (http://bugs.winehq.org/attachment.cgi?id=16580) Sims Complete Collection with 1.1.6 stock Ubuntu Linux build (from Wine ubuntu repository)
Obviously not the same crash. I think there are multiple bugs here.
Stated duplicate bug is obviously a duplicate of one of the bugs subset in this bug, should be a blocker.
http://bugs.winehq.org/show_bug.cgi?id=12653
--- Comment #18 from Vitaliy Margolen vitaliy@kievinfo.com 2008-10-11 12:27:57 --- (In reply to comment #16) This is dup of bug 15551.
http://bugs.winehq.org/show_bug.cgi?id=12653
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |DUPLICATE
--- Comment #19 from Austin English austinenglish@gmail.com 2008-10-11 17:37:25 --- Dupe
*** This bug has been marked as a duplicate of bug 15551 ***
http://bugs.winehq.org/show_bug.cgi?id=12653
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #20 from Austin English austinenglish@gmail.com 2008-10-11 17:37:42 --- Closing.
http://bugs.winehq.org/show_bug.cgi?id=12653
--- Comment #21 from Robert Wm Ruedisueli esd45@earthlink.net 2008-10-11 21:32:12 --- Created an attachment (id=16591) --> (http://bugs.winehq.org/attachment.cgi?id=16591) Trace on NTDLL channel
trace on NTDLL channel as NTDLL was indicated as the launch segment for the segfault.
Still read fault error, not the write fault error.
Seems there are multiple bugs.
http://bugs.winehq.org/show_bug.cgi?id=12653
Vitaliy Margolen vitaliy@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|CLOSED |REOPENED Resolution|DUPLICATE |
--- Comment #22 from Vitaliy Margolen vitaliy@kievinfo.com 2008-10-12 12:15:53 --- Who said this bug was a duplicate? Reopening.
http://bugs.winehq.org/show_bug.cgi?id=12653
Vitaliy Margolen vitaliy@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Depends on| |15551
http://bugs.winehq.org/show_bug.cgi?id=12653
--- Comment #23 from Robert Wm Ruedisueli esd45@earthlink.net 2008-10-12 18:18:43 --- (In reply to comment #22)
Who said this bug was a duplicate? Reopening.
The other one clearly is a blocker, however, should it be marked as such?
http://bugs.winehq.org/show_bug.cgi?id=12653
Vitaliy Margolen vitaliy@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Blocks| |9672
http://bugs.winehq.org/show_bug.cgi?id=12653
Robert Wm Ruedisueli esd45@earthlink.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #16591|0 |1 is obsolete| |
--- Comment #24 from Robert Wm Ruedisueli esd45@earthlink.net 2008-10-13 19:39:36 --- Created an attachment (id=16632) --> (http://bugs.winehq.org/attachment.cgi?id=16632) Trace on NTOSKRNL channel w/ Wine GIT~2008.10.12 on Ubuntu Linux 8.04
I obsoleted the NTDLL which includes the problem call to the kernel to the kernel traces themselves.
http://bugs.winehq.org/show_bug.cgi?id=12653
--- Comment #25 from Vitaliy Margolen vitaliy@kievinfo.com 2008-10-13 20:33:14 --- (In reply to comment #24)
Created an attachment (id=16632)
--> (http://bugs.winehq.org/attachment.cgi?id=16632) [details]
Trace on NTOSKRNL channel w/ Wine GIT~2008.10.12 on Ubuntu Linux 8.04
This crash is bug 15551 and not related to this one.
http://bugs.winehq.org/show_bug.cgi?id=12653
--- Comment #26 from Vitaliy Margolen vitaliy@kievinfo.com 2008-10-13 20:34:03 --- (In reply to comment #24)
Created an attachment (id=16632)
--> (http://bugs.winehq.org/attachment.cgi?id=16632) [details]
Trace on NTOSKRNL channel w/ Wine GIT~2008.10.12 on Ubuntu Linux 8.04
I obsoleted the NTDLL which includes the problem call to the kernel to the kernel traces themselves.
PLEASE READ what I said already before!!! Stop posting the same stuff over and over again. The bug I pointed to is not fixed.
http://bugs.winehq.org/show_bug.cgi?id=12653
Bug 12653 depends on bug 15551, which changed state.
Bug 15551 Summary: SafeDisc regression http://bugs.winehq.org/show_bug.cgi?id=15551
What |Old Value |New Value ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED
http://bugs.winehq.org/show_bug.cgi?id=12653
--- Comment #27 from Robert Wm Ruedisueli esd45@earthlink.net 2008-10-17 23:44:07 --- (In reply to comment #26)
(In reply to comment #24)
Created an attachment (id=16632)
--> (http://bugs.winehq.org/attachment.cgi?id=16632) [details] [details]
Trace on NTOSKRNL channel w/ Wine GIT~2008.10.12 on Ubuntu Linux 8.04
I obsoleted the NTDLL which includes the problem call to the kernel to the kernel traces themselves.
PLEASE READ what I said already before!!! Stop posting the same stuff over and over again. The bug I pointed to is not fixed.
Those were both the same log.
Or can you not read.
Anyways, it's still a blocker when a new bug prevents us from fixing this bug. Anyways, There was a lot of regression in 1.1.6, and I'll wait for 1.1.7 to work further.
I need to give 1.0.1 a try soon(In reply to comment #26)
(In reply to comment #24)
Created an attachment (id=16632)
--> (http://bugs.winehq.org/attachment.cgi?id=16632) [details] [details]
Trace on NTOSKRNL channel w/ Wine GIT~2008.10.12 on Ubuntu Linux 8.04
I obsoleted the NTDLL which includes the problem call to the kernel to the kernel traces themselves.
PLEASE READ what I said already before!!! Stop posting the same stuff over and over again. The bug I pointed to is not fixed.
Well, that is the current crash most people are getting, so until that bug is resolved, then that is the current "crash on startup." Could you be a little easier going and take a look from my perspective. I do not see this issue as one problem. It seems this program is hitting bug after bug. I have seen no fewer than 3 different crash causes now, all in the startup sequence. I don't think that it is unlikely that we are hitting multiple bugs.
Just because we that bug is causing the crash on 1.1.6 doesn't mean it's causing the crash on 1.1.5 ior 1.0.1. So be a little more respectful, and don't insult people's intelligence by claiming this bug has only one cause.
http://bugs.winehq.org/show_bug.cgi?id=12653
--- Comment #28 from Robert Wm Ruedisueli esd45@earthlink.net 2008-10-19 17:00:12 --- (In reply to comment #26) I'm sorry for blowing up on you like that. Anyways, what I was trying to say, was that the people from this bug should work on that bug, and know exactly what part of that bug is interfering with this bug. After all, that bug is rather broad.
Anyways, they were two logs of the same run situation one NTDLL one NTOSKRNL. It's important to have records of logs when these two bugs occure, so we know if a similar regression occures again, and we can get right no it. I felt the NTOSKRNL log was more accurate. As a note, the 1.1.6 crashes on a different error, as it doesn't have the regression. This is why I obsolited the NTDLL one.
Next time I post the log I will mark those logs obsolite so long as the new logs appear different.
Again I'm sorry for letting my temper rule my wording. It happens to all of us at one time or another.
http://bugs.winehq.org/show_bug.cgi?id=12653
--- Comment #29 from Vitaliy Margolen vitaliy@kievinfo.com 2008-10-19 18:27:38 --- (In reply to comment #28) If you didn't notice bug 15551 is fixed. You can get the latest GIT and continue on.
http://bugs.winehq.org/show_bug.cgi?id=12653
Robert Wm Ruedisueli esd45@earthlink.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #16575|0 |1 is obsolete| | Attachment #16580|0 |1 is obsolete| | Attachment #16632|0 |1 is obsolete| |
--- Comment #30 from Robert Wm Ruedisueli esd45@earthlink.net 2008-11-22 03:20:40 --- Created an attachment (id=17397) --> (http://bugs.winehq.org/attachment.cgi?id=17397) Sims Complete Collection on Wine 1.1.9 OpenSUSE (Stock OpenSUSE Buildteam version)
From this updated error output
There are sections that I think may need looking into by someone who knows more about the regions of code:
FixMes in: service and advapi
and then the Errs in seh:raise_exception
I obsolited my old error logs because they were all before the kernel regression was fixed.
http://bugs.winehq.org/show_bug.cgi?id=12653
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Depends on| |219
http://bugs.winehq.org/show_bug.cgi?id=12653
Robert Wm Ruedisueli esd45@earthlink.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #17397|0 |1 is obsolete| |
--- Comment #31 from Robert Wm Ruedisueli esd45@earthlink.net 2008-12-11 17:06:31 --- Created an attachment (id=17846) --> (http://bugs.winehq.org/attachment.cgi?id=17846) Standard Options log of Sims Complete Collection under Wine 1.1.10
Note issues with following API portions: Services, AdvAPI
All related to adjusting permission. Likely Wine is preventing anti-debugger routines from running. I'm not sure if this is part of SafeDisc or a secondary protection program.
If someone needs a full trace, speak up.
http://bugs.winehq.org/show_bug.cgi?id=12653
Jeff Zaroyko jeffz@jeffz.name changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |obfuscation
http://bugs.winehq.org/show_bug.cgi?id=12653
--- Comment #32 from Robert Wm Ruedisueli esd45@earthlink.net 2009-01-07 21:05:19 --- OK, I did a little more research today, and depending on the version of your binary the Sims uses various SafeDisc versions ranging from 1.4 (the orriginal 1.0 release) to 2.9 (Making Magic, Double Deluxe, Complete Collection, etc.)
I had suspected that there was such varience, and this may be causing problems in the efforts to debug this software.
Due to this I will start attaching my Outside package title, outside package ISBN#, Outside Package part#, region and disc 1 copyright date in the details of any future output logs and AppDB entries I post, and recommend that other people do the same.
BTW my version is Complete Collection ISBN# 0-7845-3856-5 Part# 1647411, US, (C) 2005
http://bugs.winehq.org/show_bug.cgi?id=12653
--- Comment #33 from Austin English austinenglish@gmail.com 2009-07-08 15:05:24 --- Is this still an issue in current (1.1.25 or newer) wine?
http://bugs.winehq.org/show_bug.cgi?id=12653
--- Comment #34 from Chris Wales chris@chrobis.com 2009-07-09 13:59:54 --- Confirmed still present in Wine 1.1.25. I'm attaching a fresh console log
http://bugs.winehq.org/show_bug.cgi?id=12653
Chris Wales chris@chrobis.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #12301|0 |1 is obsolete| |
--- Comment #35 from Chris Wales chris@chrobis.com 2009-07-09 14:02:44 --- Created an attachment (id=22302) --> (http://bugs.winehq.org/attachment.cgi?id=22302) Console log for The Sims
http://bugs.winehq.org/show_bug.cgi?id=12653
Johan Gill johan.gill@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |johan.gill@gmail.com
--- Comment #36 from Johan Gill johan.gill@gmail.com 2009-07-21 15:46:28 --- Chris, which Sims release do you run?
http://bugs.winehq.org/show_bug.cgi?id=12653
--- Comment #37 from Chris Wales chris@chrobis.com 2009-07-21 16:00:53 --- Just the vanilla version, straight out of the box... I'll run again in 1.1.26 now and report back shortly :)
http://bugs.winehq.org/show_bug.cgi?id=12653
--- Comment #38 from Chris Wales chris@chrobis.com 2009-07-21 16:18:15 --- Yup, still present in 1.1.26 - console output looks the same, and I still get the following complains if I attempt to run in Win98 mode:
fixme:vxd:VXD_Open Unknown/unsupported VxD L"sice.vxd". Try setting Windows version to 'nt40' or 'win31'. fixme:vxd:VXD_Open Unknown/unsupported VxD L"siwvid.vxd". Try setting Windows version to 'nt40' or 'win31'. fixme:vxd:VXD_Open Unknown/unsupported VxD L"ntice.vxd". Try setting Windows version to 'nt40' or 'win31'.
Other than that, the errors generated from running as Win2000 or WinXP are the same. I get the output shown in the topmost attachment above, and a dialog saying "The program Sims.exe has encountered a serious problem and needs to close."
http://bugs.winehq.org/show_bug.cgi?id=12653
--- Comment #39 from Johan Gill johan.gill@gmail.com 2009-07-21 17:26:13 --- At the moment this bug is a bit non-focused. Could we settle for one version of the sims to discuss here, and keep the other one in another bug? That way, when the issue is solved for one version, that bug can be closed.
http://bugs.winehq.org/show_bug.cgi?id=12653
Chris Wales chris@chrobis.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|The Sims crashes on startup |The Sims 1.0 crashes on | |startup
--- Comment #40 from Chris Wales chris@chrobis.com 2009-07-22 03:31:11 --- I've modified the title - I think it was always meant to be about The Sims 1.0 (there are no mentions of The Sims 2 or The Sims 3 here; and Sims 1 is listed an affected app). If we need more specific than that, let's focus on it as a simple vanilla install of The Sims 1.0 - no patches, no expansion packs.
http://bugs.winehq.org/show_bug.cgi?id=12653
--- Comment #41 from Johan Gill johan.gill@gmail.com 2009-07-27 05:25:38 --- Something goes wrong accessing the Secdrv device. To be continued...
http://bugs.winehq.org/show_bug.cgi?id=12653
--- Comment #42 from Johan Gill johan.gill@gmail.com 2009-07-27 05:28:07 --- Looking at a relay trace, the Secdrv service is started, but "\.\Secdrv" is still not found.
http://bugs.winehq.org/show_bug.cgi?id=12653
--- Comment #43 from Vitaliy Margolen vitaliy@kievinfo.com 2009-07-27 08:13:05 --- What version of safedisk is this?
http://bugs.winehq.org/show_bug.cgi?id=12653
Vitaliy Margolen vitaliy@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |vitaliy@kievinfo.com
http://bugs.winehq.org/show_bug.cgi?id=12653
--- Comment #44 from Johan Gill johan.gill@gmail.com 2009-07-27 09:28:04 --- Version 1.40.4.
If I try to just throw a handle back at the app, it does DeviceIoControl. Darn.
http://bugs.winehq.org/show_bug.cgi?id=12653
--- Comment #45 from Vitaliy Margolen vitaliy@kievinfo.com 2009-07-27 19:03:43 --- Attach +ntoskrnl,+tid trace.
http://bugs.winehq.org/show_bug.cgi?id=12653
--- Comment #46 from Johan Gill johan.gill@gmail.com 2009-07-28 18:29:24 --- Well, it seems CreateFile fails because Wine simply doesn't support accessing devices with CreateFile except for filesystem devices and some special cases like AUX, CON and so on.
I can provide some logs after some sleep.
http://bugs.winehq.org/show_bug.cgi?id=12653
--- Comment #47 from Vitaliy Margolen vitaliy@kievinfo.com 2009-07-28 18:59:13 --- (In reply to comment #46)
Well, it seems CreateFile fails because Wine simply doesn't support accessing devices with CreateFile except for filesystem devices and some special cases like AUX, CON and so on.
Wrong. I don't even want to go into details, you can see for yourself in ntdll, server & ntoskrnl.exe
http://bugs.winehq.org/show_bug.cgi?id=12653
--- Comment #48 from Johan Gill johan.gill@gmail.com 2009-08-02 07:36:28 --- Created an attachment (id=22779) --> (http://bugs.winehq.org/attachment.cgi?id=22779) Trace from OpenService to the failed CreateFile
Ok, I misunderstood some parts of the DOS device code.
What really happens is that the wineserver can't find "/??/Secdrv". I guess the driver setup should create it somewhere, but I haven't found it in the code yet.
http://bugs.winehq.org/show_bug.cgi?id=12653
--- Comment #49 from Johan Gill johan.gill@gmail.com 2009-08-02 07:39:58 --- I meant ??\Secdrv.
http://bugs.winehq.org/show_bug.cgi?id=12653
--- Comment #50 from Robert Wm Ruedisueli esd45@earthlink.net 2010-03-12 21:18:11 --- I was interested in making some fresh logs for debuggers on this, sometime later this month (a little busy right now, barely enough time to check up on this bug)
Any specific log options that I should use?
Also, are there any hidden options I should change before hand, either by winetricks or by hand?
Maybe recent enhancements to wine will at least shed some light on the issues.
Last I checked (mid-february) the game (The Sims Complete Collection multi-CD version) still did not work on Wine, but now installs 100% OK.
http://bugs.winehq.org/show_bug.cgi?id=12653
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=12653
--- Comment #51 from Robert Wm Ruedisueli esd45@earthlink.net 2010-07-14 20:23:08 --- Anyone test this recently. I was going to test this with the latest version of Wine the next time I had a free moment.
http://bugs.winehq.org/show_bug.cgi?id=12653
Vitaliy Margolen vitaliy@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC|vitaliy@kievinfo.com |
http://bugs.winehq.org/show_bug.cgi?id=12653
--- Comment #52 from Fernando fernandocarvalho1987@hotmail.com 2010-12-07 21:15:17 CST --- Created an attachment (id=32405) --> (http://bugs.winehq.org/attachment.cgi?id=32405) Execution log of the sims
The Sims is not starting on wine 1.3.8 and Ubuntu 10.10.
http://bugs.winehq.org/show_bug.cgi?id=12653
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |focht@gmx.net
--- Comment #53 from Anastasius Focht focht@gmx.net 2011-06-07 15:59:21 CDT --- Hello,
please retest this using recent Wine set to "Windows 2000". If Sims 1.0 is using SafeDisc 1.x this the same issue as bug 21147 (so possible dupe). If it still doesn't work, state exact Wine version and the version of SafeDisc using ProtectionID Scanner.
Regards
http://bugs.winehq.org/show_bug.cgi?id=12653
Bug 12653 depends on bug 219, which changed state.
Bug 219 Summary: Programs refuse to run because of safedisc copy-protection http://bugs.winehq.org/show_bug.cgi?id=219
What |Old Value |New Value ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED
http://bugs.winehq.org/show_bug.cgi?id=12653
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|The Sims 1.0 crashes on |The Sims 1.0 crashes on |startup |startup (SafeDisc 1.x: | |secdrv.sys doesn't support | |WinVer > Win2000)
--- Comment #54 from Anastasius Focht focht@gmx.net 2012-01-27 13:57:52 CST --- Hello,
bought the game for a few bucks. There is nothing to fix here.
As I already guessed (comment #53) you have to set WinVer to "Windows 2000" to have the SafeDisc 1.x driver to work.
--- snip --- -=[ ProtectionID v0.6.4.0 JULY]=- (c) 2003-2010 CDKiLLER & TippeX Build 07/08/10-17:57:05 Ready...
Scanning -> Z:\home\focht.wine\drive_c\Program Files\Maxis\Die Sims\Dplayerx.dll File Type : 32-Bit Dll (Subsystem : Win GUI / 2), Size : 172544 (02A200h) Byte(s) [File Heuristics] -> Flag : 00000000000001001100000000000001 (0x0004C001) [!] Safedisc core dll (dplayerx.dll) detected! [CompilerDetect] -> Visual C++ 5.0 - Scan Took : 0.558 Second(s)
Scanning -> Z:\home\focht.wine\drive_c\Program Files\Maxis\Die Sims\Drvmgt.dll File Type : 32-Bit Dll (Subsystem : Win GUI / 2), Size : 31744 (07C00h) Byte(s) [File Heuristics] -> Flag : 00000000000001001100000000000000 (0x0004C000) [!] Safedisc driver managment dll (drvmgt.dll) detected! [CompilerDetect] -> Visual C++ 5.0 - Scan Took : 0.575 Second(s)
Scanning -> Z:\home\focht.wine\drive_c\Program Files\Maxis\Die Sims\Secdrv.sys File Type : 32-Bit Driver (good checksum) (Subsystem : Native / 1), Size : 10848 (02A60h) Byte(s) -> File has 2368 (0940h) bytes of appended data starting at offset 02120h [File Heuristics] -> Flag : 00000000000000000000000000000111 (0x00000007) [!] Safedisc protection driver (secdrv.sys) detected! - Scan Took : 0.571 Second(s)
Scanning -> Z:\home\focht.wine\drive_c\Program Files\Maxis\Die Sims\Sims.exe File Type : 32-Bit Exe (Subsystem : Win GUI / 2), Size : 265928 (040EC8h) Byte(s) -> File has 18120 (046C8h) bytes of appended data starting at offset 03C800h [File Heuristics] -> Flag : 00000000000001001100000000000101 (0x0004C005) [!] Safedisc v1.40.004 detected ! [CompilerDetect] -> Visual C++ 5.0 - Scan Took : 0.541 Second(s) --- snip ---
Regards
http://bugs.winehq.org/show_bug.cgi?id=12653
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED Component|kernel32 |-unknown Resolution| |DUPLICATE
--- Comment #55 from Anastasius Focht focht@gmx.net 2012-01-27 13:59:19 CST --- Hello,
marking dupe of bug 21147
Regards
*** This bug has been marked as a duplicate of bug 21147 ***
http://bugs.winehq.org/show_bug.cgi?id=12653
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #56 from Austin English austinenglish@gmail.com 2012-01-28 14:04:17 CST --- Closing.
http://bugs.winehq.org/show_bug.cgi?id=12653
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |gaming4jc2@yahoo.com
--- Comment #57 from Anastasius Focht focht@gmx.net 2013-10-04 13:12:41 CDT --- *** Bug 21105 has been marked as a duplicate of this bug. ***