{"action":"created","issue":{"url":"https://api.github.com/repos/NVIDIA/nvidia-docker/issues/746","repository_url":"https://api.github.com/repos/NVIDIA/nvidia-docker","labels_url":"https://api.github.com/repos/NVIDIA/nvidia-docker/issues/746/labels{/name}","comments_url":"https://api.github.com/repos/NVIDIA/nvidia-docker/issues/746/comments","events_url":"https://api.github.com/repos/NVIDIA/nvidia-docker/issues/746/events","html_url":"https://github.com/NVIDIA/nvidia-docker/issues/746","id":325961466,"node_id":"MDU6SXNzdWUzMjU5NjE0NjY=","number":746,"title":"docker run fails with signal 11 on ubuntu 16.04 with CUDA9.2","user":{"login":"Chachay","id":18555961,"node_id":"MDQ6VXNlcjE4NTU1OTYx","avatar_url":"https://avatars3.githubusercontent.com/u/18555961?v=4","gravatar_id":"","url":"https://api.github.com/users/Chachay","html_url":"https://github.com/Chachay","followers_url":"https://api.github.com/users/Chachay/followers","following_url":"https://api.github.com/users/Chachay/following{/other_user}","gists_url":"https://api.github.com/users/Chachay/gists{/gist_id}","starred_url":"https://api.github.com/users/Chachay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Chachay/subscriptions","organizations_url":"https://api.github.com/users/Chachay/orgs","repos_url":"https://api.github.com/users/Chachay/repos","events_url":"https://api.github.com/users/Chachay/events{/privacy}","received_events_url":"https://api.github.com/users/Chachay/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":24,"created_at":"2018-05-24T04:39:02Z","updated_at":"2018-06-21T19:01:16Z","closed_at":"2018-06-21T19:01:16Z","author_association":"NONE","body":"### 1. Issue or feature description\r\nDocker run option produces ldcache error with signal 11\r\n* Ubuntu 16.04\r\n* CUDA9.2 with Driver 396.26\r\n* 2 x Tiatan Xp \r\n\r\n### 2. Steps to reproduce the issue\r\nAny docker run command with --runtime=nvidia option to run nvidia-smi\r\n\r\ne.g. \r\n```\r\ndocker run --runtime=nvidia --rm nvidia/cuda:9.2-runtime-ubuntu16.04 nvidia-smi\r\n```\r\ngives \r\n```\r\ndocker: Error response from daemon: OCI runtime create failed: container_linux.go:348: starting container process caused \"process_linux.go:402: container init caused \\\"process_linux.go:385: running prestart hook 1 caused \\\\\\\"error running hook: exit status 1, stdout: , stderr: exec command: [/usr/bin/nvidia-container-cli --load-kmods --debug=/var/log/nvidia-container-runtime-hook.log configure --ldconfig=@/sbin/ldconfig.real --device=all --compute --utility --require=cuda>=9.0 --pid=5658 /var/lib/docker/overlay2/79f27ebedeff1ab14b3c77ccfbc6fbc6afccfac8635a81f1bf39987426f40d1b/merged]\\\\\\\\nnvidia-container-cli: ldcache error: process /sbin/ldconfig.real terminated with signal 11\\\\\\\\n\\\\\\\"\\\"\": unknown.\r\nERRO[0000] error waiting for container: context canceled\r\n```\r\n\r\n\r\n### 3. Information to [attach](https://help.github.com/articles/file-attachments-on-issues-and-pull-requests/) (optional if deemed irrelevant)\r\n\r\n - [x] Kernel version from `uname -a`\r\n\r\n `Linux PC-Name 4.4.0-127-generic #153-Ubuntu SMP Sat May 19 10:58:46 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux`\r\n\r\n - [x] Any relevant kernel output lines from `dmesg`\r\n\r\n```\r\n[ 8809.443159] device vethed90836 entered promiscuous mode\r\n[ 8809.443331] docker0: port 1(vethed90836) entered forwarding state\r\n[ 8809.443354] docker0: port 1(vethed90836) entered forwarding state\r\n[ 8809.444031] docker0: port 1(vethed90836) entered disabled state\r\n[ 8809.599967] docker0: port 1(vethed90836) entered forwarding state\r\n[ 8809.600011] docker0: port 1(vethed90836) entered forwarding state\r\n[ 8809.719434] traps: nvc:[ldconfig][5471] general protection ip:7efc3ad44196 sp:7ffcad07bc00 error:0 in libc-2.23.so[7efc3ad0d000+1c0000]\r\n[ 8809.923148] docker0: port 1(vethed90836) entered disabled state\r\n[ 8809.950357] docker0: port 1(vethed90836) entered disabled state\r\n[ 8809.952652] docker0: port 1(vethed90836) entered disabled state\r\n```\r\n\r\n - [x] Driver information from `nvidia-smi -a`\r\n[nvidia-smi.txt](https://github.com/NVIDIA/nvidia-docker/files/2033823/nvidia-smi.txt)\r\n\r\n - [x] Docker version from `docker version`\r\n```\r\nClient:\r\n Version:      18.03.1-ce\r\n API version:  1.37\r\n Go version:   go1.9.5\r\n Git commit:   9ee9f40\r\n Built:        Thu Apr 26 07:17:20 2018\r\n OS/Arch:      linux/amd64\r\n Experimental: false\r\n Orchestrator: swarm\r\n\r\nServer:\r\n Engine:\r\n  Version:      18.03.1-ce\r\n  API version:  1.37 (minimum version 1.12)\r\n  Go version:   go1.9.5\r\n  Git commit:   9ee9f40\r\n  Built:        Thu Apr 26 07:15:30 2018\r\n  OS/Arch:      linux/amd64\r\n  Experimental: false\r\n```\r\n - [x] NVIDIA packages version from `dpkg -l '*nvidia*'` _or_ `rpm -qa '*nvidia*'`\r\n```\r\n||/ Name                Version        Architecture   Description\r\n+++-===================-==============-==============-============================================\r\nii  libnvidia-container 1.0.0~rc.1-1   amd64          NVIDIA container runtime library (command-li\r\nii  libnvidia-container 1.0.0~rc.1-1   amd64          NVIDIA container runtime library\r\nii  nvidia-396          396.26-0ubuntu amd64          NVIDIA binary driver - version 396.26\r\nii  nvidia-396-dev      396.26-0ubuntu amd64          NVIDIA binary Xorg driver development files\r\nun  nvidia-common       <none>         <none>         (no description available)\r\nii  nvidia-container-ru 2.0.0+docker18 amd64          NVIDIA container runtime\r\nii  nvidia-container-ru 1.3.0-1        amd64          NVIDIA container runtime hook\r\nun  nvidia-current      <none>         <none>         (no description available)\r\nun  nvidia-docker       <none>         <none>         (no description available)\r\nii  nvidia-docker2      2.0.3+docker18 all            nvidia-docker CLI wrapper\r\nun  nvidia-driver-binar <none>         <none>         (no description available)\r\nun  nvidia-legacy-340xx <none>         <none>         (no description available)\r\nun  nvidia-libopencl1-3 <none>         <none>         (no description available)\r\nun  nvidia-libopencl1-d <none>         <none>         (no description available)\r\nii  nvidia-modprobe     396.26-0ubuntu amd64          Load the NVIDIA kernel driver and create dev\r\nun  nvidia-opencl-icd   <none>         <none>         (no description available)\r\nii  nvidia-opencl-icd-3 396.26-0ubuntu amd64          NVIDIA OpenCL ICD\r\nun  nvidia-persistenced <none>         <none>         (no description available)\r\nii  nvidia-prime        0.8.2          amd64          Tools to enable NVIDIA's Prime\r\nii  nvidia-settings     396.26-0ubuntu amd64          Tool for configuring the NVIDIA graphics dri\r\nun  nvidia-settings-bin <none>         <none>         (no description available)\r\nun  nvidia-smi          <none>         <none>         (no description available)\r\nun  nvidia-vdpau-driver <none>         <none>         (no description available)\r\n```\r\n\r\n - [x] NVIDIA container library version from `nvidia-container-cli -V`\r\n```\r\nversion: 1.0.0\r\nbuild date: 2018-04-26T22:53+00:00\r\nbuild revision: 163054a04b21c4455c8cae7e47873d9f2a091f55\r\nbuild compiler: gcc-5 5.4.0 20160609\r\nbuild platform: x86_64\r\nbuild flags: -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DNDEBUG -std=gnu11 -O2 -g -fdata-sections -ffunction-sections -fstack-protector -fno-strict-aliasing -fvisibility=hidden -Wall -Wextra -Wcast-align -Wpointer-arith -Wmissing-prototypes -Wnonnull -Wwrite-strings -Wlogical-op -Wformat=2 -Wmissing-format-attribute -Winit-self -Wshadow -Wstrict-prototypes -Wunreachable-code -Wconversion -Wsign-conversion -Wno-unknown-warning-option -Wno-format-extra-args -Wno-gnu-alignof-expression -Wl,-zrelro -Wl,-znow -Wl,-zdefs -Wl,--gc-sections\r\n```\r\n\r\n - [x] NVIDIA container library logs (see [troubleshooting](https://github.com/NVIDIA/nvidia-docker/wiki/Troubleshooting))\r\n[docker-log.txt](https://github.com/NVIDIA/nvidia-docker/files/2033824/docker-log.txt)\r\n\r\n - [x] Docker command, image and tag used\r\n```\r\n$ docker run --runtime=nvidia nvidia/cuda nvidia-smi\r\ndocker: Error response from daemon: OCI runtime create failed: container_linux.go:348: starting container process caused \"process_linux.go:402: container init caused \\\"process_linux.go:385: running prestart hook 1 caused \\\\\\\"error running hook: exit status 1, stdout: , stderr: exec command: [/usr/bin/nvidia-container-cli --load-kmods --debug=/var/log/nvidia-container-runtime-hook.log configure --ldconfig=@/sbin/ldconfig.real --device=all --compute --utility --require=cuda>=9.0 --pid=5658 /var/lib/docker/overlay2/79f27ebedeff1ab14b3c77ccfbc6fbc6afccfac8635a81f1bf39987426f40d1b/merged]\\\\\\\\nnvidia-container-cli: ldcache error: process /sbin/ldconfig.real terminated with signal 11\\\\\\\\n\\\\\\\"\\\"\": unknown.\r\nERRO[0000] error waiting for container: context canceled\r\n```\r\nsame result with \r\n```\r\ndocker run --runtime=nvidia --rm nvidia/cuda:9.2-runtime-ubuntu16.04 nvidia-smi\r\n```\r\n - CUDA Version \r\n```\r\nnvcc: NVIDIA (R) Cuda compiler driver\r\nCopyright (c) 2005-2018 NVIDIA Corporation\r\nBuilt on Wed_Apr_11_23:16:29_CDT_2018\r\nCuda compilation tools, release 9.2, V9.2.88\r\n```\r\n\r\nIf I do something wrong, thank you for your help."},"comment":{"url":"https://api.github.com/repos/NVIDIA/nvidia-docker/issues/comments/399209407","html_url":"https://github.com/NVIDIA/nvidia-docker/issues/746#issuecomment-399209407","issue_url":"https://api.github.com/repos/NVIDIA/nvidia-docker/issues/746","id":399209407,"node_id":"MDEyOklzc3VlQ29tbWVudDM5OTIwOTQwNw==","user":{"login":"flx42","id":3645581,"node_id":"MDQ6VXNlcjM2NDU1ODE=","avatar_url":"https://avatars3.githubusercontent.com/u/3645581?v=4","gravatar_id":"","url":"https://api.github.com/users/flx42","html_url":"https://github.com/flx42","followers_url":"https://api.github.com/users/flx42/followers","following_url":"https://api.github.com/users/flx42/following{/other_user}","gists_url":"https://api.github.com/users/flx42/gists{/gist_id}","starred_url":"https://api.github.com/users/flx42/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flx42/subscriptions","organizations_url":"https://api.github.com/users/flx42/orgs","repos_url":"https://api.github.com/users/flx42/repos","events_url":"https://api.github.com/users/flx42/events{/privacy}","received_events_url":"https://api.github.com/users/flx42/received_events","type":"User","site_admin":false},"created_at":"2018-06-21T19:01:16Z","updated_at":"2018-06-21T19:01:16Z","author_association":"MEMBER","body":"Closing for now, I don't think there is anything else we can do at this point. Until you get additional information, in this case feel free to reopen."}}
{"actor":{"display_login":"flx42"}}