AVSLab / basilisk

Astrodynamics simulation framework
https://hanspeterschaub.info/basilisk
ISC License
125 stars 61 forks source link

MacOS Sonoma 14.4.1 Run Failure #682

Open wnfife opened 3 months ago

wnfife commented 3 months ago

Describe the bug I've build BSK successfully, I think. See the terminal snippet below. However, I get a segfault when I try to run the basic orbit example.

To reproduce Since it is likely something to do with my setup, I will leave this section without instruction.

Expected behavior The expected output of running the basic orbit example.

Error Output

** BUILD SUCCEEDED **

Total Build Time: 0:07:00.668949
The Basilisk build is successful and the scripts are ready to run

(base) williamfife@Williams-MacBook-Air-2 basilisk % cd examples/
(base) williamfife@Williams-MacBook-Air-2 examples % python3 scenarioBasicOrbit.py
zsh: segmentation fault  python3 scenarioBasicOrbit.py

Desktop (please complete the following information):

schaubh commented 3 months ago

I would search the terminal window for the keywords "error" or "warning". Given this error I'm guessing BSK didn't build properly after all. We are building on macOS Sonoma daily and not seen this. Hope this helps narrow things down.

Also, you are running BSK script from a python virtual environment? You could get seg faults if you compile against one version of python, and then execute against another. Using a virtual environment limits the script to a single version of python.