segmentation fault UEDGE with python3 on MacOS
jguterl opened this issue · 2 comments
jguterl commented
On MacOS Catalina 10.15.2 with Python 3.7.6 and Forthon 0.8.41
Set of instructions leading to the segmentation fault (reproducible):
- git clone https://github.com/LLNL/UEDGE.git
- cd UEDGE
- python setup.py clean
- python setup.py build
- python setup.py install
- cd pyexamples/box2
- add the following function in runcase.py (since execfile is deprecated in python 3)
def execfile(filepath, globals=None, locals=None):
if globals is None:
globals = {}
globals.update({
"__file__": filepath,
"__name__": "__main__",
})
with open(filepath, 'rb') as file:
exec(compile(file.read(), filepath, 'exec'), globals, locals)
-python runcase.py
output:
Screen Shot 2020-01-22 at 9 08 25 AM
Result of backtrace with lldb:
jguterl commented
The same procedure on Linux(debian version) do not raise segmentation fault.