@mrainone@daniel Behavior confirmed. I added a few print statements between the lines to see where it fails. Sometimes it passed through the script, sometimes it just stalled, sometimes I get an guru mediation error. In case of failure, it happened at the statement:
sd = SD()
Pasting the scripts into REPL always works.
The core dump starts with (calling for saint Daniel):