Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in running launch_container.sh #8

Open
arkaprabha-bhandari opened this issue May 6, 2024 · 1 comment
Open

Error in running launch_container.sh #8

arkaprabha-bhandari opened this issue May 6, 2024 · 1 comment

Comments

@arkaprabha-bhandari
Copy link

I was running this command:
CUDA_VISIBLE_DEVICES=0 source launch_container.sh C:/Users/Admin1/Downloads/qvhilights_videos/videos C:/Users/Admin1/Downloads/qvhilights_videos/output

I keep getting the error:

: command not found
: command not found
-bash: launch_container.sh: line 18: syntax error: unexpected end of file

Thanks in advance for your help, I also tried changing the path location variables directly in the file, but the same error persists

@arkaprabha-bhandari
Copy link
Author

I was able to resolve the older issue but encountered a new error (while trying to run the same file):

Status: Downloaded newer image for linjieli222/hero-video-feature-extractor:mil-nce
docker: Error response from daemon: failed to create task for container: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: error during container init: error running hook #0: error running hook: exit status 2, stdout: , stderr: SIGSEGV: segmentation violation
PC=0x7f9e5cfbaa90 m=0 sigcode=1 addr=0x8
signal arrived during cgo execution

goroutine 1 gp=0xc0000061c0 m=0 mp=0x8cc5a0 [syscall, locked to thread]:
runtime.cgocall(0x54aef0, 0xc00018b610)
/usr/local/go/src/runtime/cgocall.go:157 +0x4b fp=0xc00018b5e8 sp=0xc00018b5b0 pc=0x4126eb
github.com/NVIDIA/go-nvml/pkg/dl._Cfunc_dlopen(0x18efe80, 0x1)
_cgo_gotypes.go:119 +0x4c fp=0xc00018b610 sp=0xc00018b5e8 pc=0x535b2c
github.com/NVIDIA/go-nvml/pkg/dl.(*DynamicLibrary).Open.func2()
/go/src/nvidia-container-toolkit/vendor/github.com/NVIDIA/go-nvml/pkg/dl/dl.go:72 +0x2c fp=0xc00018b640 sp=0xc00018b610 pc=0x535fec
github.com/NVIDIA/go-nvml/pkg/dl.withOSLock(0xc00018b698)
/go/src/nvidia-container-toolkit/vendor/github.com/NVIDIA/go-nvml/pkg/dl/dl.go:56 +0x45 fp=0xc00018b670 sp=0xc00018b640 pc=0x535da5
github.com/NVIDIA/go-nvml/pkg/dl.(*DynamicLibrary).Open(0xc00018b6f8)
/go/src/nvidia-container-toolkit/vendor/github.com/NVIDIA/go-nvml/pkg/dl/dl.go:71 +0x93 fp=0xc00018b6d8 sp=0xc00018b670 pc=0x535f33
github.com/NVIDIA/go-nvlib/pkg/nvlib/info.assertHasLibrary({0x596837?, 0xc000025ce0?})
/go/src/nvidia-container-toolkit/vendor/github.com/NVIDIA/go-nvlib/pkg/nvlib/info/info.go:96 +0x68 fp=0xc00018b740 sp=0xc00018b6d8 pc=0x544ac8
github.com/NVIDIA/go-nvlib/pkg/nvlib/info.(*infolib).HasNvml(0xc000025c01?)
/go/src/nvidia-container-toolkit/vendor/github.com/NVIDIA/go-nvlib/pkg/nvlib/info/info.go:58 +0x1f fp=0xc00018b788 sp=0xc00018b740 pc=0x54463f
github.com/NVIDIA/nvidia-container-toolkit/internal/info.(*additionalInfo).HasNvml(0xc00001c630?)
:1 +0x24 fp=0xc00018b7a0 sp=0xc00018b788 pc=0x546044
github.com/NVIDIA/nvidia-container-toolkit/internal/info.resolver.resolveMode({{0x5d1a88?, 0x92b500?}, {0x5d1628?, 0xc0000b1b30?}}, {0xc000014b48, 0x4}, {0xc0000b1860, {0x0, 0x0, 0x0}})
/go/src/nvidia-container-toolkit/internal/info/auto.go:80 +0x293 fp=0xc00018b880 sp=0xc00018b7a0 pc=0x545973
github.com/NVIDIA/nvidia-container-toolkit/internal/info.ResolveAutoMode({0x5d1a88, 0x92b500}, {0xc000014b48, 0x4}, {0xc0000b1860?, {0x0?, 0x0?, 0x0?}})
/go/src/nvidia-container-toolkit/internal/info/auto.go:60 +0x1c5 fp=0xc00018b970 sp=0xc00018b880 pc=0x545605
main.doPrestart()
/go/src/nvidia-container-toolkit/cmd/nvidia-container-runtime-hook/main.go:85 +0x227 fp=0xc00018bed8 sp=0xc00018b970 pc=0x5496c7
main.main()
/go/src/nvidia-container-toolkit/cmd/nvidia-container-runtime-hook/main.go:179 +0x10a fp=0xc00018bf50 sp=0xc00018bed8 pc=0x54ab6a
runtime.main()
/usr/local/go/src/runtime/proc.go:271 +0x29d fp=0xc00018bfe0 sp=0xc00018bf50 pc=0x4477bd
runtime.goexit({})
/usr/local/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc00018bfe8 sp=0xc00018bfe0 pc=0x4775c1

