delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2025/03/23/11:47:35

DMARC-Filter: OpenDMARC Filter v1.4.2 delorie.com 52NFlYkV1947078
Authentication-Results: delorie.com; dmarc=pass (p=none dis=none) header.from=cygwin.com
Authentication-Results: delorie.com; spf=pass smtp.mailfrom=cygwin.com
DKIM-Filter: OpenDKIM Filter v2.11.0 delorie.com 52NFlYkV1947078
Authentication-Results: delorie.com;
dkim=pass (1024-bit key, unprotected) header.d=cygwin.com header.i=@cygwin.com header.a=rsa-sha256 header.s=default header.b=IIuHZQ1O
X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 1C620385781A
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1742744853;
bh=XVaTAXKX+/7NCgr27+NtPUA1ROJEDO3k+jCbdOxTkx0=;
h=Date:Subject:To:References:In-Reply-To:List-Id:List-Unsubscribe:
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc:
From;
b=IIuHZQ1Oejlq66B9SloD+Oes5D2PDJsi/JQctFhXoBEpnK04BT3llYV4vIxmjtEuU
Qjyub5Kj0EHlH8tRMN/y1vgesCTXSCSll+ev9626WC7cqei/77fqVSo7EXmSiUIURc
tnaA8pXTnQzWk6oU0blsBC5p13W6J3Kvi8KtgSyU=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 1A82E3858D29
ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 1A82E3858D29
ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1742744830; cv=none;
b=a9AbyYySx/j3roX1WAAJ5IgwgAXgOpjs0otuqwwS0T+P/e0i/zmvCkcRGvUAcLs00aPuguhwcyZbpB4IHTaoPb2jxwFiN2mqyN8/yCWa7ptLS+Rz/MSIRR6Wa2TophFs39czXeT8dTXhcnP1+xeCBy0Megn5D4bBjXL652moX2c=
ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key;
t=1742744830; c=relaxed/simple;
bh=fmasnC6bcVUFzLgt/MjfMwEL37/A5nYNZy3nr1GR9Dk=;
h=Message-ID:Date:MIME-Version:From:Subject:To:DKIM-Signature;
b=D/PRiBBVmz+IHOFfWn9s2lZWKp9wOgeFRN04IS1LP2oEd7OaYlYp+JkXGGwpQKb+n7iemrVHha10gSrlJsrj4ZxU9Ayfyl3Ukc0iEWr0QQQwS8obUPUE5YACkP4N4mHyX2bQDWfwkyn18VwMBWF1I50JZC1DD3vAp63U+iBQEf8=
ARC-Authentication-Results: i=1; server2.sourceware.org
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 1A82E3858D29
Message-ID: <29245cec-275d-4d26-9f0b-3a6141c390e4@SystematicSW.ab.ca>
Date: Sun, 23 Mar 2025 09:47:07 -0600
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Subject: Re: Deadlock when calling pthread_key_create in the destructor of a
pthread_key
To: cygwin AT cygwin DOT com
References: <TYCPR01MB1092618CD4D65CA5AA26F73FAF8A52 AT TYCPR01MB10926 DOT jpnprd01 DOT prod DOT outlook DOT com>
Autocrypt: addr=Brian DOT Inglis AT SystematicSW DOT ab DOT ca; keydata=
xjMEXopx8xYJKwYBBAHaRw8BAQdAnCK0qv/xwUCCZQoA9BHRYpstERrspfT0NkUWQVuoePbN
LkJyaWFuIEluZ2xpcyA8QnJpYW4uSW5nbGlzQFN5c3RlbWF0aWNTdy5hYi5jYT7ClgQTFggA
PhYhBMM5/lbU970GBS2bZB62lxu92I8YBQJeinHzAhsDBQkJZgGABQsJCAcCBhUKCQgLAgQW
AgMBAh4BAheAAAoJEB62lxu92I8Y0ioBAI8xrggNxziAVmr+Xm6nnyjoujMqWcq3oEhlYGAO
WacZAQDFtdDx2koSVSoOmfaOyRTbIWSf9/Cjai29060fsmdsDM44BF6KcfMSCisGAQQBl1UB
BQEBB0Awv8kHI2PaEgViDqzbnoe8B9KMHoBZLS92HdC7ZPh8HQMBCAfCfgQYFggAJhYhBMM5
/lbU970GBS2bZB62lxu92I8YBQJeinHzAhsMBQkJZgGAAAoJEB62lxu92I8YZwUBAJw/74rF
IyaSsGI7ewCdCy88Lce/kdwX7zGwid+f8NZ3AQC/ezTFFi5obXnyMxZJN464nPXiggtT9gN5
RSyTY8X+AQ==
Organization: Systematic Software
In-Reply-To: <TYCPR01MB1092618CD4D65CA5AA26F73FAF8A52@TYCPR01MB10926.jpnprd01.prod.outlook.com>
X-Rspamd-Server: rspamout08
X-Rspamd-Queue-Id: 4634D6000B
X-Stat-Signature: 6b64m7dye5osu3rd3i8m47r1jjf3mton
X-Session-Marker: 427269616E2E496E676C69734053797374656D6174696353572E61622E6361
X-Session-ID: U2FsdGVkX18dP1nM9IIqb+2531dbH0zCle/ZiaRGw2s=
X-HE-Tag: 1742744828-534964
X-HE-Meta: U2FsdGVkX189sP6s7ytiMGyuD7MABt/+uIryWUyhY3QaSI69JruPCQiM9qFWCy2o1OMVWmBu5JbukptRTNbDDeh6LGCBONFQWbGJJC0s2HhmDY3gCqDB7seHE8QyaWA4R7vsr/TosKiw9F8FTSpmeYvgl1msAG0zE8bTyeicPei+61lI1HTlBWvC4pcjSEko+yuNxomERqKrsQODq3Ez2oE67XLhftNW0bCGYBuqHDgMg7IIX5lxfHIfm+BPmkrd+hDpJa8PTQ3S7A2yq3RNHXNZyxr488o1/ikUdfDH0k1pwz7dqIt/fMaHLF0/r8XKPubjHipSk6SVuh0hMNsbrbD1tSht9kbD
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.30
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: Brian Inglis via Cygwin <cygwin AT cygwin DOT com>
Reply-To: cygwin AT cygwin DOT com
Cc: Brian Inglis <Brian DOT Inglis AT SystematicSW DOT ab DOT ca>
Errors-To: cygwin-bounces~archive-cygwin=delorie DOT com AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces~archive-cygwin=delorie DOT com AT cygwin DOT com>
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 52NFlYkV1947078

On 2025-03-23 06:32, Yuyi Wang via Cygwin wrote:
> It's a bug when I tried to run tests of Rust std lib. The standard
> library of Rust tries to create a new pthread_key in the destructor of a
> key created previously. Unfortunately, List::for_each locked the mutex
> before, so List_insert method cannot lock the mutex again.
> 
> I have searched though the POSIX docs and didn't find any words that one
> should not call pthread_key_create in the destructor of a pthread_key. I
> think it should be a bug of cygwin.

Rust does not support Cygwin, and gcc-rs is not yet available on Cygwin: what 
tools and libraries were used to build this library and utilities?

-- 
Take care. Thanks, Brian Inglis              Calgary, Alberta, Canada

La perfection est atteinte                   Perfection is achieved
non pas lorsqu'il n'y a plus rien à ajouter  not when there is no more to add
mais lorsqu'il n'y a plus rien à retrancher  but when there is no more to cut
                                 -- Antoine de Saint-Exupéry

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