delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2021/03/05/09:43:58

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org DE5123AAA08C
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1614955435;
bh=HT0y0AGIER+KRan04VaFJeX6WPmMpo6a3PflqxG76Tw=;
h=Date:To:Subject:References:In-Reply-To:List-Id:List-Unsubscribe:
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc:
From;
b=cBcbUWHd3DSKrdcZK74tbfMGoVHWsjR9sZc870Rgr8qGO8ykjLFkgmpqbdb8WrGZG
njXItbEr3+kiAoSBv7O4UCdg3Z0HyRUm/fxnuIr2jHNrUSZWLU/MIGS3VP2OHFJ5MG
0N10E3HqROqi8Aaw2etRtwk8bk5CBluhx9jphW2M=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 011983AA903C
Date: Fri, 5 Mar 2021 15:42:49 +0100
To: Mark Geisert <mark AT maxrnd DOT com>
Subject: Re: segfault on 32bit cygwin snapshot
Message-ID: <YEJDaQQ+U/+j3uQb@calimero.vinschen.de>
Mail-Followup-To: Mark Geisert <mark AT maxrnd DOT com>, cygwin AT cygwin DOT com
References: <YD5eXbxBWbUUSwcM AT calimero DOT vinschen DOT de>
<20210303185621 DOT b048287526901af6a4c8200a AT nifty DOT ne DOT jp>
<YD9sSea32T7GqlJr AT calimero DOT vinschen DOT de>
<20210304180534 DOT 7c3825e6ee989a2bf62f0652 AT nifty DOT ne DOT jp>
<CAB8Xom-HwxH9LnbLL8cAoXh60tjU592T6XFEDJzvhv28Do-UsQ AT mail DOT gmail DOT com>
<20210304205000 DOT 4ac34afe1a8b767ea2986291 AT nifty DOT ne DOT jp>
<b7338aaa-c1e1-1816-35f8-666c2f6ac618 AT cornell DOT edu>
<98df59b3-a139-03d2-c8c5-31ff4f8448ab AT gmail DOT com>
<625cb9d2-b6cc-3ada-eea9-44a5e73da17c AT gmail DOT com>
<72a86908-e150-2070-24f7-79ca82de9916 AT maxrnd DOT com>
MIME-Version: 1.0
In-Reply-To: <72a86908-e150-2070-24f7-79ca82de9916@maxrnd.com>
X-Provags-ID: V03:K1:5f4+xZfC3qz782XBcu9cuOI0z5pOT9NXUqg7bsrfAW5up/hd6IF
V+8XmnfalmiwyEDX43OOsU/01VEdYOR60sukWrdmiH6w1DOsCJ2aa7dAETYTAIjkP6ysS+H
hOxeBcpna/C0zLCzk4NAljzdIi8HUtnXXujHa2TZD9vRPV7IFdrOIKbD7xMXu11bw+Dk7xt
uKm1yywoklmYVaVhXB6Gw==
X-UI-Out-Filterresults: notjunk:1;V03:K0:Cntqy5jXI5E=:dihuY3IR1ohwjEbEkuuc2d
JF8N+5upB2W1Lu7FoWnwK5ORsT6u4YtfzYd3YAkJlCPCYlTGvnO8Um7Sllml1cx6GqinPK1V+
PE0vp2oal/k4dOCJRGEdjGkImaxhqxXq9DlfCVlzZSfW1qT+TuR9BMuDPeWO/iKvsz4RMXlKe
4iVBqB5GpeQ/Ec8ZDyOyTzv1khmtM8/vVMJGDrHSpAwiT5kyCPq0DCyLNUxt2SmlYzaVAvGyx
untqTer7RIUIfsc8RKzxCEQtVRVkp3Ct/I3xgCv8RdqzLAU+vvQ+hArPhlplkVK9dNaVICPlS
ZLh3vOKsQXJXXe4vbLRxLjCapQYFMZdDFUDd/kp3EEJ7o4VdjgPaZASKtsVCTKz31ke8aDS7/
R3Th5ZeXX9QIBWaImgmEbWBhmIKtV1Cx7dBlBdVyKkLO/zNy0Q5vkyX9pEXk8FWGyDbSbJBgq
i91Ob+x8eg==
X-Spam-Status: No, score=-99.9 required=5.0 tests=BAYES_00, BODY_8BITS,
GOOD_FROM_CORINNA_CYGWIN, KAM_DMARC_NONE, KAM_DMARC_STATUS, RCVD_IN_DNSWL_NONE,
RCVD_IN_MSPIKE_H2, SPF_HELO_NONE, SPF_NEUTRAL,
TXREP autolearn=ham autolearn_force=no version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on
server2.sourceware.org
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: Corinna Vinschen via Cygwin <cygwin AT cygwin DOT com>
Reply-To: cygwin AT cygwin DOT com
Cc: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>, cygwin AT cygwin DOT com
Errors-To: cygwin-bounces AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces AT cygwin DOT com>
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 125EhuCY001752

