public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug nptl/27895] New: timer_create does not propagate all thread attributes to the new thread
@ 2021-05-21 8:45 fweimer at redhat dot com
0 siblings, 0 replies; only message in thread
From: fweimer at redhat dot com @ 2021-05-21 8:45 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=27895
Bug ID: 27895
Summary: timer_create does not propagate all thread attributes
to the new thread
Product: glibc
Version: 2.34
Status: NEW
Severity: normal
Priority: P2
Component: nptl
Assignee: unassigned at sourceware dot org
Reporter: fweimer at redhat dot com
CC: drepper.fsp at gmail dot com
Target Milestone: ---
timer_create has a custom, incomplete version of __pthread_attr_copy following
this comment:
/* We cannot simply copy the thread attributes since the
implementation might keep internal information for
each instance. */
As a result, some thread attributes (those reached through the extension
mechanism) are lost.
This bug was found through code inspection. To application impact is known.
It was introduced by:
commit 7538d461134bf306e31b40e4032f0c225bb40d51
Author: Florian Weimer <fweimer@redhat.com>
Date: Tue Jun 2 10:33:30 2020 +0200
nptl: Make pthread_attr_t dynamically extensible
This introduces the function __pthread_attr_extension to allocate the
extension space, which is freed by pthread_attr_destroy.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-05-21 8:45 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-21 8:45 [Bug nptl/27895] New: timer_create does not propagate all thread attributes to the new thread fweimer at redhat dot com
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).