Skip to main content

Deezer app on Windows 11 - Crashes when moving between multiple monitors

  • March 14, 2024
  • 55 replies
  • 575 views

Show first post

55 replies

jirikovoego
Hitmaker
Forum|alt.badge.img+3
  • Hitmaker
  • June 10, 2026

In my previous reply (pending approval), I described the root cause of the issue. In the PoC, I whitelisted the affected file, and the problem disappeared.

Unfortunately, with Microsoft EDR, this isn’t possible for a regular user, as it’s managed through the Security portal.

Now it’s the developers’ turn:

  • stop rewriting the entire settings file with every window move
  • handle EPERM errors on rename gracefully
  • use Electron’s recommended app.getPath("userData") instead of writing to ~\.config (which is more likely to be monitored by EDR)
  • consider moving away from ElectronJS entirely :-)

José.Deezer
Deezer Staff
Forum|alt.badge.img+1
  • Deezer Staff
  • June 10, 2026

Thanks ​@jirikovoego your insights have been shared with the team responsible for the development of the Electron app. I will come back to all of you when there are some new updates.


jirikovoego
Hitmaker
Forum|alt.badge.img+3
  • Hitmaker
  • June 10, 2026

But ​@José.Deezer , I’m still missing my post from yesterday evening with all the technical details. Did you receive them?


José.Deezer
Deezer Staff
Forum|alt.badge.img+1
  • Deezer Staff
  • June 10, 2026

Hi ​@jirikovoego no I didn’t. Can you send them via DM. Thanks

 


jirikovoego
Hitmaker
Forum|alt.badge.img+3
  • Hitmaker
  • June 10, 2026

Ok ​@José.Deezer, I sent technical details via DM. For all the others I’ve TL;DR:

Deezer crashes on Windows because two things try to use the same small file at the same time:

  • Deezer saves its window position (where the app is on your screen) into a tiny file every time you move the window.
  • Windows’ built‑in security (Defender/EDR) checks that same file at the exact same moment.
  • Maybe others EDRs are affected as well.

When both try to access it at once, they “fight” over it. Deezer doesn’t handle this situation well → it throws an error → and the app closes.

It’s basically like:

Deezer is trying to put something into a drawer while Windows is trying to inspect the drawer → the drawer jams → Deezer crashes.