public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "fweimer at redhat dot com" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug malloc/25533] dlopen with RTLD_DEEPBIND crashes when using custom memory manager
Date: Mon, 05 Jul 2021 14:10:03 +0000	[thread overview]
Message-ID: <bug-25533-131-y4AWDxxs9i@http.sourceware.org/bugzilla/> (raw)
In-Reply-To: <bug-25533-131@http.sourceware.org/bugzilla/>

https://sourceware.org/bugzilla/show_bug.cgi?id=25533

--- Comment #6 from Florian Weimer <fweimer at redhat dot com> ---
(In reply to Simon Richter from comment #5)
> The proper fix here would be to create another instance of glibc for use by
> the hierarchy below the RTLD_DEEPBIND.

This will only push the problem one layer further, in the sense that the caller
of strdup would have to be duplicated as well. At that point, things start to
look a lot more like dlmopen rather than RTLD_DEEPBIND. However even with
dlmopen, separate mallocs may not be what users of this feature expect.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

  parent reply	other threads:[~2021-07-05 14:10 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <bug-25533-131@http.sourceware.org/bugzilla/>
2021-07-05 14:04 ` Simon.Richter at hogyros dot de
2021-07-05 14:10 ` fweimer at redhat dot com [this message]
2021-07-05 14:50 ` Simon.Richter at hogyros dot de
2023-02-28 19:52 ` parky at outlook dot com
2023-03-06 15:52 ` fweimer at redhat 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-25533-131-y4AWDxxs9i@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).