https://bugs.winehq.org/show_bug.cgi?id=46711
--- Comment #30 from Gerold Gerold.Ruhland@gmail.com --- That hid_test.exe is crashing has nothing to do with the HID device I want to read from. I disconnected this device and changed the permissions for my USB mouse (currently MS Wireless IntelliMouse Explorer 2.0). Same exception error!
gerold@MINT19-0:~/Desktop/Moveslink$ ls -l /sys/class/hidraw total 0 lrwxrwxrwx 1 root root 0 Mar 24 2019 hidraw0 -> ../../devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.3/1-1.3:1.0/0003:045E:00E1.0001/hidraw/hidraw0 lrwxrwxrwx 1 root root 0 Mar 24 2019 hidraw1 -> ../../devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.4/1-1.4:1.0/0003:13BA:0018.0002/hidraw/hidraw1 lrwxrwxrwx 1 root root 0 Mar 24 2019 hidraw2 -> ../../devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.4/1-1.4:1.1/0003:13BA:0018.0003/hidraw/hidraw2
gerold@MINT19-0:~/Desktop/Moveslink$ ls -l /dev/hidraw0 crw------- 1 root root 241, 0 Mar 24 2019 /dev/hidraw0
gerold@MINT19-0:~/Desktop/Moveslink$ sudo chmod 666 /dev/hidraw0 [sudo] password for gerold:
gerold@MINT19-0:~/Desktop/Moveslink$ ls -l /dev/hidraw0 crw-rw-rw- 1 root root 241, 0 Mar 24 2019 /dev/hidraw0
gerold@MINT19-0:~/Desktop/Moveslink$ wine hid_test.exe device.c:47: Found device L"" (0c, 01) wine: Unhandled page fault on write access to 0x00000000 at address 0x7b444e1a (thread 0009), starting debugger... 002d:fixme:dbghelp:elf_search_auxv can't find symbol in module 002d:fixme:dbghelp:elf_search_auxv can't find symbol in module 002d:fixme:dbghelp:elf_search_auxv can't find symbol in module 002d:fixme:dbghelp:elf_search_auxv can't find symbol in module 002d:fixme:dbghelp:elf_search_auxv can't find symbol in module 002d:fixme:dbghelp:elf_search_auxv can't find symbol in module 002d:fixme:dbghelp:elf_search_auxv can't find symbol in module 002d:fixme:dbghelp:elf_search_auxv can't find symbol in module 002d:fixme:dbghelp:elf_search_auxv can't find symbol in module 002d:fixme:dbghelp:elf_search_auxv can't find symbol in module 002d:fixme:dbghelp:elf_search_auxv can't find symbol in module 002d:fixme:dbghelp:elf_search_auxv can't find symbol in module 002d:fixme:dbghelp:elf_search_auxv can't find symbol in module Unhandled exception: page fault on write access to 0x00000000 in 32-bit code (0x7b444e1a). 002d:fixme:dbghelp:elf_search_auxv can't find symbol in module Register dump: CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:006b EIP:7b444e1a ESP:0060f930 EBP:0060f958 EFLAGS:00010246( R- -- I Z- -P- ) EAX:00000000 EBX:00000000 ECX:8135ef00 EDX:0000000c ESI:0060f998 EDI:00000000 Stack dump: 0x0060f930: 00000001 7b448f66 0060f960 00000050 0x0060f940: 00000050 7b444de6 0060f970 00000000 0x0060f950: 00000050 0060f998 0060f9c8 7eff94a3 0x0060f960: 00000050 000b01a8 7eff93b5 7eff94a3 0x0060f970: 00000050 0060f998 00000000 00000001 0x0060f980: 0060f9c4 00000000 00000000 0060f9e0 Backtrace: =>0 0x7b444e1a GetOverlappedResult+0x4a() in kernel32 (0x0060f958) 1 0x7eff94a3 HidD_FreePreparsedData+0xffffffff() in hid (0x0060f9c8) 2 0x7eff9ac5 HidD_GetPreparsedData+0x54() in hid (0x0060fa08) 3 0x00401b41 in hid_test (+0x1b40) (0x0060faf8) 4 0x004021bb in hid_test (+0x21ba) (0x0060fce8) 5 0x00402e66 in hid_test (+0x2e65) (0x0060fd38) 6 0x00404cf4 in hid_test (+0x4cf3) (0x0060fde8) 7 0x004013e2 EntryPoint+0xffffffff() in hid_test (0x0060fec0) 8 0x7b467b72 call_process_entry+0x11() in kernel32 (0x0060fed8) 9 0x7b469aae ExitProcess+0x1f2d() in kernel32 (0x0060ffd8) 10 0x7b467b7e call_process_entry+0x1d() in kernel32 (0x0060ffec) 0x7b444e1a GetOverlappedResult+0x4a in kernel32: movl %edx,0x0(%edi) Modules: Module Address Debug info Name (41 modules) PE 400000- 40b000 Export hid_test ELF 7b400000-7b803000 Dwarf kernel32<elf> -PE 7b420000-7b803000 \ kernel32 ELF 7bc00000-7bd09000 Deferred ntdll<elf> -PE 7bc10000-7bd09000 \ ntdll ELF 7c000000-7c004000 Deferred <wine-loader> ELF 7e45f000-7e483000 Deferred imm32<elf> -PE 7e470000-7e483000 \ imm32 ELF 7e520000-7e552000 Deferred libexpat.so.1 ELF 7e552000-7e59d000 Deferred libfontconfig.so.1 ELF 7e59d000-7e5bc000 Deferred libz.so.1 ELF 7e5bc000-7e5f6000 Deferred libpng16.so.16 ELF 7e5f6000-7e6b3000 Deferred libfreetype.so.6 ELF 7e6b3000-7e6d6000 Deferred libtinfo.so.5 ELF 7e6d6000-7e6fc000 Deferred libncurses.so.5 ELF 7e71c000-7e7d7000 Deferred msvcrt<elf> -PE 7e730000-7e7d7000 \ msvcrt ELF 7e7d7000-7e85e000 Deferred rpcrt4<elf> -PE 7e7e0000-7e85e000 \ rpcrt4 ELF 7e85e000-7e878000 Deferred version<elf> -PE 7e860000-7e878000 \ version ELF 7e878000-7e8f3000 Deferred advapi32<elf> -PE 7e890000-7e8f3000 \ advapi32 ELF 7e8f3000-7ea24000 Deferred gdi32<elf> -PE 7e900000-7ea24000 \ gdi32 ELF 7ea24000-7ec30000 Deferred user32<elf> -PE 7ea40000-7ec30000 \ user32 ELF 7ec30000-7eca1000 Deferred setupapi<elf> -PE 7ec40000-7eca1000 \ setupapi ELF 7eea1000-7eeb5000 Deferred libnss_files.so.2 ELF 7eeb5000-7eed0000 Deferred libnsl.so.1 ELF 7eed0000-7eede000 Deferred libnss_nis.so.2 ELF 7eede000-7efe0000 Deferred libm.so.6 ELF 7efe7000-7f000000 Dwarf hid<elf> -PE 7eff0000-7f000000 \ hid ELF f7b73000-f7b78000 Deferred libdl.so.2 ELF f7b78000-f7d54000 Deferred libc.so.6 ELF f7d54000-f7d73000 Deferred libpthread.so.0 ELF f7d76000-f7d80000 Deferred libnss_compat.so.2 ELF f7d93000-f7f4e000 Dwarf libwine.so.1 ELF f7f50000-f7f78000 Deferred ld-linux.so.2 Threads: process tid prio (all id:s are in hex) 00000008 (D) Z:\home\gerold\Desktop\Moveslink\hid_test.exe 00000009 0 <== 0000000e services.exe 00000021 0 0000001c 0 00000018 0 00000013 0 00000010 0 0000000f 0 00000011 winedevice.exe 00000019 0 00000017 0 00000016 0 00000012 0 0000001a plugplay.exe 0000001e 0 0000001d 0 0000001b 0 0000001f winedevice.exe 00000028 0 00000027 0 00000026 0 00000023 0 00000022 0 00000020 0 00000024 explorer.exe 0000002b 0 0000002a 0 00000029 0 00000025 0 System information: Wine build: wine-4.4 Platform: i386 (WOW64) Version: Windows 7 Host system: Linux Host version: 4.15.0-46-generic gerold@MINT19-0:~/Desktop/Moveslink$