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

libxlio crash when no ips exists when application starts #8

Open
1 task
gland1 opened this issue Jun 8, 2023 · 3 comments
Open
1 task

libxlio crash when no ips exists when application starts #8

gland1 opened this issue Jun 8, 2023 · 3 comments

Comments

@gland1
Copy link

gland1 commented Jun 8, 2023

Subject

libxlio crash when no ips exists when application starts

Issue type

  • Bug report

Configuration:

  • Product version 3.0.2-1
  • OS 5.15.0-1015-bluefield
  • OFED 23.04-OFED.23.04.0.5.3.1.bf.kver.5.15.0-1015-bluefield
  • Hardware bluefield 2

Actual behavior:

spdk application crash when connecting to nvmf subsystem

Expected behavior:

connect should succeed with no crash

Steps to reproduce:

starts spdk application with LD_PRELOAD=libxlio.so XLIO_PROFILE=XLIO_SPEC=nvme_bf2 when no IPs exist on bf nic
Connect to nvmf volume -> crash
part of stack:
/usr/lib/libxlio.so(connect+0xc8) [0xffffad4915c8]
Jun 08 11:38:25 BF1-crux.lab.il spdk[3997]: 9 /usr/lib/libxlio.so(+0xcb4bc) [0xffffad47b4bc]
Jun 08 11:38:25 BF1-crux.lab.il spdk[3997]: 8 /usr/lib/libxlio.so(+0xc5cdc) [0xffffad475cdc]
Jun 08 11:38:25 BF1-crux.lab.il spdk[3997]: 7 /usr/lib/libxlio.so(+0x9c120) [0xffffad44c120]
Jun 08 11:38:25 BF1-crux.lab.il spdk[3997]: 6 /usr/lib/libxlio.so(+0x9b378) [0xffffad44b378]
Jun 08 11:38:25 BF1-crux.lab.il spdk[3997]: 5 /usr/lib/libxlio.so(+0x86268) [0xffffad436268]
Jun 08 11:38:25 BF1-crux.lab.il spdk[3997]: 4 /usr/lib/libxlio.so(+0x84714) [0xffffad434714]
Jun 08 11:38:25 BF1-crux.lab.il spdk[3997]: 3 /usr/lib/libxlio.so(+0x82824) [0xffffad432824]
Jun 08 11:38:25 BF1-crux.lab.il spdk[3997]: 2 /usr/lib/libxlio.so(+0x7eadc) [0xffffad42eadc]
Jun 08 11:38:25 BF1-crux.lab.il spdk[3997]: 1 /usr/lib/libxlio.so(+0x4944c) [0xffffad3f944c]

@gland1
Copy link
Author

gland1 commented Jun 8, 2023

a workaround is to set an ip via netplan and make sure ip exists before spdk starts

@igor-ivanov
Copy link
Collaborator

Hello @gland1
I think the issue duplicates existing #7
Am I correct?

@shimonts
Copy link

yes, it is a duplicate of #7

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