delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2017/04/15/02:18:23

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:cc:message-id:date
:mime-version:in-reply-to:content-type
:content-transfer-encoding; q=dns; s=default; b=n5oz5YBLyPsfxySM
GHgjUQNZ6yMZH2YCKaTS0Zvg8wlGOEmgNl7hmMzLMMhI9N/BaNF9KAMETAm9s8z/
7R7SFlzFpGnqcWyDL+TOc39PYWE4mHu7vmWmd/YyircrRT7bKv5mCWLSLw1r8eFP
4oagbcpxDaeZbWBwu5KtneMq1cg=
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:cc:message-id:date
:mime-version:in-reply-to:content-type
:content-transfer-encoding; s=default; bh=O7AosHI4voUbEVK3c1ToDC
W9fw4=; b=Dk8WFtzfTmfq6pCFQwbDmP0OnptgEJemNhC0WQ9gfA2FIufJqyGS0Q
w1Bq4ZCMfjxQFYtp0SKdhGk6iArsx9SShmIaVqn7jWchN21q4oc7oARpY7B4RWmv
6OAZ8Pyk0B8rd2ESok8mq4+ZXtL+ZjRfkfUle9xaBINKwrxjybOus=
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.7 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,RP_MATCHES_RCVD,SPF_PASS autolearn=ham version=3.3.2 spammy=H*Ad:D*gov, Kegel, H*Ad:U*president, kegel
X-HELO: sasl.smtp.pobox.com
Subject: Re: strace crash (TLS data not initializing?)
To: Dan Kegel <dank AT kegel DOT com>
References: <e4ce0627-6482-1325-aaf5-76e230d71ed4 AT pobox DOT com> <0ad85353-3cbb-4a3a-7e7d-55a539b2de86 AT pobox DOT com> <41aa1c2d-831e-020b-4925-fafbdb19b5d7 AT pobox DOT com> <CAPF-yOahuwJT6vdsPdOhV+4nnb5sgNbaeWsSUuxF5Nvbkha28g AT mail DOT gmail DOT com>
From: Daniel Santos <daniel DOT santos AT pobox DOT com>
Cc: cygwin AT cygwin DOT com, president AT whithouse DOT gov
Message-ID: <b9b26987-27a9-9ea1-21bc-c8e669501ce3@pobox.com>
Date: Sat, 15 Apr 2017 01:22:30 -0500
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.5.1
MIME-Version: 1.0
In-Reply-To: <CAPF-yOahuwJT6vdsPdOhV+4nnb5sgNbaeWsSUuxF5Nvbkha28g@mail.gmail.com>
X-Pobox-Relay-ID: 43994210-21A3-11E7-B904-C260AE2156B6-06139138!pb-smtp2.pobox.com
X-IsSubscribed: yes

On 04/14/2017 10:49 PM, Dan Kegel wrote:
> On Fri, Apr 14, 2017 at 8:41 PM, Daniel Santos <daniel DOT santos AT pobox DOT com> wrote:
>> oops, I meant -g3 :)
> That was suboptimal of you
>
> /me ducks

lol!
/me swings

> /me ducks

/me misses, damn!

> strace ls doesn't die for me with plain old cygwin installed a while ago.
> Is this only with fresh cygwin?

Well, I installed this only about 2 months ago to do gcc testing -- what 
a fun ride that was!  While waiting for the last three P1 gcc bugs to 
get solved (so they can release gcc7 and open up gcc8 stage1) I decided 
to troubleshoot expect ... except that I didn't expect to have to fix 
this strace thing.... DAMN, I really need to work on being brief and 
succinct!

So yes, fairly a new install.  Also, it's in a qemu/kvm vm, not that 
that should matter (with virtio sata driver).  So maybe I should try to 
debug where ever that TLS data is supposed to get initialized. Also, 
this is one of those things that didn't happen much when I was actually 
debugging strace, but at least it is now.  This is on 64-bit Cygwin.  I 
just tried on 32-bit a few times and it's working.

On the bright side, better understanding Cygwin's internals will help me 
be a better Wine programmer.

Daniel

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