Skip to content

micro does not die when killing crontab and using micro as editor #2085

@EnderCrypt

Description

@EnderCrypt

launching crontab with micro as editor, and then killing crontab (the entire terminal) causes micro to stay alive (other editors like vim does not exhibit this behaviour) and micro goes from eating ~0% cpu to eating ~40% cpu forever untill killed
sending a SIGTERM to the process does NOT kill it, but does cause it to drop its cpu usage from ~40% to ~13%
sending a SIGKILL does kill it as expected

how to reproduce

  1. open a GNU/Linux terminal of choice (i use konsole)
  2. execute EDITOR=`which micro` crontab -e
  3. kill the terminal by clicking the [x] (i used xkill instead)
  4. open a process monitorer (i use KSysGuard) and sort processes by cpu usage

Specifications

Version: 2.0.8
Commit hash: cfcb2e4
Compiled on February 21, 2021

OS: 5.9.16-1-MANJARO
Terminal: konsole (with zsh)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions