From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 55B743858CDB; Sun, 14 Aug 2022 20:06:51 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 55B743858CDB From: "pieterjan.briers at gmail dot com" To: glibc-bugs@sourceware.org Subject: [Bug dynamic-link/28937] New DSO dependency resolver buggyness with dlclose() Date: Sun, 14 Aug 2022 20:06:50 +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.35 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: pieterjan.briers at gmail dot com X-Bugzilla-Status: WAITING X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: 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 X-BeenThere: glibc-bugs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Glibc-bugs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 Aug 2022 20:06:51 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D28937 --- Comment #8 from Pieter-Jan Briers -= -- I made an Arch Linux VM image that reliably reproduces the bug, in the hope that it helps debugging. It's about 800 MB XZ-compressed, 3.7 GB without. I made the VM in Hyper-V and converted the .vhdx to .qcow2 in WSL2 though, so= I hope that didn't break anything. Here's the file: https://central.spacestation14.io/ArchText.qcow2.xz Login is just root with password "root". Both the broken and working versio= ns of the sample code (one with the fluidsynth load commented out) are include= d in the /root.=20 One of the commenters on the downstream Arch issue mentioned they ran valgr= ind and it was *not* happy, and I can definitely confirm this. I didn't try run= ning valgrind before making the VM image though, and I didn't want to sit through another 10 minutes of xz compressing a massive file, so here's the instruct= ions to get valgrind set up: pacman -S valgrind debuginfod export DEBUGINFOD_URLS=3D"https://debuginfod.archlinux.org" # Necessary bec= ause of https://bbs.archlinux.org/viewtopic.php?id=3D276422 valgrind --leak-check=3Dyes ./broken Valgrind does complain about some stuff in the audio libraries themselves, = but there is still noticeably a couple errors inside dlclose() itself. --=20 You are receiving this mail because: You are on the CC list for the bug.=