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

Segmentation fault in running tests on TravisCI #47

Closed
slumnitz opened this issue Feb 10, 2019 · 6 comments
Closed

Segmentation fault in running tests on TravisCI #47

slumnitz opened this issue Feb 10, 2019 · 6 comments

Comments

@slumnitz
Copy link
Member

I am not sure how to debug this as there is no information on which package is segfaulting.

Error message:
/home/travis/.travis/functions: line 104: 4256 Segmentation fault (core dumped) nosetests splot --with-doctest --with-coverage --cover-package=splot

link to full build log: https://travis-ci.org/pysal/splot/jobs/491124752

@weikang9009
Copy link
Member

I've never seen this error before. Maybe @sjsrey and @ljwolf have a better sense of what this is.

@darribas
Copy link
Member

I think that's similar to what we're running into at contextily:

https://travis-ci.org/darribas/contextily/jobs/484776634

@jGaboardi
Copy link
Member

jGaboardi commented Mar 11, 2019

The command "python -m pytest -v tests/ --cov contextily" exited with 139.

Fatal memory faults seems to be leading to this issue. Attempting limited testing in #48

The command "nosetests splot --with-doctest --with-coverage --cover-package=splot;" 
exited with 139.

@jGaboardi
Copy link
Member

Unfortunately limiting to one test case each didn't solve the issue. My guess is that there is an issue with one of the splot dependencies. Also, this does very much appear to be the exact reason the pysal/pyal builds are failing. My recommended plan of action would be to find which testing script the segfault is being thrown from and then narrow it down to an exact test if possible. From there, simply comment out the offending tests until the problem is resolved.

pysal/pysal#1085

@jGaboardi
Copy link
Member

UPDATE: Solved in #48

@slumnitz
Copy link
Member Author

Closing since solved

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

No branches or pull requests

4 participants