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 AB528A0C3F; Tue, 8 Jun 2021 20:48:11 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 2E64C40689; Tue, 8 Jun 2021 20:48:11 +0200 (CEST) Received: from mail-oi1-f174.google.com (mail-oi1-f174.google.com [209.85.167.174]) by mails.dpdk.org (Postfix) with ESMTP id C36DA4067A for ; Tue, 8 Jun 2021 20:48:09 +0200 (CEST) Received: by mail-oi1-f174.google.com with SMTP id u11so22558774oiv.1 for ; Tue, 08 Jun 2021 11:48:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=iol.unh.edu; s=unh-iol; h=mime-version:from:date:message-id:subject:to:cc; bh=94HH/LxNHMNM9wHprKSchvkzCcMc1ud/Nn43Y8U0UJI=; b=NkPTffiJH85+e6WD2BJoJKG6N8Qt/sDpX767beDcSHKSY8mvdbADT2jeNVKuw4IsV+ +YLsNinpDVsvqOdMIPVjit9vQW67gEp3/HPTgEuRBcP47BN1KKBXHXC8v59oDQb2j5Kp 99mDXasq4ftyjDq53z2fKWWknKY0d1++2uMsk= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to:cc; bh=94HH/LxNHMNM9wHprKSchvkzCcMc1ud/Nn43Y8U0UJI=; b=GGX6/D/2b5sRa+NFdFwTPqkNNget1ZWCvqx0zRi7Vz0diwDpAk1XKt1H71fs+eRZEa RtCvZ13UyIJEoyogm00DhEQjYGMs+bdrN2u8Jq4Vi8gH9iRwyNrY6fdtdAoCIvN7bqsj Scg9tMZ9VPFZ122x0ln/YohlBjzYV2P6kkbXWz9LtGsl/sZqOceH3uDEFS0tCOcQQNYU R12QF75PNBwDEVBO3+QYqu1XinQZxkuFKBfB4IhdPwwFH+ZkY1/cjoy8qpn6AlxtcZ1y dZZH11TMkm856QyRJu2sF028uT/XZRP87tMF0Ss41YM6SutylE7igEkasM4KlpLrdXqN LZXA== X-Gm-Message-State: AOAM532mlZahNV7eZCUHoQ+JiV+kCV7zSI9a91UsV0gpbWFCuhvbjjbq TBlFnVdmTwa/1CSQrOw7+LvGkluaNpuBV77h0AHjn7y7uLTgrw== X-Google-Smtp-Source: ABdhPJwQnVbQmdjGgZDDafJFSQc7ZEI08gb/l8ykht/DbEOYhHM/5N+TA6KWJCOM0F5RUEv/3q2zEO2aF1lPqOfqKro= X-Received: by 2002:aca:d412:: with SMTP id l18mr3738636oig.35.1623178088904; Tue, 08 Jun 2021 11:48:08 -0700 (PDT) MIME-Version: 1.0 From: Owen Hilyard Date: Tue, 8 Jun 2021 14:47:33 -0400 Message-ID: To: dev@dpdk.org Cc: dpdklab Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 Subject: [dpdk-dev] Memory leak in rte_pci_scan 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" Hello All, As part of the community lab's work to deploy static analysis tools, we've been doing test runs of the various tools. One of the problems we found is that rte_pci_scan leaks 214368 Bytes every time it is run. There are also numerous (180856) instances of the error message "EAL: recvmsg failed, Bad file descriptor". Attached is the log from running the fast-tests suite with ASAN enabled, and a 10-second timeout. The real timeout seems to be the timeout argument multiplied by 10, making this really a 100-second timeout. It is attached as a google drive link since the log itself is too large for the mailing list. Test Output: https://drive.google.com/file/d/1NejCuba-HnvH9MMg7thBdGuOhQBXKiFh/view?usp=sharing Owen Hilyard