{"action":"created","issue":{"url":"https://api.github.com/repos/xianyi/OpenBLAS/issues/723","labels_url":"https://api.github.com/repos/xianyi/OpenBLAS/issues/723/labels{/name}","comments_url":"https://api.github.com/repos/xianyi/OpenBLAS/issues/723/comments","events_url":"https://api.github.com/repos/xianyi/OpenBLAS/issues/723/events","html_url":"https://github.com/xianyi/OpenBLAS/issues/723","id":123736894,"number":723,"title":"segfault when inverting matrix containing nans","user":{"login":"AllinCottrell","id":16419561,"avatar_url":"https://avatars.githubusercontent.com/u/16419561?v=3","gravatar_id":"","url":"https://api.github.com/users/AllinCottrell","html_url":"https://github.com/AllinCottrell","followers_url":"https://api.github.com/users/AllinCottrell/followers","following_url":"https://api.github.com/users/AllinCottrell/following{/other_user}","gists_url":"https://api.github.com/users/AllinCottrell/gists{/gist_id}","starred_url":"https://api.github.com/users/AllinCottrell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AllinCottrell/subscriptions","organizations_url":"https://api.github.com/users/AllinCottrell/orgs","repos_url":"https://api.github.com/users/AllinCottrell/repos","events_url":"https://api.github.com/users/AllinCottrell/events{/privacy}","received_events_url":"https://api.github.com/users/AllinCottrell/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-12-23T23:36:24Z","updated_at":"2015-12-24T16:10:14Z","closed_at":null,"body":"On x86_64 Linux, using 0.2.16.dev, I'm getting a crash when using dgretrf/dgetri to\r\ninvert a general (square) matrix with nan values. Obviously one should not pass\r\nsuch a matrix to such a function, but this can happen inadvertently and BLAS really\r\nshouldn't crash. The regular netlib doesn't crash. I'm attaching a test program that\r\ndemonstrates the issue. I'm also attaching the valgrind log from the crash.\r\n\r\n[valgrind.log.txt](https://github.com/xianyi/OpenBLAS/files/71323/valgrind.log.txt)\r\n[blascrash.c.txt](https://github.com/xianyi/OpenBLAS/files/71319/blascrash.c.txt)\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/xianyi/OpenBLAS/issues/comments/167131738","html_url":"https://github.com/xianyi/OpenBLAS/issues/723#issuecomment-167131738","issue_url":"https://api.github.com/repos/xianyi/OpenBLAS/issues/723","id":167131738,"user":{"login":"martin-frbg","id":6192365,"avatar_url":"https://avatars.githubusercontent.com/u/6192365?v=3","gravatar_id":"","url":"https://api.github.com/users/martin-frbg","html_url":"https://github.com/martin-frbg","followers_url":"https://api.github.com/users/martin-frbg/followers","following_url":"https://api.github.com/users/martin-frbg/following{/other_user}","gists_url":"https://api.github.com/users/martin-frbg/gists{/gist_id}","starred_url":"https://api.github.com/users/martin-frbg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/martin-frbg/subscriptions","organizations_url":"https://api.github.com/users/martin-frbg/orgs","repos_url":"https://api.github.com/users/martin-frbg/repos","events_url":"https://api.github.com/users/martin-frbg/events{/privacy}","received_events_url":"https://api.github.com/users/martin-frbg/received_events","type":"User","site_admin":false},"created_at":"2015-12-24T16:10:14Z","updated_at":"2015-12-24T16:10:14Z","body":"That may be their goal, but see #642 and associated netlib bug - probably not everything in LAPACK is NaN-safe yet."}}