[Game] Unhandled page fault problem (KEYBOARD.C)

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
fullyspenged
Level 2
Level 2
Posts: 31
Joined: Tue Dec 02, 2008 1:29 pm

[Game] Unhandled page fault problem (KEYBOARD.C)

Post by fullyspenged »

Code: Select all

fixme:d3d:IWineD3DImpl_FillGLCaps OpenGL implementation supports 32 vertex samplers and 32 total samplers
fixme:d3d:IWineD3DImpl_FillGLCaps Expected vertex samplers + MAX_TEXTURES(=8) > combined_samplers        
fixme:win:EnumDisplayDevicesW ((null),0,0x32f808,0x00000000), stub!                                      
fixme:x11drv:X11DRV_desktop_SetCurrentMode Cannot change screen BPP from 32 to 16                        
wine: Unhandled page fault on read access to 0xf28f64d3 at address 0x7e16f3cf (thread 001a), starting debugger...
Unhandled exception: page fault on read access to 0xf28f64d3 in 32-bit code (0x7e16f3cf).                        
Register dump:                                                                                                   
 CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:006b                                                                 
 EIP:7e16f3cf ESP:7befe6a4 EBP:7befe6cc EFLAGS:00210246(   - 00      -RIZP1)                                     
 EAX:00000102 EBX:7e1b6ff4 ECX:7e1beb80 EDX:7e1ba884                                                             
 ESI:02341090 EDI:74737953                                                                                       
Stack dump:                                                                                                      
0x7befe6a4:  00000000 00000000 00000000 00000007                                                                 
0x7befe6b4:  00000000 023410a0 7befe6dc 7ec20ff4                                                                 
0x7befe6c4:  02341090 000006c8 7befe6dc 7eba4d91                                                                 
0x7befe6d4:  74737953 00000001 00000000 00456347                                                                 
0x7befe6e4:  74737953 7ee2dcd0 00000000 00000001                                                                 
0x7befe6f4:  00482df4 0000003e 0041e66b 000050c6                                                                 
Backtrace:                                                                                                       
=>1 0x7e16f3cf X11DRV_GetAsyncKeyState+0x4f(key=1953724755) [/home/speng/wine-1.1.9/dlls/winex11.drv/keyboard.c:1852] in winex11 (0x7befe6cc)
  2 0x7eba4d91 GetAsyncKeyState+0x21(nKey=1953724755) [/home/speng/wine-1.1.9/dlls/user32/input.c:276] in user32 (0x7befe6dc)                
  3 0x00456347 in shadowflare (+0x56347) (0x00000000)                                                                                        
0x7e16f3cf X11DRV_GetAsyncKeyState+0x4f [/home/speng/wine-1.1.9/dlls/winex11.drv/keyboard.c:1852] in winex11: movzbl    0x0(%ecx,%edi,1),%edx
1852        retval = ((key_state_table[key] & 0x40) ? 0x0001 : 0) |                                                                          
Modules:                                                                                                                                     
Module  Address                 Debug info      Name (115 modules)                                                                           
PE        330000-  337000       Deferred        rkc_file                                                                                     
PE        340000-  347000       Deferred        rkc_memory                                                                                   
PE        350000-  368000       Deferred        rkc_dib                                                                                      
PE        370000-  377000       Deferred        rkc_window                                                                                   
PE        380000-  38e000       Deferred        rkc_updib                                                                                    
PE        390000-  3a1000       Deferred        rkc_rpgscrn                                                                                  
PE        3b0000-  3b5000       Deferred        rkc_dbfcontrol                                                                               
PE        3c0000-  3d1000       Deferred        rkc_network                                                                                  
PE        3e0000-  3ec000       Deferred        rkc_dsound                                                                                   
PE        3f0000-  3f9000       Deferred        rkc_fontmaker                                                                                
PE        400000-  492000       Export          shadowflare                                                                                  
PE        4a0000-  4b5000       Deferred        rkc_rpg_script                                                                               
PE        4c0000-  4cf000       Deferred        rkc_rpg_table                                                                                
PE        4d0000-  4da000       Deferred        rkc_rpg_aicontrol                                                                            
PE      10000000-10012000       Deferred        rk_function                                                                                  
ELF     7bf00000-7bf04000       Deferred        <wine-loader>                                                                                
ELF     7c98f000-7d6cf000       Deferred        libglcore.so.1                                                                               
ELF     7d6cf000-7d774000       Deferred        libgl.so.1                                                                                   
ELF     7d79b000-7d830000       Deferred        opengl32<elf>                                                                                
  \-PE  7d7b0000-7d830000       \               opengl32                                                                                     
ELF     7d830000-7d952000       Deferred        wined3d<elf>                                                                                 
  \-PE  7d840000-7d952000       \               wined3d                                                                                      
ELF     7da65000-7da73000       Deferred        libgcc_s.so.1                                                                                
ELF     7db84000-7db99000       Deferred        midimap<elf>                                                                                 
  \-PE  7db90000-7db99000       \               midimap                                                                                      
ELF     7db99000-7dbc2000       Deferred        msacm32<elf>                                                                                 
  \-PE  7dba0000-7dbc2000       \               msacm32                                                                                      
ELF     7dbc2000-7dbff000       Deferred        wineoss<elf>                                                                                 
  \-PE  7dbd0000-7dbff000       \               wineoss                                                                                      
ELF     7dbff000-7dc08000       Deferred        libkrb5support.so.0                                                                          
ELF     7dc08000-7dc3e000       Deferred        libcrypt.so.1                                                                                
ELF     7dc3e000-7dd82000       Deferred        libcrypto.so.0.9.8                                                                           
ELF     7dd82000-7ddc7000       Deferred        libssl.so.0.9.8                                                                              
ELF     7ddc7000-7ddec000       Deferred        libk5crypto.so.3                                                                             
ELF     7ddec000-7de80000       Deferred        libkrb5.so.3                                                                                 
ELF     7de80000-7deab000       Deferred        libgssapi_krb5.so.2                                                                          
ELF     7deab000-7dee1000       Deferred        libcups.so.2                                                                                 
ELF     7deed000-7deef000       Deferred        libnvidia-tls.so.1                                                                           
ELF     7deef000-7df08000       Deferred        msacm32<elf>                                                                                 
  \-PE  7def0000-7df08000       \               msacm32                                                                                      
ELF     7df3f000-7df72000       Deferred        uxtheme<elf>                                                                                 
  \-PE  7df50000-7df72000       \               uxtheme                                                                                      
ELF     7df72000-7df7c000       Deferred        libxcursor.so.1                                                                              
ELF     7df7c000-7df82000       Deferred        libxfixes.so.3                                                                               
ELF     7df82000-7df86000       Deferred        libxcomposite.so.1                                                                           
ELF     7df86000-7df8e000       Deferred        libxrandr.so.2                                                                               
ELF     7df8e000-7df98000       Deferred        libxrender.so.1                                                                              
ELF     7df98000-7df9e000       Deferred        libxxf86vm.so.1                                                                              
ELF     7df9e000-7dfa2000       Deferred        libxinerama.so.1                                                                             
ELF     7dfa2000-7dfbb000       Deferred        libxcb.so.1                                                                                  
ELF     7dfbb000-7dfbe000       Deferred        libxcb-xlib.so.0                                                                             
ELF     7dfbe000-7dfc2000       Deferred        libxau.so.6                                                                                  
ELF     7dfc2000-7e0e3000       Deferred        libx11.so.6                                                                                  
ELF     7e0e3000-7e0fd000       Deferred        libice.so.6                                                                                  
ELF     7e0fe000-7e102000       Deferred        libkeyutils.so.1                                                                             
ELF     7e10b000-7e10f000       Deferred        libcom_err.so.2                                                                              
ELF     7e124000-7e1bf000       Dwarf           winex11<elf>                                                                                 
  \-PE  7e130000-7e1bf000       \               winex11                                                                                      
ELF     7e263000-7e28a000       Deferred        libexpat.so.1                                                                                
ELF     7e28a000-7e2b8000       Deferred        libfontconfig.so.1                                                                           
ELF     7e2b8000-7e2cc000       Deferred        libz.so.1                                                                                    
ELF     7e2cc000-7e33f000       Deferred        libfreetype.so.6                                                                             
ELF     7e341000-7e350000       Deferred        libxext.so.6                                                                                 
ELF     7e350000-7e359000       Deferred        libsm.so.6                                                                                   
ELF     7e366000-7e3b1000       Deferred        dsound<elf>                                                                                  
  \-PE  7e370000-7e3b1000       \               dsound                                                                                       
ELF     7e3b1000-7e3de000       Deferred        ws2_32<elf>                                                                                  
  \-PE  7e3c0000-7e3de000       \               ws2_32                                                                                       
