From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 799A83858C39; Fri, 14 Oct 2022 09:08:07 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 799A83858C39 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1665738487; bh=X60qtzvCOZj1YEW1NOCmtUljSsmiS4n5mB9Ax+4S9oA=; h=From:To:Subject:Date:In-Reply-To:References:From; b=UQBASLv5izdRg2Tm9QATh+8uQSTAqU7KfLK+mdlCP96yALvuwAccGa5mp3Y4ddZ1V ddpmr052wOq1pg2E0VH3QTmlWn2rPESS2WTqjZxrXZ7AChz6dOdC5SC9OjhvSjA/Ff MsSqxJ1jtAwA32bCS2unNDP/hfPb4qtmupFWVJo4= From: "fweimer at redhat dot com" To: glibc-bugs@sourceware.org Subject: [Bug dynamic-link/29600] dlmopen hangs after loading certain libraries Date: Fri, 14 Oct 2022 09:08:06 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: dynamic-link X-Bugzilla-Version: 2.36 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: fweimer at redhat dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: fweimer at redhat dot com X-Bugzilla-Target-Milestone: 2.37 X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: bug_status target_milestone resolution 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=3D29600 Florian Weimer changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Target Milestone|--- |2.37 Resolution|--- |FIXED --- Comment #3 from Florian Weimer --- Fixed for 2.37 via: commit 2c42257314536b94cc8d52edede86e94e98c1436 Author: Florian Weimer Date: Fri Oct 14 11:02:25 2022 +0200 elf: Do not completely clear reused namespace in dlmopen (bug 29600) The data in the _ns_debug member must be preserved, otherwise _dl_debug_initialize enters an infinite loop. To be conservative, only clear the libc_map member for now, to fix bug 29528. Fixes commit d0e357ff45a75553dee3b17ed7d303bfa544f6fe ("elf: Call __libc_early_init for reused namespaces (bug 29528)"), by reverting most of it. Reviewed-by: Carlos O'Donell Tested-by: Carlos O'Donell Backporting is in progress. --=20 You are receiving this mail because: You are on the CC list for the bug.=