DMARC-Filter: OpenDMARC Filter v1.4.2 delorie.com 54HE30UR535214 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 54HE30UR535214 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=dFIL4MWl X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 02D743857833 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1747490578; bh=SQ8IDwGvG6ExxXCxiq0yrC1b49LI51VmHmET/tjBS4M=; h=Date:Subject:References:Cc:In-Reply-To:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To: From; b=dFIL4MWlDSbixgsEZgqjy4DkA1yAufD/vEBnRtwZ2QXLNYugRQItNwGdECMy+yy5S oFCigVGsKp+//BJs/dBJ2RQ0vIeHQp8991LbRD3Q2gv6pt5mjXv7/7Eto06tl+Q0C7 uQyQWUGkQTJjlo76SKyd86AwvvWbMsJ92Hv/ap88= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 737703858D32 ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 737703858D32 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1747490520; cv=none; b=J+nikP+FnRvEO9AkMkPM08JnTQTW8d3GZbaZQVIJiKzlGiCGzksUqLNAd7Bs9fR4WuoCWJ2tk7s+DM1muKLKHGpFoxT9rLPtz0t++JDY100PatzAKakx+LymZlBrWmtPM45RmsNyeSSz8rvhozcEOU5aQBuaexZBFt0xowhr7+o= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1747490520; c=relaxed/simple; bh=Gf7jYpxZefUB+VW8zysuzBOASSsmjGGpicZlS2dryQ8=; h=Message-ID:Date:MIME-Version:Subject:From; b=eUuZDTF5vMD13Zj2gL/p/r++zT/TiJ+cFhHOm9t+eUrCVht2EvQf6I7Flb6I4bBroPkQnwJPdfz3E7AzypngnxIA5MMCpfV6VUzsOOFYVeGBhAMLf7xnBKz/5y9kMzTggbz7w9vZ/P1QVxRJFznIjk8a3IRk5UnvcJMiQfROOkg= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 737703858D32 X-SNCR-Rigid: 67D89C3806E166B1 X-Originating-IP: [81.129.146.154] X-OWM-Source-IP: 81.129.146.154 X-OWM-Env-Sender: jon DOT turney AT dronecode DOT org DOT uk X-VadeSecure-score: verdict=clean score=30/300, class=clean X-RazorGate-Vade: gggruggvucftvghtrhhoucdtuddrgeefvddrtddtgdefudehkedvucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuueftkffvkffujffvgffngfevqffopdfqfgfvnecuuegrihhlohhuthemuceftddunecumhhishhsihhnghcuvffquchfihgvlhguucdlfedtmdenucfjughrpefkffggfgfufhfhvegjtgfgsehtkeertddtvdejnecuhfhrohhmpeflohhnucfvuhhrnhgvhicuoehjohhnrdhtuhhrnhgvhiesughrohhnvggtohguvgdrohhrghdruhhkqeenucggtffrrghtthgvrhhnpeeikeeuffdukeeiffetjeeffeevvdehvdegveffudegudehgeefjefhueetvdevvdenucffohhmrghinheptgihghifihhnrdgtohhmnecukfhppeekuddruddvledrudegiedrudehgeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhephhgvlhhopegludelvddrudeikedruddruddtlegnpdhinhgvthepkedurdduvdelrddugeeirdduheegpdhmrghilhhfrhhomhepjhhonhdrthhurhhnvgihsegurhhonhgvtghouggvrdhorhhgrdhukhdprhgvvhfkrfephhhoshhtkeduqdduvdelqddugeeiqdduheegrdhrrghnghgvkeduqdduvdelrdgsthgtvghnthhrrghlphhluhhsrdgtohhmpdgruhhthhgpuhhsvghrpehjohhnthhurhhnvgihsegsthhinhhtvghrnhgvthdrtghomhdpghgvohfkrfepifeupdfovfetjfhoshhtpegsthhprhgurhhgohdttddvpdhnsggprhgtphhtthhopedupdhr tghpthhtoheptgihghifihhnsegthihgfihinhdrtghomh X-RazorGate-Vade-Verdict: clean 30 X-RazorGate-Vade-Classification: clean Message-ID: Date: Sat, 17 May 2025 15:01:58 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: strace: infinite exception c0000005 loop on segmentation fault References: <320ee4eb-a06d-150d-ef12-3dc501bbd60b AT t-online DOT de> <20250516211400 DOT 84e5ff3351f557a313618ee7 AT nifty DOT ne DOT jp> <20250517004342 DOT bb5af58ef1498179b3e91206 AT nifty DOT ne DOT jp> <15add7ba-0a22-4dc7-ab78-8d2759f05c64 AT dronecode DOT org DOT uk> Content-Language: en-US Cc: cygwin AT cygwin DOT com In-Reply-To: <15add7ba-0a22-4dc7-ab78-8d2759f05c64@dronecode.org.uk> 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-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 54HE30UR535214 On 16/05/2025 22:37, Jon Turney via Cygwin wrote: > On 16/05/2025 16:43, Takashi Yano wrote: >> Hi Jon, > [...] >>> >>> I could reproduce that. And also found cygwin 3.4.10 does not have this >>> issue. I'll look into this. >> >> I could bisect the issue and found the next commit triggered the issue. >> >> commit 91457377d6c9f89a08b1b70e45cbae87ef467119 >> Author: Jon Turney >> Date:   Thu Jan 11 20:00:14 2024 +0000 >> > [...] > > Thanks for looking into this. > >> I also found the following patch fixes the issue. I'm not sure >> this is the right thing, so could you please have a look? >> >> diff --git a/winsup/cygwin/exceptions.cc b/winsup/cygwin/exceptions.cc >> index 9763a1b04..aea2821f6 100644 >> --- a/winsup/cygwin/exceptions.cc >> +++ b/winsup/cygwin/exceptions.cc >> @@ -597,7 +597,7 @@ try_to_debug () >>       { >>         extern void break_here (); >>         break_here (); >> -      return 1; >> +      return 0; >>       } >>     /* Otherwise, invoke the JIT debugger, if set */ > > Hmm... at this remove in time, I'm not sure why I made that change. > > Well, "consistently return non-zero from try_to_debug() if we debugged", > but maybe that misunderstands the meaning of the return value... See yeah, it seems I came to understand that a bit better at: https://cygwin.com/pipermail/cygwin-patches/2024q1/012605.html but never got back to this piece of code. -- 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