[FS#3854] procd / inittab does not restart compiled c application when it closes

OpenWrt Bugs openwrt-bugs at lists.openwrt.org
Sat Jun 5 10:07:09 PDT 2021


THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

The following task has a new comment added:

FS#3854 - procd / inittab does not restart compiled c application when it closes
User who did this - Jo-Philipp Wich (jow-)

----------
Is your "HelloWorldBase" program spawning further childs? Is your wait() call actually reaping the result of the execve() invoked process or just some unrelated child process? Does it work if you ignore the SIGCHLD signal in the parent process?

procd itself will also waitpid() for the respawn process, if that does not return due to unreaped child zombies, the process ius never considered finished and will not get respawned.
----------

More information can be found at the following URL:
https://bugs.openwrt.org/index.php?do=details&task_id=3854#comment9774

You are receiving this message because you have requested it from the Flyspray bugtracking system.  If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.



More information about the openwrt-bugs mailing list