Ticket #4447 (new defect)
F10/exit leaves 2 orphaned processes behind
Reported by: | Bernward | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | Future Releases |
Component: | mc-core | Version: | 4.8.28 |
Keywords: | Cc: | robert@… | |
Blocked By: | Blocking: | ||
Branch state: | no branch | Votes for changeset: |
Description
mc with subshell support opens 3 processes,
two of them are left orphaned behind after exit.
How to reproduce/monitor:
I monitor processes in a first window with
while true; do clear; ps -f; sleep 1; done
After opening mc with /usr/local/bin/mc in second window
the monitor extends by following lines:
68246 pa S+ 0:00.13 | `-- /usr/local/bin/mc
49883 pb T+p 0:00.01 | `-- /bin/ksh
5455 pb Z+p 0:00.00 | `-- (ksh)
After exit of mc with F10 these 2 lines remain;
49883 pb T+p 0:00.01 /bin/ksh
5455 pb Z+p 0:00.00 - (ksh)
This behavior does not ocur when I start mc with option -u.
System : OpenBSD 7.2
Details : OpenBSD 7.2 (GENERIC.MP) #6: Sat Jan 21 01:03:04 MST 2023
root@…:/usr/src/sys/arch/amd64/compile/GENERIC.MP
Architecture: OpenBSD.amd64
Machine : amd64
Regards, Bernward
mc version