On Mar  5 01:11, Mark Geisert wrote:
> Marco Atzeri via Cygwin wrote:
> > On 04.03.2021 21:17, Marco Atzeri wrote:
> > > On 04.03.2021 16:17, Ken Brown via Cygwin wrote:
> > > > On 3/4/2021 6:50 AM, Takashi Yano via Cygwin wrote:
> > > > > On Thu, 4 Mar 2021 12:11:11 +0100
> > > > > marco atzeri wrote:
> > > > > > I have no problem to patch Python to solve the issue,
> > > > > > but I have not seen evidence of the dlsym mechanism .
> > > > > > But of course I an NOT and expert in this field.
> > > > > > 
> > > > > > If someone looking to the code can give me some hints,
> > > > > > I will appreciate
> > > > > 
> > > > > I am also not sure where the dlsym() is used in python.
> > > > > At least, os.uname() works in python 3.8.7 and 2.7.18 in my
> > > > > environment even without that snippet. It seems that os.uname()
> > > > > does not use dlsym(). Do I overlook something?
> > > > 
> > > > This all started because Mark reported a problem building python 3.8.3:
> > > > 
> > > >    https://cygwin.com/pipermail/cygwin-apps/2020-December/040765.html
> > > > https://cygwin.com/pipermail/cygwin-developers/2020-December/012019.html
> > > > 
> > > > It's strange that Marco never bumped into the problem.
> > > > 
> > > > Ken
> > > 
> > > I never built python using cygwin snapshots as Mark was trying to do,
> > > all my builds were using 3.1.7.
> > > 
> > > Let me set a separate enviroment for building on latest snapshot
> > 
> > I can not replicate with latest snapshot
> > 
> > $ uname -svr
> > CYGWIN_NT-10.0-WOW 3.2.0s(0.340/5/3) 2021-03-01 15:42
> > 
> > nor in 64bit when building 3.8.8
> > 
> > For what I see the DLL is always using a proper import
> > from cygwin1.dll
> > 
> > $ objdump -x libpython3.8.dll |grep uname
> >          2b9de0   2170  uname
> >          2b9de8   2171  uname_x
> > 
> > the only thing not standard on my build system is a case sensitive
> > filesystem and mount
> 
> I had concerns that I had somehow corrupted my build environment, and it was
> Marco's successes that convinced me to reinstall 3.1.7 to recover a
> known-good environment.  Then seeing Marco go ahead and release the
> different Python releases (yay!) I didn't investigate any further.
> 
> I'm now trying to locate the os.uname usage of dlopen/dlsym again just for
> the record but am having some difficulty.  I'll reply again when I've got
> it.

Guys,

if it turns out that we fixed a problem that doesn't actually is a
real-world problem, I'm wondering if we shouldn't just revert the Cygwin
patch we're talking about here (commit 532b91d24e9496) and be done with
it.

Special casing dynamic loading of uname just to support some experimental
bordercase doesn't make much sense.  In that case I'm all for "don't do
that"!


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

- Raw text -


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