Skip to content

Cosmic Player processes remain running after closing, causing high CPU usage #211

@nalladev

Description

@nalladev

After playing several ~1 hour long videos one after another (each in a new window, previous windows were closed), my system’s CPU usage eventually reached 100%.

I checked the system monitor and found 3–4 cosmic-player processes still running. Even after closing the player window, the processes continued running in the background. I had to manually stop them to make the system usable again.

This behavior is not fully consistent: sometimes it happens after one fewer or one more video, but most of the time when the CPU reaches 100% and I check the system monitor, I see around 4 cosmic-player processes still running.

Steps to reproduce (approximate):

  1. Open Cosmic Player and play a ~1 hour long video.
  2. Close the player window.
  3. Repeat with a few more videos.
  4. Check system monitor for running processes and CPU usage.

Expected behavior:
Closing the player window should fully terminate the associated cosmic-player process.

Actual behavior:
Multiple cosmic-player processes remain running in the background and cause very high CPU usage.

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