canonical / multipass

Multipass orchestrates virtual Ubuntu instances
https://multipass.run
GNU General Public License v3.0
7.63k stars 635 forks source link

[regression] multipass aliases command throws segmentation fault #3383

Closed minhio closed 7 months ago

minhio commented 7 months ago

Describe the bug multipass aliases command throws segmentation fault after launching the docker blueprint, if and only if there are no other aliases defined.

To Reproduce Given there are no aliases defined and multipass aliases should yield No aliases defined.

  1. launch an instance of the docker blueprint with multipass launch docker
  2. execute multipass aliases, segmentation fault happens here
  3. create an alias with multipass alias docker:hello
  4. execute multipass aliases, back to normal, no errors here

Expected behavior multipass aliases should return list of aliases without error

Additional info

andrei-toterman commented 7 months ago

Hey, @minhio! Indeed, I can reproduce this. And it doesn't seem to happen in 1.12.2. We'll come up with a fix as soon as possible. Thanks for reporting this!