Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test_cfmodel.py cause segmentation fault on MacOS #174

Open
pat-alt opened this issue Jul 7, 2022 · 1 comment
Open

test_cfmodel.py cause segmentation fault on MacOS #174

pat-alt opened this issue Jul 7, 2022 · 1 comment

Comments

@pat-alt
Copy link

pat-alt commented Jul 7, 2022

Hi there,

I've been following the contributor's guide and started off by running tests locally before modifying the code in any way. I'm getting the following error:

(env) (base)  ~/Documents/code/CARLA/ [main] make test
env/bin/python -m pytest test/*
========================================================================================== test session starts ===========================================================================================
platform darwin -- Python 3.7.10, pytest-6.1.2, py-1.11.0, pluggy-0.13.1
rootdir: /Users/FA31DU/Documents/code/CARLA
collected 117 items                                                                                                                                                                                      

test/test_api.py ....                                                                                                                                                                              [  3%]
test/test_autoencoder.py .....                                                                                                                                                                     [  7%]
test/test_benchmark.py .......                                                                                                                                                                     [ 13%]
test/test_causal_recourse.py .                                                                                                                                                                     [ 14%]
test/test_cfmodel.py Fatal Python error: Segmentation fault

Thread 0xFatal Python error: make: *** [test] Segmentation fault: 11

I'm using MacOS and see you're running CI on Ubuntu so it might just be OS-related. But thought I'd flag anyway and check if you've come across this in the past?

@JohanvandenHeuvel
Copy link
Collaborator

I have never seen that before.

Did you try to isolate the error? Maybe if it's one particular method I can get an idea where the problem might be coming from.

If it is OS-related, I can't reproduce it and that would make it difficult to fix myself.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants