http://bugs.winehq.org/show_bug.cgi?id=9916
--- Comment #33 from Lionel Debroux lionel_debroux@yahoo.fr 2007-11-18 10:44:14 --- Created an attachment (id=9237) --> (http://bugs.winehq.org/attachment.cgi?id=9237) Traces of dinput device test on wine-0.9.49-199-ga529ef4
This is the dinput device test crashing when the "joystick" (actually a keyboard) I mentioned in comment #27 is connected. I made two runs with different WINEDEBUG options. In both runs, the program dies due to a read access to 0x55555555, i.e. it somehow dereferenced uninitialized "in-use" memory.
In the first run, the backtrace when compiling with -g3 reveals that a parameter to JoystickAImpl_GetObjectInfo is wrong: 3 0x606d8e69 JoystickAImpl_GetObjectInfo+0x40(iface=0x11f880, pdidoi=0x34f7d4, dwObj=0x55555555, dwHow=0x2) [/home/Lionel_Debroux/wine/dlls/dinput/joystick_linux.c:989] in dinput (0x0034f7a8) 4 0x606ccb92 IDirectInputDevice2AImpl_EnumObjects+0x1ae(iface=0x11f880, lpCallback=0x60683160, lpvRef=0x34f95c, dwFlags=0x0) [/home/Lionel_Debroux/wine/dlls/dinput/device.c:860] in dinput (0x0034f938)
In the second run, a parameter to _dump_dinput_GUID is invalid: =>1 0x7eb9e8f8 _dump_dinput_GUID+0x52(guid=0x55555555) [/home/Lionel_Debroux/wine/dlls/dinput/device.c:181] in dinput (0x0034f758) 2 0x7eb9ee17 _dump_DIDATAFORMAT+0x4de(df=0x11fb68) [/home/Lionel_Debroux/wine/dlls/dinput/device.c:212] in dinput (0x0034f828)