Opened 11 years ago
Closed 11 years ago
#9959 closed bug (fixed)
pthread minimum stack not adjusted to match haiku change
Reported by: | Pete | Owned by: | pdziepak |
---|---|---|---|
Priority: | high | Milestone: | R1 |
Component: | System/POSIX | Version: | R1/Development |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Platform: | All |
Description
when Pawel changed MIN_USER_STACK_SIZE (http://cgit.haiku-os.org/haiku/commit/headers/private/system/thread_defs.h?id=3b4269ecf59fa0a994ecf20ec3472e02184f9328) the PTHREAD_STACK_MIN define in posix/limits.h never got increased to match.
Ruby uses this minimum for its timer thread, so it crashes in newer revs of haiku. (I've patched my own copy of ruby temporarily to bypass this.)
Is a submitted patch needed for this small a change? I haven't bothered to fix the haiku source itself yet, but if needed I'll do so.
Change History (3)
comment:1 by , 11 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
Version: | R1/alpha4.1 → R1/Development |
comment:2 by , 11 years ago
comment:3 by , 11 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Thanks for helping with this. Fixed in hrev46078.
Note:
See TracTickets
for help on using tickets.
IMO it would be better to define PTHREAD_STACK_MIN and MIN_USER_STACK_SIZE in terms of B_PAGE_SIZE (ie (B_PAGE_SIZE << 1).