From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 7F4753858417; Wed, 13 Dec 2023 19:42:01 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 7F4753858417 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1702496521; bh=0NwGO0thPBLkMpDFFVUOSgeBo4FRauwiw/sc/P8CZ9M=; h=From:To:Subject:Date:In-Reply-To:References:From; b=VMRtWaTeS/fRQtg76pY5SJ3rjBwI5gxbdDAFRr8CyQ0BJsp8Pc2CdC8Guil2Pp2tn RHsRWog3GR1tCZL2iw4BxnzSyMkELF2CJjQzV/U3OiPXnTQbAZya71YNMG3j4eNeHP fkppD0C1K1bwh1FMG7q35DXe6zquqnq0FV0Z1Obg= From: "goodhart at amazon dot com" To: glibc-bugs@sourceware.org Subject: [Bug dynamic-link/31164] dlmopen()'ing a shared library that dlopen()'s a non-existent library during initialization returns prematurely Date: Wed, 13 Dec 2023 19:42:01 +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.26 X-Bugzilla-Keywords: X-Bugzilla-Severity: minor X-Bugzilla-Who: goodhart at amazon dot com X-Bugzilla-Status: UNCONFIRMED 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 List-Id: https://sourceware.org/bugzilla/show_bug.cgi?id=3D31164 --- Comment #1 from Goodhart, Taylor --- Apologies, pasted the same thing twice in repro. Here's with_dlopen.cpp: > cat with_dlopen.cpp #include #include #include int main(int argc, char * argv[]){ void * handle =3D dlopen("./libfoo.so", RTLD_LAZY); if(!handle){ std::cerr << dlerror() << std::endl; return EX_SOFTWARE; } return EX_OK; } --=20 You are receiving this mail because: You are on the CC list for the bug.=