From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id B7AFF3857C61; Wed, 13 Mar 2024 10:13:51 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org B7AFF3857C61 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1710324831; bh=Knn84vA09kGbfYJesk7xra49X28YCI4ucgL04HEdSPU=; h=From:To:Subject:Date:In-Reply-To:References:From; b=LAPSb/AiMKflzQct40dyow15s8gpD3c03ua8tbygPYecVoHLyo+1iUPQYWp/H8WHs EdziO3C5A9fWWUsAy9lNgNhv4CreEL/VpFQqOx3IMW/CGXLoMtJzmCvBNyVyUsjV06 GFsogrdwLJyQ+9NWWf5hbBoIVIdYoDB/GsDmcEE0= From: "dvyukov at google dot com" To: glibc-bugs@sourceware.org Subject: [Bug stdio/15142] Missing locking in _IO_cleanup Date: Wed, 13 Mar 2024 10:13:50 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: stdio X-Bugzilla-Version: 2.3.4 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dvyukov at google dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: 2.38 X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://sourceware.org/bugzilla/show_bug.cgi?id=3D15142 Dmitry Vyukov changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dvyukov at google dot com --- Comment #6 from Dmitry Vyukov --- We started getting hangs on the following program: https://github.com/llvm/llvm-project/blob/995d1d114e4e4ff708a03cdb0a975209c= 6197f9f/compiler-rt/test/tsan/getline_nohang.cpp#L28 Basically just calls a blocking getline in one thread and another thread tr= ies to exit. Does it mean it's illegal to exit while there any blocking stream calls anywhere in the program? --=20 You are receiving this mail because: You are on the CC list for the bug.=