Unable to run Perfect World in Wine

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
Owie
Newbie
Newbie
Posts: 4
Joined: Sun Mar 15, 2009 2:27 pm

Unable to run Perfect World in Wine

Post by Owie »

Recently, I tried install a game called Perfect World, which has not been tested in Wine yet. To my surprise, the installer ran beautifully. However, when I went to open it from the desktop shortcut, I received an error. WineHelper's log had this to say:

Code: Select all

 pflfixme:d3d:IWineD3DImpl_FillGLCaps OpenGL implementation supports 16 vertex samplers and 16 total samplers
fixme:d3d:IWineD3DImpl_FillGLCaps Expected vertex samplers + MAX_TEXTURES(=8) > combined_samplers
wine: Unhandled page fault on execute access to 0x00000000 at address 0x0 (thread 0009), starting debugger...
”¡±°”¡±°pÉUnhandled exception: page fault on execute access to 0x00000000 in 32-bit code (0x00000000).
Register dump:
 CS:0017 SS:001f DS:001f ES:001f FS:1007 GS:0037
 EIP:00000000 ESP:0032f07c EBP:0032f8c8 EFLAGS:00010202(   - 00      - -RI1)
 EAX:0032f244 EBX:61a25cf8 ECX:00000001 EDX:00000000
 ESI:72cef711 EDI:0032f133
Stack dump:
0x0032f07c:  61a3135e 00008804 000088b5 0032f244
0x0032f08c:  61af8900 00000010 00000010 60287160
0x0032f09c:  60287160 93f65489 602fc080 00000000
0x0032f0ac:  6084a248 60287101 60287160 00000000
0x0032f0bc:  96471535 602363b4 00008086 00000006
0x0032f0cc:  00000008 6013d038 00000008 00000010
0200: sel=1007 base=7ffc0000 limit=0000ffff 32-bit rw-
Backtrace:
=>1 0x00000000 (0x0032f8c8)
  2 0x61a41103 (0x0032fd88)
  3 0x61ae724f (0x0032fde8)
  4 0x6068a17c (0x0032fe58)
  5 0x00331ac2 in sysinfo (+0x1ac2) (0x0032fe88)
  6 0x00331a4d in sysinfo (+0x1a4d) (0x0032feac)
  7 0x0040ab35 in patcher (+0xab35) (0x0032ff48)
  8 0x7b87165d in kernel32 (+0x6165d) (0x0032ffe8)
0x00000000: -- no code accessible --
Modules:
Module	Address			Debug info	Name (22 modules)
PE	  330000-  337000	Export          sysinfo
PE	  400000-  491000	Export          patcher
PE	10000000-10013000	Deferred        packdll
PE	60160000-60164000	Deferred        advapi32
PE	60410000-60425000	Deferred        user32
PE	605b0000-605b4000	Deferred        gdi32
PE	60680000-60684000	Deferred        d3d8
PE	606c0000-606c4000	Deferred        msvcrt
PE	60740000-60744000	Deferred        ddraw
PE	607c0000-607c4000	Deferred        olepro32
PE	61b40000-61b44000	Deferred        ole32
PE	61cc0000-61cc4000	Deferred        rpcrt4
PE	61d50000-61d9d000	Deferred        winmm
PE	61df0000-61e02000	Deferred        comctl32
PE	61f00000-61f04000	Deferred        oleaut32
PE	623c0000-623c8000	Deferred        wininet
PE	62440000-62446000	Deferred        shlwapi
PE	624c0000-6254f000	Deferred        shell32
PE	62630000-62636000	Deferred        winspool
PE	62af0000-62af4000	Deferred        opengl32
PE	7b810000-7b889000	Export          kernel32
PE	7bc10000-7bc14000	Deferred        ntdll
Threads:
process  tid      prio (all id:s are in hex)
00000008 (D) C:\Program Files\Perfect World Entertainment\Perfect World International\patcher\patcher.exe
	00000017    0
	00000009    0 <==
0000000c 
	00000014    0
	00000013    0
	00000012    0
	0000000e    0
	0000000d    0
0000000f 
	00000016    0
	00000015    0
	00000011    0
	00000010    0
00000018 
	00000019    0
Backtrace:
=>1 0x00000000 (0x0032f8c8)
  2 0x61a41103 (0x0032fd88)
  3 0x61ae724f (0x0032fde8)
  4 0x6068a17c (0x0032fe58)
  5 0x00331ac2 in sysinfo (+0x1ac2) (0x0032fe88)
  6 0x00331a4d in sysinfo (+0x1a4d) (0x0032feac)
  7 0x0040ab35 in patcher (+0xab35) (0x0032ff48)
  8 0x7b87165d in kernel32 (+0x6165d) (0x0032ffe8)
What happened? I am using the Intel Mac build of wine that can be found here. If you guys need anything, I can probably find it without too much help.
Vincent Povirk

Unable to run Perfect World in Wine

Post by Vincent Povirk »

The log doesn't say anything useful. Try with WINEDEBUG=relay,seh,tid

Vincent Povirk
Owie
Newbie
Newbie
Posts: 4
Joined: Sun Mar 15, 2009 2:27 pm

Post by Owie »

Tried that. It started to run. Then, 213 pages of code later, it quit out again. The full log can be found here. Here is the last bit:

Code: Select all

0019:Call KERNEL32.TlsGetValue(00000000) ret=61c3c98e
0019:Ret  KERNEL32.TlsGetValue() retval=001206d0 ret=61c3c98e
0019:Call user32.DestroyWindow(00000000) ret=61c3c9af
0019:Ret  user32.DestroyWindow() retval=00000000 ret=61c3c9af
0019:Call KERNEL32.GetProcessHeap() ret=61c3c9b7
0019:Ret  KERNEL32.GetProcessHeap() retval=00110000 ret=61c3c9b7
0019:Call ntdll.RtlFreeHeap(00110000,00000000,001206d0) ret=61c3c9d0
0019:Ret  ntdll.RtlFreeHeap() retval=00000001 ret=61c3c9d0
0019:Call KERNEL32.TlsFree(00000000) ret=61c3da34
0019:Ret  KERNEL32.TlsFree() retval=00000001 ret=61c3da34
0019:Ret  PE DLL (proc=0x61c45ba2,module=0x61c30000 L"imm32.dll",reason=PROCESS_DETACH,res=0x1) retval=1
0019:Call PE DLL (proc=0x60724284,module=0x606a0000 L"gdi32.dll",reason=PROCESS_DETACH,res=0x1)
0019:Ret  PE DLL (proc=0x60724284,module=0x606a0000 L"gdi32.dll",reason=PROCESS_DETACH,res=0x1) retval=1
0019:Call PE DLL (proc=0x60457fc1,module=0x60410000 L"rpcrt4.dll",reason=PROCESS_DETACH,res=0x1)
0019:Ret  PE DLL (proc=0x60457fc1,module=0x60410000 L"rpcrt4.dll",reason=PROCESS_DETACH,res=0x1) retval=1
0019:Call PE DLL (proc=0x60196bff,module=0x60180000 L"iphlpapi.dll",reason=PROCESS_DETACH,res=0x1)
0019:Ret  PE DLL (proc=0x60196bff,module=0x60180000 L"iphlpapi.dll",reason=PROCESS_DETACH,res=0x1) retval=1
0019:Call PE DLL (proc=0x604d3449,module=0x60490000 L"advapi32.dll",reason=PROCESS_DETACH,res=0x1)
0019:Ret  PE DLL (proc=0x604d3449,module=0x60490000 L"advapi32.dll",reason=PROCESS_DETACH,res=0x1) retval=1
0019:Call PE DLL (proc=0x7b8a9fef,module=0x7b810000 L"KERNEL32.dll",reason=PROCESS_DETACH,res=0x1)
0019:Ret  PE DLL (proc=0x7b8a9fef,module=0x7b810000 L"KERNEL32.dll",reason=PROCESS_DETACH,res=0x1) retval=1
0019:Call PE DLL (proc=0x7bc7fe7e,module=0x7bc10000 L"ntdll.dll",reason=PROCESS_DETACH,res=0x1)
0019:Ret  PE DLL (proc=0x7bc7fe7e,module=0x7bc10000 L"ntdll.dll",reason=PROCESS_DETACH,res=0x1) retval=1
0019:Call KERNEL32.__wine_dll_unregister_16(61c496ac) ret=61c3c594
0019:Ret  KERNEL32.__wine_dll_unregister_16() retval=7b940aa0 ret=61c3c594
000d:Ret  KERNEL32.WaitForSingleObjectEx() retval=00000000 ret=60172066
000d:Call KERNEL32.CloseHandle(00000048) ret=60172124
0010:Call PE DLL (proc=0x605c1fc1,module=0x60570000 L"rpcrt4.dll",reason=PROCESS_DETACH,res=0x1)
0010:Ret  PE DLL (proc=0x605c1fc1,module=0x60570000 L"rpcrt4.dll",reason=PROCESS_DETACH,res=0x1) retval=1
000d:Ret  KERNEL32.CloseHandle() retval=00000001 ret=60172124
000d:Call advapi32.RegCloseKey(00000020) ret=6017360c
0010:Call PE DLL (proc=0x6060fbff,module=0x60600000 L"iphlpapi.dll",reason=PROCESS_DETACH,res=0x1)
0010:Ret  PE DLL (proc=0x6060fbff,module=0x60600000 L"iphlpapi.dll",reason=PROCESS_DETACH,res=0x1) retval=1
0010:Call PE DLL (proc=0x6041e112,module=0x60410000 L"ntoskrnl.exe",reason=PROCESS_DETACH,res=0x1)
000d:Ret  advapi32.RegCloseKey() retval=00000000 ret=6017360c
000d:Call ntdll.RtlDeleteCriticalSection(0011a500) ret=6017361d
0010:Ret  PE DLL (proc=0x6041e112,module=0x60410000 L"ntoskrnl.exe",reason=PROCESS_DETACH,res=0x1) retval=1
000d:Ret  ntdll.RtlDeleteCriticalSection() retval=00000000 ret=6017361d
000d:Call KERNEL32.GetProcessHeap() ret=60173625
000d:Ret  KERNEL32.GetProcessHeap() retval=00110000 ret=60173625
000d:Call ntdll.RtlFreeHeap(00110000,00000000,0011a4f0) ret=6017363e
000d:Ret  ntdll.RtlFreeHeap() retval=00000001 ret=6017363e
000d:Call KERNEL32.ExitProcess(00000000) ret=6017d5cc
000d:Call PE DLL (proc=0x60457fc1,module=0x60410000 L"rpcrt4.dll",reason=PROCESS_DETACH,res=0x1)
0010:Call PE DLL (proc=0x601be449,module=0x60180000 L"advapi32.dll",reason=PROCESS_DETACH,res=0x1)
000d:Ret  PE DLL (proc=0x60457fc1,module=0x60410000 L"rpcrt4.dll",reason=PROCESS_DETACH,res=0x1) retval=1
000d:Call PE DLL (proc=0x601a1bff,module=0x60190000 L"iphlpapi.dll",reason=PROCESS_DETACH,res=0x1)
000d:Ret  PE DLL (proc=0x601a1bff,module=0x60190000 L"iphlpapi.dll",reason=PROCESS_DETACH,res=0x1) retval=1
0010:Ret  PE DLL (proc=0x601be449,module=0x60180000 L"advapi32.dll",reason=PROCESS_DETACH,res=0x1) retval=1
0010:Call PE DLL (proc=0x7b8a9fef,module=0x7b810000 L"KERNEL32.dll",reason=PROCESS_DETACH,res=0x1)
0010:Ret  PE DLL (proc=0x7b8a9fef,module=0x7b810000 L"KERNEL32.dll",reason=PROCESS_DETACH,res=0x1) retval=1
0010:Call PE DLL (proc=0x7bc7fe7e,module=0x7bc10000 L"ntdll.dll",reason=PROCESS_DETACH,res=0x1)
0010:Ret  PE DLL (proc=0x7bc7fe7e,module=0x7bc10000 L"ntdll.dll",reason=PROCESS_DETACH,res=0x1) retval=1
000d:Call PE DLL (proc=0x604d3449,module=0x60490000 L"advapi32.dll",reason=PROCESS_DETACH,res=0x1)
000d:Ret  PE DLL (proc=0x604d3449,module=0x60490000 L"advapi32.dll",reason=PROCESS_DETACH,res=0x1) retval=1
000d:Call PE DLL (proc=0x7b8a9fef,module=0x7b810000 L"KERNEL32.dll",reason=PROCESS_DETACH,res=0x1)
000d:Ret  PE DLL (proc=0x7b8a9fef,module=0x7b810000 L"KERNEL32.dll",reason=PROCESS_DETACH,res=0x1) retval=1
000d:Call PE DLL (proc=0x7bc7fe7e,module=0x7bc10000 L"ntdll.dll",reason=PROCESS_DETACH,res=0x1)
000d:Ret  PE DLL (proc=0x7bc7fe7e,module=0x7bc10000 L"ntdll.dll",reason=PROCESS_DETACH,res=0x1) retval=1
Hope this helps.
Vincent Povirk

Unable to run Perfect World in Wine

Post by Vincent Povirk »

Looks like I was wrong. The d3d fixme messages are probably relevant,
as they show up just before the crash happens.

I know nothing of d3d and can't help you debug it.

Please file a bug and set the component to directx-d3d.

Vincent Povirk
Locked