Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mstflint segmentation fault when querying switch in-band #835

Open
NateCrawford opened this issue Sep 15, 2023 · 2 comments
Open

mstflint segmentation fault when querying switch in-band #835

NateCrawford opened this issue Sep 15, 2023 · 2 comments

Comments

@NateCrawford
Copy link

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?

@ogalbxela
Copy link
Contributor

please post the model of device in question

@knweiss
Copy link

knweiss commented Oct 22, 2024

FWIW I can reproduce this issue with the official mstflint binaries of Rocky Linux 8.10 and 9.4 with MQM8790-HS2X_Ax or SSG7A41878_SSG7A41881_Ax (Mellanox QM8790) unmanaged IB switches.

  • mstflint-4.25.0-1.el8.x86_64 (segfaults)
  • mstflint-4.25.0-1.el9.x86_64 (segfaults)

Workarounds that seem to work from my limited testing:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants