DMARC-Filter: OpenDMARC Filter v1.4.2 delorie.com 551ChR5c2246392 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 551ChR5c2246392 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=LYwFlWwQ X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 35E1A3858289 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1748781805; bh=7bq+zqk+eJ1ZOx0SBfV8uGA3/MlJH2s7dnso87WRedk=; h=Date:Subject:To:References:Cc:In-Reply-To:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From:Reply-To:From; b=LYwFlWwQgjLiP+8NgFrzmtVxn8L6ZLNqk6Qky+CTfzRRkbHW+1OlvXXk3DtBZYCIp IeaQ1W+J4NKI7Ugp/WYo/ZAiuxpmEZ0jkwIwsBbfLLE9ci/d9YCCh84RmYrahfCuSF 9waDbyriSam3DHogPLnog7ZxVmF4KzpGCvUY9RaM= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org DC63E3858C53 ARC-Filter: OpenARC Filter v1.0.0 sourceware.org DC63E3858C53 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1748781717; cv=none; b=QGKZP801YDQVtJgF1jEF3zr4SwLWx1h0FFCSeyhISm8GXixN3Y5UKsDNTOc6y3u3cpN0JjBqH1FCFG1ZZAVw2eKpTRUuu/aoPj9f0kbnM6uGkICa1yRx3DEamRejgW3R0mEbrl0trOKEwB8XkS9Yg1ptroVhUDy7S5PXJKI5lHw= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1748781717; c=relaxed/simple; bh=8vyQwu/rtDFZSqtRqQs0SZ5vUr8hWKgykSEpmmclwYQ=; h=Message-ID:Date:MIME-Version:Subject:To:From; b=Vjzhdup47P261byKn0x5XgzjV5ZbMzQPxRFlWqcjPOKYmf+QuPOa17D19cN3h1IXfxKr2qnqrR63EdmmVqnYMwqablmaR0NLhEYC3/5LZJ08BKiHhIcpF3fz34F5gZICTYOz2uucWPZqNzOmHaqXQcesRI9Q4rCq11jIyn3uMb0= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org DC63E3858C53 X-SNCR-Rigid: 67D89D5C0855D219 X-Originating-IP: [86.139.156.52] X-OWM-Source-IP: 86.139.156.52 X-OWM-Env-Sender: jon DOT turney AT dronecode DOT org DOT uk X-RazorGate-Vade: gggruggvucftvghtrhhoucdtuddrgeeffedrtddtgdefgeekudculddtuddrgeefvddrtddtmdcutefuodetggdotefrodftvfcurfhrohhfihhlvgemuceutffkvffkuffjvffgnffgvefqofdpqfgfvfenuceurghilhhouhhtmecufedtudenucenucfjughrpefkffggfgfuvfhfhfevjggtgfesthejredttddvjeenucfhrhhomheplfhonhcuvfhurhhnvgihuceojhhonhdrthhurhhnvgihsegurhhonhgvtghouggvrdhorhhgrdhukheqnecuggftrfgrthhtvghrnhephfetjeejieettdduffeutefgtdehgfejkeelvefhiedvkeeludefleegtdetvedvnecuffhomhgrihhnpehgihhthhhusgdrtghomhdptgihghifihhnrdgtohhmnecukfhppeekiedrudefledrudehiedrhedvnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehhvghloheplgduledvrdduieekrddurddutdelngdpihhnvghtpeekiedrudefledrudehiedrhedvpdhmrghilhhfrhhomhepjhhonhdrthhurhhnvgihsegurhhonhgvtghouggvrdhorhhgrdhukhdprhgvvhfkrfephhhoshhtkeeiqddufeelqdduheeiqdehvddrrhgrnhhgvgekiedqudefledrsghttggvnhhtrhgrlhhplhhushdrtghomhdprghuthhhpghushgvrhepjhhonhhtuhhrnhgvhiessghtihhnthgvrhhnvghtrdgtohhmpdhgvghokffrpefiuedpoffvtefjohhsthepsghtphhrughrghhotddtjedpnhgspghrtghpthhtohepvddprhgt phhtthhopegthihgfihinhestgihghifihhnrdgtohhmpdhrtghpthhtoheptgihghifihhnsehjughrrghkvgdrtghomh X-RazorGate-Vade-Verdict: clean 0 X-RazorGate-Vade-Classification: clean X-VadeSecure-score: verdict=clean score=0/300, class=clean Message-ID: Date: Sun, 1 Jun 2025 13:41:52 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: openssl and libcurl issue with cargo To: Jeremy Drake 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> Content-Language: en-US Cc: cygwin AT cygwin DOT com In-Reply-To: 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: Jon Turney via Cygwin Reply-To: Jon Turney Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Errors-To: cygwin-bounces~archive-cygwin=delorie DOT com AT cygwin DOT com Sender: "Cygwin" On 25/05/2025 17:53, Jeremy Drake via Cygwin wrote: > On Sun, 25 May 2025, 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. > > Lazka pointed out in > https://github.com/msys2/MSYS2-packages/pull/3448#issuecomment-2907899110 > that openssl is using pthread tls destructors to do cleanup when > available, so it may not actually be a leak on Cygwin. Wow, that links back to [1]: Now I feel old. [1] https://cygwin.com/pipermail/cygwin/2011-March/194414.html Since I still have the "Building DLLs on Cygwin" part of the manual open in my editor, I guess maybe I should add "Don't try to use Cygwin's POSIX API inside the DllMain function" to that... (and more generally, use POSIX mechanisms for initialization/cleanup on process/thread creation/destruction). -- 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