DMARC-Filter: OpenDMARC Filter v1.4.2 delorie.com 54PFuZXn2416672 Authentication-Results: delorie.com; dmarc=pass (p=none dis=none) header.from=cygwin.com Authentication-Results: delorie.com; spf=pass smtp.mailfrom=cygwin.com DKIM-Filter: OpenDKIM Filter v2.11.0 delorie.com 54PFuZXn2416672 Authentication-Results: delorie.com; dkim=pass (1024-bit key, unprotected) header.d=cygwin.com header.i=@cygwin.com header.a=rsa-sha256 header.s=default header.b=DHknR4Aw X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 459EE385841D DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1748188593; bh=1kscM6kzLWVEB0kqHU9MEa6CBL6SjdpIDNLPs8PyxMY=; h=Date:Subject:To:References:In-Reply-To:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=DHknR4Aw5IP4LfpEd0Cajcsj1Xd06WldT8oWnfkA0bvL8RK6n+JuBcedp4SVAzavY Jq7GDFc9C1AvTARB6JUB9UwgPFPbuavpN/8AqRt/ryAYgQPX7waBkzPcE/E0Df2ZcC NftNTkuWXzxaN0bkioNAy2WXBJc0IFg68tzVXAjo= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 723083858D21 ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 723083858D21 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1748188523; cv=none; b=TaTrDwXzX5SDW+fc4MOMlw7exgIsibXoSlkCvehG+GRaQLBldEhKX/qzzrygcpemuC1PaY5W7jLMDsYO2nwYvhZFMd3iOOwbxdfi+O0Ni+VWN/VZVHP9z9iovAaGH+ZMiEeDtDhAsUKo4W2ArMbtS1io7QjFdBKoIPx6B+4ejy8= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1748188523; c=relaxed/simple; bh=SwdIZl/vnFPbnhjizz+HGu+n1GxRmEmXrbWHOYeRDXA=; h=Message-ID:Date:MIME-Version:Subject:From:To:DKIM-Signature; b=xXWnvXa1KP2VAkO5tQpTLCE5fc65izvQ9ya6sof5w554PDrrK78RDlW5b0t478P3aAh4eyCyv+yF3Jq7GigiFLEyUJjggnD+677T3lA/gYCs7QnmZMpwQAB6T2BsSFlzpcCfzYT2ZssUQf7IPekhtV/8ah4zHJNpo6mKfI6t52I= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 723083858D21 Message-ID: <781ec89e-18ba-4c51-bb77-358a94f10599@SystematicSW.ab.ca> Date: Sun, 25 May 2025 09:55:20 -0600 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: openssl and libcurl issue with cargo Content-Language: en-CA To: cygwin AT cygwin DOT com References: <3a509f81-1b37-8625-7b3a-57b2027ccd66 AT jdrake DOT com> <083b5ba7-46c8-8780-d362-bea33f227cb9 AT jdrake DOT com> <874ix9gky6 DOT fsf AT Gerda DOT invalid> Organization: Systematic Software In-Reply-To: X-Rspamd-Queue-Id: 9DD4D20025 X-Rspamd-Server: rspamout08 X-Stat-Signature: o9h4aq1nnr9oppbw4qmsreydctc9buh7 X-Session-Marker: 427269616E2E496E676C69734053797374656D6174696353572E61622E6361 X-Session-ID: U2FsdGVkX1/FIVstkR2pcNkOaNyl59mLs4UNbfl7s4s= X-HE-Tag: 1748188521-994247 X-HE-Meta: U2FsdGVkX1+ZCMc6M0EcbAiUdBegLTeOyTvl1RuP/P6/Wbdcb68t+lyQxJGlMxLjV87JFZvdegETlfKb6dl9lbcaNWUGAGrM+P1h0SlIN+uzhvpTPl/S9n5ISH7LuzS+muivs2jPog6GB+uSOmz52akR3UjI2ReicjuDjjJXSB8JSsephHQx0LtZd3yzYmcZGjqzzgs/cXn9DUTxMeW1IhgP8Q1tCCY884KSm1B/tNcOzzxjrxnWgq8f8KqvYb7CuCIF+XkM74+S7var4UObf6q7gtEj/rIcSleXmfJf4RdFxoDMU/l+jIuRDNS1RdtaDqMbt3NnB/G6Om6LJNDqw7lSO30kBbCldaa/FDnBbAghku4rx10bsqxop6Icw8AbR5dbuBsF8jbKhsoXeV2E13KpVP6c6UN2wZ3U0cl9qF9CbEm3vVP/gvSWJThkMHBu4zuc+fXe0iL34YgsC84Ln4Q0gvFcimuhlJaT3izYbr2uKzu2jtYVyTd0pVfA5Mwr X-BeenThere: cygwin AT cygwin DOT com X-Mailman-Version: 2.1.30 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Brian Inglis via Cygwin Reply-To: cygwin AT cygwin DOT com Cc: Brian Inglis Content-Type: text/plain; charset="utf-8"; Format="flowed" Errors-To: cygwin-bounces~archive-cygwin=delorie DOT com AT cygwin DOT com Sender: "Cygwin" Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 54PFuZXn2416672 On 2025-05-25 09:11, Brian Inglis wrote: > On 2025-05-25 02:21, ASSI via Cygwin wrote: >> Jeremy Drake via Cygwin writes: >>> Apparently the fix that MSYS2 made for openssl in >>> https://github.com/msys2/MSYS2-packages/pull/3448  is also not present in >>> Cygwin, so cargo continues to crash after I patched libcurl. >> >> I have the opposite view on crashing vs. leaking memory from openSSL, >> but the just uploaded test release has the patch. > > We are now using totally different versions of OpenSSL with curl &c: > > $ curl -V > curl 8.13.0 (x86_64-pc-cygwin) libcurl/8.13.0 OpenSSL/3.0.16 zlib/1.3.1 > brotli/1.1.0 zstd/1.5.7 libidn2/2.3.8 libpsl/0.21.5 libssh2/1.11.0 > nghttp2/1.61.0 libgsasl/2.2.2 OpenLDAP/2.6.9 > Release-Date: 2025-04-02 > Protocols: dict file ftp ftps gopher gophers http https imap imaps ipfs ipns > ldap ldaps mqtt pop3 pop3s rtsp scp sftp smb smbs smtp smtps telnet tftp ws wss > Features: alt-svc AsynchDNS brotli gsasl GSS-API HSTS HTTP2 HTTPS-proxy IDN IPv6 > Kerberos Largefile libz NTLM PSL SPNEGO SSL threadsafe TLS-SRP UnixSockets zstd > > So the issue still exists in Cygwin OpenSSL LTS 3.0.16-1 and ASSI/Stromeko has > patched it in Cygwin OpenSSL 3.0.16-2 and mingw64-x86_64/i686-openssl 3.0.16-2 > test package releases: > >     https://cygwin.com/pipermail/cygwin-announce/2025-May/012341.html > > So please try installing the relevant Cygwin/Mingw64 OpenSSL test packages, with > the latest curl packages, retest and report, if you don't mind. > > Perhaps ASSI/Stromeko could push his test release 2 patch to his openssl repo > playground branch: > >     https://cygwin.com/git/?p=git/cygwin-packages/openssl.git > > as we get 404 on: > > https://cygwin.com/git/?p=git/cygwin-packages/openssl.git;h=refs/heads/playground > > so we can confirm that what he actually changed was: > >     "remove the ERR_remove_state() call in the DLL_THREAD_DETACH case" > > or equivalent, as suggested in: > >     https://cygwin.com/pipermail/cygwin/2011-March/194454.html > > rather than other suggested hacks elsewhere or with libcurl? Posted links to these posts in Curl, Msys2, OpenSSL, Rust GitHub repo Issues. -- Take care. Thanks, Brian Inglis Calgary, Alberta, Canada La perfection est atteinte Perfection is achieved non pas lorsqu'il n'y a plus rien à ajouter not when there is no more to add mais lorsqu'il n'y a plus rien à retrancher but when there is no more to cut -- Antoine de Saint-Exupéry -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation: https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple