Skip to content

Zombie processes on 1.5.0 beta #2773

@floorish

Description

@floorish

Recently I've received errors when opening new Terminals:

[forkpty: Resource temporarily unavailable]
Could not create a new process and open a pseudo-tty.

While investigate if this was caused by exceeding the max number of processes I noticed that there were a lot of zombie processes (thousands):

$ ps -axo pid,ppid,state,command | grep defunct
114  1436 Z    <defunct>
115  1436 Z    <defunct>
156  1436 Z    <defunct>
194  1436 Z    <defunct>
....
99943  1436 Z    <defunct>
99946  1436 Z    <defunct>
99998  1436 Z    <defunct>

Which were caused by GitUp:

$ ps -p 1436 -o pid,ppid,command
PID  PPID COMMAND
1436     1 /Applications/GitUp.app/Contents/MacOS/GitUp

This happens using 1.5.0 beta on macOS 15 Sequoia. I can reproduce it by launching GitUp and opening some specific repository, this causes a zombie process to show up. Closing the window and opening the same repo gives another zombie process, etc. Some repos are not affected, I'm not sure what exactly triggers this. Will try to do some more tests to see if I can narrow it down.

Reverting to 1.4.3 stable release seems to fix the issue.

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