This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug nptl/13088] New: SEGEV_THREAD POSIX timer fails with EAGAIN in programs with large TLS segment
- From: "whetaver at gmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: Sat, 13 Aug 2011 16:50:35 +0000
- Subject: [Bug nptl/13088] New: SEGEV_THREAD POSIX timer fails with EAGAIN in programs with large TLS segment
- Auto-submitted: auto-generated
http://sourceware.org/bugzilla/show_bug.cgi?id=13088
Bug #: 13088
Summary: SEGEV_THREAD POSIX timer fails with EAGAIN in programs
with large TLS segment
Product: glibc
Version: 2.14
Status: NEW
Severity: normal
Priority: P2
Component: nptl
AssignedTo: drepper.fsp@gmail.com
ReportedBy: whetaver@gmail.com
Classification: Unclassified
This problem is similar to the issue 11787.
The culprit here is the __start_helper_thread() function in
nptl/sysdeps/unix/sysv/linux/timer_routines.c, which tries to create a thread
with the stack size attribute fixed at PTHREAD_STACK_MIN (16K). As a result,
call to pthread_create() fails when allocating thread stack in
nptl/allocatestack.c if the TLS segment does not fit this artificial size
constraint.
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.