Threading Issues with DInput/Joysticks

Benjamin Cutler cutler at cs.colostate.edu
Sat Apr 16 05:23:01 CDT 2005


I was having this issue with one of my games too, but this patch seems
to have fixed it. However, now I'm hitting an error in kernel32. (System
Shock 2, for the curious.)

What traces should I turn on to help track this down?
-------------- next part --------------
wine: Unhandled exception (thread 0009), starting debugger...
WineDbg starting on pid 0x8
Unhandled exception: page fault on read access to 0x50ff5303 in 32-bit code (0x77b572b0).
In 32 bit mode.
Register dump:
 CS:0073 SS:007b DS:007b ES:007b FS:003b GS:0033
 EIP:77b572b0 ESP:77adf794 EBP:77adf7f8 EFLAGS:00210206(   - 00      - RIP1)
 EAX:00000001 EBX:77c0e4a4 ECX:00000001 EDX:50ff5303
 ESI:ffffffff EDI:50ff5303
Stack dump:
0x77adf794:  00000073 77adf7d4 779ad89c 779ada8c
0x77adf7a4:  00010022 779ad884 77adf7ec 77921f97
0x77adf7b4:  005c10e0 00010022 0000007d ffffffec
0x77adf7c4:  77adf944 77adf7dc 779cf6aa 00000001
0x77adf7d4:  00000001 00000000 00000000 779ada8c
0x77adf7e4:  779cf6aa 77adf944 77c0e4a4 77adf914
Backtrace:
=>1 0x77b572b0 INSTR_EmulateInstruction(rec=0x77adfbe0, context=0x77adf914) [/home/ioti/debprogs/wine/wine.cvs/dlls/kernel/instr.c:449] in kernel32 (0x77adf7f8)
  2 0x77b9e3df vectored_handler(ptrs=0x77adf82c) [/home/ioti/debprogs/wine/wine.cvs/dlls/kernel/wowthunk.c:358] in kernel32 (0x77adf814)
  3 0x77ebc479 call_vectored_handlers+0x59(rec=0x77adfbe0, context=0x77adf914) [/home/ioti/debprogs/wine/wine.cvs/dlls/ntdll/exception.c:196] in ntdll (0x77adf840)
  4 0x77ebc655 EXC_RtlRaiseException+0xa5(rec=0x77adfbe0, context=0x77adf914) [/home/ioti/debprogs/wine/wine.cvs/dlls/ntdll/exception.c:260] in ntdll (0x77adf8e4)
  5 0x77edce6c raise_segv_exception+0x3c(rec=0x77adfbe0, context=0x77adf914) [/home/ioti/debprogs/wine/wine.cvs/dlls/ntdll/signal_i386.c:887] in ntdll (0x77adf900)
  6 0x77ee7574 __wine_call_from_32_restore_regs+0x0 in ntdll (0x7b19a19c)
  7 0x7b1a53f8 (0x00658080)
  8 0x004d30d0 in shock2 (+0xd30d0) (0x005a5440)
  9 0x0c24548b (0x0424448b)
  10 0x00000000 (0x00000000)
0x77b572b0 INSTR_EmulateInstruction+0x80 [/home/ioti/debprogs/wine/wine.cvs/dlls/kernel/instr.c:449] in kernel32: movzbl        0x0(%edi),%edx
449             switch(*instr)


More information about the wine-devel mailing list