delorie.com/archives/browse.cgi | search |
DMARC-Filter: | OpenDMARC Filter v1.4.2 delorie.com 50RLqXNb2072451 |
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 50RLqXNb2072451 |
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=gz7Wfut8 | |
X-Recipient: | archive-cygwin AT delorie DOT com |
DKIM-Filter: | OpenDKIM Filter v2.11.0 sourceware.org 0A5E53858D38 |
DKIM-Signature: | v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; |
s=default; t=1738014751; | |
bh=4oJnFh0tNA5Ju/VqiksVYD4g2K97Qc8QZ3iWI/uqyjM=; | |
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=gz7Wfut86Zz+fiLWh48U4NfFGyJi6UmaoTTS1Y3R0siXpVeLOoMxKmW2BT7sYfms/ | |
K3Xqq/a1CpvriDFYeiHGcP31pKuqabtXIjh2tmAknEzWE4poZOcka6OANVSU3k+HAI | |
LVUkeeh/Bz29HPiCYWH2GlYn5KB2b/pEBXhrcFk0= | |
X-Original-To: | cygwin AT cygwin DOT com |
Delivered-To: | cygwin AT cygwin DOT com |
DKIM-Filter: | OpenDKIM Filter v2.11.0 sourceware.org BDADB3858D1E |
Date: | Mon, 27 Jan 2025 22:51:21 +0100 |
To: | cygwin AT cygwin DOT com |
Subject: | Re: mq_send()/mq_receive() may never return if used from threads |
Message-ID: | <Z5f_2XFwGbS9U5AM@calimero.vinschen.de> |
Mail-Followup-To: | cygwin AT cygwin DOT com |
References: | <838238ed-0bf4-9374-fb8a-bc6a47c512a9 AT t-online DOT de> |
<ea441ab3-14ab-3d2e-4e54-ec81c14efa92 AT t-online DOT de> | |
<Z5ff7yCrS0CTPVwe AT calimero DOT vinschen DOT de> | |
MIME-Version: | 1.0 |
In-Reply-To: | <Z5ff7yCrS0CTPVwe@calimero.vinschen.de> |
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: | 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~archive-cygwin=delorie DOT com AT cygwin DOT com |
Sender: | "Cygwin" <cygwin-bounces~archive-cygwin=delorie DOT com AT cygwin DOT com> |
On Jan 27 20:35, Corinna Vinschen via Cygwin wrote: > On Jan 27 19:59, Christian Franke via Cygwin wrote: > > Christian Franke wrote: > > > Found with 'stress-ng --workload ...': > > > > > > If mq_receive is called on an empty queue and mq_send is called later > > > from a different thread, both functions never return and signals > > > (including SIGKILL) are no longer processed. > > > > > > Testcase (attached): > > > > > > $ uname -r > > > 3.5.5-1.x86_64 > > > > > > > The problem is also reproducible with 3.5.6-1 and recent > > 3.6.0-0.345.gb940faa144ca > > Yes, because I didn't have the time to look into it yet. > > I just did, and I think I see what's going on. This should be fixed > in 3.5.7. I just pushed a patch, please try cygwin-3.6.0-0.346.gfe6ddc15a356. Thanks, 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |