http://bugs.winehq.org/show_bug.cgi?id=10595
Summary: unhandled page fault running sid meier's pirates Product: Wine Version: 0.9.49. Platform: PC OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: wine-directx-d3d AssignedTo: wine-bugs@winehq.org ReportedBy: g9xhh5p02@sneakemail.com
Created an attachment (id=9396) --> (http://bugs.winehq.org/attachment.cgi?id=9396) console output
Environment:
- Ubuntu Linux 7.10: Gutsy Gibbon - xfce desktop - wine-0.9.49, installed form the winehq.org APT repository. - no windows installation - trying to run Sid Meier's Pirates! installed from cd with no patches - nVidia GeForce 6600 GT video card
I was able to install Sid Meier's Pirates without much trouble, and managed to get past the two animated studio splash screens at startup by pressing Esc before each one finished. (The screen was blank white instead of showing the animation, but the familiar splash screen audio played.) The game's title screen then appeared, and then the process seemed to stop dead. I did not reach the game's main menu.
Please see the attachment for wine console output.
Wine settings: - Application Settings -> Windows Version: Windows 98 - Graphics -> Allow DirectX apps to stop the mouse: no - Graphics -> Allow the window manager to control: yes - Graphics -> Emulate a virtual desktop: no - everything else is set at default values
Steps to reproduce:
Delete the .wine directory, and run wine config to create a new one. Run the Pirates! install program Try to start the game.
Directory and command line used to start the game:
junk@ocelot:~/.wine/drive_c/Program Files/Firaxis Games/Sid Meier's Pirates!$ wine Pirates!.exe
http://bugs.winehq.org/show_bug.cgi?id=10595
--- Comment #1 from Forest g9xhh5p02@sneakemail.com 2007-11-30 01:52:11 --- Created an attachment (id=9405) --> (http://bugs.winehq.org/attachment.cgi?id=9405) console output from another attempt
http://bugs.winehq.org/show_bug.cgi?id=10595
--- Comment #2 from Lei Zhang thestig@google.com 2007-11-30 12:07:59 --- Your copy of Wine does not have debugging symbols, so the backtrace is not very helpful. Try compiling your own copy of Wine (see http://wiki.winehq.org/Recommended_Packages) and then run the game again and post the console output.
http://bugs.winehq.org/show_bug.cgi?id=10595
--- Comment #3 from Forest g9xhh5p02@sneakemail.com 2007-12-01 00:47:04 --- I built wine 0.9.50 from source, but still don't see function names next to the addresses in the backtrace. Do I have to build with a special switch for debug symbols?
http://bugs.winehq.org/show_bug.cgi?id=10595
Forest g9xhh5p02@sneakemail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|wine-directx-d3d |wine-misc Version|0.9.49. |0.9.51.
--- Comment #4 from Forest g9xhh5p02@sneakemail.com 2007-12-15 14:52:33 --- I tried running wine with WINEDEBUG set, but I had to stop it because it was producing over a gigabyte of output. I tried compiling wine 0.9.50 with CFLAGS=-g, but that didn't seem to make any more function names appear in the backtrace.
I just tried again with wine 0.9.51, with similar results. I'd love to help solve this problem, but I need some guidance.
Here is the latest error message on the console:
wine: Unhandled page fault on write access to 0x177e484c at address 0x7bc41bf3 (thread 0013), starting debugger... Unhandled exception: page fault on write access to 0x177e484c in 32-bit code (0x7bc41bf3).
Backtrace:
=>1 0x7bc41bf3 in ntdll (+0x31bf3) (0x0033fb2c) 2 0x7bc41e9e in ntdll (+0x31e9e) (0x0033fb4c) 3 0x7bc42aee RtlAllocateHeap+0xae() in ntdll (0x0033fbac) 4 0x7cc873e0 in wined3d (+0x373e0) (0x0033fc0c) 5 0x7cd47db3 in d3d9 (+0x7db3) (0x0033fc6c) 6 0x7cd48039 D3D9CB_CreateSurface+0x99() in d3d9 (0x0033fcbc) 7 0x7cc8688f in wined3d (+0x3688f) (0x0033fd2c) 8 0x7cd505e9 IDirect3DDevice9Impl_CreateTexture+0xc9() in d3d9 (0x0033fd7c) 9 0x005d0155 in pirates! (+0x1d0155) (0x7cd5b3e0) 10 0x7cd442a0 in d3d9 (+0x42a0) (0x7cd483f0) 11 0xe5890000 (0x0010b955) 12 0x00000000 (0x00000000) 0x7bc41bf3: movl $0x45455246,0x4(%edi)
http://bugs.winehq.org/show_bug.cgi?id=10595
--- Comment #5 from Forest g9xhh5p02@sneakemail.com 2007-12-15 14:55:54 --- I have patched the game to its latest version, 1.0.2.0. This did not seem to help. Applying the no-cd crack didn't help either.
http://bugs.winehq.org/show_bug.cgi?id=10595
almalaci almalaci@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |almalaci@gmail.com
--- Comment #6 from almalaci almalaci@gmail.com 2007-12-18 15:13:58 --- I can confirm the bug on a similar system: Gutsy, gnome, nVidia GeForce 8600 GT. The game's behaviour is the same. I also cannot install the game due to a "Failed to open DSETUP.DLL" error message, I'm trying to run a copied windows install.
http://bugs.winehq.org/show_bug.cgi?id=10595
Lei Zhang thestig@google.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|0.9.51. |0.9.49.
--- Comment #7 from Lei Zhang thestig@google.com 2007-12-20 13:55:10 --- please do not change the original reported version.
re: debugging symbols - how did you compile wine? (you may want to take this discussion to the wine-users mailing list)
http://bugs.winehq.org/show_bug.cgi?id=10595
--- Comment #8 from Forest g9xhh5p02@sneakemail.com 2007-12-20 22:14:50 --- (In reply to comment #7)
please do not change the original reported version.
Okay. Is that so we can keep track of when the bug was first known to exist?
re: debugging symbols - how did you compile wine?
./configure --prefix=/home/junk/ap --with-wine-tools=.
CFLAGS=-g make
http://bugs.winehq.org/show_bug.cgi?id=10595
--- Comment #9 from Forest g9xhh5p02@sneakemail.com 2007-12-29 12:10:56 --- Created an attachment (id=9880) --> (http://bugs.winehq.org/attachment.cgi?id=9880) console output from wine 0.9.52
If someone can tell me how to get console output more useful than this for debugging, I'd be happy to.
http://bugs.winehq.org/show_bug.cgi?id=10595
--- Comment #10 from Austin English austinenglish@gmail.com 2008-06-03 14:50:40 --- Is this still an issue in 1.0-rc3? A +d3d trace would be a good start.
http://bugs.winehq.org/show_bug.cgi?id=10595
--- Comment #11 from almalaci almalaci@gmail.com 2008-06-05 17:30:28 --- (In reply to comment #10)
Is this still an issue in 1.0-rc3? A +d3d trace would be a good start.
It installs fine with 1.0-rc3 (need to copy all the install files from the two disks in a folder though) but the game hangs pretty much the same way as with older versions, the console output is the same as Comment #1 from Forest. I managed to see the intro screen once after copying some dll's into the Windows/System32 folder. How do I get a '+d3d trace'?
http://bugs.winehq.org/show_bug.cgi?id=10595
--- Comment #12 from Austin English austinenglish@gmail.com 2008-06-05 17:48:36 --- (In reply to comment #11)
(In reply to comment #10)
Is this still an issue in 1.0-rc3? A +d3d trace would be a good start.
It installs fine with 1.0-rc3 (need to copy all the install files from the two disks in a folder though) but the game hangs pretty much the same way as with older versions, the console output is the same as Comment #1 from Forest. I managed to see the intro screen once after copying some dll's into the Windows/System32 folder. How do I get a '+d3d trace'?
$ WINEDEBUG=+d3d wine your_program.exe &> /tmp/d3d.txt
http://bugs.winehq.org/show_bug.cgi?id=10595
--- Comment #13 from almalaci almalaci@gmail.com 2008-06-08 13:58:34 --- Created an attachment (id=13819) --> (http://bugs.winehq.org/attachment.cgi?id=13819) Sid Meier's Pirates! +d3d output (Wine 1.0-rc3)
Sid Meier's Pirates! +d3d output (Wine 1.0-rc3)
http://bugs.winehq.org/show_bug.cgi?id=10595
--- Comment #14 from almalaci almalaci@gmail.com 2008-06-08 14:00:47 --- Thanks for the help, here's the attachment of the output.
(In reply to comment #12)
(In reply to comment #11)
(In reply to comment #10)
Is this still an issue in 1.0-rc3? A +d3d trace would be a good start.
It installs fine with 1.0-rc3 (need to copy all the install files from the two disks in a folder though) but the game hangs pretty much the same way as with older versions, the console output is the same as Comment #1 from Forest. I managed to see the intro screen once after copying some dll's into the Windows/System32 folder. How do I get a '+d3d trace'?
$ WINEDEBUG=+d3d wine your_program.exe &> /tmp/d3d.txt
http://bugs.winehq.org/show_bug.cgi?id=10595
Marc ORcau budalokkos@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |budalokkos@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=10595
--- Comment #15 from Marc ORcau budalokkos@gmail.com 2008-08-27 21:28:40 --- (In reply to comment #10)
Is this still an issue in 1.0-rc3? A +d3d trace would be a good start.
For the last couple of months I also experienced this "Unhandled page fault in XXXX" message with different versions of Wine and fglrx drivers.
Happily it seems to be solved for me in 1.1.3 so it would be nice if almalaci and forest tested it so it can be closed. It is not that the game is playable now, but at least the menu appears and I have viewed the intro videos without any DLL tweaking at all.
Regards.
http://bugs.winehq.org/show_bug.cgi?id=10595
--- Comment #16 from almalaci almalaci@gmail.com 2008-09-26 16:53:39 --- I tried 1.1.5 and without any additional config and tweaking the game runs fairly well for me. There's a heap of d3d error in the console output but the game is even playable if you are determined. Between scenes and any time the game loads something (new ship on the horizon, etc), there's a delay. But I'm very impressed, I will even try to play a little for real now.
http://bugs.winehq.org/show_bug.cgi?id=10595
--- Comment #17 from Forest g9xhh5p02@sneakemail.com 2008-09-28 23:12:47 --- I just tested with wine 1.1.5 on Ubuntu Hardy. Installation went fine once I renamed my old .wine directory. The game started right up, with splash screens, movies, sound, and all. It seems to play as well (with some weird, very blocky shadows around model edges). Thank you!
http://bugs.winehq.org/show_bug.cgi?id=10595
Vitaliy Margolen vitaliy@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |FIXED
--- Comment #18 from Vitaliy Margolen vitaliy@kievinfo.com 2008-09-29 08:47:17 --- Reported fixed
http://bugs.winehq.org/show_bug.cgi?id=10595
Vitaliy Margolen vitaliy@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #19 from Vitaliy Margolen vitaliy@kievinfo.com 2008-09-29 08:47:30 --- Closing fixed in wine-1.1.5
http://bugs.winehq.org/show_bug.cgi?id=10595
--- Comment #20 from almalaci almalaci@gmail.com 2008-09-30 16:51:29 --- Forest, could you attach your console output please? I'm curious if you also have all those d3d "fixme's" and the overall choppiness of the game. Thanks!
(In reply to comment #19)
Closing fixed in wine-1.1.5
http://bugs.winehq.org/show_bug.cgi?id=10595
--- Comment #21 from Forest g9xhh5p02@sneakemail.com 2008-10-01 00:50:45 --- Created an attachment (id=16390) --> (http://bugs.winehq.org/attachment.cgi?id=16390) Console output from wine 1.1.5
I noticed almost no choppiness at all. I'm using a GeForce 8800GTS 512, an Intel dual-core 3GHz CPU, and a Sound Blaster Audigy 2ZS (which has hardware mixing). I'm using default wine application settings, no special DLLs, and the ALSA sound driver.
http://bugs.winehq.org/show_bug.cgi?id=10595
Forest g9xhh5p02@sneakemail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #16390|0 |1 is obsolete| |
--- Comment #22 from Forest g9xhh5p02@sneakemail.com 2008-10-01 00:59:30 --- Created an attachment (id=16391) --> (http://bugs.winehq.org/attachment.cgi?id=16391) Console output from wine 1.1.5
http://bugs.winehq.org/show_bug.cgi?id=10595
--- Comment #23 from almalaci almalaci@gmail.com 2008-10-01 15:30:38 --- Your command line output is almost identical to mine, I actually have a few less error messages. Still, there are delays in the game when something loads from the hard drive (sword fight for instance is quite choppy). This seems to be more of a wine issue and not the game. I'm using an AMD Athlon 64 2.3GHz CPU, GeForce 8600 GT 256MB video, onboard audio so I don't think it's a hardware issue.
Anyway, thanks a lot for posting your output, that assured me to look somewhere else.
(In reply to comment #21)
Created an attachment (id=16390)
--> (http://bugs.winehq.org/attachment.cgi?id=16390) [details]
Console output from wine 1.1.5
I noticed almost no choppiness at all. I'm using a GeForce 8800GTS 512, an Intel dual-core 3GHz CPU, and a Sound Blaster Audigy 2ZS (which has hardware mixing). I'm using default wine application settings, no special DLLs, and the ALSA sound driver.
http://bugs.winehq.org/show_bug.cgi?id=10595
--- Comment #24 from Forest g9xhh5p02@sneakemail.com 2008-10-01 21:24:31 ---
Still, there are delays in the game when something loads from the hard drive (sword fight for instance is quite choppy).
I do notice pauses in motion fairly often just after changing scenes, as if caused by waiting for sound or graphics files to load from disk. I don't characterize it as choppiness because it's maybe 1-3 pauses at a time, and only at certain transitions, not continuous behavior that would make the game unplayable. Something like the latter happened to me when playing Civ4 in wine on my old AMD system which was slower and had on-board audio. In any case, the issue probably belongs in a separate bug report, since it probably has nothing to do with the unhandled page faults described here.