Debian Bug report logs - #1081794
file descriptor leak mesa_shader_cache_db

Package: src:mesa; Maintainer for src:mesa is Debian X Strike Force <[email protected]>;

Reported by: Timo Weingärtner <[email protected]>

Date: Sat, 14 Sep 2024 21:09:01 UTC

Severity: important

Tags: fixed-upstream, upstream

Forwarded to https://gitlab.freedesktop.org/mesa/mesa/-/issues/11810

Full log


Message #32 received at [email protected] (full text, mbox, reply):

Received: (at 1081794) by bugs.debian.org; 9 Nov 2024 03:00:38 +0000
From [email protected] Sat Nov 09 03:00:37 2024
X-Spam-Checker-Version: SpamAssassin 3.4.6-bugs.debian.org_2005_01_02
	(2021-04-09) on buxtehude.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-115.5 required=4.0 tests=ALL_TRUSTED,BAYES_00,
	BODY_INCLUDES_CONTROL,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,
	DKIM_VALID_AU,DKIM_VALID_EF,FROMDEVELOPER,HAS_BUG_NUMBER,SPF_HELO_NONE,
	SPF_NONE,USER_IN_DKIM_WELCOMELIST,USER_IN_DKIM_WHITELIST autolearn=ham
	autolearn_force=no version=3.4.6-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 5; hammy, 150; neutral, 76; spammy, 0.
	spammytokens: hammytokens:0.000-+--Hx-spam-relays-external:36ff,
	0.000-+--H*r:36ff, 0.000-+--H*RT:sk:master., 0.000-+--H*RT:216,
	0.000-+--H*RT:fe40
Return-path: <[email protected]>
Received: from master.debian.org ([2001:41b8:202:deb:216:36ff:fe40:4001]:60128)
	from C=NA,ST=NA,L=Ankh Morpork,O=Debian SMTP,OU=Debian SMTP CA,CN=master.debian.org,[email protected] (verified)
	by buxtehude.debian.org with esmtps (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
	(Exim 4.94.2)
	(envelope-from <[email protected]>)
	id 1t9biH-003RJV-Ot
	for [email protected]; Sat, 09 Nov 2024 03:00:37 +0000
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debian.org;
	s=smtpauto.master; h=In-Reply-To:Content-Transfer-Encoding:Content-Type:
	MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To:
	Content-ID:Content-Description;
	bh=TxT0LQK/OkcsBRkDb86Y5WNe30bFnkUkxR0n9U6Nl5A=; b=o2HSAFfFLh6cKV+T7DJggIrqXs
	VNdBa/LdRNOTb7aqOBXlK6n51XakBxEmWR/yJMon00nfqD68v4e+1/yhNTF6m4f89aeSpn36jVgxc
	amO6gviqxutT1PjHWMZUKlCiYC7jll41j0swYGaUXM3aHXdSfohva3LuJn7GEw5fueDO5Zzp/ogmm
	bl9w2ld95E+HhseG5eAhxOIfZKETMYZWAqCAEm0NWIUUrUD9Be0oV70BzCiKSIP9/nA69BslmQnd9
	65pgt2vHrJo9BCqPXkJrud2KD5XDujjSngn6wWQc0TYafb3GmyZDngOs3zu4HOx5nLNyhGUAPDGs5
	UOhUkycg==;
Received: from guillem by master.debian.org with local (Exim 4.94.2)
	(envelope-from <[email protected]>)
	id 1t9biF-008Pxb-Az; Sat, 09 Nov 2024 03:00:35 +0000
Date: Sat, 9 Nov 2024 04:00:34 +0100
From: Guillem Jover <[email protected]>
To: Timo Weingärtner <[email protected]>,
	[email protected]
Cc: Thorsten Glaser <[email protected]>
Subject: Re: Bug#1081794: E: /usr/bin/ssh-askpass[39]: too many open files (3
 -> 212): Success
Message-ID: <[email protected]>
References: <[email protected]>
 <[email protected]>
 <[email protected]>
 <[email protected]>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <[email protected]>
Control: forwarded -1 https://gitlab.freedesktop.org/mesa/mesa/-/issues/11810

Hi!

On Sun, 2024-09-15 at 11:14:20 +0200, Timo Weingärtner wrote:
> reassign 1081794 src:mesa
> tags 1081794 + upstream
> retitle 1081794 file descriptor leak mesa_shader_cache_db
> severity 1081794 important

> These files should definitely be opened CLOEXEC.
> 
> https://bbs.archlinux.org/viewtopic.php?id=298957
> 
> So while there might be a problem in mksh with many FDs, I'm reassigning to 
> src:mesa. Because of https://bbs.archlinux.org/viewtopic.php?id=298957 I 
> assume an upstream bug.
> 
> Since this adds 100 FDs (at least in my case) per exec() of a mesa-using 
> binary in the call chain I'm bumbping severity.

This has been reported upstream and now fixed in git. There's the
other related upstream report with the excessive amount of file
descriptors used:

  https://gitlab.freedesktop.org/mesa/mesa/-/issues/11776

It would be nice to get the fix for that backported into the Debian
package before the next mesa release happens upstream.

Thanks,
Guillem



Send a report that this bug log contains spam.


Debian bug tracking system administrator <[email protected]>. Last modified: Tue May 13 12:16:10 2025; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU General Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.