From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 0D181C5B552 for ; Wed, 4 Jun 2025 05:48:32 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [45.14.194.44]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 361A5601CF; Wed, 4 Jun 2025 07:48:17 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 361A5601CF DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1749016107; bh=OqiTMkvuu10NJ9WrhTk/AK0vrC/cK8QP7SFuqa+o9EY=; h=From:To:In-Reply-To:References:Subject:Date:List-Id:List-Archive: List-Help:List-Owner:List-Post:List-Subscribe:List-Unsubscribe: From; b=pZotWzJipBfRtfCmTgk75fS6Ze7d3lbUAwFBzjlgJ/eVJ0OCznpscap9dR2bH3h6V 87ktmugtULHJVI7IS0FmnAKc415WGSVSFsDAeFjjBfJzWvSZl6UbQDIXhXyItoLxIV dh5CNw+FJ0Oq4YLwZJZkmzR9FlVIOEUw4HIER8Qg= Received: by alsa1.perex.cz (Postfix, from userid 50401) id D8A24F805B1; Wed, 4 Jun 2025 07:47:50 +0200 (CEST) Received: from mailman-core.alsa-project.org (mailman-core.alsa-project.org [10.254.200.10]) by alsa1.perex.cz (Postfix) with ESMTP id C5D46F805C4; Wed, 4 Jun 2025 07:47:50 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 85ED1F8028B; Wed, 4 Jun 2025 07:47:47 +0200 (CEST) Received: from webhooks-bot.alsa-project.org (vmi2259423.contaboserver.net [45.14.194.44]) by alsa1.perex.cz (Postfix) with ESMTP id 9442EF800FA for ; Wed, 4 Jun 2025 07:47:43 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 9442EF800FA MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit From: GitHub issues - opened To: alsa-devel@alsa-project.org Message-Id: <1845c0d7c5184d00-webhooks-bot@alsa-project.org> In-Reply-To: <1845c0d7c501a000-webhooks-bot@alsa-project.org> References: <1845c0d7c501a000-webhooks-bot@alsa-project.org> Subject: alsabat: fills /tmp until out of memory Date: Wed, 4 Jun 2025 07:47:47 +0200 (CEST) Message-ID-Hash: D2X5P4EZDCH4E3S5DCGDAOEVD7JQS2VJ X-Message-ID-Hash: D2X5P4EZDCH4E3S5DCGDAOEVD7JQS2VJ X-MailFrom: github@alsa-project.org X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-alsa-devel.alsa-project.org-0; header-match-alsa-devel.alsa-project.org-1; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.9 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: alsa-project/alsa-utils issue #301 was opened from eurofun: alsabat creates its capture file by using mkstemp() in bat.c. So it creates a new file under /tmp each time it runs (at least when configured to capture something...) and never removes any until no space is left. I propose it should by default delete the files it opened after analysis and keep the current behavior as an option in order to allow inspecting captured files after alsabat ran. Or alternatively an option to specify the capture filename. Issue URL : https://github.com/alsa-project/alsa-utils/issues/301 Repository URL: https://github.com/alsa-project/alsa-utils