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

Clair crashes with concurrent map writes failure

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • clair-4.4.2
    • clair-4.4.1
    • clair

      Client is experiencing frequent Clair crashes (20+ per day). Each time Clair crashes, it produces a huge crash dump with a fatal error:

      ...
      {"level":"info","deliverer":"webhook","component":"notifier/webhook/Deliverer.Deliver","notification_id":"2a172513-8cab-4d9e-b945-0b9101b5cba7","callback":"http://CLAIR/notifier/api/v1/notifications/2a172513-8cab-4d9e-b945-0b9101b5cba7","target":"https://QUAY/secscan/notification","time":"2022-05-02T06:45:34Z","message":"dispatching webhook"}
      2022-05-02T06:45:34.508445308Z {"level":"info","component":"notifier/webhook/Deliverer.Deliver","notification_id":"ccf8374b-9ac6-496c-82f5-e395a50f3ea1","deliverer":"webhook","callback":"http://CLAIR/notifier/api/v1/notifications/ccf8374b-9ac6-496c-82f5-e395a50f3ea1","target":"https://QUAY/secscan/notification","time":"2022-05-02T06:45:34Z","message":"dispatching webhook"}
      2022-05-02T06:45:34.508445308Z fatal error: concurrent map writes
      2022-05-02T06:45:34.511647993Z 
      2022-05-02T06:45:34.511647993Z goroutine 268 [running]:
      2022-05-02T06:45:34.511647993Z runtime.throw({0xebb15b, 0xc001051498})
      ...
      

      Full log is attached.
      The image in question is registry.redhat.io/quay/clair-rhel8@sha256:99b9477df8e65a914d646c08035880db9f81e773d6e50714c94db676376dd617, which is Clair v4.4.1.

      Please advise!

              hdonnay Henry Donnay
              rhn-support-ibazulic Ivan Bazulic
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: