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@winehq.org Reporter: focht@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.spe...
--- 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
https://bugs.winehq.org/show_bug.cgi?id=45880
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- URL| |https://ca.arubapec.it/down | |loads/AK_WIN_VERSION.zip Keywords| |download
https://bugs.winehq.org/show_bug.cgi?id=45880
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch
--- Comment #1 from Austin English austinenglish@gmail.com --- https://source.winehq.org/patches/data/151773
The stub was never called when I tried it, unfortunately.
https://bugs.winehq.org/show_bug.cgi?id=45880
--- Comment #2 from Austin English austinenglish@gmail.com --- (In reply to Austin English from comment #1)
https://source.winehq.org/patches/data/151773
The stub was never called when I tried it, unfortunately.
https://source.winehq.org/git/wine.git/commitdiff/eb68dc963325607dc38d469ff6...
I'll let you resolve it, since I couldn't test it myself
https://bugs.winehq.org/show_bug.cgi?id=45880
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED Fixed by SHA1| |eb68dc963325607dc38d469ff63 | |7babaf58676f1
--- Comment #3 from Anastasius Focht focht@gmx.net --- Hello folks,
this is fixed by commit https://source.winehq.org/git/wine.git/commitdiff/eb68dc963325607dc38d469ff6...
Thanks Austin
---snip --- ... 0055:Call KERNEL32.CreateProcessA(00000000,0103dde8 ""C:\windows\SysWOW64\RUNDLL32.EXE" "C:\windows\system32\bit4upki-store.dll",RunImportServer",00000000,00000000,00000000,00000000,00000000,00000000,0128faec,0128fb3c) ret=003b8d69 ... 005d:Call KERNEL32.__wine_kernel_init() ret=7bc6d5f8 0055:Ret KERNEL32.CreateProcessA() retval=00000001 ret=003b8d69 ... 005d:Call winscard.SCardCancel(00000000) ret=10003d90 005d:fixme:winscard:SCardCancel (0) stub 005d:Ret winscard.SCardCancel() retval=80100001 ret=10003d90 ... 005d:Call winscard.SCardEstablishContext(00000002,00000000,00000000,0033fc44) ret=10004a97 005d:fixme:winscard:SCardEstablishContext (2,(nil),(nil),0x33fc44) stub 005d:Ret winscard.SCardEstablishContext() retval=80100001 ret=10004a97 ... 005d:Call KERNEL32.ExitProcess(00000000) ret=10009312 ... 005d:trace:winscard:DllMain 0xf7a80000,0,0x1 --- snip ---
$ wine --version wine-3.17
Regards
https://bugs.winehq.org/show_bug.cgi?id=45880
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #4 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 3.18.
https://bugs.winehq.org/show_bug.cgi?id=45880
Michael Stefaniuc mstefani@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |3.0.x
https://bugs.winehq.org/show_bug.cgi?id=45880
Michael Stefaniuc mstefani@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|3.0.x |---
--- Comment #5 from Michael Stefaniuc mstefani@winehq.org --- Removing the 3.0.x milestone from bug fixes included in 3.0.5.
https://bugs.winehq.org/show_bug.cgi?id=45880
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- URL|https://ca.arubapec.it/down |https://web.archive.org/web |loads/AK_WIN_VERSION.zip |/20190412211227/https://ca. | |arubapec.it/downloads/AK_WI | |N_VERSION.zip