[Bug 45879] New: Aruba Key crashes on unimplemented function setupapi.dll.CM_Request_Device_EjectA when clicking 'remove' button

wine-bugs at winehq.org wine-bugs at winehq.org
Sun Sep 23 04:29:59 CDT 2018


https://bugs.winehq.org/show_bug.cgi?id=45879

            Bug ID: 45879
           Summary: Aruba Key crashes on unimplemented function
                    setupapi.dll.CM_Request_Device_EjectA when clicking
                    'remove' button
           Product: Wine
           Version: 3.16
          Hardware: x86-64
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: setupapi
          Assignee: wine-bugs at winehq.org
          Reporter: focht at gmx.net
      Distribution: ---

Hello folks,

as it says.

BTW the app seems to be a perfect test candidate/suite for Wine's Winscard.
Unfortunately Winscard looks pretty much abandoned area ('SCard4Wine' project
exists for that).

--- snip ---
$ pwd
/home/focht/.wine/drive_c/unpacked

$ WINEDEBUG=+seh,+relay,+process,+setupapi wine ./autorun.exe >>log.txt 2>&1
...
002a:Call KERNEL32.CreateProcessW(00000000,004435b8
L"C:\\unpacked\\Launcher\\launcher.exe",00000000,00000000,00000000,00000020,00000000,004437c8
L"C:\\unpacked\\Launcher",0033fdc4,0033fdb4) ret=00401104
....
002a:trace:process:create_process_impl starting
L"C:\\unpacked\\Launcher\\launcher.exe" as Win32 binary (400000-493000, arch
014c)
...
002c:Call KERNEL32.__wine_kernel_init() ret=7bc6d62a
...
002a:trace:process:create_process_impl started process pid 002b tid 002c
002a:Ret  KERNEL32.CreateProcessW() retval=00000001 ret=00401104 
...
002c:Call KERNEL32.CreateProcessW(00000000,0080797a
L"C:\\users\\focht\\Temp\\38763tool.exe  C: 43
aa_DJ",00000000,00000000,00000000,00000410,00000000,00807fba
L"C:\\users\\focht\\Temp",0069c1e8,0069c22c) ret=6a294dd7 
...
002c:trace:process:create_process_impl starting
L"C:\\users\\focht\\Temp\\38763tool.exe" as Win32 binary (400000-43c000, arch
014c) 
...
002c:trace:process:create_process_impl started process pid 0033 tid 0034
...
002c:Ret  KERNEL32.CreateProcessW() retval=00000001 ret=6a294dd7 
...
0034:Call setupapi.SetupDiGetClassDevsA(004279fc,00000000,00000000,00000012)
ret=00401bbb
0034:trace:setupapi:SetupDiGetClassDevsExW
{53f56307-b6bf-11d0-94f2-00a0c91efb8b} (null) (nil) 0x00000012 (nil) (null)
(nil)
0034:trace:setupapi:SetupDiCreateDeviceInfoListExW
{53f56307-b6bf-11d0-94f2-00a0c91efb8b} (nil) (null) (nil)
...
0034:Call advapi32.RegOpenKeyExW(80000002,7d8049e0
L"System\\CurrentControlSet\\Control\\DeviceClasses",00000000,00020019,0033ef34)
ret=7d7e5db2
0034:Ret  advapi32.RegOpenKeyExW() retval=00000002 ret=7d7e5db2
0034:trace:setupapi:SETUPDI_EnumerateInterfaces 0x1694d8,
{53f56307-b6bf-11d0-94f2-00a0c91efb8b}, (null), 00000012
...
0034:Ret  setupapi.SetupDiGetClassDevsA() retval=001694d8 ret=00401bbb
0034:Call
setupapi.SetupDiEnumDeviceInterfaces(001694d8,00000000,004279fc,00000000,0033f178)
ret=00401be4
0034:trace:setupapi:SetupDiEnumDeviceInterfaces 0x1694d8, (nil),
{53f56307-b6bf-11d0-94f2-00a0c91efb8b}, 0, 0x33f178
0034:Ret  setupapi.SetupDiEnumDeviceInterfaces() retval=00000000 ret=00401be4
0034:Call setupapi.SetupDiDestroyDeviceInfoList(001694d8) ret=00401cf1
0034:trace:setupapi:SetupDiDestroyDeviceInfoList 0x1694d8
0034:Call ntdll.RtlFreeHeap(00110000,00000000,001694d8) ret=7d7e4d5a
0034:Ret  ntdll.RtlFreeHeap() retval=00000001 ret=7d7e4d5a
0034:Ret  setupapi.SetupDiDestroyDeviceInfoList() retval=00000001 ret=00401cf1
0034:Call setupapi.CM_Get_Parent(0033f5e4,00000000,00000000) ret=0040230d
0034:fixme:setupapi:CM_Get_Parent 0x33f5e4 0x00000000 0x00000000 stub
0034:Ret  setupapi.CM_Get_Parent() retval=0000000d ret=0040230d
0034:Call KERNEL32.CloseHandle(00000014) ret=00402314
0034:Ret  KERNEL32.CloseHandle() retval=00000001 ret=00402314
0034:Call KERNEL32.RaiseException(80000100,00000001,00000002,0033f56c)
ret=7d8021fb
0034:trace:seh:raise_exception code=80000100 flags=1 addr=0x7b447477
ip=7b447477 tid=0034
0034:trace:seh:raise_exception  info[0]=7d802240
0034:trace:seh:raise_exception  info[1]=7d802e1d
wine: Call from 0x7b447477 to unimplemented function
setupapi.dll.CM_Request_Device_EjectA, aborting 
...
wine: Unimplemented function setupapi.dll.CM_Request_Device_EjectA called at
address 0x7b447477 (thread 0034), starting debugger... 
--- snip ---

Wine source:

https://source.winehq.org/git/wine.git/blob/HEAD:/dlls/setupapi/setupapi.spec#l171

--- snip ---
 171 @ stub CM_Request_Device_EjectA
 172 @ stub CM_Request_Device_EjectW
--- snip ---

$ sha1sum AK*
bd0408fa2c72f9f87067aa9f348bb626aa0d503d  AK_WIN_VERSION.exe
f4a5ce7c902b64c7459f96a08df542dea6cf4a8a  AK_WIN_VERSION.zip

$ du -sh AK*
160M    AK_WIN_VERSION.exe
159M    AK_WIN_VERSION.zip

$ wine --version
wine-3.16-149-gb1a3b9e5ce

Regards

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list