X11 not working with scudo

Hello everyone,

Context:

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.

Problem:

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.

1 Like