@jofemodo recently merged a fix I devised for the shutdown issue (Fix closing crash by polluxsynth · Pull Request #428 · zynthian/zynthian-ui · GitHub) on testing.
EDIT: I don’t think it will fix your problem @pianissimo because the bug I’ve described here only seems to occur when actually shutting down the UI. But if nothing else, it may help diagnose the problem, as one of the changes on the testing branch involves printing out the exit code from the Zynthian application on the error screen when it crashes, which can be helpful in getting some insight as to why the application crashes.