goroutine 2 gp=0xc000006c40 m=nil [force gc (idle)]:
runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)
/usr/local/go/src/runtime/proc.go:402 +0xce fp=0xc00006cfa8 sp=0xc00006cf88 pc=0x447bee
runtime.goparkunlock(...)
/usr/local/go/src/runtime/proc.go:408
runtime.forcegchelper()
/usr/local/go/src/runtime/proc.go:326 +0xb3 fp=0xc00006cfe0 sp=0xc00006cfa8 pc=0x447a73
runtime.goexit({})
/usr/local/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc00006cfe8 sp=0xc00006cfe0 pc=0x4775c1
created by runtime.init.6 in goroutine 1
/usr/local/go/src/runtime/proc.go:314 +0x1a

goroutine 3 gp=0xc000007180 m=nil [GC sweep wait]:
runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)
/usr/local/go/src/runtime/proc.go:402 +0xce fp=0xc00006d780 sp=0xc00006d760 pc=0x447bee
runtime.goparkunlock(...)
/usr/local/go/src/runtime/proc.go:408
runtime.bgsweep(0xc00007c000)
/usr/local/go/src/runtime/mgcsweep.go:278 +0x94 fp=0xc00006d7c8 sp=0xc00006d780 pc=0x433bb4
runtime.gcenable.gowrap1()
/usr/local/go/src/runtime/mgc.go:203 +0x25 fp=0xc00006d7e0 sp=0xc00006d7c8 pc=0x428705
runtime.goexit({})
/usr/local/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc00006d7e8 sp=0xc00006d7e0 pc=0x4775c1
created by runtime.gcenable in goroutine 1
/usr/local/go/src/runtime/mgc.go:203 +0x66

goroutine 4 gp=0xc000007340 m=nil [GC scavenge wait]:
runtime.gopark(0xc00007c000?, 0x5ceef8?, 0x1?, 0x0?, 0xc000007340?)
/usr/local/go/src/runtime/proc.go:402 +0xce fp=0xc00006df78 sp=0xc00006df58 pc=0x447bee
runtime.goparkunlock(...)
/usr/local/go/src/runtime/proc.go:408
runtime.(*scavengerState).park(0x8cbda0)
/usr/local/go/src/runtime/mgcscavenge.go:425 +0x49 fp=0xc00006dfa8 sp=0xc00006df78 pc=0x4315a9
runtime.bgscavenge(0xc00007c000)
/usr/local/go/src/runtime/mgcscavenge.go:653 +0x3c fp=0xc00006dfc8 sp=0xc00006dfa8 pc=0x431b3c
runtime.gcenable.gowrap2()
/usr/local/go/src/runtime/mgc.go:204 +0x25 fp=0xc00006dfe0 sp=0xc00006dfc8 pc=0x4286a5
runtime.goexit({})
/usr/local/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc00006dfe8 sp=0xc00006dfe0 pc=0x4775c1
created by runtime.gcenable in goroutine 1
/usr/local/go/src/runtime/mgc.go:204 +0xa5

goroutine 5 gp=0xc000007c00 m=nil [finalizer wait]:
runtime.gopark(0xc00006c648?, 0x41c325?, 0xa8?, 0x1?, 0xc0000061c0?)
/usr/local/go/src/runtime/proc.go:402 +0xce fp=0xc00006c620 sp=0xc00006c600 pc=0x447bee
runtime.runfinq()
/usr/local/go/src/runtime/mfinal.go:194 +0x107 fp=0xc00006c7e0 sp=0xc00006c620 pc=0x427747
runtime.goexit({})
/usr/local/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc00006c7e8 sp=0xc00006c7e0 pc=0x4775c1
created by runtime.createfing in goroutine 1
/usr/local/go/src/runtime/mfinal.go:164 +0x3d

rax 0x0
rbx 0x1
rcx 0x0
rdx 0x0
rdi 0x18efed0
rsi 0x18f0238
rbp 0x7ffd39261e70
rsp 0x7ffd39261d70
r8 0x18f03d0
r9 0x0
r10 0x0
r11 0x7f9e5cf57be0
r12 0x7ffd39261e80
r13 0x1
r14 0x0
r15 0x18efed0
rip 0x7f9e5cfbaa90
rflags 0x10246
cs 0x33
fs 0x0
gs 0x0: unknown.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant