Uploaded image for project: 'Project Quay'
  1. Project Quay
  2. PROJQUAY-5356

[QUAY-3.7] clair 4.5.1 SIGSEGV github.com/quay/claircore/rhel/rhcc.(*scanner).Scan

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Undefined Undefined
    • clair-4.6.0
    • clair-4.5.1
    • clair
    • None
    • False
    • None
    • False

      $ head 0010-quay_panic_21042023_pod2.dat
      
      {"level":"info","component":"main","version":"v4.5.1","time":"2023-04-21T13:02:40Z","message":"starting"}

      Runtime panic:

       

      0020-quay_panic_21042023.dat:
      ~~~~
      {"level":"info","component":"indexer/controller/Controller.Index","manifest":"sha256:289cf82fddd4da0d9b012968451941760e31f398b47e6de81708f8ca72b0b188","state":"ScanLayers","time":"2023-04-21T12:48:46Z","message":"layers scan start"}
      panic: runtime error: invalid memory address or nil pointer dereference
      [signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0xa78aaa]
      goroutine 4758 [running]:
      github.com/quay/claircore/rhel/rhcc.(*scanner).Scan(0xc0004ed540, {0x130ae60?, 0xc0017902a0?}, 0xc00087fea0?)
              github.com/quay/claircore@v1.4.12/rhel/rhcc/scanner.go:172 +0x7aa
      github.com/quay/claircore/indexer/layerscanner.(*result).Do(0xc000637df0, {0x130ae60, 0xc0017902a0}, {0x7fee4407d338?, 0xc0004ed540}, 0xc000906190?)
              github.com/quay/claircore@v1.4.12/indexer/layerscanner/layerscanner.go:230 +0x83
      github.com/quay/claircore/indexer/layerscanner.(*layerScanner).scanLayer(0xc000c69200, {0x130adb8, 0xc0008aa340}, 0xc000609aa0, {0x7fee4407d338, 0xc0004ed540})
              github.com/quay/claircore@v1.4.12/indexer/layerscanner/layerscanner.go:205 +0x3cd
      github.com/quay/claircore/indexer/layerscanner.(*layerScanner).Scan.func1.1()
              github.com/quay/claircore@v1.4.12/indexer/layerscanner/layerscanner.go:161 +0x10a
      golang.org/x/sync/errgroup.(*Group).Go.func1()
              golang.org/x/sync@v0.0.0-20220722155255-886fb9371eb4/errgroup/errgroup.go:75 +0x64
      created by golang.org/x/sync/errgroup.(*Group).Go
              golang.org/x/sync@v0.0.0-20220722155255-886fb9371eb4/errgroup/errgroup.go:72 +0xa5
      ~~~~~
      

       

      Duplicate of :

      https://issues.redhat.com/browse/PROJQUAY-5246

       

      Jira created for better web browsing visibility

              Unassigned Unassigned
              rhn-support-jpeyrard Johann Peyrard
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: