Do you have some sample stack traces where the parents are waiting,
including a variable listing made via print *shp?

Olga

On Tue, Mar 19, 2013 at 5:42 PM, Michal Hlavinka <[email protected]> wrote:
> Hi,
>
> we found that ksh sometimes triggers fork bomb when it receives SIGTSTP,
> reproduced on both latest stable and latest alpha.
>
> Reproducer:
> ============== create file /root/foo ==============
> vi /tmp/bar
> echo end
> ===================================================
>
> $ ksh
> # exec /root/foo
>
> when in VI, send TSTP using CTRL-z
>
> and ksh starts forking
> $ ps -ef --forest
> root      4741     1  0 20:11 pts/0    00:00:00 /root/foo
> root      4742  4741  0 20:11 pts/0    00:00:00  \_ /root/foo
> root      4743  4742  0 20:11 pts/0    00:00:00      \_ /root/foo
> root      4744  4743  0 20:11 pts/0    00:00:00          \_ /root/foo
> root      4745  4744  0 20:11 pts/0    00:00:00              \_
> ...
>
> Let me know if you need more information.
>
> Michal
> _______________________________________________
> ast-developers mailing list
> [email protected]
> http://lists.research.att.com/mailman/listinfo/ast-developers



-- 
      ,   _                                    _   ,
     { \/`o;====-    Olga Kryzhanovska   -====;o`\/ }
.----'-/`-/     [email protected]   \-`\-'----.
 `'-..-| /       http://twitter.com/fleyta     \ |-..-'`
      /\/\     Solaris/BSD//C/C++ programmer   /\/\
      `--`                                      `--`
_______________________________________________
ast-developers mailing list
[email protected]
http://lists.research.att.com/mailman/listinfo/ast-developers

Reply via email to