sheffield_hpc
sheffield_hpc copied to clipboard
Python can segfault with certain locale/lang settings
Had reports that Python REPLs on Stanage can segfault when started by users with certain non-English locales on their own machines. Apparently particular to those on Macs so far and setting LC_ALL
and LANG
env vars to en_US.utf8
seemed to address the issue.
I've not been able to reproduce with
[te1st@login2 [stanage] ~]$ LC_ALL=zh_CN.UTF-8 LANG=zh_CN.UTF-8 LANGUAGE=zh_CN python
regardless of whether Python provided via (Ana)conda or via the 'Python/3.10.8-GCCcore-12.2.0' environment module, but if we can reproduce the issue it would be worth adding a note about it in the FAQ in these docs.