Process finished with exit code 138 (interrupted by signal 10: SIGBUS)

597 views
Skip to first unread message

Christopher Collins

unread,
Aug 23, 2022, 6:23:06 AM8/23/22
to or-tools-discuss
Hi, 

I have been using a Mac M1 with OR Tools for a number of months with no issues. I recently upgraded my Pycharm version and reinstalled the packages and now whenever I try to call the solver I get the error message in the title. No trace.

I have tried to use poetry with python downloaded from homebrew, and also a conda environment.

The project runs on an AWS EC2 instance in production (inside a docker container) and this has no problems. 

Do you have any suggestions on getting this to work with a Mac M1? Im not sure why it has suddenly stopped working

Christopher Collins

unread,
Aug 23, 2022, 6:26:31 AM8/23/22
to or-tools-discuss
test_functionality.py::test_basic Fatal Python error: Bus error

Current thread 0x0000000101048580 (most recent call first):
  File "/opt/homebrew/Caskroom/miniforge/base/envs/route_optimiser/lib/python3.9/site-packages/ortools/constraint_solver/pywrapcp.py", line 5440 in SolveWithParameters

Laurent Perron

unread,
Aug 23, 2022, 6:56:03 AM8/23/22
to or-tools-discuss
Most likely faulty code in a callback

--
You received this message because you are subscribed to the Google Groups "or-tools-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to or-tools-discu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/or-tools-discuss/f9251efa-56fb-4c1c-93f0-77d227e49d19n%40googlegroups.com.

Christopher Collins

unread,
Aug 23, 2022, 8:59:32 AM8/23/22
to or-tools-discuss
update: This was fixed by removing PyCharm (and all cached data), then installing the Intel version of Pycharm.
Reply all
Reply to author
Forward
0 new messages