delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2016/03/20/08:48:06

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=oT5XBvRo2NliFsTF
aBN1X/BpPzGM7DsjthzvD3ltLiF4qfnIpxUIDZ7EGMkxUa8mMNvioS1uEmL4wLQm
YPXh4Q8kQ5x6vh0N9NLSWIZEoor7KhGP7CMla04thpSEu9Ov4ajdA5wydGKHOLej
bowVeQ3P3Jmtno0mMWWSxwTJAXM=
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=V4ojaqEj0RlUdWuUt37L7S
jClSw=; b=j3DVu6bAEy+wQAN5i3aY5x3sAFqi2MBkOispPt6vaEVtIjZfswJ7tv
7hVoJpTzT9nE/zK9iLYPmgm7eonxp0uza5QyZ1tMOlGmStFMxuyxOWxWdBilCWWH
me7dtZ71GD4f2b5ev1YvdVKPndEQw2rTm7o0q7D/4WEXIGGogZzjI=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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: No, score=-2.4 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=Hx-languages-length:1257, H*f:sk:56EE67C, H*i:sk:56EE67C, H*MI:sk:56EE67C
X-HELO: mail-wm0-f66.google.com
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=pvnBnQZeLZkrJIszuEH3HyctVNaiCHTmjxD4pSDjQ70=; b=GS2EPBhQCcDSp1ClqRkn0E2gupkdVK/yHFpR0ancqzWuf5LtqOYigw2z5JsGexBRr8 ApU5MvGTXYzs3mTecjJ17AuDUENKIlIX+s8u0Vc7vOa81F6s7jhTfxG+BC1ivpNIkVFw i+rKzs90JcoBwiIXltkAcnkdhkyMC9pG6esTT2+lybp6Cuk02Staw+Zayxxbn36rKh3b KEn4H48mx28ZJWisZXz62XXYaBlohmTmF2riD4Kc1wjo6tOMo/jmqlYkLMxibdb/0P+Y Vs6JvnSjYgYyjzNHWTyZRyOyKv+KMBgRwcpQicFk8LEF1RDTPupU+F9m00IJt7CGjsTO cMqQ==
X-Gm-Message-State: AD7BkJIBqusmj1/K0oBtCRqS1tEee79WiUnrhZsmulUp4nGke0iwr+qF8sO2HmN/ADzgUA==
X-Received: by 10.28.17.198 with SMTP id 189mr8485852wmr.47.1458478055606; Sun, 20 Mar 2016 05:47:35 -0700 (PDT)
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>
From: Marco Atzeri <marco DOT atzeri AT gmail DOT com>
Message-ID: <56EE9BDF.4080101@gmail.com>
Date: Sun, 20 Mar 2016 13:47:27 +0100
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.7.0
MIME-Version: 1.0
In-Reply-To: <56EE67C4.1070900@mail.mipt.ru>
X-IsSubscribed: yes

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 ?

> 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


--
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019