delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2021/03/04/10:54:48

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 6EBAE3AA9927
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1614873285;
bh=rWirJ9pDfPWmyWbvTWaN6Ri5PCcogfWfJDlNW03JvkI=;
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=k1iQXmBQNA0hTWNSmce578N5RateC0zym7AII1AoyApX7ltiBrST71a0ArDhd0/Rb
LyGrATVpzBgbaRIEy24nGaRMKTw84ubqVpkMRBrrbHmVKW0a749qIp8hoOwRVFt7cT
2C6Yqw7vpvfDfR/qaEqcJXkE3NZdBD/ulwtQ+8aI=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 77FC33AA9916
Date: Thu, 4 Mar 2021 16:54:39 +0100
To: cygwin AT cygwin DOT com
Subject: Re: segfault on 32bit cygwin snapshot
Message-ID: <YEECv6bGundDfBbI@calimero.vinschen.de>
Mail-Followup-To: cygwin AT cygwin DOT com
References: <20210301095546 DOT dce31a474bd0cec2c3518f87 AT nifty DOT ne DOT jp>
<20210301212542 DOT 8b1749f92af62c01b008f25a AT nifty DOT ne DOT jp>
<20210302200308 DOT 62db4fe01f78fb35a538784f AT nifty DOT ne DOT jp>
<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>
MIME-Version: 1.0
In-Reply-To: <b7338aaa-c1e1-1816-35f8-666c2f6ac618@cornell.edu>
X-Provags-ID: V03:K1:bc2cttBni7RpU2GX+Z/g2Ias/0cPqSfQ4uE5qzUTgpdeZhzfaSK
WmU2IQMqHaCIzMa+0PJDvkTugG2aRlc20n75aIRuZ7U518WlFnu58Kqg+rH09mzdV2yQMV4
0Fu/CiF6jR+CIy0Pirkb3gul4czsu+PKAL8fO6Vo7eW5nfzfjf0wiBOsgE5szn3+XKnK5tV
Ew9yxkcFHOdybSAETnKYw==
X-UI-Out-Filterresults: notjunk:1;V03:K0:3glcM2Y8u2E=:3Uzi3W9SA9NbVWr9KDer3C
Q9OVX6kNpdu2KyhOB74L2K8Dwoq9z6RGPtAsaZvjc11rkDmsjL57ibwWlfI94m2UTuw1lHLBT
IO02rhbd1p+Vm6v0tY6+roKB6lih4gDT8MdwzgJu7iKzWWqt3w9k48tc3ZGOI0N/w6F8EFb4o
2QxCT7cfM/I1QNuKXfEmae7X5y6cZQrpnrtK4FivYF8DsSNFsX97VO5KvlN2OEp09QJFZDgsK
ZMtMp29upTUdnob5XslNJl7l/RHcnJNluG+t+WXvP/MU2d3s2tF/aum3mlp+aO+keiDwiQ7Wj
HS9ehg0GQquQq7sYEl8NH+OTL4a9PRpWw9z9YVLJNvbcPimyT/FzfMSVncW8lw7HcHOey27we
FroytbmYzzeyMew2mjrIQcmgVrlmpLSZFaWd/Ncq6MVd8tFXY5NIiaYMg8QVMFcFApOAK1fB1
Ea1aETUzZg==
X-Spam-Status: No, score=-101.4 required=5.0 tests=BAYES_00,
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>
Errors-To: cygwin-bounces AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces AT cygwin DOT com>

On Mar  4 10: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.

Right.  I was wondering the same when I read Marco's reply.  I thought
this is something in old python versions, but my testing never involved
python.  I just used a simple uname implementation calling uname via
dlopen/dlsym.

Either way, the problem persists.  Newly built executables requesting
uname via dlsym should certainly get the new implementation.


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