Trying to play "a kingdom for keflings" , i get this

Questions about Wine on Linux
Locked
Din
Newbie
Newbie
Posts: 3
Joined: Fri Jun 13, 2014 9:47 am

Trying to play "a kingdom for keflings" , i get this

Post by Din »

Code: Select all

Unhandled exception: page fault on read access to 0x0000000c in 32-bit code (0x005a0ddc).
Register dump:
 CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:006b
 EIP:005a0ddc ESP:0032f3e4 EBP:0032f3e8 EFLAGS:00010206(  R- --  I   - -P- )
 EAX:00000000 EBX:00000001 ECX:00000000 EDX:00000000
 ESI:00000000 EDI:fffffffe
Stack dump:
0x0032f3e4:  0065d7cc 0032fd90 005a0017 9bfffa3a
0x0032f3f4:  00000000 00000000 00000000 00000000
0x0032f404:  0032fc80 00000000 00000001 0032f479
0x0032f414:  7ffffff1 0032f46c 00000042 005dd137
0x0032f424:  009f7af8 009f6b90 009f6480 009f4888
0x0032f434:  009f4468 00898324 008982c8 0032f458
Backtrace:
=>0 0x005a0ddc in a kingdom for keflings (+0x1a0ddc) (0x0032f3e8)
  1 0x005a0017 in a kingdom for keflings (+0x1a0016) (0x0032fd90)
  2 0x00553172 in a kingdom for keflings (+0x153171) (0x0032fda0)
  3 0x005e3e64 in a kingdom for keflings (+0x1e3e63) (0x0032fe30)
  4 0x7b85bfec call_process_entry+0xb() in kernel32 (0x0032fe48)
  5 0x7b85d0ea in kernel32 (+0x4d0e9) (0x0032fe78)
  6 0x7bc7c350 call_thread_func_wrapper+0xb() in ntdll (0x0032fe98)
  7 0x7bc7f26f call_thread_func+0xde() in ntdll (0x0032ff88)
  8 0x7bc7c32e RtlRaiseException+0x21() in ntdll (0x0032ffb8)
  9 0x7bc511f1 call_dll_entry_point+0x440() in ntdll (0x0032ffd8)
  10 0xf7592a8d wine_call_on_stack+0x1c() in libwine.so.1 (0x00000000)
  11 0xf7592c0a wine_switch_to_stack+0x29() in libwine.so.1 (0xffb9f1b8)
  12 0x7bc56985 LdrInitializeThunk+0x1f4() in ntdll (0xffb9f208)
  13 0x7b863072 __wine_kernel_init+0x871() in kernel32 (0xffba0378)
  14 0x7bc577e3 __wine_process_init+0x162() in ntdll (0xffba03e8)
  15 0xf7590643 wine_init+0x2f2() in libwine.so.1 (0xffba0458)
  16 0x7bf00db2 main+0x81() in <wine-loader> (0xffba08b8)
  17 0xf73c1e2e __libc_start_main+0xdd() in libc.so.6 (0x00000000)
0x005a0ddc: cmpl	$0,0xc(%ecx)
Modules:
Module	Address			Debug info	Name (76 modules)
PE	  400000-  8c1000	Export          a kingdom for keflings
ELF	7b800000-7ba57000	Dwarf           kernel32<elf>
  \-PE	7b810000-7ba57000	\               kernel32
ELF	7bc00000-7bce4000	Dwarf           ntdll<elf>
  \-PE	7bc10000-7bce4000	\               ntdll
ELF	7bf00000-7bf04000	Dwarf           <wine-loader>
ELF	7ddc1000-7ddea000	Deferred        libexpat.so.1
ELF	7ddea000-7de26000	Deferred        libfontconfig.so.1
ELF	7de26000-7de94000	Deferred        libpcre.so.1
ELF	7de94000-7df9f000	Deferred        libglib-2.0.so.0
ELF	7df9f000-7dff9000	Deferred        libharfbuzz.so.0
ELF	7dff9000-7e032000	Deferred        libpng16.so.16
ELF	7e032000-7e042000	Deferred        libbz2.so.1.0
ELF	7e042000-7e0e6000	Deferred        libfreetype.so.6
ELF	7e0e6000-7e13e000	Deferred        libncursesw.so.5
ELF	7e173000-7e1c7000	Deferred        libopenal.so.1
ELF	7e1c9000-7e1e0000	Deferred        libz.so.1
ELF	7e1e0000-7e1fc000	Deferred        dinput8<elf>
  \-PE	7e1f0000-7e1fc000	\               dinput8
