Ticket #4447 (new defect)

Opened 13 months ago

Last modified 13 months ago

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

Attachments

mc-V (486 bytes) - added by Bernward 13 months ago.
mc version
mc-F (830 bytes) - added by Bernward 13 months ago.
compiled-in paths
mc--configure-options (325 bytes) - added by Bernward 13 months ago.
configure options

Change History

Changed 13 months ago by Bernward

mc version

Changed 13 months ago by Bernward

compiled-in paths

Changed 13 months ago by Bernward

configure options

comment:1 Changed 13 months ago by andrew_b

ksh isn't supported as subshell.

Note: See TracTickets for help on using tickets.