Fork us on GitHub Follow us on Facebook Follow us on Twitter

Opened 13 years ago

Closed 8 years ago

#132 closed defect (fixed)

Unclaimed task return values pollute NS

Reported by: Jiri Svoboda Owned by:
Priority: major Milestone: 0.6.0
Component: helenos/srv/ns Version: mainline
Keywords: Cc:
Blocker for: Depends on:
See also:


In a problem similar to UNIX zombies, when a task spawns another task and does not claim its return value with task_wait(), the record containing the return value will linger in NS. This can lead to NS consuming more and more memory, while it is not NS which is at fault.

Change History (5)

comment:1 Changed 13 years ago by Jiri Svoboda

For better resource accounting, the interface should be changed such that the result is always either delivered to the parent task or discarded. Should the parent task forget to dispose of the return values, its own memory footprint will increase. This makes it easier to pinpoint the leak or possibly even kill the offending task.

comment:2 Changed 13 years ago by Jakub Jermář

Component: unspecifiedsrv/ns

comment:3 Changed 11 years ago by Jakub Jermář


comment:4 Changed 10 years ago by Jakub Jermář


comment:5 Changed 8 years ago by Martin Sucha

Resolution: fixed
Status: newclosed

Fixed in mainline,2185

Note: See TracTickets for help on using tickets.