ELF	7e1fc000-7e203000	Deferred        libxdmcp.so.6
ELF	7e203000-7e207000	Deferred        libxau.so.6
ELF	7e207000-7e215000	Deferred        libdrm.so.2
ELF	7e215000-7e21b000	Deferred        libxxf86vm.so.1
ELF	7e21b000-7e23f000	Deferred        libxcb.so.1
ELF	7e23f000-7e246000	Deferred        libxcb-sync.so.1
ELF	7e246000-7e24a000	Deferred        libxcb-present.so.0
ELF	7e24a000-7e24e000	Deferred        libxcb-dri3.so.0
ELF	7e24e000-7e267000	Deferred        libxcb-glx.so.0
ELF	7e267000-7e39e000	Deferred        libx11.so.6
ELF	7e39e000-7e3b1000	Deferred        libxext.so.6
ELF	7e3b1000-7e3c9000	Deferred        libglapi.so.0
ELF	7e3c9000-7e3e4000	Deferred        libgcc_s.so.1
ELF	7e4da000-7e547000	Deferred        libgl.so.1
ELF	7e547000-7e5cd000	Deferred        libglu.so.1
ELF	7e5db000-7e5e4000	Deferred        librt.so.1
ELF	7e5e4000-7e602000	Deferred        openal32<elf>
  \-PE	7e5f0000-7e602000	\               openal32
ELF	7e602000-7e720000	Deferred        opengl32<elf>
  \-PE	7e620000-7e720000	\               opengl32
ELF	7e720000-7e797000	Deferred        shlwapi<elf>
  \-PE	7e730000-7e797000	\               shlwapi
ELF	7e797000-7e9c6000	Deferred        shell32<elf>
  \-PE	7e7a0000-7e9c6000	\               shell32
ELF	7e9c6000-7e9fd000	Deferred        ws2_32<elf>
  \-PE	7e9d0000-7e9fd000	\               ws2_32
ELF	7e9fd000-7ea28000	Deferred        msacm32<elf>
  \-PE	7ea00000-7ea28000	\               msacm32
ELF	7ea28000-7eaa9000	Deferred        rpcrt4<elf>
  \-PE	7ea30000-7eaa9000	\               rpcrt4
ELF	7eaa9000-7ebe1000	Deferred        ole32<elf>
  \-PE	7eac0000-7ebe1000	\               ole32
ELF	7ebe1000-7ec51000	Deferred        advapi32<elf>
  \-PE	7ebf0000-7ec51000	\               advapi32
ELF	7ec51000-7ed72000	Deferred        gdi32<elf>
  \-PE	7ec60000-7ed72000	\               gdi32
ELF	7ed72000-7eec8000	Deferred        user32<elf>
  \-PE	7ed80000-7eec8000	\               user32
ELF	7eec8000-7ef7f000	Deferred        winmm<elf>
  \-PE	7eed0000-7ef7f000	\               winmm
ELF	7ef7f000-7efcb000	Deferred        libm.so.6
ELF	7efcb000-7efce000	Deferred        libxshmfence.so.1
ELF	7efce000-7efe6000	Deferred        glu32<elf>
  \-PE	7efd0000-7efe6000	\               glu32
ELF	7efe6000-7f000000	Deferred        version<elf>
  \-PE	7eff0000-7f000000	\               version
ELF	f7360000-f736e000	Deferred        libnss_files.so.2
ELF	f7370000-f7375000	Deferred        libdl.so.2
ELF	f7377000-f737d000	Deferred        libxcb-dri2.so.0
ELF	f737d000-f7380000	Deferred        libx11-xcb.so.1
ELF	f73a0000-f73a6000	Deferred        libxfixes.so.3
ELF	f73a6000-f73aa000	Deferred        libxdamage.so.1
ELF	f73aa000-f756c000	Dwarf           libc.so.6
ELF	f756c000-f7589000	Deferred        libpthread.so.0
ELF	f7589000-f7741000	Dwarf           libwine.so.1
ELF	f7742000-f7766000	Deferred        ld-linux.so.2
ELF	f7766000-f7767000	Deferred        [vdso].so
Threads:
process  tid      prio (all id:s are in hex)
00000008 (D) C:\Program Files (x86)\NinjaBee\AKingdomForKeflings\A Kingdom for Keflings.exe
	00000025    0
	00000024   -1
	00000023   -1
	00000022   -1
	00000009    0 <==
