Skip to content

Multiprocessing Process spawned by the app is orphaned on exit #505

@ChrolloKyber

Description

@ChrolloKyber

Describe the bug
Hello, I have observed that when I exit the script, either through the tray symbol or Ctrl+C in the terminal the processes spawned for multiprocessing is orphaned and continues to run.

Attaching the outputs of ps auxf below.

To Reproduce
Steps to reproduce the behavior:

  1. Launch the app
  2. Exit
  3. Check processes running on the system
  4. The process keeps running

Expected behavior
The application should stop completely and kill the forkserver processes launched as well

Screenshots
When running:

Image

After exiting:

Image

Desktop (please complete the following information):

  • OS: Arch Linux
  • Version: 2.9.0-2 (installed from official repos)

Error Messages
Process that keeps running:

/usr/bin/python -c from multiprocessing.forkserver import main; main(4, 7, ['__main__'], **{'sys_path': ['/usr/bin', '/usr/lib/python314.zip', '/usr/lib/python3.14', '/usr/lib/python3.14/lib-dynload', '/usr/lib/python3.14/site-packages'], 'main_path': '/usr/bin/jellyfin-mpv-shim', 'authkey_r': 11})

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions