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

Segfault on Travis #3789

Closed
jenshnielsen opened this issue Nov 13, 2014 · 3 comments
Closed

Segfault on Travis #3789

jenshnielsen opened this issue Nov 13, 2014 · 3 comments
Labels
Release critical For bugs that make the library unusable (segfaults, incorrect plots, etc) and major regressions.
Milestone

Comments

@jenshnielsen
Copy link
Member

I have seen the following in some travis logs

Fatal Python error: Segmentation fault

Current thread 0x00007ffff7fe5700:
  File "/home/travis/virtualenv/python3.3.5/lib/python3.3/site-packages/matplotlib-1.5.x-py3.3-linux-x86_64.egg/matplotlib/tri/triangulation.py", line 193 in neighbors
  File "/home/travis/virtualenv/python3.3.5/lib/python3.3/site-packages/matplotlib-1.5.x-py3.3-linux-x86_64.egg/matplotlib/tri/tritools.py", line 190 in get_flat_tri_mask
  File "/home/travis/virtualenv/python3.3.5/lib/python3.3/site-packages/matplotlib-1.5.x-py3.3-linux-x86_64.egg/matplotlib/tests/test_triangulation.py", line 876 in test_tritools
  File "/home/travis/virtualenv/python3.3.5/lib/python3.3/site-packages/nose/case.py", line 198 in runTest
  File "/opt/python/3.3.5/lib/python3.3/unittest/case.py", line 384 in _executeTestPart
  File "/opt/python/3.3.5/lib/python3.3/unittest/case.py", line 439 in run
  File "/opt/python/3.3.5/lib/python3.3/unittest/case.py", line 491 in __call__
  File "/home/travis/virtualenv/python3.3.5/lib/python3.3/site-packages/nose/case.py", line 152 in runTest
  File "/home/travis/virtualenv/python3.3.5/lib/python3.3/site-packages/nose/case.py", line 134 in run
  File "/home/travis/virtualenv/python3.3.5/lib/python3.3/site-packages/nose/case.py", line 46 in __call__
  File "/home/travis/virtualenv/python3.3.5/lib/python3.3/site-packages/nose/plugins/multiprocess.py", line 812 in run
  File "/home/travis/virtualenv/python3.3.5/lib/python3.3/site-packages/nose/suite.py", line 178 in __call__
  File "/home/travis/virtualenv/python3.3.5/lib/python3.3/site-packages/nose/plugins/multiprocess.py", line 812 in run
  File "/home/travis/virtualenv/python3.3.5/lib/python3.3/site-packages/nose/suite.py", line 178 in __call__
  File "/home/travis/virtualenv/python3.3.5/lib/python3.3/site-packages/nose/plugins/multiprocess.py", line 715 in __runner
  File "/home/travis/virtualenv/python3.3.5/lib/python3.3/site-packages/nose/plugins/multiprocess.py", line 652 in runner
  File "/opt/python/3.3.5/lib/python3.3/multiprocessing/process.py", line 95 in run
  File "/opt/python/3.3.5/lib/python3.3/multiprocessing/process.py", line 258 in _bootstrap
  File "/opt/python/3.3.5/lib/python3.3/multiprocessing/forking.py", line 103 in __init__
  File "/opt/python/3.3.5/lib/python3.3/multiprocessing/process.py", line 111 in start
  File "/home/travis/virtualenv/python3.3.5/lib/python3.3/site-packages/nose/plugins/multiprocess.py", line 343 in startProcess
  File "/home/travis/virtualenv/python3.3.5/lib/python3.3/site-packages/nose/plugins/multiprocess.py", line 380 in run
  File "/home/travis/virtualenv/python3.3.5/lib/python3.3/site-packages/nose/core.py", line 207 in runTests
  File "/opt/python/3.3.5/lib/python3.3/unittest/main.py", line 125 in __init__
  File "/home/travis/virtualenv/python3.3.5/lib/python3.3/site-packages/nose/core.py", line 121 in __init__
  File "../matplotlib/tests.py", line 47 in run
  File "../matplotlib/tests.py", line 57 in <module>

I.e. here https://api.travis-ci.org/jobs/40904409/log.txt?deansi=true

It doesn't actually seem to cause Travis to fail. Might be related to #3782

@tacaswell tacaswell modified the milestones: v1.4.3, v1.5.x Nov 14, 2014
@tacaswell
Copy link
Member

Travis does not notice because it assumes tests pass unless exceptions are raised and running parallel it just loses a process and keeps going...

@tacaswell tacaswell added the Release critical For bugs that make the library unusable (segfaults, incorrect plots, etc) and major regressions. label Nov 14, 2014
@ianthomas23
Copy link
Member

This seems to occur only under python 3. It is presumably caused by the switch to using the new numpy::array_view classes (PR #3744). I am looking into it.

Is there any way we can get travis to catch these occasions and report them as test failures?

ianthomas23 added a commit to ianthomas23/matplotlib that referenced this issue Nov 14, 2014
jenshnielsen added a commit that referenced this issue Nov 14, 2014
@jenshnielsen
Copy link
Member Author

This should be fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Release critical For bugs that make the library unusable (segfaults, incorrect plots, etc) and major regressions.
Projects
None yet
Development

No branches or pull requests

3 participants