I found a solution for this that you can read in the document I wrote to setup Plutus dev environment on your local machine ( https://www.punkbit.com/hacking/plutus-developer-environment-setup-on-macos-monterey/#6-run-the-plutus-playground-service-and-frontend).
The issue is related to a segmentation fault and by disabling the garbage-collector when running the generated commands in the generated source files, solved it for me!
Here's part of the original generated script:
$(nix-build --quiet --no-build-output ../default.nix -A plutus-apps.haskell.packages.plutus-playground-server.components.exes.plutus-playground-server)/bin/plutus-playground-server psgenerator generated
See the --quiet --no-build-output? That's bad! Remove it and you'll see the original error.
$(nix-build ../default.nix -A plutus-apps.haskell.packages.plutus-playground-server.components.exes.plutus-playground-server)/bin/plutus-playground-server psgenerator generated
You should see a segmentation fault.
Prefix the command with GC_DONT_GC=1
Check the article I posted above, its easier.