Opened 4 years ago

Last modified 19 months ago

#16703 new bug

THR: Test FAILED - conformance/interfaces/pthread_attr_setstack/2-1.test

Reported by: cocobean Owned by: nobody
Priority: normal Milestone: Unscheduled
Component: System/POSIX Version: R1/Development
Keywords: POSIX, pthreads, pthread_attr_setstack Cc:
Blocked By: Blocking:
Platform: All

Description (last modified by cocobean)

Test pthread_attr_setstack()

Steps

1.  Initialize pthread_attr_t object (attr) 
2.  set the stackaddr and stacksize to attr
3.  create a thread with the attr
4.  In the created thread, read the stacksize and stackaddr

Ref: ​https://github.com/haiku/open_posix_testsuite/blob/from_haiku_trunk/conformance/interfaces/pthread_attr_setstack/2-1.c

Expected result: Test PASSED

Actual Result: got the wrong stacksize and stackaddr: No error (i.e. Test Failed)

Tested on: Haiku hrev54815 x86 with Open POSIX Test Suite 1.5.2

Change History (2)

comment:1 by cocobean, 2 years ago

Last edited 2 years ago by cocobean (previous) (diff)

comment:2 by cocobean, 19 months ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.