mlx5: reading xstats smashes stack
https://bugs.dpdk.org/show_bug.cgi?id=701
Bug ID: 701
Summary: mlx5: reading xstats smashes stack
Product: DPDK
Version: 20.11
Hardware: x86
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: Normal
Component: ethdev
Assignee: [email protected]
Reporter: [email protected]Target Milestone: ---
When reading xstats via mlx5 driver *before the port* is started, such application crashes with "stack smashing detected". After the port is started (and then stoped), it does not happen anymore.
Terminal 1:
# dpdk-testpmd -a 0000:04:00.0 -- -i --disable-device-start ... EAL: RTE Version: 'DPDK 20.11.1' ... EAL: Probe PCI driver: mlx5_pci (15b3:101d) device: 0000:04:00.0 (socket 0) ... testpmd>
Terminal 2:
# dpdk-proc-info -- --xstats Device 0000:04:00.1 is not driven by the primary process mlx5_pci: can not attach rte ethdev mlx5_pci: probe of PCI device 0000:04:00.1 aborted after encountering an error: Cannot allocate memory common_mlx5: Failed to load driver = mlx5_pci.
EAL: Requested device 0000:04:00.1 cannot be used
EAL: Cannot find resource for device
EAL: No legacy callbacks, legacy socket not created
...
*** stack smashing detected ***: dpdk-proc-info terminated ======= Backtrace: ========= /lib64/libc.so.6(__fortify_fail+0x37)[0x7fd76cdf9697] /lib64/libc.so.6(+0x118652)[0x7fd76cdf9652] /usr/lib64/dpdk/pmds-21.0/librte_net_mlx5.so.21.0(+0x1b41e4)[0x7fd7602271e4] ======= Memory map: ========
...
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
http://bugs.dpdk.org/show_bug.cgi?id=701
[email protected] ([email protected]) changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
CC| |[email protected]
Resolution|--- |WONTFIX--- Comment #7 from [email protected] ([email protected]) --- Hi,
Sorry for the late response,
20.11 is EOL, closing.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.