[Bug 45880] New: Multiple PC/ SC applications crash on unimplemented function winscard.dll.SCardCancel ( Aruba key, SmartCard test apps)

wine-bugs at winehq.org wine-bugs at winehq.org
Sun Sep 23 04:53:13 CDT 2018


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

            Bug ID: 45880
           Summary: Multiple PC/SC applications crash on unimplemented
                    function winscard.dll.SCardCancel (Aruba key,
                    SmartCard test apps)
           Product: Wine
           Version: 3.16
          Hardware: x86-64
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: winscard
          Assignee: wine-bugs at winehq.org
          Reporter: focht at gmx.net
      Distribution: ---

Hello folks,

as it says.

Click 'Import Certificate' which triggers installation of additional
drivers/tools -> 'Bit4id - Universal Middleware for Incard'

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

$ WINEDEBUG=+seh,+relay,+winscard wine ./launcher.exe >>log.txt 2>&1
...
0065:Call KERNEL32.CreateProcessA(00000000,010387a8
"\"C:\\windows\\SysWOW64\\RUNDLL32.EXE\"
\"C:\\windows\\system32\\bit4upki-store.dll\",RunImportServer",00000000,00000000,00000000,00000000,00000000,00000000,0128faec,0128fb3c)
ret=003b8d69
...
006f:Call KERNEL32.__wine_kernel_init() ret=7bc6d62a
0065:Ret  KERNEL32.CreateProcessA() retval=00000001 ret=003b8d69
...
006f:Call KERNEL32.LoadLibraryW(001506f0
L"C:\\windows\\system32\\bit4upki-store.dll") ret=7effd119 
...
006f:Ret  KERNEL32.LoadLibraryW() retval=10000000 ret=7effd119 
...
006f:Call winscard.SCardEstablishContext(00000002,00000000,00000000,0033fc44)
ret=10004a97
006f:fixme:winscard:SCardEstablishContext (2,(nil),(nil),0x33fc44) stub
006f:Ret  winscard.SCardEstablishContext() retval=80100001 ret=10004a97 
...
0070:Starting thread proc 0x1000fae0 (arg=0x360d98) 
...
0070:Call winscard.SCardIsValidContext(00000000) ret=10008569
006f:Call KERNEL32.GetLastError() ret=1001d22e
0070:fixme:winscard:SCardIsValidContext (0) stub
...
006f:Ret  KERNEL32.GetLastError() retval=00000003 ret=1001d22e
0070:Ret  winscard.SCardIsValidContext() retval=80100001 ret=10008569 
...
0070:Call winscard.SCardEstablishContext(00000002,00000000,00000000,0056fe08)
ret=10004a97
0070:fixme:winscard:SCardEstablishContext (2,(nil),(nil),0x56fe08) stub
0070:Ret  winscard.SCardEstablishContext() retval=80100001 ret=10004a97
...
006f:Call KERNEL32.ExitProcess(00000000) ret=10009312
...
006f:Call KERNEL32.RaiseException(80000100,00000001,00000002,0033ef24)
ret=f7aeccd5
006f:trace:seh:raise_exception code=80000100 flags=1 addr=0x7b447477
ip=7b447477 tid=006f
006f:trace:seh:raise_exception  info[0]=f7aeccec
006f:trace:seh:raise_exception  info[1]=f7aecd69
wine: Call from 0x7b447477 to unimplemented function winscard.dll.SCardCancel,
aborting
--- snip ---

Wine source:

https://source.winehq.org/git/wine.git/blob/HEAD:/dlls/winscard/winscard.spec#l9

--- snip ---
   9 @ stub SCardCancel
--- 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