dinput : crash of Pro Evolution Soccer 3 with a joystick

Sébastien GRIPON sebastien.gripon at googlemail.com
Thu May 3 15:08:38 CDT 2007


I try to play to Pro Evolution Soccer 3 on my Ubuntu Fesity Fawn and
it's not far to be possible. Every wine release brings a lots of wined3d
improvements and pes3 is almost playable. Many textures are missing, but
it's on a good way. Congratulations !

However, I have a problem with my joystick. I have a Microsoft
Sidewinder and a Thrustmaster and when any of them is plugged on an USB
port, the exe pes3.exe or the PES configuration tool setting.exe crash.
This crash doesn't occur when joysticks are not pluggued. I tried to
debug this crash, but it is a very hard work. I think dinput is involved
but I can't be sure.

If you're interesting in this game, this is the crash dump. 

Thank you,


$ wine setting.exe 
fixme:win:WIN_CreateWindowEx Parent is HWND_MESSAGE
wine: Unhandled page fault on read access to 0x00000000 at address (nil)
(thread 0009), starting debugger...
Unhandled exception: page fault on read access to 0x00000000 in 32-bit
code (0x00000000).
Register dump:
 CS:0073 SS:007b DS:007b ES:007b FS:0033 GS:003b
 EIP:00000000 ESP:0033f518 EBP:0058b2a8 EFLAGS:00210246(   - 00
 EAX:00182c18 EBX:00000000 ECX:7da5bc00 EDX:00181bfc
 ESI:0058ad38 EDI:00000000
Stack dump:
0x0033f518:  00407eab 00182c18 004363fc 00000000
0x0033f528:  0043e4c0 0043fac4 00000000 0040814e
0x0033f538:  00181bf8 00000003 7da58b08 0033fa20
0x0033f548:  7da5af6c 0058ad38 00007734 90234a8d
0x0033f558:  f7bdb63f 00003020 0033f658 7da4bc9f
0x0033f568:  7e4fa15f 7e4c2cd0 0033fa78 0042f0bb
=>1 0x00000000 (0x0058b2a8)
  2 0x00000000 (0x00182c18)
  3 0x00000001 (0x7da5bc00)
  4 0x00000000 (0x00000000)
0x00000000: addb        %al,0x0(%eax)
Module  Address                 Debug info      Name (96 modules)
PE        400000-  464000       Deferred        setting
ELF     7b800000-7b927000       Deferred        kernel32<elf>
  \-PE  7b820000-7b927000       \               kernel32
ELF     7bc00000-7bc96000       Deferred        ntdll<elf>
  \-PE  7bc10000-7bc96000       \               ntdll
ELF     7bf00000-7bf03000       Deferred        <wine-loader>
ELF     7ccdb000-7ccf0000       Deferred        midimap<elf>
  \-PE  7cce0000-7ccf0000       \               midimap
ELF     7ccf0000-7cd16000       Deferred        msacm32<elf>
  \-PE  7cd00000-7cd16000       \               msacm32
ELF     7cd16000-7cd2e000       Deferred        msacm32<elf>
  \-PE  7cd20000-7cd2e000       \               msacm32
ELF     7cd2e000-7cd6a000       Deferred        wineoss<elf>
  \-PE  7cd40000-7cd6a000       \               wineoss
ELF     7cd6a000-7cdbb000       Deferred        libgcrypt.so.11
ELF     7cdbb000-7cdd0000       Deferred        libtasn1.so.3
ELF     7cdd0000-7cdfe000       Deferred        libcrypt.so.1
ELF     7ce11000-7ce81000       Deferred        libgnutls.so.13
ELF     7ce81000-7ceb2000       Deferred        libcups.so.2
ELF     7d1e7000-7d1eb000       Deferred        libgpg-error.so.0
ELF     7d1eb000-7d21d000       Deferred        uxtheme<elf>
  \-PE  7d1f0000-7d21d000       \               uxtheme
ELF     7d21f000-7d224000       Deferred        libxfixes.so.3
ELF     7d224000-7d22d000       Deferred        libxcursor.so.1
ELF     7d22d000-7d233000       Deferred        libxrandr.so.2
ELF     7d233000-7d23b000       Deferred        libxrender.so.1
ELF     7d23b000-7d23e000       Deferred        libxinerama.so
ELF     7d764000-7d7f3000       Deferred        winex11<elf>
  \-PE  7d770000-7d7f3000       \               winex11
ELF     7d89c000-7d8bc000       Deferred        libexpat.so.1
ELF     7d8bc000-7d8e7000       Deferred        libfontconfig.so.1
ELF     7d8e7000-7d8fb000       Deferred        libz.so.1
ELF     7d8fb000-7d966000       Deferred        libfreetype.so.6
ELF     7d966000-7d97a000       Deferred        oleacc<elf>
  \-PE  7d970000-7d97a000       \               oleacc
ELF     7d97a000-7d997000       Deferred        imm32<elf>
  \-PE  7d980000-7d997000       \               imm32
ELF     7d997000-7da26000       Deferred        winmm<elf>
  \-PE  7d9a0000-7da26000       \               winmm
ELF     7da26000-7da5c000       Deferred        dinput<elf>
  \-PE  7da30000-7da5c000       \               dinput
ELF     7da5c000-7da75000       Deferred        dinput8<elf>
  \-PE  7da60000-7da75000       \               dinput8
ELF     7dad8000-7e35e000       Deferred        libglcore.so.1
ELF     7e35e000-7e3de000       Deferred        libglu.so.1
ELF     7e3de000-7e46a000       Deferred        libgl.so.1
ELF     7e46a000-7e55b000       Deferred        libx11.so.6
ELF     7e55b000-7e569000       Deferred        libxext.so.6
ELF     7e569000-7e581000       Deferred        libice.so.6
ELF     7e581000-7e642000       Deferred        wined3d<elf>
  \-PE  7e590000-7e642000       \               wined3d
ELF     7e642000-7e66a000       Deferred        d3d8<elf>
  \-PE  7e650000-7e66a000       \               d3d8
ELF     7e66a000-7e705000       Deferred        oleaut32<elf>
  \-PE  7e680000-7e705000       \               oleaut32
ELF     7e705000-7e718000       Deferred        libresolv.so.2
ELF     7e718000-7e736000       Deferred        iphlpapi<elf>
  \-PE  7e720000-7e736000       \               iphlpapi
ELF     7e736000-7e78b000       Deferred        rpcrt4<elf>
  \-PE  7e740000-7e78b000       \               rpcrt4
ELF     7e78b000-7e828000       Deferred        ole32<elf>
  \-PE  7e7a0000-7e828000       \               ole32
ELF     7e828000-7e84a000       Deferred        oledlg<elf>
  \-PE  7e830000-7e84a000       \               oledlg
ELF     7e84a000-7e87d000       Deferred        winspool<elf>
  \-PE  7e850000-7e87d000       \               winspool
ELF     7e87d000-7e939000       Deferred        comctl32<elf>
  \-PE  7e890000-7e939000       \               comctl32
ELF     7e939000-7e991000       Deferred        shlwapi<elf>
  \-PE  7e950000-7e991000       \               shlwapi
ELF     7e991000-7ea8c000       Deferred        shell32<elf>
  \-PE  7e9a0000-7ea8c000       \               shell32
ELF     7ea8c000-7eb2c000       Deferred        comdlg32<elf>
  \-PE  7ea90000-7eb2c000       \               comdlg32
ELF     7eb2c000-7eb73000       Deferred        advapi32<elf>
  \-PE  7eb40000-7eb73000       \               advapi32
ELF     7eb73000-7eb7f000       Deferred        libgcc_s.so.1
ELF     7eb81000-7eb86000       Deferred        libxdmcp.so.6
ELF     7eb86000-7eb89000       Deferred        libxau.so.6
ELF     7eb89000-7eb92000       Deferred        libsm.so.6
ELF     7ec7c000-7ed3a000       Deferred        gdi32<elf>
  \-PE  7ec90000-7ed3a000       \               gdi32
ELF     7ed3a000-7ee76000       Deferred        user32<elf>
  \-PE  7ed60000-7ee76000       \               user32
ELF     7efa4000-7efaf000       Deferred        libnss_files.so.2
ELF     7efaf000-7efc6000       Deferred        libnsl.so.1
ELF     7efc6000-7efed000       Deferred        libm.so.6
ELF     7efed000-7eff7000       Deferred        libnss_nis.so.2
ELF     7eff7000-7f000000       Deferred        libnss_compat.so.2
ELF     b7d51000-b7d56000       Deferred        libxxf86vm.so.1
ELF     b7d57000-b7d5b000       Deferred        libdl.so.2
ELF     b7d5b000-b7e9c000       Deferred        libc.so.6
ELF     b7e9d000-b7eb4000       Deferred        libpthread.so.0
ELF     b7eb4000-b7eb6000       Deferred        libnvidia-tls.so.1
ELF     b7ec7000-b7fd8000       Deferred        libwine.so.1
ELF     b7fda000-b7ff5000       Deferred        ld-linux.so.2
process  tid      prio (all id:s are in hex)
        0000000c    0
        0000000b    0
00000008 (D) C:\Program Files\KONAMI\Pro Evolution Soccer 3\setting.exe
        0000000d    0
        00000009    0 <==

More information about the wine-devel mailing list