X11 not working with scudo

Hello everyone,


Today I was trying to use scudo as my memory allocator via:

environment.memoryAllocator.provider = "scudo";

It’s the default one on the hardened.nix profile.


My problem is that I cannot start the X11 server, so no WM for me.
I’ve looked through the logs and I was unable to figure out what was wrong.
It only happens when scudo is set as the system malloc.

Also, when running startx I only get: Failed to create cookie. as an output.

Is this expected to happen? Am I missing something?

NOTE: I’m NOT using the hardened profile.

Thanks in advice.

Hosted by Flying Circus.