DMARC-Filter: OpenDMARC Filter v1.4.2 delorie.com 54MDVVSS154398 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 54MDVVSS154398 X-Recipient: archive-cygwin AT delorie DOT com X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org E43BD3857C6E ARC-Filter: OpenARC Filter v1.0.0 sourceware.org E43BD3857C6E ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1747920646; cv=none; b=AFYGzLVA2m90M36GtrtsRYqdd4Y1G/ryRTUIr8uqpXtc+hKwWqvAnhxVFBV59hmDdrq3i9Ve8hkGwF2nYxRfXKchzjl3l7LBaTBFSW+ZFrMAqae72gv2gwwCj7qQf4ajlV+aGnPLPmXNuMXYsSqE6hGvq6m8hTGI4jI5IqhEf9w= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1747920646; c=relaxed/simple; bh=UuEt4wkUe5M/EJnj9UcZgy6loEKkO2Mqfv5T4Ow64NU=; h=Message-ID:Date:MIME-Version:Subject:To:From; b=JOLB3EDOmjcWTxCda9Az8t1emQlRILQXwAjdb5GXQ4AUWvsi5jienI6zW8KPSRPtAjAWSJmzs6BLB2x6MTe36xJGkZsOeCMxN88+Jx0MoxCmi2OYTqNDETwm5RiTK8Tm3TVgI3KVxMfNvUNFGgH+dslwpb/+sKOaAGJ9T6R2GaQ= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org E43BD3857C6E X-SNCR-Rigid: 67D89E0807599800 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-RazorGate-Vade: gggruggvucftvghtrhhoucdtuddrgeeffedrtddtgdeitdelucdltddurdegfedvrddttddmucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuueftkffvkffujffvgffngfevqffopdfqfgfvnecuuegrihhlohhuthemuceftddunecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjughrpefkffggfgfuvfhfhfevjggtgfesthekredttddvjeenucfhrhhomheplfhonhcuvfhurhhnvgihuceojhhonhdrthhurhhnvgihsegurhhonhgvtghouggvrdhorhhgrdhukheqnecuggftrfgrthhtvghrnhepffehleejveegieegleegtedtheffkeeutefhgffhveelvdehjeduveefffevgfeinecuffhomhgrihhnpegthihgfihinhdrtghomhenucfkphepkedurdduvdelrddugeeirdduheegnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehhvghloheplgduledvrdduieekrddurddutdelngdpihhnvghtpeekuddruddvledrudegiedrudehgedpmhgrihhlfhhrohhmpehjohhnrdhtuhhrnhgvhiesughrohhnvggtohguvgdrohhrghdruhhkpdhrvghvkffrpehhohhsthekuddquddvledqudegiedqudehgedrrhgrnhhgvgekuddquddvledrsghttggvnhhtrhgrlhhplhhushdrtghomhdprghuthhhpghushgvrhepjhhonhhtuhhrnhgvhiessghtihhnthgvrhhnvghtrdgtohhmpdhgvghokffrpefiuedpoffvtefjohhsthepsghtphhrughrghhotddutddpnhgspghr tghpthhtohepvddprhgtphhtthhopegthihgfihinhestgihghifihhnrdgtohhmpdhrtghpthhtohepghgrrhihrdhlihguughlvgesmhgvrdgtohhm X-RazorGate-Vade-Verdict: clean 0 X-RazorGate-Vade-Classification: clean X-VadeSecure-score: verdict=clean score=0/300, class=clean Message-ID: Date: Thu, 22 May 2025 14:30:32 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: bash::SIGSEGV in timegm () from D:\cygwin64\bin\cygwin1.dll To: Gary Liddle References: 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-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 54MDVVSS154398 On 22/05/2025 14:15, Gary Liddle via Cygwin wrote: > Yesterday I updated Cygwin using setup-x86_64 to the latest non test release, and bash —login would no longer start. > > It turns out bash won’t start for me when a .profile runs a sub-command. > > This is highlighted by:- > > gdb bash > dll cygwin1.dll > b timegm > run > bash-5.2$ echo foo > foo > bash-5.2$ a=`echo foo` > > Program received signal SIGSEGV, Segmentation fault. > 0x00007ffa5cb3ce31 in timegm () from D:\cygwin64\bin\cygwin1.dll > (gdb) > ... > bash-5.2$ a=`xxx` > bash: xxx: command not found > > Program received signal SIGSEGV, Segmentation fault. > 0x00007ffa5cb3ce31 in timegm () from D:\cygwin64\bin\cygwin1.dll > (gdb) > > uname -a CYGWIN_NT-10.0-26100 garyl 3.7.0-0.98.gb39b510c1ce6.x86_64 2025-05-18 15:52 UTC x86_64 Cygwin > [...] Thanks for reporting this. > I am at a loss as to how to dig further because gdb doesn’t seem to want to go near timegm and I can’t see anything in the strace output that seems to point to anything useful. The information in [1] may be helpful in investigating further with gdb. [1] https://cygwin.com/faq.html#faq.programming.debugging-cygwin -- 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