https://bugs.winehq.org/show_bug.cgi?id=56887
Bug ID: 56887 Summary: Total Commander ftps connection (TLS1.2) Product: Wine Version: 9.11 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: crypt32 Assignee: wine-bugs@winehq.org Reporter: daniel.becker@quippy.de Distribution: ---
Created attachment 76704 --> https://bugs.winehq.org/attachment.cgi?id=76704 The stacktrace of wine that came with that error
This used to work - however, I do not know with what version of wine. It stopped working a while ago. Tried to switch Operating System (XP, Win10, ...) but without success. This works in "real" windows (WinXP, Win7, Win10, Win11).
See the stack trace for more information.
This happens when I try to open a FTPS connection that is secured. FTP without encryption still works. I haven't tried SFTP, if that fails as well, as I do not have an FTP server supporting this.
Total Commander is run in 64bit environment.
https://bugs.winehq.org/show_bug.cgi?id=56887
Bernhard Übelacker bernhardu@mailbox.org changed:
What |Removed |Added ---------------------------------------------------------------------------- URL| |https://totalcommander.ch/1 | |103/tcmd1103x64.exe CC| |bernhardu@mailbox.org Keywords| |download
--- Comment #1 from Bernhard Übelacker bernhardu@mailbox.org --- Unfortunately I could not find a working wine version. Tested a few but not each wine versions back to 6.16~bookworm-1.
I recevied the windbg crash dialog with 8.10~bookworm-1 and 9.0.0~bookworm-1. Later I just get the console flooded with: err:seh:user_callback_handler ignoring exception c0000258
Used a public FTPS server from [1] and following actions: Menu "Net" - FTP Connect... - New Connection Session: test.rebex.net Host name[:Port]: ftps://test.rebex.net:990 User name: demo Password: password OK - Connect
This led e.g. for wine-9.0 to this backtrace with line information (shortened): Backtrace: =>0 CRYPT_CollectionAdvanceEnum+0xd9 [crypt32/collectionstore.c:189] in crypt32 1 Collection_enumCert+0x4e [crypt32/collectionstore.c:236] in crypt32 2 CertEnumCertificatesInStore+0x3c [crypt32/store.c:934] in crypt32 3 cert_compare_certs_in_store+0x18 [crypt32/cert.c:1624] in crypt32 4 find_cert_by_issuer+0x22b [crypt32/cert.c:1645] in crypt32 5 CertFindCertificateInStore+0x109 [crypt32/cert.c:1885] in crypt32 6 CertGetIssuerCertificateFromStore+0x4c [crypt32/cert.c:1968] in crypt32 7 in totalcmd64 (+0xae07f) (0x00000001e30170)
An attempt to run with WINEDEBUG=+crypt leads to a different crash, because crypt32.so gets unloaded, but libgnutls still has a reference to the function gnutls_log from crypt32.so and crashes when it tries to log something, but this might deserve its own bug.
[1] https://www.sftp.net/public-online-ftp-servers
https://bugs.winehq.org/show_bug.cgi?id=56887
--- Comment #2 from Daniel daniel.becker@quippy.de --- In addition to that: if you download and install crypt32.dll with winetricks the crash itself is gone. However, Total Commander is not capable of downloading the directory of the remote server. Maybe that way an older Wine Version worked. I cannot recall if I downloaded that, as I tried a complete wipe and reinstall of Wine (with default wine prefix) to get rid of any left overs that might cause that error - sadly did not help.