{"action":"created","issue":{"url":"https://api.github.com/repos/numpy/numpy/issues/5533","labels_url":"https://api.github.com/repos/numpy/numpy/issues/5533/labels{/name}","comments_url":"https://api.github.com/repos/numpy/numpy/issues/5533/comments","events_url":"https://api.github.com/repos/numpy/numpy/issues/5533/events","html_url":"https://github.com/numpy/numpy/issues/5533","id":56392018,"number":5533,"title":"Segfault using numpy.dot ","user":{"login":"dschallis","id":8983016,"avatar_url":"https://avatars.githubusercontent.com/u/8983016?v=3","gravatar_id":"","url":"https://api.github.com/users/dschallis","html_url":"https://github.com/dschallis","followers_url":"https://api.github.com/users/dschallis/followers","following_url":"https://api.github.com/users/dschallis/following{/other_user}","gists_url":"https://api.github.com/users/dschallis/gists{/gist_id}","starred_url":"https://api.github.com/users/dschallis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dschallis/subscriptions","organizations_url":"https://api.github.com/users/dschallis/orgs","repos_url":"https://api.github.com/users/dschallis/repos","events_url":"https://api.github.com/users/dschallis/events{/privacy}","received_events_url":"https://api.github.com/users/dschallis/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":15,"created_at":"2015-02-03T15:28:00Z","updated_at":"2015-06-22T18:31:36Z","closed_at":null,"body":"On python 2.7.8, numpy 1.9.1, on Mac OS X:\r\n\r\n    import numpy\r\n    numpy.random.seed(1)\r\n    X = numpy.random.random((50000,100))\r\n    numpy.dot(X, X.T)\r\n\r\nResults in:\r\n\r\n    Segmentation fault: 11\r\n\r\nSegfault doesn't occur on smaller arrays (e.g. 30000x100 is fine).  In case it's useful, some linkage info:\r\n\r\n    >>> numpy.__config__.show()\r\n    atlas_threads_info:\r\n      NOT AVAILABLE\r\n    blas_opt_info:\r\n        extra_link_args = ['-Wl,-framework', '-Wl,Accelerate']\r\n        extra_compile_args = ['-msse3', '-DAPPLE_ACCELERATE_SGEMV_PATCH', '-I/System/Library/Frameworks/vecLib.framework/Headers']\r\n        define_macros = [('NO_ATLAS_INFO', 3)]\r\n    atlas_blas_threads_info:\r\n      NOT AVAILABLE\r\n    openblas_info:\r\n      NOT AVAILABLE\r\n    lapack_opt_info:\r\n        extra_link_args = ['-Wl,-framework', '-Wl,Accelerate']\r\n        extra_compile_args = ['-msse3', '-DAPPLE_ACCELERATE_SGEMV_PATCH']\r\n        define_macros = [('NO_ATLAS_INFO', 3)]\r\n    openblas_lapack_info:\r\n      NOT AVAILABLE\r\n    atlas_info:\r\n      NOT AVAILABLE\r\n    lapack_mkl_info:\r\n      NOT AVAILABLE\r\n    blas_mkl_info:\r\n      NOT AVAILABLE\r\n    atlas_blas_info:\r\n      NOT AVAILABLE\r\n    mkl_info:\r\n      NOT AVAILABLE"},"comment":{"url":"https://api.github.com/repos/numpy/numpy/issues/comments/114209641","html_url":"https://github.com/numpy/numpy/issues/5533#issuecomment-114209641","issue_url":"https://api.github.com/repos/numpy/numpy/issues/5533","id":114209641,"user":{"login":"charris","id":77272,"avatar_url":"https://avatars.githubusercontent.com/u/77272?v=3","gravatar_id":"","url":"https://api.github.com/users/charris","html_url":"https://github.com/charris","followers_url":"https://api.github.com/users/charris/followers","following_url":"https://api.github.com/users/charris/following{/other_user}","gists_url":"https://api.github.com/users/charris/gists{/gist_id}","starred_url":"https://api.github.com/users/charris/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/charris/subscriptions","organizations_url":"https://api.github.com/users/charris/orgs","repos_url":"https://api.github.com/users/charris/repos","events_url":"https://api.github.com/users/charris/events{/privacy}","received_events_url":"https://api.github.com/users/charris/received_events","type":"User","site_admin":false},"created_at":"2015-06-22T18:31:35Z","updated_at":"2015-06-22T18:31:35Z","body":"Hmm, it seems to depend on the BLAS library. We could check the array size, but ideally that would depend on the library and the issue become complicated. Hmm..."}}