ELF     7e3de000-7e3f9000       Deferred        wsock32<elf>                                                                                 
  \-PE  7e3e0000-7e3f9000       \               wsock32                                                                                      
ELF     7e3f9000-7e465000       Deferred        msvcrt<elf>                                                                                  
  \-PE  7e410000-7e465000       \               msvcrt                                                                                       
ELF     7e465000-7e485000       Deferred        iphlpapi<elf>                                                                                
  \-PE  7e470000-7e485000       \               iphlpapi                                                                                     
ELF     7e485000-7e4eb000       Deferred        rpcrt4<elf>                                                                                  
  \-PE  7e490000-7e4eb000       \               rpcrt4                                                                                       
ELF     7e4eb000-7e5fc000       Deferred        ole32<elf>                                                                                   
  \-PE  7e510000-7e5fc000       \               ole32                                                                                        
ELF     7e5fc000-7e655000       Deferred        ddraw<elf>                                                                                   
  \-PE  7e600000-7e655000       \               ddraw                                                                                        
ELF     7e655000-7e6e9000       Deferred        winmm<elf>                                                                                   
  \-PE  7e660000-7e6e9000       \               winmm                                                                                        
ELF     7e6e9000-7e70a000       Deferred        imm32<elf>                                                                                   
  \-PE  7e6f0000-7e70a000       \               imm32                                                                                        
ELF     7e70a000-7e740000       Deferred        winspool<elf>                                                                                
  \-PE  7e710000-7e740000       \               winspool                                                                                     
ELF     7e740000-7e806000       Deferred        comctl32<elf>                                                                                
  \-PE  7e750000-7e806000       \               comctl32                                                                                     
ELF     7e806000-7e863000       Deferred        shlwapi<elf>                                                                                 
  \-PE  7e810000-7e863000       \               shlwapi                                                                                      
ELF     7e863000-7e98d000       Deferred        shell32<elf>                                                                                 
  \-PE  7e870000-7e98d000       \               shell32                                                                                      
ELF     7e98d000-7ea3a000       Deferred        comdlg32<elf>                                                                                
  \-PE  7e990000-7ea3a000       \               comdlg32                                                                                     
ELF     7ea3a000-7ea8e000       Deferred        advapi32<elf>                                                                                
  \-PE  7ea50000-7ea8e000       \               advapi32                                                                                     
ELF     7ea8e000-7eb2e000       Deferred        gdi32<elf>                                                                                   
  \-PE  7eaa0000-7eb2e000       \               gdi32                                                                                        
ELF     7eb2e000-7ec7b000       Dwarf           user32<elf>                                                                                  
  \-PE  7eb50000-7ec7b000       \               user32                                                                                       
ELF     7ed9e000-7eedc000       Deferred        kernel32<elf>                                                                                
  \-PE  7edc0000-7eedc000       \               kernel32                                                                                     
ELF     7eedc000-7eee7000       Deferred        libnss_files.so.2                                                                            
ELF     7eee7000-7eef1000       Deferred        libnss_nis.so.2                                                                              
ELF     7eef1000-7ef08000       Deferred        libnsl.so.1                                                                                  
ELF     7ef08000-7ef2e000       Deferred        libm.so.6                                                                                    
ELF     7ef34000-7ef47000       Deferred        libresolv.so.2                                                                               
ELF     7ef55000-7f000000       Deferred        ntdll<elf>                                                                                   
  \-PE  7ef70000-7f000000       \               ntdll                                                                                        
ELF     f7ca6000-f7caf000       Deferred        libnss_compat.so.2                                                                           
ELF     f7cb0000-f7cb4000       Deferred        libdl.so.2                                                                                   
ELF     f7cb4000-f7df7000       Deferred        libc.so.6                                                                                    
ELF     f7df7000-f7e0f000       Deferred        libpthread.so.0                                                                              
ELF     f7e36000-f7f6c000       Deferred        libwine.so.1                                                                                 
ELF     f7f6d000-f7f8a000       Deferred        ld-linux.so.2                                                                                
Threads:                                                                                                                                     
process  tid      prio (all id:s are in hex)                                                                                                 
00000008 (D) Z:\pdata\ShadowFlare\ShadowFlare\ShadowFlare.exe                                                                                
        0000001d    0                                                                                                                        
        0000001c   15                                                                                                                        
        0000001b    0                                                                                                                        
        0000001a    2 <==                                                                                                                    
        00000019   15                                                                                                                        
        00000009    0                                                                                                                        
0000000c                                                                                                                                     
        00000013    0                                                                                                                        
        00000012    0                                                                                                                        
        0000000e    0                                                                                                                        
        0000000d    0                                                                                                                        
0000000f                                                                                                                                     
        00000015    0
        00000014    0
        00000011    0
        00000010    0
00000016
        00000017    0
Backtrace:
=>1 0x7e16f3cf X11DRV_GetAsyncKeyState+0x4f(key=1953724755) [/home/speng/wine-1.1.9/dlls/winex11.drv/keyboard.c:1852] in winex11 (0x7befe6cc)
  2 0x7eba4d91 GetAsyncKeyState+0x21(nKey=1953724755) [/home/speng/wine-1.1.9/dlls/user32/input.c:276] in user32 (0x7befe6dc)
  3 0x00456347 in shadowflare (+0x56347) (0x00000000)
fixme:winmm:MMDRV_Exit Closing while ll-driver open
Right. The main menu works great, but I can't start a game.
Now you're probably wondering why this might be unusual. Well, last "night" at 5am or so I got it to work and to prove that I wasn't dreaming, the character was level 5. :p

Any ideas at all? Been playing around with winecfg A LOT, I'm not a very advanced linux user so don't confuse me please.

I'll put this in appDB as well tonight.

Thanks!

Edit: What the hell is wrong with me?
Specs:
openSUSE 11 x86_64
Nvidia 8800GT working (I can play WoW)
Newest drivers for Xorg and Nvidia.
Last edited by fullyspenged on Wed Dec 03, 2008 7:19 pm, edited 1 time in total.
fullyspenged
Level 2
Level 2
Posts: 31
Joined: Tue Dec 02, 2008 1:29 pm

Post by fullyspenged »

Any ideas?

This game is insanely fun, I really want to play it.
fullyspenged
Level 2
Level 2
Posts: 31
Joined: Tue Dec 02, 2008 1:29 pm

Post by fullyspenged »

Updated the title. Someone must know this :(
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Re: [Game] Unhandled page fault problem (KEYBOARD.C)

Post by vitamin »

Code: Select all

=>1 0x7e16f3cf X11DRV_GetAsyncKeyState+0x4f(key=1953724755) [/home/speng/wine-1.1.9/dlls/winex11.drv/keyboard.c:1852] in winex11 (0x7befe6cc)
  2 0x7eba4d91 GetAsyncKeyState+0x21(nKey=1953724755) [/home/speng/wine-1.1.9/dlls/user32/input.c:276] in user32 (0x7befe6dc)
  3 0x00456347 in shadowflare (+0x56347) (0x00000000)
Looks like bug in that program. 1953724755 is not a valid key. The question is, should Wine cap that to < 256 or not?

Please open a bug report in Wine's bugzilla and attach terminal output as a text file. This needs a test case.
fullyspenged
Level 2
Level 2
Posts: 31
Joined: Tue Dec 02, 2008 1:29 pm

Post by fullyspenged »

Thanks, will do that now. It's REALLY strange how it worked great for as long as I wanted until I rebooted once, I can't remember what I did at all haha.
fullyspenged
Level 2
Level 2
Posts: 31
Joined: Tue Dec 02, 2008 1:29 pm

Post by fullyspenged »

I've updated to Wine 1.1.10.
Problem is still there. Someone experiences please look at the Backtrace. This is also in AppDB now.
James Mckenzie

[Game] Unhandled page fault problem (KEYBOARD.C)

Post by James Mckenzie »

fullyspenged <[email protected]> at Dec 5, 2008 10:58 AM (MST) wrote about [Wine] Re: [Game] Unhandled page fault problem (KEYBOARD.C)
I've updated to Wine 1.1.10.
Problem is still there. Someone experiences please look at the Backtrace. This is also in AppDB now.
Bugzilla number please.

James McKenzie
fullyspenged
Level 2
Level 2
Posts: 31
Joined: Tue Dec 02, 2008 1:29 pm

Post by fullyspenged »

vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Post by vitamin »

AppDB is not bugzilla.
fullyspenged
Level 2
Level 2
Posts: 31
Joined: Tue Dec 02, 2008 1:29 pm

Post by fullyspenged »

http://bugs.winehq.org/show_bug.cgi?id=16345

Bugzilla link. Sorry about, but might as well have an appDB entry. The game deserves it. :P
Locked