Skip to content

mstflint segmentation fault when querying switch in-band #835

@NateCrawford

Description

@NateCrawford

I'm getting segmentation faults with mstflint 4.20.0 and above when querying a switch. v4.18.0 seems to work fine.

4.18.0:

mstflint -d lid-9 q
Image type:            FS3
FW Version:            15.1100.0072
FW Release Date:       9.6.2016
Description:           UID                GuidsNumber
Base GUID:             248a070300fab5b0        32
Base MAC:              248a07fab5b0            32
Image VSD:             N/A
Device VSD:            N/A
PSID:                  MT_2640110032
Security Attributes:   N/A

4.20.0:

mstflint -d lid-9 q
Segmentation fault (core dumped)

Running Rocky 8.8 with 4.18.0-477.21.1.el8_8.x86_64 rdma drivers. Using default compiler (GCC 8.5.0) to build mstflint.
The package from the Appstream repository (mstflint-4.23.0-2.el8.x86_64) also segfaults.

Querying the HCA works fine with all versions.

Did something significant change in 4.20?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions