Bug 14571 - ash crashes with fork (&) and stty -echo
Summary: ash crashes with fork (&) and stty -echo
Status: NEW
Alias: None
Product: Busybox
Classification: Unclassified
Component: Other (show other bugs)
Version: 1.33.x
Hardware: All Linux
: P5 normal
Target Milestone: ---
Assignee: unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-02-08 15:48 UTC by cyrilbur
Modified: 2022-03-01 08:17 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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