You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Although Linux allows the stack size to be zero (it uses a nonzero default) other OS's do not have this fallback. The idmap-api-test attempts to create a task with zero stack and this fails on RTEMS.
To Reproduce
Run 'idmap-api-teston RTEMS. OS_TaskCreate()` fails (reports as TSF) but then other failures occur related to this.
Expected behavior
Should pass.
System observed on:
RTEMS 4.11.3 running in QEMU.
Additional context
Should consider forcibly making every OS fail (i.e. enforce in shared layer) if passed a zero stack.
Reporter Info
Joseph Hickey, Vantage Systems, Inc.
The text was updated successfully, but these errors were encountered:
Resolve inconsistency in how the stack size is treated across
different OS implemntations. POSIX would enforce a minimum,
where RTEMS would not.
With this change the user requested size is passed through
to the underlying OS exactly as is, no enforced minimum.
An additional sanity check is added at the shared layer to
ensure that the stack size is never passed as 0.
Describe the bug
Although Linux allows the stack size to be zero (it uses a nonzero default) other OS's do not have this fallback. The
idmap-api-test
attempts to create a task with zero stack and this fails on RTEMS.To Reproduce
Run 'idmap-api-test
on RTEMS.
OS_TaskCreate()` fails (reports as TSF) but then other failures occur related to this.Expected behavior
Should pass.
System observed on:
RTEMS 4.11.3 running in QEMU.
Additional context
Should consider forcibly making every OS fail (i.e. enforce in shared layer) if passed a zero stack.
Reporter Info
Joseph Hickey, Vantage Systems, Inc.
The text was updated successfully, but these errors were encountered: