This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug nptl/13088] New: SEGEV_THREAD POSIX timer fails with EAGAIN in programs with large TLS segment


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]