public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "goodhart at amazon dot com" <sourceware-bugzilla@sourceware.org>
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 [thread overview]
Message-ID: <bug-31164-131-my5D3uoBV3@http.sourceware.org/bugzilla/> (raw)
In-Reply-To: <bug-31164-131@http.sourceware.org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=31164
--- Comment #1 from Goodhart, Taylor <goodhart at amazon dot com> ---
Apologies, pasted the same thing twice in repro. Here's with_dlopen.cpp:
> cat with_dlopen.cpp
#include <iostream>
#include <dlfcn.h>
#include <sysexits.h>
int main(int argc, char * argv[]){
void * handle = dlopen("./libfoo.so", RTLD_LAZY);
if(!handle){
std::cerr << dlerror() << std::endl;
return EX_SOFTWARE;
}
return EX_OK;
}
--
You are receiving this mail because:
You are on the CC list for the bug.
next prev parent reply other threads:[~2023-12-13 19:42 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-12-13 17:33 [Bug dynamic-link/31164] New: " goodhart at amazon dot com
2023-12-13 19:42 ` goodhart at amazon dot com [this message]
2023-12-14 7:58 ` [Bug dynamic-link/31164] " fweimer at redhat dot com
2024-01-11 15:05 ` goodhart at amazon dot com
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=bug-31164-131-my5D3uoBV3@http.sourceware.org/bugzilla/ \
--to=sourceware-bugzilla@sourceware.org \
--cc=glibc-bugs@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).