Have a look at this <https://stackoverflow.com/questions/56433322/spacemacs-and-prolog-repl-hangs> over at stackoverflow. I'm once again playing the eternal product tester. This time Prolog, and it seems like an org-mode problem. Could be wrong, though.
LB