Skip to content

multipass info command intermittently crashes with double free or corruption #4742

@xmkg

Description

@xmkg

Describe the bug
As the title says:

ERROR tests/cli/cli_clone_test.py::TestClone::test_clone_to_self - RuntimeError: Failed parsing JSON content: {
    "errors": [
    ],
    "info": {
        "fangorn-galadriel-fellowship-6888": {
            "cpu_count": "2",
            "disks": {
                "sda1": {
                    "total": "6156561920",
                    "used": "2096821760"
                }
            },
            "image_hash": "7aa6d9f5e8a3a55c7445b138d31a73d1187871211b2b7da9da2e1a6cbf169b21",
            "image_release": "24.04 LTS",
            "ipv4": [
                "10.67.127.242"
            ],
            "load": [
                0.91,
                0.22,
                0.08
            ],
            "memory": {
                "total": 1000497152,
                "used": 361598976
            },
            "mounts": {
            },
            "release": "Ubuntu 24.04.4 LTS",
            "snapshot_count": "0",
            "state": "Running"
        }
    }
}
double free or corruption (fasttop)

To Reproduce
There are no reproducer at this time. It's an intermittent behavior observed during the CLI test execution in CI.

Expected behavior
No crashes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions