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

SIGSEGV #68

Open
h4wkmoon opened this issue Oct 6, 2022 · 0 comments
Open

SIGSEGV #68

h4wkmoon opened this issue Oct 6, 2022 · 0 comments

Comments

@h4wkmoon
Copy link

h4wkmoon commented Oct 6, 2022

Hi,
we are using sinker 0.17 and recently start receiving this error.

INFO[0003] Copying image mcr.microsoft.com/oss/kubernetes-csi/csi-provisioner:v3.2.0 to ******.azurecr.io/oss/kubernetes-csi/csi-provisioner:v3.2.0 
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x190 pc=0xea6032]

goroutine 89 [running]:
github.com/containers/image/v5/docker.(*dockerImageDestination).PutBlob(0xc0007548d0, {0x12bbd58, 0xc0000a5140}, {0x12aecc0?, 0xc0003fa320?}, {{0x0, 0x0}, 0xffffffffffffffff, {0x0, 0x0, ...}, ...}, ...)
        /Users/john.reese/go/pkg/mod/github.com/containers/image/[email protected]/docker/docker_image_dest.go:136 +0xb2
github.com/containers/image/v5/internal/imagedestination.(*wrapped).PutBlobWithOptions(0xc0004d8998?, {0x12bbd58?, _}, {_, _}, {{0x0, 0x0}, 0xffffffffffffffff, {0x0, 0x0, ...}, ...}, ...)
        /Users/john.reese/go/pkg/mod/github.com/containers/image/[email protected]/internal/imagedestination/wrapper.go:48 +0xe3
github.com/containers/image/v5/copy.(*copier).copyBlobFromStream(0xc0003e5290, {0x12bbd58, 0xc0000a5140}, {_, _}, {{0xc000272d20, 0x47}, 0x386800, {0x0, 0x0, ...}, ...}, ...)
        /Users/john.reese/go/pkg/mod/github.com/containers/image/[email protected]/copy/copy.go:1570 +0x1fa4
github.com/containers/image/v5/copy.(*imageCopier).copyLayerFromStream(0xc00023e690, {0x12bbd58, 0xc0000a5140}, {0x12b0fc0, 0xc000515140}, {{0xc000272d20, 0x47}, 0x386800, {0x0, 0x0, ...}, ...}, ...)
        /Users/john.reese/go/pkg/mod/github.com/containers/image/[email protected]/copy/copy.go:1306 +0x419
github.com/containers/image/v5/copy.(*imageCopier).copyLayer.func3(0xc00023e690, 0x0?, {{0xc000272d20, 0x47}, 0x386800, {0x0, 0x0, 0x0}, 0x0, {0xc000421770, ...}, ...}, ...)
        /Users/john.reese/go/pkg/mod/github.com/containers/image/[email protected]/copy/copy.go:1241 +0x345
github.com/containers/image/v5/copy.(*imageCopier).copyLayer(0xc00023e690, {0x12bbd58, 0xc0000a5140}, {{0xc000272d20, 0x47}, 0x386800, {0x0, 0x0, 0x0}, 0x0, ...}, ...)
        /Users/john.reese/go/pkg/mod/github.com/containers/image/[email protected]/copy/copy.go:1273 +0x6b4
github.com/containers/image/v5/copy.(*imageCopier).copyLayers.func1(0x0, {{0xc000272d20, 0x47}, 0x386800, {0x0, 0x0, 0x0}, 0x0, {0xc000421770, 0x2c}, ...}, ...)
        /Users/john.reese/go/pkg/mod/github.com/containers/image/[email protected]/copy/copy.go:940 +0x41d
created by github.com/containers/image/v5/copy.(*imageCopier).copyLayers.func2
        /Users/john.reese/go/pkg/mod/github.com/containers/image/[email protected]/copy/copy.go:977 +0x393

I see that containers/image is now on 5.23. Maybe cou could solve the issue.

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