https://bugs.winehq.org/show_bug.cgi?id=51223
--- Comment #4 from Rémi Bernon rbernon@codeweavers.com --- Indeed, I can reproduce a winedevice crash easily when opening the input configuration window and pressing a few buttons on a gamepad. I'll do a bisection.
For reference, stack trace is: #0 0x000000031df11534 in RingBuffer_AddPointer (ring=0x6b1930) at ../source/dlls/hidclass.sys/buffer.c:204 #1 0x000000031df15340 in pdo_create (device=<optimized out>, irp=0x8f0dd0) at ../source/dlls/hidclass.sys/device.c:695 #2 0x000000031df1558a in driver_create (device=<optimized out>, irp=<optimized out>) at ../source/dlls/hidclass.sys/pnp.c:530 #3 0x00000002279b34f6 in IoCallDriver (device=device@entry=0x25d400, irp=irp@entry=0x8f0dd0) at ../source/dlls/ntoskrnl.exe/ntoskrnl.c:1757 #4 0x00000002279b5266 in dispatch_irp (device=device@entry=0x25d400, irp=irp@entry=0x8f0dd0, context=context@entry=0xe0fa00) at ../source/dlls/ntoskrnl.exe/ntoskrnl.c:500 #5 0x00000002279b5e6b in dispatch_create (context=0xe0fa00) at ../source/dlls/ntoskrnl.exe/ntoskrnl.c:545 #6 0x00000002279b4f22 in wine_ntoskrnl_main_loop (stop_event=<optimized out>) at ../source/dlls/ntoskrnl.exe/ntoskrnl.c:957 #7 0x0000000140001732 in ServiceMain (argc=<optimized out>, argv=<optimized out>) at ../source/programs/winedevice/device.c:143 #8 0x000000032a7052f2 in service_thread (arg=0x226cc0, arg@entry=<error reading variable: value has been optimized out>) at ../source/dlls/sechost/service.c:1605 #9 0x000000007b62c809 in BaseThreadInitThunk (unknown=<optimized out>, entry=<optimized out>, arg=<optimized out>) at ../source/dlls/kernel32/thread.c:61 #10 0x000000007bc56593 in RtlUserThreadStart (entry=0x32a705220 <service_thread>, arg=0x226cc0) at ../source/dlls/ntdll/thread.c:165 #11 0x0000000000000000 in ?? ()