From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id E62AB438CF; Mon, 15 Jan 2024 15:24:55 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 7DB98402AC; Mon, 15 Jan 2024 15:24:55 +0100 (CET) Received: from inbox.dpdk.org (inbox.dpdk.org [95.142.172.178]) by mails.dpdk.org (Postfix) with ESMTP id 54052402A2 for ; Mon, 15 Jan 2024 15:24:54 +0100 (CET) Received: by inbox.dpdk.org (Postfix, from userid 33) id 2F551438D0; Mon, 15 Jan 2024 15:24:54 +0100 (CET) From: bugzilla@dpdk.org To: dev@dpdk.org Subject: [Bug 1366] mlx5 secondary testpmd process crash when calling rte_eth_stats_get Date: Mon, 15 Jan 2024 14:24:53 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: DPDK X-Bugzilla-Component: eventdev X-Bugzilla-Version: 22.11 X-Bugzilla-Keywords: X-Bugzilla-Severity: minor X-Bugzilla-Who: aidan@peralex.com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: dev@dpdk.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter target_milestone attachments.created Message-ID: Content-Type: multipart/alternative; boundary=17053286940.C3aA3ce5C.740723 Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://bugs.dpdk.org/ Auto-Submitted: auto-generated X-Auto-Response-Suppress: All MIME-Version: 1.0 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org --17053286940.C3aA3ce5C.740723 Date: Mon, 15 Jan 2024 15:24:53 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.dpdk.org/ Auto-Submitted: auto-generated X-Auto-Response-Suppress: All https://bugs.dpdk.org/show_bug.cgi?id=3D1366 Bug ID: 1366 Summary: mlx5 secondary testpmd process crash when calling rte_eth_stats_get Product: DPDK Version: 22.11 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: minor Priority: Normal Component: eventdev Assignee: dev@dpdk.org Reporter: aidan@peralex.com Target Milestone: --- Created attachment 271 --> https://bugs.dpdk.org/attachment.cgi?id=3D271&action=3Dedit Secondary lldb process output Linux: AlmaLinux 9.3 Kernel: 5.14.0-362.8.1.el9_3.x86_64 Software version: rdma-core-48.0-1.el9.x86_64 dpdk-v22.11(tested on git branch v23.11-rc4 as well) Hardware: Mellanox Technologies MT27800 Family [ConnectX-5] Running two testpmd processes at the same time causes the secondary process= to crash with a segmentation fault from the libmlx5.so library. Two ports on a Mellanox MT27800 card are configured to be used by both testpmd apps. The two separate instances are launched: 1. dpdk-testpmd --proc-type=3Dprimary 2. dpdk-testpmd --proc-type=3Dsecondary I am not sure if this is a rdma-core issue which contains the libmlx5.so library where segmentation fault is thrown from. The primary dpdk process r= uns without any issues and there are no segfaults. The rte_eth_stats_get functi= on only throws an error on the secondary process, not on the primary process.= =20 Attached is the lldb output when running a debug build secondary process wi= th lldb. Running dmesg also shows that there is a segfault: dpdk-testpmd[67695]: segfault at b077f90 ip 00007f1ae42069e4 sp 00007ffcd49903b8 error 4 in libmlx5.so.1.24.48.0[7f1ae41b5000+5a000] likely= on CPU 0 (core 0, socket 0) Code: 77 90 0f b6 d2 48 8d 05 7a a3 00 00 44 0f be 24 10 e9 7c ff ff ff e8 = fb f3 fa ff 66 66 2e 0f 1f 84 00 00 00 00 00 f3 0f 1e fa <48>=20 8b 07 49 89 d2 4c 8d 0d 4f 88 01 00 48 8b 10 48 8b 92 98 02 00 --=20 You are receiving this mail because: You are the assignee for the bug.= --17053286940.C3aA3ce5C.740723 Date: Mon, 15 Jan 2024 15:24:54 +0100 MIME-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.dpdk.org/ Auto-Submitted: auto-generated X-Auto-Response-Suppress: All
Bug ID 1366
Summary mlx5 secondary testpmd process crash when calling rte_eth_sta= ts_get
Product DPDK
Version 22.11
Hardware x86
OS Linux
Status UNCONFIRMED
Severity minor
Priority Normal
Component eventdev
Assignee dev@dpdk.org
Reporter aidan@peralex.com
Target Milestone ---

Created attachment 271 [details]
Secondary lldb process output

Linux:
AlmaLinux 9.3

Kernel:
5.14.0-362.8.1.el9_3.x86_64

Software version:
rdma-core-48.0-1.el9.x86_64
dpdk-v22.11(tested on git branch v23.11-rc4 as well)

Hardware:
Mellanox Technologies MT27800 Family [ConnectX-5]

Running two testpmd processes at the same time causes the secondary process=
 to
crash with a segmentation fault from the libmlx5.so library. Two ports on a
Mellanox MT27800 card are configured to be used by both testpmd apps.
The two separate instances are launched:
1. dpdk-testpmd --proc-type=3Dprimary
2. dpdk-testpmd --proc-type=3Dsecondary

I am not sure if this is a rdma-core issue which contains the libmlx5.so
library where segmentation fault is thrown from. The primary dpdk process r=
uns
without any issues and there are no segfaults. The rte_eth_stats_get functi=
on
only throws an error on the secondary process, not on the primary process.=
=20
Attached is the lldb output when running a debug build secondary process wi=
th
lldb.

Running dmesg also shows that there is a segfault:
dpdk-testpmd[67695]: segfault at b077f90 ip 00007f1ae42069e4 sp
00007ffcd49903b8 error 4 in libmlx5.so.1.24.48.0[7f1ae41b5000+5a000] likely=
 on
CPU 0 (core 0, socket 0)
Code: 77 90 0f b6 d2 48 8d 05 7a a3 00 00 44 0f be 24 10 e9 7c ff ff ff e8 =
fb
f3 fa ff 66 66 2e 0f 1f 84 00 00 00 00 00 f3 0f 1e fa <48>=20
8b 07 49 89 d2 4c 8d 0d 4f 88 01 00 48 8b 10 48 8b 92 98 02 00
          


You are receiving this mail because:
  • You are the assignee for the bug.
=20=20=20=20=20=20=20=20=20=20
= --17053286940.C3aA3ce5C.740723--