Skip to content

Conversation

guihkx
Copy link
Contributor

@guihkx guihkx commented Jul 14, 2025

This launches Spotify with --no-zygote by default, in order to prevent the Zygote process from randomly crashing and generating useless coredumps.

This problem is not exclusive to the Flatpak package. See:

Fixes #320

This launches Spotify with --no-zygote by default, in order to prevent
the Zygote process from randomly crashing and generating useless
coredumps.

This problem is not exclusive to the Flatpak package. See:

- https://community.spotify.com/t5/Desktop-Linux/Spotify-binary-frequently-crashing-and-dumping-core-Ubuntu/td-p/6534369

Fixes flathub#320
@flathubbot
Copy link
Contributor

🚧 Test build enqueued.

@flathubbot
Copy link
Contributor

🚧 Started test build.

@flathubbot
Copy link
Contributor

Test build succeeded. To test this build, install it from the testing repository:

flatpak install --user https://dl.flathub.org/build-repo/198137/com.spotify.Client.flatpakref

@guihkx
Copy link
Contributor Author

guihkx commented Jul 14, 2025

@Erick555, @TingPing: FWIW, I've been using this option for ages in my spotify-flags.conf, and I haven't noticed any bad side effects.

@Erick555
Copy link
Collaborator

According to docs zygote is used for memory optimization and sandboxing. AFAIK spotify uses --no-sandbox right now so the latter may be not a problem right now but it may change in the future.

I'm not sure if we should force this fix for a minor issue if users can workaround it quite easily if it bothers them.

@guihkx
Copy link
Contributor Author

guihkx commented Jul 19, 2025

The memory optimization part makes sense and is valid, but I have my doubts about the importance of the sandbox in this context, given that Flatpak already provides one...

Electron apps, for example, have been using zypak for ages to essentially disable the built-in Chromium sandbox to avoid issues when running them through Flatpak.

I just personally dislike having my disk constantly sprayed with useless coredumps that contribute to SSD wear, and it's likely that the average user doesn't even know this is happening in the background when they leave Spotify running for hours.

In any case, it's fine if you don't think this is worth merging, so feel free to close this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Constant coredump messages
3 participants