Unhandled page fault on 3d games

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
likpok
Newbie
Newbie
Posts: 1
Joined: Sat Mar 29, 2008 4:02 pm

Unhandled page fault on 3d games

Post by likpok »

Whenever I try to run certain games (System Shock 2, Narbacular drop (which have >=Gold Ratings)), wine dumps out a long list of errors looking like:

Code: Select all

wine: Unhandled page fault on read access to 0x00120028 at address 0x7ec0f8a4 (thread 014f), starting debugger...
wine: Unhandled page fault on read access to 0x00120028 at address 0x7ec048a4 (thread 0151), starting debugger...
err:seh:start_debugger Couldn't start debugger ("winedbg --auto 340 60") (4)
Furthermore, wine dumps

Code: Select all

0x8097160:1: Directory name=""
0x83b4d68:1: Handle table last=43 count=64 process=0x83b4c28
    0x4: 0x80983b0 04120089 File fd=0x81da5b8
    0x8: 0x81da630 04120116 File fd=0x81da668
    0xc: 0x81da6e0 04120116 File fd=0x81da718
    0x3c: 0x83b3eb8 041f0003 Event manual=1 signaled=1 name=""
    0xa8: 0x81e36e8 041f0003 Semaphore count=1 max=1 name=L"WINE_DPLAYX_SM"
    0xb0: 0x81e3b10 040f0007 Mapping size=00000000000a0000 prot=00000043 file=0x81e3c70 header_size=00000000 base=(nil) shared_file=(nil) name=L"WINE_DPLAYX_FM"
0x83b3eb8:1: Event manual=1 signaled=1 name=""
0x81e3ca8:1: Fd unix_fd=55 user=0x81e3c70 options=00000020
0x81e3c70:1: File fd=0x81e3ca8
0x81e3b10:1: Mapping size=00000000000a0000 prot=00000043 file=0x81e3c70 header_size=00000000 base=(nil) shared_file=(nil) name=L"WINE_DPLAYX_FM"
0x81e36e8:1: Semaphore count=1 max=1 name=L"WINE_DPLAYX_SM"
0x81da718:1: Fd unix_fd=22 user=0x81da6e0 options=00000020
0x81da6e0:1: File fd=0x81da718
0x81da668:1: Fd unix_fd=21 user=0x81da630 options=00000020
0x81da630:1: File fd=0x81da668
0x81da5b8:1: Fd unix_fd=20 user=0x80983b0 options=00000020
0x80983b0:1: File fd=0x81da5b8
0x8097428:2: Directory name=L"BaseNamedObjects"
to the console.

This does not happen with apps like the installers, utorrent, etc, nor did it happen with Starcraft.

I have run the SS2 tools, so my version is patched and the CD-check is removed.

I have tried running them both with and without the hardware vertex shader support, and tried both having the WM control the windows, and not controlling the windows.

I am running Arch x86_64, with wine version 0.9.56
Kernel version is 2.6.24, stock
My graphics card is ATi with the fglrx driver (a FireGL 5250)
Direct rendering is enabled, according to glxinfo.
tiggsy
Newbie
Newbie
Posts: 2
Joined: Sat May 24, 2008 10:21 am

Same problem on ubuntu running SelfImage

Post by tiggsy »

Ive fixed the first error (changed the sysctl.conf file), now I'm getting:

[code]Unhandled page fault on read access to 0x7b7fff4e at address 0x54a534 (thread 0009), starting debugger...
Unhandled exception: page fault on read access to 0x7b7fff4e in 32-bit code (0x0054a534).[/code]

and it dumps out the following:

[code]Register dump:
CS:0073 SS:007b DS:007b ES:007b FS:0033 GS:003b
EIP:0054a534 ESP:0032ff04 EBP:001494c1 EFLAGS:00010206( - 00 - RIP1)
EAX:0032ffe8 EBX:7b7fff00 ECX:00000000 EDX:00000000
ESI:0054c8fd EDI:00547ab0
Stack dump:
0x0032ff04: 0032ffe8 00547ab0 7b875be7 7ffdf000
0x0032ff14: 00000000 00000000 00000000 00000000
0x0032ff24: 00000000 00000000 ffffffff 7b82ec74
0x0032ff34: 7b8443f0 7b8b2888 7ffdf000 00000018
0x0032ff44: 0032ffe8 71fe21fe 1ab70109 00000000
0x0032ff54: 00000000 00000000 00000000 00000000
Backtrace:
=>1 0x0054a534 in selfimage (+0x14a534) (0x001494c1)
2 0x00000000 (0x00000000)
0x0054a534: cmpl $0x73696854,0x4e(%ebx)
Modules:
Module Address Debug info Name (86 modules)
PE 400000- 552000 Export selfimage
ELF 7b800000-7b92c000 Deferred kernel32<elf>
\-PE 7b820000-7b92c000 \ kernel32
ELF 7bc00000-7bca5000 Deferred ntdll<elf>
\-PE 7bc10000-7bca5000 \ ntdll
ELF 7bf00000-7bf03000 Deferred <wine-loader>
ELF 7e0f6000-7e0fa000 Deferred libgpg-error.so.0
ELF 7e0fa000-7e147000 Deferred libgcrypt.so.11
ELF 7e147000-7e157000 Deferred libtasn1.so.3
ELF 7e157000-7e15a000 Deferred libkeyutils.so.1
ELF 7e15a000-7e162000 Deferred libkrb5support.so.0
ELF 7e162000-7e194000 Deferred libcrypt.so.1
ELF 7e194000-7e20a000 Deferred libgnutls.so.13
ELF 7e20a000-7e22d000 Deferred libk5crypto.so.3
ELF 7e22d000-7e2ba000 Deferred libkrb5.so.3
ELF 7e2ba000-7e2e3000 Deferred libgssapi_krb5.so.2
ELF 7e2e3000-7e316000 Deferred libcups.so.2
ELF 7e370000-7e3a2000 Deferred uxtheme<elf>
\-PE 7e380000-7e3a2000 \ uxtheme
ELF 7e3a2000-7e3ab000 Deferred libxcursor.so.1
ELF 7e3ab000-7e3b0000 Deferred libxfixes.so.3
ELF 7e3b0000-7e3b3000 Deferred libxcomposite.so.1
ELF 7e3b3000-7e3b9000 Deferred libxrandr.so.2
ELF 7e3b9000-7e3c1000 Deferred libxrender.so.1
ELF 7e3c1000-7e3c4000 Deferred libxinerama.so.1
ELF 7e3c4000-7e3c9000 Deferred libxdmcp.so.6
ELF 7e3c9000-7e3e1000 Deferred libxcb.so.1
ELF 7e3e1000-7e3e3000 Deferred libxcb-xlib.so.0
ELF 7e3e3000-7e3e6000 Deferred libxau.so.6
ELF 7e3e6000-7e4cd000 Deferred libx11.so.6
ELF 7e4cd000-7e4db000 Deferred libxext.so.6
ELF 7e4db000-7e4f3000 Deferred libice.so.6
ELF 7e4f3000-7e4fb000 Deferred libsm.so.6
ELF 7e507000-7e50a000 Deferred libcom_err.so.2
ELF 7e50c000-7e59d000 Deferred winex11<elf>
\-PE 7e520000-7e59d000 \ winex11
ELF 7e5e4000-7e605000 Deferred libexpat.so.1
ELF 7e605000-7e62f000 Deferred libfontconfig.so.1
ELF 7e640000-7e655000 Deferred libz.so.1
ELF 7e655000-7e6c5000 Deferred libfreetype.so.6
ELF 7e6c5000-7e6f1000 Deferred ws2_32<elf>
\-PE 7e6d0000-7e6f1000 \ ws2_32
ELF 7e6f1000-7e70b000 Deferred wsock32<elf>
\-PE 7e700000-7e70b000 \ wsock32
ELF 7e70b000-7e71f000 Deferred lz32<elf>
\-PE 7e710000-7e71f000 \ lz32
ELF 7e71f000-7e738000 Deferred version<elf>
\-PE 7e720000-7e738000 \ version
ELF 7e738000-7e7da000 Deferred oleaut32<elf>
\-PE 7e750000-7e7da000 \ oleaut32
ELF 7e7da000-7e7ed000 Deferred libresolv.so.2
ELF 7e7ee000-7e7f3000 Deferred libxxf86vm.so.1
ELF 7e7fe000-7e81c000 Deferred iphlpapi<elf>
\-PE 7e800000-7e81c000 \ iphlpapi
ELF 7e81c000-7e87c000 Deferred rpcrt4<elf>
\-PE 7e830000-7e87c000 \ rpcrt4
ELF 7e87c000-7e920000 Deferred ole32<elf>
\-PE 7e890000-7e920000 \ ole32
ELF 7e920000-7e941000 Deferred mpr<elf>
\-PE 7e930000-7e941000 \ mpr
ELF 7e941000-7e977000 Deferred winspool<elf>
\-PE 7e950000-7e977000 \ winspool
ELF 7e977000-7e9d0000 Deferred shlwapi<elf>
\-PE 7e980000-7e9d0000 \ shlwapi
ELF 7e9d0000-7eada000 Deferred shell32<elf>
\-PE 7e9e0000-7eada000 \ shell32
ELF 7eada000-7eb83000 Deferred comdlg32<elf>
\-PE 7eae0000-7eb83000 \ comdlg32
ELF 7eb83000-7ec1e000 Deferred gdi32<elf>
\-PE 7eb90000-7ec1e000 \ gdi32
ELF 7ec1e000-7ed64000 Deferred user32<elf>
\-PE 7ec40000-7ed64000 \ user32
ELF 7ed64000-7ee23000 Deferred comctl32<elf>
\-PE 7ed70000-7ee23000 \ comctl32
ELF 7ee23000-7ee74000 Deferred advapi32<elf>
\-PE 7ee30000-7ee74000 \ advapi32
ELF 7ef94000-7ef9f000 Deferred libnss_files.so.2
ELF 7ef9f000-7efa9000 Deferred libnss_nis.so.2
ELF 7efa9000-7efc1000 Deferred libnsl.so.1
ELF 7efc1000-7efca000 Deferred libnss_compat.so.2
ELF 7efca000-7efef000 Deferred libm.so.6
ELF b7c73000-b7c77000 Deferred libdl.so.2
ELF b7c77000-b7dc6000 Deferred libc.so.6
ELF b7dc7000-b7ddf000 Deferred libpthread.so.0
ELF b7df0000-b7f05000 Deferred libwine.so.1
ELF b7f07000-b7f23000 Deferred ld-linux.so.2
Threads:
process tid prio (all id:s are in hex)
00000008 (D) Z:\home\tiggsy\Desktop\SelfImage\SelfImage.exe
00000009 0 <==
0000000c
00000016 0
00000014 0
00000010 0
0000000e 0
0000000d 0
00000011
00000015 0
00000013 0
00000012 0
Backtrace:
=>1 0x0054a534 in selfimage (+0x14a534) (0x001494c1)
2 0x00000000 (0x00000000)[/code]

which means nothing to me...
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Re: Same problem on ubuntu running SelfImage

Post by vitamin »

tiggsy wrote:Ive fixed the first error (changed the sysctl.conf file), now I'm getting:

Code: Select all

Unhandled page fault on read access to 0x7b7fff4e at address 0x54a534 (thread 0009), starting debugger...
Unhandled exception: page fault on read access to 0x7b7fff4e in 32-bit code (0x0054a534).
Looks like your wine is not properly compiled - you missing dependencies. such as preloader.
tiggsy
Newbie
Newbie
Posts: 2
Joined: Sat May 24, 2008 10:21 am

Incorrectly installed?

Post by tiggsy »

I used the standard ubuntu Synaptic install.

Then I got the preloader errors that meant I had to amend a file and change a number to 0, that fixed the preloader problems.

So i don't understand what you are saying.
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Re: Incorrectly installed?

Post by vitamin »

tiggsy wrote:I used the standard ubuntu Synaptic install.
Sorry looked like you compiled Wine yourself. Try latest Wine version wine-1.0-rc2
Locked