Grahame White
2007-Feb-20 17:14 UTC
[Wine] Problems running some games that used to work before
I used to play GTA3 with only a few minor niggles a while back and thought I'd give it a try with the most recent version of wine. I decided to do a full test, from installing to actually playing the game. The installation went perfectly but when ever I start wine now I get this error: wine: Unhandled page fault on read access to 0x00000004 at address 0x5ac67b (thread 0009), starting debugger... Unhandled exception: page fault on read access to 0x00000004 in 32-bit code (0x005ac67b). Register dump: CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:006b EIP:005ac67b ESP:0033fcb4 EBP:00000000 EFLAGS:00010246( - 00 -RIZP1) EAX:00000000 EBX:00000000 ECX:00000064 EDX:006ee274 ESI:00000000 EDI:7ffdf000 Stack dump: 0x0033fcb4: 00000000 005c2130 006ee270 005ac772 0x0033fcc4: 00000000 00000064 00000000 00000000 0x0033fcd4: 00000000 004791a6 00000000 00000064 0x0033fce4: 00000000 00000000 00000000 00000000 0x0033fcf4: 0048bbea 00000000 00000064 00000000 0x0033fd04: 00000000 0000008c 00165000 00171d3c Backtrace: =>1 0x005ac67b in gta3 (+0x1ac67b) (0x00000000) 0x005ac67b: movw 0x4(%esi),%dx Modules: Module Address Debug info Name (78 modules) PE 400000-981000 Export gta3 PE 21100000-2115c000 Deferred mss32 ELF 7bf00000-7bf03000 Deferred <wine-loader> ELF 7d075000-7d08a000 Deferred midimap<elf> \-PE 7d080000-7d08a000 \ midimap ELF 7d08a000-7d14b000 Deferred libasound.so.2 ELF 7d402000-7d41a000 Deferred msacm32<elf> \-PE 7d410000-7d41a000 \ msacm32 ELF 7d41a000-7d445000 Deferred winealsa<elf> \-PE 7d420000-7d445000 \ winealsa ELF 7d445000-7d44a000 Deferred libxfixes.so.3 ELF 7d44a000-7d453000 Deferred libxcursor.so.1 ELF 7d453000-7d46f000 Deferred imm32<elf> \-PE 7d460000-7d46f000 \ imm32 ELF 7d46f000-7d472000 Deferred libxrandr.so.2 ELF 7d472000-7d47a000 Deferred libxrender.so.1 ELF 7d47a000-7d47d000 Deferred libxinerama.so.1 ELF 7d9d1000-7da5e000 Deferred winex11<elf> \-PE 7d9e0000-7da5e000 \ winex11 ELF 7da91000-7dab1000 Deferred libexpat.so.1 ELF 7dab1000-7dadc000 Deferred libfontconfig.so.1 ELF 7dadc000-7daf0000 Deferred libz.so.1 ELF 7daf0000-7db5a000 Deferred libfreetype.so.6 ELF 7dbca000-7dbd5000 Deferred libgcc_s.so.1 ELF 7dcba000-7dcbc000 Deferred libnvidia-tls.so.1 ELF 7dcbc000-7e62d000 Deferred libglcore.so.1 ELF 7e62d000-7e6ac000 Deferred libglu.so.1 ELF 7e6ac000-7e740000 Deferred libgl.so.1 ELF 7e740000-7e7fa000 Deferred wined3d<elf> \-PE 7e750000-7e7fa000 \ wined3d ELF 7e7fa000-7e822000 Deferred d3d8<elf> \-PE 7e800000-7e822000 \ d3d8 ELF 7e822000-7e84e000 Deferred ws2_32<elf> \-PE 7e830000-7e84e000 \ ws2_32 ELF 7e84e000-7e868000 Deferred wsock32<elf> \-PE 7e850000-7e868000 \ wsock32 ELF 7e868000-7e8f6000 Deferred winmm<elf> \-PE 7e870000-7e8f6000 \ winmm ELF 7e8f6000-7e92c000 Deferred dinput<elf> \-PE 7e900000-7e92c000 \ dinput ELF 7e92c000-7e945000 Deferred dinput8<elf> \-PE 7e930000-7e945000 \ dinput8 ELF 7e945000-7e958000 Deferred libresolv.so.2 ELF 7e958000-7e976000 Deferred iphlpapi<elf> \-PE 7e960000-7e976000 \ iphlpapi ELF 7e976000-7e9cb000 Deferred rpcrt4<elf> \-PE 7e980000-7e9cb000 \ rpcrt4 ELF 7e9cb000-7ea5e000 Deferred gdi32<elf> \-PE 7e9e0000-7ea5e000 \ gdi32 ELF 7ea5e000-7eb98000 Deferred user32<elf> \-PE 7ea80000-7eb98000 \ user32 ELF 7eb98000-7ec31000 Deferred ole32<elf> \-PE 7ebb0000-7ec31000 \ ole32 ELF 7ec31000-7ec36000 Deferred libxdmcp.so.6 ELF 7ec36000-7ed22000 Deferred libx11.so.6 ELF 7ed22000-7ed30000 Deferred libxext.so.6 ELF 7ed30000-7ed35000 Deferred libxxf86vm.so.1 ELF 7ed35000-7ed4d000 Deferred libice.so.6 ELF 7ed4d000-7ed56000 Deferred libsm.so.6 ELF 7ed56000-7eda6000 Deferred ddraw<elf> \-PE 7ed60000-7eda6000 \ ddraw ELF 7eda6000-7edec000 Deferred advapi32<elf> \-PE 7edb0000-7edec000 \ advapi32 ELF 7edec000-7ef12000 Deferred kernel32<elf> \-PE 7ee10000-7ef12000 \ kernel32 ELF 7ef12000-7ef1d000 Deferred libnss_files.so.2 ELF 7ef1d000-7ef27000 Deferred libnss_nis.so.2 ELF 7ef27000-7ef3d000 Deferred libnsl.so.1 ELF 7ef3d000-7ef46000 Deferred libnss_compat.so.2 ELF 7ef46000-7ef6b000 Deferred libm.so.6 ELF 7ef6b000-7f000000 Deferred ntdll<elf> \-PE 7ef80000-7f000000 \ ntdll ELF f7ca0000-f7ca3000 Deferred libxau.so.6 ELF f7ca4000-f7ca8000 Deferred libdl.so.2 ELF f7ca8000-f7dda000 Deferred libc.so.6 ELF f7dda000-f7dec000 Deferred libpthread.so.0 ELF f7df5000-f7f06000 Deferred libwine.so.1 ELF f7f08000-f7f1f000 Deferred ld-linux.so.2 Threads: process tid prio (all id:s are in hex) 0000000b 0000000c 0 00000008 (D) H:\.wine\drive_c\Program Files\Rockstar Games\GTAIII\gta3.exe 0000000a -1 00000009 0 <= I did a bit of googling and found a few mentions that the exception I'm getting seems to be related to nvidia driver problems. I went through and checked my drivers but they seem to be running fine and other, native apps, that use them work fine. I then decided to try running another game, black and white, to see what would happen. This time I get the following error: fixme:d3d:IWineD3DDeviceImpl_GetAvailableTextureMem (0x168ff0) : stub, simulating 64MB for now, returning 64MB left fixme:ddraw:IDirectDrawImpl_SetCooperativeLevel (0x1da078)->((nil),00000008) fixme:d3d:IWineD3DStateBlockImpl_Release Releasing primary stateblock fixme:win:WIN_CreateWindowEx Parent is HWND_MESSAGE fixme:ddraw:IDirectDrawImpl_SetCooperativeLevel (0x1da078)->(0x10026,00000008) fixme:ddraw:IDirectDrawImpl_SetCooperativeLevel (0x1da078)->(0x10026,00000013) fixme:x11drv:X11DRV_desktop_SetCurrentMode Cannot change screen BPP from 32 to 16 fixme:ddraw:IDirectDrawImpl_SetCooperativeLevel (0x1da078)->(0x10026,00000013) fixme:ddraw:IDirectDrawImpl_SetCooperativeLevel (0x1da078)->(0x10026,00000013) fixme:d3d:IWineD3DDeviceImpl_ValidateDevice (0x1da810) : stub fixme:d3d:IWineD3DDeviceImpl_ValidateDevice (0x1da810) : stub fixme:d3d:IWineD3DDeviceImpl_ValidateDevice (0x1da810) : stub fixme:d3d:IWineD3DDeviceImpl_ValidateDevice (0x1da810) : stub fixme:d3d:IWineD3DDeviceImpl_ValidateDevice (0x1da810) : stub fixme:d3d:IWineD3DDeviceImpl_ValidateDevice (0x1da810) : stub fixme:d3d:IWineD3DDeviceImpl_ValidateDevice (0x1da810) : stub err:ddraw:IDirectDrawImpl_CreateNewSurface IWineD3DDevice::CreateSurface failed. hr = 8876017c err:ddraw:IDirectDrawImpl_CreateSurface IDirectDrawImpl_CreateNewSurface failed with 8876017c err:ddraw:IDirectDrawImpl_CreateNewSurface IWineD3DDevice::CreateSurface failed. hr = 8876017c err:ddraw:IDirectDrawImpl_CreateSurface IDirectDrawImpl_CreateNewSurface failed with 8876017c err:ddraw:IDirectDrawImpl_CreateNewSurface IWineD3DDevice::CreateSurface failed. hr = 8876017c err:ddraw:IDirectDrawImpl_CreateSurface IDirectDrawImpl_CreateNewSurface failed with 8876017c wine: Unhandled page fault on read access to 0x00000004 at address 0x454a88 (thread 0009), starting debugger... Unhandled exception: page fault on read access to 0x00000004 in 32-bit code (0x00454a88). Register dump: CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:006b EIP:00454a88 ESP:0033fde4 EBP:0308fb78 EFLAGS:00010206( - 00 - RIP1) EAX:00000000 EBX:00000000 ECX:0033f9c0 EDX:0033fa28 ESI:00000000 EDI:7ee6f990 Stack dump: 0x0033fde4: 00000000 00000000 7ee6f990 02e43a30 0x0033fdf4: 0308fb78 00454a65 00000000 008fd1ec 0x0033fe04: 00000000 02e43a30 0051e8f2 020800ec 0x0033fe14: 02080030 003493b0 00000000 005f2b95 0x0033fe24: 7ffdf000 00000000 0033fe68 7ee96960 0x0033fe34: 00f71c9f 00000001 00000258 00000320 Backtrace: =>1 0x00454a88 in runblack (+0x54a88) (0x0308fb78) 2 0x00000000 (0x00000000) 0x00454a88: movl 0x4(%ebx),%eax Modules: Module Address Debug info Name (99 modules) PE 340000-371000 Deferred lhlogr PE 380000-3dc000 Deferred lhaudiodllr PE 3e0000-3f1000 Deferred wearasr PE 400000-eea000 Export runblack PE ef0000-f62000 Deferred lhmultiplayerr PE f70000-f7d000 Deferred dsetup PE 10000000-10031000 Deferred ifc22 PE 18000000-1804e000 Deferred qmixer PE 30000000-30059000 Deferred binkw32 ELF 7bf00000-7bf03000 Deferred <wine-loader> ELF 7cc9e000-7cca9000 Deferred libgcc_s.so.1 ELF 7cd8e000-7ce0d000 Deferred libglu.so.1 ELF 7ce0d000-7cec7000 Deferred wined3d<elf> \-PE 7ce20000-7cec7000 \ wined3d ELF 7cfd7000-7cfec000 Deferred midimap<elf> \-PE 7cfe0000-7cfec000 \ midimap PE 7cff0000-7d004000 --none-- msacm32 ELF 7d004000-7d0c5000 Deferred libasound.so.2 ELF 7d357000-7d382000 Deferred winealsa<elf> \-PE 7d360000-7d382000 \ winealsa ELF 7d3aa000-7d3dc000 Deferred uxtheme<elf> \-PE 7d3b0000-7d3dc000 \ uxtheme ELF 7d3dc000-7d3e1000 Deferred libxfixes.so.3 ELF 7d3e1000-7d3ea000 Deferred libxcursor.so.1 ELF 7d3ea000-7d3ed000 Deferred libxrandr.so.2 ELF 7d3ed000-7d3f5000 Deferred libxrender.so.1 ELF 7d3f5000-7d3f8000 Deferred libxinerama.so.1 ELF 7d9b4000-7d9b6000 Deferred libnvidia-tls.so.1 ELF 7d9b6000-7e327000 Deferred libglcore.so.1 ELF 7e327000-7e3bb000 Deferred libgl.so.1 ELF 7e3c3000-7e450000 Deferred winex11<elf> \-PE 7e3d0000-7e450000 \ winex11 ELF 7e48a000-7e4aa000 Deferred libexpat.so.1 ELF 7e4aa000-7e4d5000 Deferred libfontconfig.so.1 ELF 7e4d5000-7e4e9000 Deferred libz.so.1 ELF 7e4e9000-7e553000 Deferred libfreetype.so.6 ELF 7e553000-7e56f000 Deferred imm32<elf> \-PE 7e560000-7e56f000 \ imm32 ELF 7e56f000-7e5a5000 Deferred dinput<elf> \-PE 7e580000-7e5a5000 \ dinput ELF 7e5a5000-7e5aa000 Deferred libxdmcp.so.6 ELF 7e5aa000-7e696000 Deferred libx11.so.6 ELF 7e696000-7e6a4000 Deferred libxext.so.6 ELF 7e6a4000-7e6bc000 Deferred libice.so.6 ELF 7e6bc000-7e6c5000 Deferred libsm.so.6 ELF 7e6c5000-7e715000 Deferred ddraw<elf> \-PE 7e6d0000-7e715000 \ ddraw ELF 7e715000-7e7a3000 Deferred winmm<elf> \-PE 7e720000-7e7a3000 \ winmm ELF 7e7a3000-7e7c9000 Deferred msacm32<elf> ELF 7e7c9000-7e7de000 Deferred psapi<elf> \-PE 7e7d0000-7e7de000 \ psapi ELF 7e7de000-7e826000 Deferred dbghelp<elf> \-PE 7e7f0000-7e826000 \ dbghelp ELF 7e826000-7e83d000 Deferred imagehlp<elf> \-PE 7e830000-7e83d000 \ imagehlp ELF 7e83d000-7e851000 Deferred lz32<elf> \-PE 7e840000-7e851000 \ lz32 ELF 7e851000-7e86a000 Deferred version<elf> \-PE 7e860000-7e86a000 \ version ELF 7e86a000-7e927000 Deferred comctl32<elf> \-PE 7e870000-7e927000 \ comctl32 ELF 7e927000-7e97c000 Deferred rpcrt4<elf> \-PE 7e930000-7e97c000 \ rpcrt4 ELF 7e97c000-7ea15000 Deferred ole32<elf> \-PE 7e990000-7ea15000 \ ole32 ELF 7ea15000-7ea6d000 Deferred shlwapi<elf> \-PE 7ea20000-7ea6d000 \ shlwapi ELF 7ea6d000-7eb62000 Deferred shell32<elf> \-PE 7ea80000-7eb62000 \ shell32 ELF 7eb62000-7ebf5000 Deferred gdi32<elf> \-PE 7eb70000-7ebf5000 \ gdi32 ELF 7ebf5000-7ed2f000 Deferred user32<elf> \-PE 7ec10000-7ed2f000 \ user32 ELF 7ed2f000-7ed75000 Deferred advapi32<elf> \-PE 7ed40000-7ed75000 \ advapi32 ELF 7ed75000-7ed88000 Deferred libresolv.so.2 ELF 7ed88000-7eda6000 Deferred iphlpapi<elf> \-PE 7ed90000-7eda6000 \ iphlpapi ELF 7eda6000-7edd2000 Deferred ws2_32<elf> \-PE 7edb0000-7edd2000 \ ws2_32 ELF 7edd2000-7edec000 Deferred wsock32<elf> \-PE 7ede0000-7edec000 \ wsock32 ELF 7edec000-7ef12000 Deferred kernel32<elf> \-PE 7ee10000-7ef12000 \ kernel32 ELF 7ef12000-7ef1d000 Deferred libnss_files.so.2 ELF 7ef1d000-7ef27000 Deferred libnss_nis.so.2 ELF 7ef27000-7ef3d000 Deferred libnsl.so.1 ELF 7ef3d000-7ef46000 Deferred libnss_compat.so.2 ELF 7ef46000-7ef6b000 Deferred libm.so.6 ELF 7ef6b000-7f000000 Deferred ntdll<elf> \-PE 7ef80000-7f000000 \ ntdll ELF f7d30000-f7d33000 Deferred libxau.so.6 ELF f7d33000-f7d38000 Deferred libxxf86vm.so.1 ELF f7d39000-f7d3d000 Deferred libdl.so.2 ELF f7d3d000-f7e6f000 Deferred libc.so.6 ELF f7e6f000-f7e81000 Deferred libpthread.so.0 ELF f7e8a000-f7f9b000 Deferred libwine.so.1 ELF f7f9d000-f7fb4000 Deferred ld-linux.so.2 Threads: process tid prio (all id:s are in hex) 0000000a 0000000b 0 00000008 (D) H:\.wine\drive_c\Program Files\Lionhead Studios Ltd\Black & White\runblack.exe 0000000f 0 0000000e 0 0000000d 15 00000009 0 <= Again I did some googling and stumbled upon a cedega support request that mentioned the same crash. I followed the suggestions there, deselect pixel shaders, try different windows versions and also trying no-cd patches to see if it's a copy protection problem, all gave the same results as before. The support request ended with the user removing B&W and reinstalling with Point2Play, not really an option as I don't use cedega. Also I'm no closer to a fix for GTA3 either :/ It's a shame as GTA3 was very close to working perfectly last time I tried it. I'm using debian unstable amd64 with the cvs version of wine compiled and running from a 32bit chroot. I had to do some fiddling to get it working the very first time, ie manually creating the nvidia device nodes in the 32bit chroot and building a dummy kernel driver to let the nvidia-glx be installed nicely. All of which worked before. Not all games crash though, I played all the way through Syberia I&II over the past couple of days with only a few minor glitches. If anyone has any suggestions I'd be greatfull. Grahame
Grahame White
2007-Feb-21 13:13 UTC
[Wine] Problems running some games that used to work before
On Tuesday 20 February 2007 22:33, Grahame White wrote:> I used to play GTA3 with only a few minor niggles a while back and > thought I'd give it a try with the most recent version of wine. I > decided to do a full test, from installing to actually playing the game. > The installation went perfectly but when ever I start wine now I get > this error: > > wine: Unhandled page fault on read access to 0x00000004 at address > 0x5ac67b (thread 0009), starting debugger... > Unhandled exception: page fault on read access to 0x00000004 in 32-bit > code (0x005ac67b).<snip crash output>> > It's a shame as GTA3 was very close to working perfectly last time I > tried it. > > I'm using debian unstable amd64 with the cvs version of wine compiled > and running from a 32bit chroot. I had to do some fiddling to get it > working the very first time, ie manually creating the nvidia device > nodes in the 32bit chroot and building a dummy kernel driver to let the > nvidia-glx be installed nicely. All of which worked before. Not all > games crash though, I played all the way through Syberia I&II over the > past couple of days with only a few minor glitches.I have now also tried removing the version of wine in the chroot and installing the debian packaged verion of 0.9.30 from unstable. Trying to run gta3.exe gives exactly the same error as the cvs version I posted about yesterday:/> > If anyone has any suggestions I'd be greatfull. > > Grahame > > _______________________________________________ > wine-users mailing list > wine-users@winehq.org > http://www.winehq.org/mailman/listinfo/wine-users