Skip to content

libxlio crash when no ips exists when application starts #8

@gland1

Description

@gland1

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]

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