Bug 111920
Summary: | pthread_attr_setstacksize failure. | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 3 | Reporter: | Brett Johnson <brett.johnson> | ||||
Component: | glibc | Assignee: | Jakub Jelinek <jakub> | ||||
Status: | CLOSED NOTABUG | QA Contact: | Brian Brock <bbrock> | ||||
Severity: | high | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | 3.0 | CC: | charline.polifka, tao | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | ia64 | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2003-12-14 19:27:48 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Description
Brett Johnson
2003-12-11 16:27:16 UTC
Created attachment 96471 [details]
Program to reproduce the problem
NOMINATING to U2 MUSTFIX list per Charline's note of 12/12/03. JUSTIFICATION: Not a acceptable bug. This is not a bug. See http://www.opengroup.org/onlinepubs/007904975/functions/pthread_attr_setstacksize.html The pthread_attr_setstacksize() function shall fail if: [EINVAL] The value of stacksize is less than {PTHREAD_STACK_MIN} or exceeds a system-imposed limit. PTHREAD_STACK_MIN is 196608 on IA-64 (both linuxthreads and NPTL headers define this value), so pthread_attr_setstacksize must return EINVAL in your testcase. PTHREAD_STACK_MIN used to be 16384 in the past on all Linux architectures which obviously was a bug, on IA-64 that is even less than a page (which is up to 64K), while at least a guard page, a stack page, some room for thread stack address cache coloring and some room for backing store is needed. 16384 is an appropriate value for 4K page size architectures like IA-32. |