{"action":"opened","issue":{"url":"https://api.github.com/repos/NVIDIA/nvidia-docker/issues/161","repository_url":"https://api.github.com/repos/NVIDIA/nvidia-docker","labels_url":"https://api.github.com/repos/NVIDIA/nvidia-docker/issues/161/labels{/name}","comments_url":"https://api.github.com/repos/NVIDIA/nvidia-docker/issues/161/comments","events_url":"https://api.github.com/repos/NVIDIA/nvidia-docker/issues/161/events","html_url":"https://github.com/NVIDIA/nvidia-docker/issues/161","id":168732781,"number":161,"title":"cv2 segfault","user":{"login":"jeremy-rutman","id":3863744,"avatar_url":"https://avatars.githubusercontent.com/u/3863744?v=3","gravatar_id":"","url":"https://api.github.com/users/jeremy-rutman","html_url":"https://github.com/jeremy-rutman","followers_url":"https://api.github.com/users/jeremy-rutman/followers","following_url":"https://api.github.com/users/jeremy-rutman/following{/other_user}","gists_url":"https://api.github.com/users/jeremy-rutman/gists{/gist_id}","starred_url":"https://api.github.com/users/jeremy-rutman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeremy-rutman/subscriptions","organizations_url":"https://api.github.com/users/jeremy-rutman/orgs","repos_url":"https://api.github.com/users/jeremy-rutman/repos","events_url":"https://api.github.com/users/jeremy-rutman/events{/privacy}","received_events_url":"https://api.github.com/users/jeremy-rutman/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-08-01T20:19:23Z","updated_at":"2016-08-01T20:19:23Z","closed_at":null,"body":"I am not sure about what is causing this segfault but it occurs only in a docker image \r\nbased on nvidia/cuda:7.5-cudnn5-devel; the same code not in docker runs fine. \r\nIt occurs running caffe which calls a python layer that in turn calls cv2.imread on a valid image file.  \r\nThis hits the segfault\r\n\r\n*** Aborted at 1470082660 (unix time) try \"date -d @1470082660\" if you are using GNU date ***\r\nPC: @     0x7f1cbb539282 (unknown)\r\n*** SIGSEGV (@0x0) received by PID 1786 (TID 0x7f1cc7d62a40) from PID 0; stack trace: ***\r\n    @     0x7f1cc5512cb0 (unknown)\r\n    @     0x7f1cbb539282 (unknown)\r\n    @     0x7f1bf28c5ad5 pyopencv_from<>()\r\n    @     0x7f1bf28c6074 pyopencv_cv_imread()\r\n    @     0x7f1cc61950d4 (unknown)\r\n    @     0x7f1cc619654d (unknown)\r\n    @     0x7f1cc6194dd8 (unknown)\r\n    @     0x7f1cc619654d (unknown)\r\n    @     0x7f1cc6194dd8 (unknown)\r\n    @     0x7f1cc619654d (unknown)\r\n    @     0x7f1cc61cb6d0 (unknown)\r\n    @     0x7f1cc6137d43 (unknown)\r\n    @     0x7f1cc60c37bd (unknown)\r\n    @     0x7f1cc6137d43 (unknown)\r\n    @     0x7f1cc61b0577 (unknown)\r\n    @     0x7f1cc60f3617 (unknown)\r\n    @     0x7f1c2c5ad4d5 caffe::PythonLayer<>::Reshape()\r\n    @     0x7f1cc73c34b5 caffe::Net<>::Init()\r\n    @     0x7f1cc73c4345 caffe::Net<>::Net()\r\n    @     0x7f1cc737166a caffe::Solver<>::InitTrainNet()\r\n    @     0x7f1cc737287c caffe::Solver<>::Init()\r\n    @     0x7f1cc7372baa caffe::Solver<>::Solver()\r\n    @     0x7f1cc73f4053 caffe::Creator_SGDSolver<>()\r\n    @           0x411fc6 caffe::SolverRegistry<>::CreateSolver()\r\n    @           0x40af42 train()\r\n    @           0x40897c main\r\n    @     0x7f1cc54fdf45 (unknown)\r\n    @           0x409283 (unknown)\r\n    @                0x0 (unknown)\r\nSegmentation fault\r\n\r\nAgain i'm not sure if its an nvidia-docker issue but the same code runs ok on a non-docker ubuntu machine (not sure if that is running cv2 compiled with cudnn however)"}}
{"actor":{"display_login":"jeremy-rutman"}}