How can I add chapter text to footer on every page in Compile?

When I try to perform this action on my Scrivener, which is running on Linux. It ends up crashing and closing the application without any message. I even created a topic here on the forum to find a solution, if you know what it can be, I’m grateful.