pkarashchenko commented on issue #9695: URL: https://github.com/apache/nuttx/issues/9695#issuecomment-1623881526
> @pkarashchenko I just created #9716. Can you describe how you re-create the problem. Do you just need to enable cancellation points an cat a file from NSH? Or is there is particular test that should be run? I'm having the system that has "manager task" and "worker tasks". "Worker tasks" are spawned based on configuration located on SD card. If new configuration is detected by "manager task" it shut down all current "worker tasks" and spawns new set of "worker tasks". There is no trivial way to reproduce the issue (I do not have ostest doing that, but maybe some can be written). One of "worker tasks" sends CAN messages periodically with `open()` -> `write()` -> `close()` sequence. The issue happens when "manager task" tried to shut down "worker task" sensing CAN message using `task_delete()` -> `waitpid()` sequence. The `CONFIG_CANCELLATION_POINTS` is `y`. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