0000000e services.exe
	0000001d    0
	0000001c    0
	00000016    0
	00000014    0
	00000010    0
	0000000f    0
00000012 winedevice.exe
	0000001b    0
	00000018    0
	00000017    0
	00000013    0
00000019 plugplay.exe
	0000001f    0
	0000001e    0
	0000001a    0
00000020 explorer.exe
	00000021    0
System information:
    Wine build: wine-1.7.19
    Platform: i386 (WOW64)
    Host system: Linux
    Host version: 3.14.5-1-ARCH
Configuration :
RAM : 4GB
Graphics card : Ati radeon 2500 HD Pro
spoon0042
Level 6
Level 6
Posts: 572
Joined: Thu Dec 24, 2009 11:00 am

Re: Trying to play "a kingdom for keflings" , i get this

Post by spoon0042 »

works for me?

What version of the game do you have? Also post a full log: http://wiki.winehq.org/FAQ#get_log
User avatar
olivierfrdierick
Level 5
Level 5
Posts: 258
Joined: Thu Sep 13, 2012 12:09 pm

Re: Trying to play "a kingdom for keflings" , i get this

Post by olivierfrdierick »

I just downloaded the demo from the developers website to investigate this issue.

Install went fine but starting the game fails with an exception error:

Code: Select all

fixme:process:SetProcessShutdownParameters (00000100, 00000001): partial stub.
fixme:mountmgr:harddisk_ioctl returning zero-filled buffer for IOCTL_VOLUME_GET_VOLUME_DISK_EXTENTS
fixme:mountmgr:harddisk_ioctl Unsupported ioctl 74080 (device=7 access=1 func=20 method=0)
fixme:mountmgr:harddisk_ioctl returning zero-filled buffer for IOCTL_VOLUME_GET_VOLUME_DISK_EXTENTS
fixme:mountmgr:harddisk_ioctl Unsupported ioctl 74080 (device=7 access=1 func=20 method=0)
fixme:mountmgr:harddisk_ioctl returning zero-filled buffer for IOCTL_VOLUME_GET_VOLUME_DISK_EXTENTS
fixme:mountmgr:harddisk_ioctl Unsupported ioctl 74080 (device=7 access=1 func=20 method=0)
fixme:mountmgr:harddisk_ioctl returning zero-filled buffer for IOCTL_VOLUME_GET_VOLUME_DISK_EXTENTS
fixme:mountmgr:harddisk_ioctl Unsupported ioctl 74080 (device=7 access=1 func=20 method=0)
fixme:reg:RegSetKeySecurity :(0x80,4,0xe74a50): stub
err:seh:raise_exception Unhandled exception code c0000005 flags 0 addr 0x5a0c7c
This is on a clean wine 1.7.19 prefix (WINEARCH=32).

spoon0042, did you set any dll override?
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: Trying to play "a kingdom for keflings" , i get this

Post by dimesio »

The demo works for me in an emulated virtual desktop in a clean, 32 bit wineprefix in 1.7.20 using wine start /unix to start it. Without the emulated virtual desktop, the process runs, but no window draws.
spoon0042
Level 6
Level 6
Posts: 572
Joined: Thu Dec 24, 2009 11:00 am

Re: Trying to play "a kingdom for keflings" , i get this

Post by spoon0042 »

Tried just now with clean 1.7.20 build & prefix. Both the demo and the version I have seem to be version 1.1.11. 32 bit kernel and wine. Everything seems to work here? The only problem seems to be if I don't change to the game directory first I get what looks to be the same error in the op.
User avatar
olivierfrdierick
Level 5
Level 5
Posts: 258
Joined: Thu Sep 13, 2012 12:09 pm

Re: Trying to play "a kingdom for keflings" , i get this

Post by olivierfrdierick »

Confirmed. Both methods work on wine 1.4.1, 1.7.19 and 1.7.20.

Code: Select all

wine start /unix "$HOME/.wine/drive_c/Program Files/NinjaBee/AKingdomForKeflings/A Kingdom for Keflings.exe"

Code: Select all

cd "$HOME/.wine/drive_c/Program Files/NinjaBee/AKingdomForKeflings"
wine "A Kingdom for Keflings.exe"
Locked