Skip to content

test_cfmodel.py cause segmentation fault on MacOS #174

@pat-alt

Description

@pat-alt

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions