http://bugs.winehq.org/show_bug.cgi?id=14511
Summary: Discworld Noir: segfault crash regression upon startup Product: Wine Version: 1.1.1 Platform: PC OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: ntdll AssignedTo: wine-bugs@winehq.org ReportedBy: drakh@spamcop.net CC: jon_p_griffiths@yahoo.com
Discworld Noir crashes due to a segmentation fault upon attempting to run the game. It will change screen resolution and black the screen, but fails before displaying the "Loading" graphic. This is a regression, caused by the following commit (assuming I did the regression test correctly):
1ad733e4e0a589bf2713121cf12c3cbf57799608 is first bad commit commit 1ad733e4e0a589bf2713121cf12c3cbf57799608 Author: Jon Griffiths jon_p_griffiths@yahoo.com Date: Fri Jun 20 00:19:09 2008 -0700
ntdll: Implement [Rtl]InitializeCriticalSectionEx.
:040000 040000 ec12af5b4d2ed0419484dbe1e93b5ccd07eca086 453f1ed108b3fad8f3e135ccd08f299866799033 M dlls :040000 040000 0b71251ecb6641f5300fcba465db355f7a9067aa 2ca394752d86bc84409c7076572fdcc28c1acfe4 M include
Before this, it would load and let you start a new game, before crashing with another segmentation fault after playing the intro. There is a report in the AppDB that the game was fully playable with WINE 0.9.59, though I've been unable to replicate that.
http://bugs.winehq.org/show_bug.cgi?id=14511
--- Comment #1 from drakh drakh@spamcop.net 2008-07-16 08:56:50 --- Created an attachment (id=14841) --> (http://bugs.winehq.org/attachment.cgi?id=14841) Full +relay,+snoop log
http://bugs.winehq.org/show_bug.cgi?id=14511
drakh drakh@spamcop.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |regression
http://bugs.winehq.org/show_bug.cgi?id=14511
Juho Salo jpe.salo@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jpe.salo@gmail.com
--- Comment #2 from Juho Salo jpe.salo@gmail.com 2008-07-20 16:03:56 --- I would not wholly agree. While the game does crash before you can actually play, this happens after clicking the NEW GAME-button and watching the intro (the detective being chased and killed).
In case someone needs help getting that far, these are the problems I encountered and how I got around them; 1. It asks for CD 2 but does not reconize it. I swapped the installation folder to C:\Discworld Noir and then tried again. It worked, dunno if it was "try again" or swapping the folder..
2. The resolution went screwy. Fixed that from WINE properties.
3. NO-CD was mentioned but I got as far as I got even without it. I installed it though, and it still worked.
# fixme:powrprof:DllMain (0x7e350000, 1, (nil)) not fully implemented # fixme:ntdll:NtPowerInformation Unimplemented NtPowerInformation action: 16 # fixme:win:EnumDisplayDevicesW ((null),0,0x32f9ac,0x00000000), stub! # fixme:x11drv:X11DRV_desktop_SetCurrentMode Cannot change screen BPP from 32 to 16 # fixme:d3d_surface:IWineD3DBaseSurfaceImpl_Blt Can't handle WINEDDBLT_ASYNC flag right now. # fixme:ntdll:NtPowerInformation Unimplemented NtPowerInformation action: 16 # fixme:ntdll:NtPowerInformation Unimplemented NtPowerInformation action: 16 # fixme:ntdll:NtPowerInformation Unimplemented NtPowerInformation action: 16 # fixme:advapi:RegisterEventSourceW ((null),L".NET Runtime Optimization Service"): stub # fixme:advapi:ReportEventW (0xcafe4242,0x0001,0x0000,0x00000457,(nil),0x0001,0x00000000,0x7e5d5254,(nil)): stub # err:eventlog:ReportEventW L".NET Runtime Optimization Service (clr_optimization_v2.0.50727_32) - Service reached limit of transient errors. Will shut down. Last error returned from Service Manager: 0x80070005.\n" # fixme:advapi:DeregisterEventSource (0xcafe4242) stub # fixme:advapi:RegisterEventSourceW ((null),L".NET Runtime Optimization Service"): stub # fixme:advapi:ReportEventW (0xcafe4242,0x0004,0x0000,0x00000454,(nil),0x0001,0x00000000,0x7e5d52c8,(nil)): stub # fixme:advapi:DeregisterEventSource (0xcafe4242) stub # Segmentation fault
http://bugs.winehq.org/show_bug.cgi?id=14511
--- Comment #3 from drakh drakh@spamcop.net 2008-07-20 17:11:42 --- Juho, I'm guessing you're using Wine 1.0 or eariler? As I noted in the bug description, what you're describing how far the game would get before the regression in Wine 1.1.0 that this bug is about. That is a different, though quite possibly related bug, and it will have to be tackled after this one is fixed.
http://bugs.winehq.org/show_bug.cgi?id=14511
--- Comment #4 from Juho Salo jpe.salo@gmail.com 2008-07-21 04:53:17 --- Yeah, Wine 1.0. I'm doing a slow Ubuntu update-cycle. (I wrote what I wrote quite tired, and forgot to check what's the latest Wine-version.)
Funny how the game apparently worked fine around 0.9.x
http://bugs.winehq.org/show_bug.cgi?id=14511
Peter Belm peterbelm@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |peterbelm@gmail.com
--- Comment #5 from Peter Belm peterbelm@gmail.com 2008-09-27 21:07:05 --- 1ad733e4e0a589bf2713121cf12c3cbf57799608 isn't the bad commit, that's just the first commit of the version you took the regression test back to.
I've taken it back to 0.9.58 and still no luck. I'm going to attempt to contact the tester who got it working, and possibly take it back even further to try and get it working.
http://bugs.winehq.org/show_bug.cgi?id=14511
--- Comment #6 from drakh drakh@spamcop.net 2008-09-28 06:44:28 --- (In reply to comment #5)
1ad733e4e0a589bf2713121cf12c3cbf57799608 isn't the bad commit, that's just the first commit of the version you took the regression test back to.
Huh? The commit was made on the 23rd of June, between 1.0 (17th) and 1.1.0 (27th). It was not the first commit of any version. And I've run the regression test twice now, and there's a clear change in the game's behavior after that patch, causing it to crash upon startup rather than well into the intro.
I've taken it back to 0.9.58 and still no luck.
Not even the company logos and intro? Are you sure you've got everything setup up correct and aren't running afoul of the game's copy protection or something?
http://bugs.winehq.org/show_bug.cgi?id=14511
--- Comment #7 from Peter Belm peterbelm@gmail.com 2008-09-28 08:10:33 --- Sorry, made a bit of an assumption there (it was late, been running regression tests all night, lol)
That is strange, I'm seeing the same segfault again and again. I'm using a no-cd crack (the original .exe has another error that I'm going to report later anyway), perhaps it's corrupted or something. Could you link me to the crack you are using?
http://bugs.winehq.org/show_bug.cgi?id=14511
--- Comment #8 from drakh drakh@spamcop.net 2008-09-28 09:08:13 --- (In reply to comment #7)
That is strange, I'm seeing the same segfault again and again. I'm using a no-cd crack (the original .exe has another error that I'm going to report later anyway), perhaps it's corrupted or something.
I haven't experienced any other Wine related errors (though I think it was a bit particular about where it wanted to be installed and which letter the CD-ROM drive should have etc.). And while I believe I did install a no-CD patch after the first regression test, that was only for convenience. As long as it finds the CD, it runs the same as with the patch.
Are you using a clean .wine dir? What distro are you using (I'm on Ubuntu 8.04.1)? Have you checked your copy on Windows to see if it works as it should there?
Could you link me to the crack you are using?
I'll dig it out and email it to you later.
http://bugs.winehq.org/show_bug.cgi?id=14511
--- Comment #9 from Peter Belm peterbelm@gmail.com 2008-09-28 11:28:35 --- I'm using Ubuntu 8.04.1 as well. My procedure for regression testing was:
Compile Completely delete testing Wine prefix Recreate testing prefix (wineboot) Symlink Discworld Noir directory into drive_c Restore .reg file to registry (contains only Discworld related keys) Test
In case something was wrong with this, I went back to the commit just before 1ad733e, completely deleted the prefix, recreated it by running winecfg, set Windows version to 95 (I'd previously been testing on XP which was probably the problem), completely reinstalled from CD, yet still when using the original .exe I get a different problem. I'll attach the output, please can you confirm if you get the same problem?
However, now when running with the no-cd, I do get as far as the end of the intro movie! :D
I can confirm 1ad733e4e0a589bf2713121cf12c3cbf57799608 is the bad commit.
http://bugs.winehq.org/show_bug.cgi?id=14511
--- Comment #10 from Peter Belm peterbelm@gmail.com 2008-09-28 11:33:27 --- Created an attachment (id=16328) --> (http://bugs.winehq.org/attachment.cgi?id=16328) Original .exe Output
This is the output from the original .exe.
http://bugs.winehq.org/show_bug.cgi?id=14511
--- Comment #11 from drakh drakh@spamcop.net 2008-09-28 14:17:34 --- (In reply to comment #9)
yet still when using the original .exe I get a different problem. I'll attach the output, please can you confirm if you get the same problem?
Nope, I am unable to replicate that error. Followed your procedure (chose Typical Install), but the game loads and runs until the segfault crash at the end of the intro movie as installed.
I can confirm 1ad733e4e0a589bf2713121cf12c3cbf57799608 is the bad commit.
Tahnks. :) Can you vote for it too, so that it'll get flagged as confirmed?
http://bugs.winehq.org/show_bug.cgi?id=14511
Peter Belm peterbelm@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1
--- Comment #12 from Peter Belm peterbelm@gmail.com 2008-09-28 14:25:03 --- *** This bug has been confirmed by popular vote. ***
http://bugs.winehq.org/show_bug.cgi?id=14511
Albert Astals Cid aacid@kde.org changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |aacid@kde.org
--- Comment #13 from Albert Astals Cid aacid@kde.org 2008-11-15 12:17:06 --- My experience: * Using Wine 1.0 i get the menu and wine crashes after the intro * Using Wine 1.1.8 i get the crash before getting into the menu
http://bugs.winehq.org/show_bug.cgi?id=14511
--- Comment #14 from drakh drakh@spamcop.net 2008-11-25 15:58:26 --- Since upgrading from Ubuntu 8.04 to 8.10 I'm no longer able to reproduce this bug on any of the previously affected Wine versions. The game still segfaults, but now it happens after the intro, as before the regression.
http://bugs.winehq.org/show_bug.cgi?id=14511
Michael Abbott michael@araneidae.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |michael@araneidae.co.uk
--- Comment #15 from Michael Abbott michael@araneidae.co.uk 2009-04-11 13:34:17 --- I can confirm this bug, on Ubuntu 8.10, wine 1.1.18, ATI drivers.
The start menu offers three entries, RESUME GAME, NEW GAME and OPTIONS. Clicking on either RESUME GAME or OPTIONS causes an immediate crash (well, there's a pause of a couple of seconds, enough for the sound to loop a couple of times), clicking on NEW GAME causes a crash after the startup video.
I had the same problem before and after installing the no cd crack.
The only message is a segmentation fault report.
http://bugs.winehq.org/show_bug.cgi?id=14511
--- Comment #16 from Austin English austinenglish@gmail.com 2009-10-12 14:55:44 --- Is this still an issue in current (1.1.31 or newer) wine?
http://bugs.winehq.org/show_bug.cgi?id=14511
--- Comment #17 from Albert Astals Cid aacid@kde.org 2009-10-15 15:24:57 --- Yes, crash still happens in 1.1.31
http://bugs.winehq.org/show_bug.cgi?id=14511
Jeff Zaroyko jeffz@jeffz.name changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #18 from Jeff Zaroyko jeffz@jeffz.name 2010-03-08 17:56:40 --- (In reply to comment #14)
Since upgrading from Ubuntu 8.04 to 8.10 I'm no longer able to reproduce this bug on any of the previously affected Wine versions. The game still segfaults, but now it happens after the intro, as before the regression.
We can mark this one fixed then if the reported crash due to the regression is no longer present.
Please file a new bug for the next crash.
http://bugs.winehq.org/show_bug.cgi?id=14511
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #19 from Alexandre Julliard julliard@winehq.org 2010-03-19 14:10:12 --- Closing bugs fixed in 1.1.41.