https://bugs.winehq.org/show_bug.cgi?id=46711
--- Comment #28 from Gerold Gerold.Ruhland@gmail.com --- (In reply to Austin English from comment #27)
(In reply to Gerold from comment #25)
Could you send me please the file hid_test.exe Don't know how to compile it.
You can extract it from winetest.exe from https://test.winehq.org
Hi
Thanks for the tip. Wasn't aware about this site.
I extracted hid_test.exe and the program is crashing.
gerold@MINT19-0:~/Desktop$ wine cmd Microsoft Windows 6.1.7601 (4.4)
Z:\home\gerold\Desktop>hid_test device.c:47: Found device L"" (ff00, 01) wine: Unhandled page fault on write access to 0x00000000 at address 0x7b444e1a (thread 002c), starting debugger... 002e:fixme:dbghelp:elf_search_auxv can't find symbol in module 002e:fixme:dbghelp:elf_search_auxv can't find symbol in module 002e:fixme:dbghelp:elf_search_auxv can't find symbol in module 002e:fixme:dbghelp:elf_search_auxv can't find symbol in module 002e:fixme:dbghelp:elf_search_auxv can't find symbol in module 002e:fixme:dbghelp:elf_search_auxv can't find symbol in module 002e:fixme:dbghelp:elf_search_auxv can't find symbol in module 002e:fixme:dbghelp:elf_search_auxv can't find symbol in module 002e:fixme:dbghelp:elf_search_auxv can't find symbol in module 002e:fixme:dbghelp:elf_search_auxv can't find symbol in module 002e:fixme:dbghelp:elf_search_auxv can't find symbol in module 002e:fixme:dbghelp:elf_search_auxv can't find symbol in module 002e: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). 002e: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:3ed57200 EDX:0000000c ESI:0060f998 EDI:00000000 Stack dump: 0x0060f930: 00000001 7b448f66 0060f960 0000004c 0x0060f940: 0000004c 7b444de6 0060f970 00000000 0x0060f950: 0000004c 0060f998 0060f9c8 7eff94a3 0x0060f960: 0000004c 000b01a8 7eff93b5 7eff94a3 0x0060f970: 0000004c 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 (39 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 7e4a5000-7e4c9000 Deferred imm32<elf> -PE 7e4b0000-7e4c9000 \ imm32 ELF 7e569000-7e59b000 Deferred libexpat.so.1 ELF 7e59b000-7e5e6000 Deferred libfontconfig.so.1 ELF 7e5e6000-7e605000 Deferred libz.so.1 ELF 7e605000-7e63f000 Deferred libpng16.so.16 ELF 7e63f000-7e6fc000 Deferred libfreetype.so.6 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 7eca1000-7ecb5000 Deferred libnss_files.so.2 ELF 7ecb5000-7ecd0000 Deferred libnsl.so.1 ELF 7ecd0000-7ecde000 Deferred libnss_nis.so.2 ELF 7eede000-7efe0000 Deferred libm.so.6 ELF 7efe7000-7f000000 Dwarf hid<elf> -PE 7eff0000-7f000000 \ hid ELF f7b10000-f7b1a000 Deferred libnss_compat.so.2 ELF f7b20000-f7b25000 Deferred libdl.so.2 ELF f7b25000-f7d01000 Deferred libc.so.6 ELF f7d01000-f7d20000 Deferred libpthread.so.0 ELF f7d40000-f7efb000 Dwarf libwine.so.1 ELF f7efd000-f7f25000 Deferred ld-linux.so.2 Threads: process tid prio (all id:s are in hex) 00000008 cmd.exe 00000009 0 0000000e services.exe 00000020 0 0000001b 0 00000013 0 00000010 0 0000000f 0 00000011 winedevice.exe 00000018 0 00000017 0 00000016 0 00000012 0 00000019 plugplay.exe 0000001d 0 0000001c 0 0000001a 0 0000001e winedevice.exe 00000027 0 00000026 0 00000025 0 00000022 0 00000021 0 0000001f 0 00000023 explorer.exe 0000002a 0 00000029 0 00000028 0 00000024 0 0000002b (D) Z:\home\gerold\Desktop\hid_test.exe 0000002c 0 <== System information: Wine build: wine-4.4 Platform: i386 (WOW64) Version: Windows 7 Host system: Linux Host version: 4.15.0-46-generic
Z:\home\gerold\Desktop>