Bug 14571

Summary: ash crashes with fork (&) and stty -echo
Product: Busybox Reporter: cyrilbur
Component: OtherAssignee: unassigned
Status: NEW ---    
Severity: normal CC: busybox-cvs
Priority: P5    
Version: 1.33.x   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Host: Target:
Build:

Description cyrilbur 2022-02-08 15:48:37 UTC
Setting -echo and leaving a dangling fork results in an ash crash.

I have a relatively stripped down busybox, I am using the busybox coreutls.

Reproduce:

stty -echo
sleep 1 & ps &
             ^ This is the problem

ash will crash.

I have done the same thing with bash and dash and neither crash.

If I have time I will endeavour to get more information.
Comment 1 Denys Vlasenko 2022-03-01 08:17:38 UTC
Can't reproduce: does not crash for me.
Tried on current git: v1.36.0.git