Uploaded image for project: 'Mender'
  1. Mender
  2. MEN-2488

Not able to modify name in rootfs-image Artifacts

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.0.0
    • Labels:
      None

      Description

      Affects mender-artifact v3.0.0b1

      How to reproduce:

      ./mender-artifact write rootfs-image -t here -n here -f <valid_ext4_file>
      ./mender-artifact modify -n release-1 artifact.mender 
      ./mender-artifact read artifact.mender 
      ...
      panic: runtime error: invalid memory address or nil pointer dereference
      [signal SIGSEGV: segmentation violation code=0x1 addr=0x18 pc=0x5b3f41]
      
      goroutine 1 [running]:
      github.com/mendersoftware/mender-artifact/handlers.(*ModuleImage).GetUpdateOriginalProvides(0xc4200e4c60, 0x6b4ae9)
      	/home/lluis/go/src/github.com/mendersoftware/mender-artifact/handlers/module_image.go:147 +0x51
      ...
      

      The unit tests that we had for this only tested V2 Artifact.

        Attachments

          Container Issues

            Issue Links

              Activity

                People

                • Assignee:
                  lluis Lluís Campos
                  Reporter:
                  lluis Lluís Campos
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Zendesk Support

                      Summary Panel