As long scratchpad ist empty, sx starts without any problems. Once you sent a process to scratchpad sx crashes immediately with the message "Aborted (core dumped)". Even if some process is already in scratchpad, once you start sx it also stops working.