{"action":"created","issue":{"url":"https://api.github.com/repos/scipy/scipy/issues/5712","labels_url":"https://api.github.com/repos/scipy/scipy/issues/5712/labels{/name}","comments_url":"https://api.github.com/repos/scipy/scipy/issues/5712/comments","events_url":"https://api.github.com/repos/scipy/scipy/issues/5712/events","html_url":"https://github.com/scipy/scipy/issues/5712","id":126539691,"number":5712,"title":"Segfault when running scipy.linalg tests","user":{"login":"jjakeman","id":771964,"avatar_url":"https://avatars.githubusercontent.com/u/771964?v=3","gravatar_id":"","url":"https://api.github.com/users/jjakeman","html_url":"https://github.com/jjakeman","followers_url":"https://api.github.com/users/jjakeman/followers","following_url":"https://api.github.com/users/jjakeman/following{/other_user}","gists_url":"https://api.github.com/users/jjakeman/gists{/gist_id}","starred_url":"https://api.github.com/users/jjakeman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jjakeman/subscriptions","organizations_url":"https://api.github.com/users/jjakeman/orgs","repos_url":"https://api.github.com/users/jjakeman/repos","events_url":"https://api.github.com/users/jjakeman/events{/privacy}","received_events_url":"https://api.github.com/users/jjakeman/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/scipy/scipy/labels/defect","name":"defect","color":"e11d21"},{"url":"https://api.github.com/repos/scipy/scipy/labels/scipy.linalg","name":"scipy.linalg","color":"207de5"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-01-13T23:21:31Z","updated_at":"2016-01-14T17:17:31Z","closed_at":"2016-01-14T16:10:38Z","body":"When I run\r\npython -c \"import scipy.linalg as m; m.test('full', verbose=3)\"\r\na segfault occurs. There also seems to be a problem in other tests which print messages like\r\n\r\n0-th dimension must be fixed to 3 but got 15\r\n\r\nI get the following print out\r\n\r\nRunning unit tests for scipy.linalg\r\nNumPy version 1.10.2\r\nNumPy relaxed strides checking option: False\r\nNumPy is installed in /home/jdjakem/python-virtual-env/2.7/lib/python2.7/site-packages/numpy\r\nSciPy version 0.16.1\r\nSciPy is installed in /home/jdjakem/python-virtual-env/2.7/lib/python2.7/site-packages/scipy\r\nPython version 2.7.3 (default, Jan 24 2013, 14:20:14) [GCC 4.4.6 20120305 (Red Hat 4.4.6-4)]\r\nnose version 1.3.6\r\nnose.config: INFO: Ignoring files matching ['^\\\\.', '^_', '^setup\\\\.py$']\r\nnose.config: INFO: Excluding tests matching ['f2py_ext', 'f2py_f90_ext', 'gen_ext', 'pyrex_ext', 'swig_ext']\r\ntest_check_finite (test_basic.TestDet) ... ok\r\ntest_random (test_basic.TestDet) ... ok\r\ntest_random_complex (test_basic.TestDet) ... ok\r\ntest_simple (test_basic.TestDet) ... ok\r\ntest_simple_complex (test_basic.TestDet) ... ok\r\ntest_check_finite (test_basic.TestInv) ... ok\r\ntest_random (test_basic.TestInv) ... ok\r\ntest_random_complex (test_basic.TestInv) ... ok\r\ntest_simple (test_basic.TestInv) ... ok\r\ntest_simple_complex (test_basic.TestInv) ... ok\r\ntest_check_finite (test_basic.TestLstsq) ... ok\r\ntest_random_complex_exact (test_basic.TestLstsq) ... ok\r\ntest_random_complex_overdet (test_basic.TestLstsq) ... ok\r\ntest_random_exact (test_basic.TestLstsq) ... ok\r\ntest_random_overdet (test_basic.TestLstsq) ... ok\r\ntest_random_overdet_large (test_basic.TestLstsq) ... ok\r\ntest_simple_exact (test_basic.TestLstsq) ... ok\r\ntest_simple_overdet (test_basic.TestLstsq) ... ok\r\ntest_simple_overdet_complex (test_basic.TestLstsq) ... ok\r\ntest_simple_underdet (test_basic.TestLstsq) ... ok\r\ntest_basic.TestMatrixNorms.test_matrix_norms ... ERROR\r\ntest_basic.TestOverwrite.test_det ... ok\r\ntest_basic.TestOverwrite.test_inv ... ok\r\ntest_basic.TestOverwrite.test_lstsq ... ok\r\ntest_basic.TestOverwrite.test_pinv ... ok\r\ntest_basic.TestOverwrite.test_pinv2 ... ok\r\ntest_basic.TestOverwrite.test_pinvh ... ok\r\ntest_basic.TestOverwrite.test_solve ... ok\r\ntest_basic.TestOverwrite.test_solve_banded ... ok\r\ntest_basic.TestOverwrite.test_solve_triangular ... ok\r\ntest_basic.TestOverwrite.test_solveh_banded ... ok\r\ntest_check_finite (test_basic.TestPinv) ... ok\r\ntest_simple_cols (test_basic.TestPinv) ... ok\r\ntest_simple_complex (test_basic.TestPinv) ... ok\r\ntest_simple_real (test_basic.TestPinv) ... ok\r\ntest_simple_rows (test_basic.TestPinv) ... ok\r\ntest_simple_singular (test_basic.TestPinv) ... ok\r\ntest_nonpositive (test_basic.TestPinvSymmetric) ... ok\r\ntest_simple_complex (test_basic.TestPinvSymmetric) ... ok\r\ntest_simple_real (test_basic.TestPinvSymmetric) ... ok\r\ntest_20Feb04_bug (test_basic.TestSolve) ... ok\r\ntest_check_finite (test_basic.TestSolve) ... ok\r\ntest_nils_20Feb04 (test_basic.TestSolve) ... ok\r\ntest_random (test_basic.TestSolve) ... ok\r\ntest_random_complex (test_basic.TestSolve) ... ok\r\ntest_random_sym (test_basic.TestSolve) ... ok\r\ntest_random_sym_complex (test_basic.TestSolve) ... ok\r\ntest_simple (test_basic.TestSolve) ... ok\r\ntest_simple_complex (test_basic.TestSolve) ... ok\r\ntest_simple_sym (test_basic.TestSolve) ... ok\r\ntest_simple_sym_complex (test_basic.TestSolve) ... ok\r\ntest_1x1 (test_basic.TestSolveBanded) ... ok\r\ntest_bad_shape (test_basic.TestSolveBanded) ... ok\r\ntest_check_finite (test_basic.TestSolveBanded) ... ok\r\ntest_complex (test_basic.TestSolveBanded) ... ok\r\ntest_real (test_basic.TestSolveBanded) ... ok\r\ntest_tridiag_complex (test_basic.TestSolveBanded) ... ok\r\ntest_tridiag_real (test_basic.TestSolveBanded) ... ok\r\ntest_axis_args (test_basic.TestSolveCirculant) ... ok\r\ntest_basic1 (test_basic.TestSolveCirculant) ... ok\r\ntest_basic2 (test_basic.TestSolveCirculant) ... ok\r\ntest_basic3 (test_basic.TestSolveCirculant) ... ok\r\ntest_complex (test_basic.TestSolveCirculant) ... ok\r\ntest_random_b_and_c (test_basic.TestSolveCirculant) ... ok\r\ntest_singular (test_basic.TestSolveCirculant) ... ok\r\ntest_01_complex (test_basic.TestSolveHBanded) ... ok\r\ntest_01_float32 (test_basic.TestSolveHBanded) ... ok\r\ntest_01_lower (test_basic.TestSolveHBanded) ... ok\r\ntest_01_upper (test_basic.TestSolveHBanded) ... ok\r\ntest_02_complex (test_basic.TestSolveHBanded) ... ok\r\ntest_02_float32 (test_basic.TestSolveHBanded) ... ok\r\ntest_02_lower (test_basic.TestSolveHBanded) ... ok\r\ntest_02_upper (test_basic.TestSolveHBanded) ... ok\r\ntest_03_upper (test_basic.TestSolveHBanded) ... ok\r\ntest_1x1 (test_basic.TestSolveHBanded) ... ok\r\ntest_bad_shapes (test_basic.TestSolveHBanded) ... ok\r\ntest_check_finite (test_basic.TestSolveHBanded) ... ok\r\ntest_tridiag_01_complex (test_basic.TestSolveHBanded) ... ok\r\ntest_tridiag_01_float32 (test_basic.TestSolveHBanded) ... ok\r\ntest_tridiag_01_lower (test_basic.TestSolveHBanded) ... ok\r\ntest_tridiag_01_upper (test_basic.TestSolveHBanded) ... ok\r\ntest_tridiag_02_complex (test_basic.TestSolveHBanded) ... ok\r\ntest_tridiag_02_float32 (test_basic.TestSolveHBanded) ... ok\r\ntest_tridiag_02_lower (test_basic.TestSolveHBanded) ... ok\r\ntest_tridiag_02_upper (test_basic.TestSolveHBanded) ... ok\r\ntest_tridiag_03_upper (test_basic.TestSolveHBanded) ... ok\r\nsolve_triangular on a simple 2x2 matrix. ... ok\r\nsolve_triangular on a simple 2x2 matrix. ... ok\r\nsolve_triangular on a simple 2x2 complex matrix ... ok\r\ntest_basic.TestVectorNorms.test_overflow ... FAIL\r\ntest_basic.TestVectorNorms.test_stable ... FAIL\r\ntest_basic.TestVectorNorms.test_types ... FAIL\r\ntest_basic.TestVectorNorms.test_zero_norm ... ok\r\ntest_summ_wrong_side (test_blas.TestBLAS3Symm) ... ok\r\ntest_symm (test_blas.TestBLAS3Symm) ... ok\r\nSYMM only considers the upper/lower part of A. Hence setting ... ok\r\ntest_syr2k (test_blas.TestBLAS3Syr2k) ... ok\r\ntest_syr2k_wrong_c (test_blas.TestBLAS3Syr2k) ... 0-th dimension must be fixed to 3 but got 15\r\nok\r\ntest_syrk (test_blas.TestBLAS3Syrk) ... ok\r\ntest_syrk_wrong_c (test_blas.TestBLAS3Syrk) ... 0-th dimension must be fixed to 3 but got 5\r\nok\r\ntest_axpy (test_blas.TestCBLAS1Simple) ... ok\r\ntest_amax (test_blas.TestFBLAS1Simple) ... ok\r\ntest_asum (test_blas.TestFBLAS1Simple) ... FAIL\r\ntest_axpy (test_blas.TestFBLAS1Simple) ... ok\r\ntest_complex_dotc (test_blas.TestFBLAS1Simple) ... Segmentation fault (core dumped)"},"comment":{"url":"https://api.github.com/repos/scipy/scipy/issues/comments/171710886","html_url":"https://github.com/scipy/scipy/issues/5712#issuecomment-171710886","issue_url":"https://api.github.com/repos/scipy/scipy/issues/5712","id":171710886,"user":{"login":"pv","id":35046,"avatar_url":"https://avatars.githubusercontent.com/u/35046?v=3","gravatar_id":"","url":"https://api.github.com/users/pv","html_url":"https://github.com/pv","followers_url":"https://api.github.com/users/pv/followers","following_url":"https://api.github.com/users/pv/following{/other_user}","gists_url":"https://api.github.com/users/pv/gists{/gist_id}","starred_url":"https://api.github.com/users/pv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pv/subscriptions","organizations_url":"https://api.github.com/users/pv/orgs","repos_url":"https://api.github.com/users/pv/repos","events_url":"https://api.github.com/users/pv/events{/privacy}","received_events_url":"https://api.github.com/users/pv/received_events","type":"User","site_admin":false},"created_at":"2016-01-14T17:17:31Z","updated_at":"2016-01-14T17:17:31Z","body":"LAPACK at least has RNG cf. slarnv et al., but I don't think there's\ninternal state the few routines using them seem to use a fixed seed.\n(Since there are no SAVE variables, where would the rng state even be\nstored? *lacon seem to be the only place with save variables, but I\ndon't see it using the rng.)\n"}}