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 E089CA09E4; Thu, 28 Jan 2021 17:21:26 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A84B41889E0; Thu, 28 Jan 2021 17:21:26 +0100 (CET) Received: from inbox.dpdk.org (xvm-172-178.dc0.ghst.net [95.142.172.178]) by mails.dpdk.org (Postfix) with ESMTP id 9AB124067A for ; Thu, 28 Jan 2021 17:21:24 +0100 (CET) Received: by inbox.dpdk.org (Postfix, from userid 33) id 8F882A0A0C; Thu, 28 Jan 2021 17:21:24 +0100 (CET) From: bugzilla@dpdk.org To: dev@dpdk.org Date: Thu, 28 Jan 2021 16:21:24 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: DPDK X-Bugzilla-Component: testpmd X-Bugzilla-Version: 20.08 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: maxime.coquelin@redhat.com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: High 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 cc dependson target_milestone Message-ID: 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 MIME-Version: 1.0 Subject: [dpdk-dev] [Bug 628] Possible deadlock in testpmd 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 Sender: "dev" https://bugs.dpdk.org/show_bug.cgi?id=3D628 Bug ID: 628 Summary: Possible deadlock in testpmd Product: DPDK Version: 20.08 Hardware: x86 OS: All Status: UNCONFIRMED Severity: normal Priority: High Component: testpmd Assignee: dev@dpdk.org Reporter: maxime.coquelin@redhat.com CC: thomas@monjalon.net, xianghao3@jd.com Depends on: 611 Target Milestone: --- +++ This bug was initially created as a clone of Bug #611 +++ Recently we see a deadlock in vdpa example app if SIGTERM signal is sent at early start stage.After debuging, we suspect it's due to vhost_user.mutex is requested twice,once by start sequence start_vdpa(), the other by SIGTERM signal handler which calling close_vdpa(). Also checked other example apps, seems they all have same issue. +++ Testpmd seems also impacted. Indeed, pmd_test_exit() gets called, which tur= ns out to call dev_stop() and dev_close() ethdev ops that almost all take spin= lock or mutexes. Referenced Bugs: https://bugs.dpdk.org/show_bug.cgi?id=3D611 [Bug 611] deadlock in example vdpa app --=20 You are receiving this mail because: You are the assignee for the bug.=