sinker icon indicating copy to clipboard operation
sinker copied to clipboard

SIGSEGV

Open h4wkmoon opened this issue 3 years ago • 0 comments

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.

h4wkmoon avatar Oct 06 '22 14:10 h4wkmoon