public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "cvs-commit at gcc dot gnu.org" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug nptl/24774] pthread_rwlock_timedwrlock stalls on ARM
Date: Wed, 21 Apr 2021 18:26:56 +0000	[thread overview]
Message-ID: <bug-24774-131-MxJPwnAWKl@http.sourceware.org/bugzilla/> (raw)
In-Reply-To: <bug-24774-131@http.sourceware.org/bugzilla/>

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

--- Comment #1 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Florian Weimer <fw@sourceware.org>:

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=fada9018199c21c469ff0e731ef75c6020074ac9

commit fada9018199c21c469ff0e731ef75c6020074ac9
Author: Florian Weimer <fweimer@redhat.com>
Date:   Wed Apr 21 19:49:51 2021 +0200

    dlfcn: dlerror needs to call free from the base namespace [BZ #24773]

    Calling free directly may end up freeing a pointer allocated by the
    dynamic loader using malloc from libc.so in the base namespace using
    the allocator from libc.so in a secondary namespace, which results in
    crashes.

    This commit redirects the free call through GLRO and the dynamic
    linker, to reach the correct namespace.  It also cleans up the dlerror
    handling along the way, so that pthread_setspecific is no longer
    needed (which avoids triggering bug 24774).

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

       reply	other threads:[~2021-04-21 18:26 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <bug-24774-131@http.sourceware.org/bugzilla/>
2021-04-21 18:26 ` cvs-commit at gcc dot gnu.org [this message]
2021-07-28 17:26 ` florian at openwrt dot org
2021-09-08  6:14 ` fweimer at redhat dot com
2021-09-08  6:19 ` fweimer at redhat dot com
2021-09-08 13:15 ` adhemerval.zanella at linaro dot org
2022-10-07 20:34 ` adhemerval.zanella at linaro dot org

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-24774-131-MxJPwnAWKl@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).