X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:subject:to:references:from:message-id:date :mime-version:in-reply-to:content-type :content-transfer-encoding; q=dns; s=default; b=DFjK2R9o6sSUsxv+ 8c4PEqO65rbtIjTlc43VP0Zgs1LJIQhqFcIWly3/6ZEqo7G+041M3MCWLzTPCavP Wt4po5fdj8QtFW44xFXMrb+UYSRQhYH9Fq2o4N9E+uCChhYdIcNa/3QhvwXHPVyh XgO2j4y5JJTYtRnTtRKtP/KxKV0= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:subject:to:references:from:message-id:date :mime-version:in-reply-to:content-type :content-transfer-encoding; s=default; bh=mgcjlfB2weIwF9R80Pv97t kbTRA=; b=QHI4RrlF015TdRq1qTh93PceaaphrvisFv23ZKMnJuiSBK/I/1MaC5 gQGifdynpmM1YBjUH49gn7ulqQAQ37GXSB1IXXRh4TZbdkpKQscQSxtfDtUg/k2c QqC9sdpvAJDjjr6QhDPN/mFffeRQVh5zTn0fCSY86hmP81ZAQ99Rc= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: =?ISO-8859-1?Q?Yes, score=5.4 required=5.0 tests=AWL,BAYES_05,BODY_8BITS,GARBLED_BODY,RCVD_IN_DNSWL_NONE,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS autolearn=no version=3.3.2 spammy==d0=b5=d1, =d0=bf=d0=b8=d1, Hx-languages-length:2204, H*f:sk:56EE9BD?= X-HELO: relay2.telecom.mipt.ru Subject: Re: 2.4-2.5 x64: bash crashes on backticks, gdb crashes on opening core dump To: cygwin AT cygwin DOT com References: <56EE67C4 DOT 1070900 AT mail DOT mipt DOT ru> <56EE9BDF DOT 4080101 AT gmail DOT com> From: Ivan Pozdeev Message-ID: <56EF42B7.5050501@mail.mipt.ru> Date: Mon, 21 Mar 2016 03:39:19 +0300 User-Agent: Mozilla/5.0 (Windows NT 5.2; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 MIME-Version: 1.0 In-Reply-To: <56EE9BDF.4080101@gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-IsSubscribed: yes Note-from-DJ: This may be spam 20.03.2016 15:47, Marco Atzeri пишет: > On 20/03/2016 10:05, Ivan Pozdeev wrote: >> bash >> ---- >> I'm being plagued by these crashes for about half a month now. >> Specifically, it cannot run any `configure' script. >> The crashes appear to happen in child bash/sh processes launched while >> processing backticks. Other times, commands with stream redirection fail >> silently or produce nothing. Simple commands or very short scripts do >> not fail. > > Any BLODA around ? None that I managed to find (checked with AVZ for interceptors, autoruns from a boot disk for suspicious entries, procmon for 3rd-party drivers in call chain). There might be something from hardware drivers, but none were installed two weeks ago. > >> On trying to open `sh.exe.core', gdb 1.10 crashes, too; gdb 1.9 says >> "get_core_register_section: Assertion `core_vec' failed" (see >> attachment). So I'm unable to diagnose bash's problem right now. >> >> At another machine with the same packages, bash does not fail, but gdb's >> problem stands. Already tried reinstalling all the packages `bash' >> depends on and itself to no effect. >> >> gdb >> --- >> I managed to debug the gdb session with VisualGDB (trial). >> It turns out, the root cause is that the /bin/sh executable is x64, but >> the core file `sh.exe.core' - of the same executable - has i386 format! >> (objdump: <...>sh.exe.core: file format elf32-i386) > > Are you sure about the 64 bit dumper ? > https://www.cygwin.com/cygwin-ug-net/dumper.html There's only one copy on my system and it's a 64-bit exe: $ which dumper /usr/bin/dumper $ cygcheck -f `which dumper` cygwin-2.4.1-1 $ objdump -h `which dumper` | head /usr/bin/dumper: file format pei-x86-64 <...> Already tried reinstalling the package as well as trying other versions available (2.3.1 and 2.5.0). specifying full windows-style path to the exe as `man dumper' says doesn't change anything. > > > -- > Problem reports: http://cygwin.com/problems.html > FAQ: http://cygwin.com/faq/ > Documentation: http://cygwin.com/docs.html > Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple > -- Regards, Ivan -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple