From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR04-HE1-obe.outbound.protection.outlook.com (mail-eopbgr70070.outbound.protection.outlook.com [40.107.7.70]) by sourceware.org (Postfix) with ESMTPS id 59A11385843B for ; Fri, 17 Dec 2021 14:54:34 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 59A11385843B Received: from AM6PR10CA0042.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:209:80::19) by VI1PR08MB4605.eurprd08.prod.outlook.com (2603:10a6:803:b6::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4778.14; Fri, 17 Dec 2021 14:54:30 +0000 Received: from VE1EUR03FT046.eop-EUR03.prod.protection.outlook.com (2603:10a6:209:80:cafe::5c) by AM6PR10CA0042.outlook.office365.com (2603:10a6:209:80::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4801.14 via Frontend Transport; Fri, 17 Dec 2021 14:54:29 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 63.35.35.123) smtp.mailfrom=arm.com; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com;dmarc=pass action=none header.from=arm.com; Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 63.35.35.123 as permitted sender) receiver=protection.outlook.com; client-ip=63.35.35.123; helo=64aa7808-outbound-1.mta.getcheckrecipient.com; Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by VE1EUR03FT046.mail.protection.outlook.com (10.152.19.226) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4801.14 via Frontend Transport; Fri, 17 Dec 2021 14:54:29 +0000 Received: ("Tessian outbound f493ab4f1fb8:v110"); Fri, 17 Dec 2021 14:54:29 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 2b63f5d8b0339ac2 X-CR-MTA-TID: 64aa7808 Received: from 7d09b8664bdf.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 8141B3C3-881E-44EB-96BB-9473A8097C70.1; Fri, 17 Dec 2021 14:54:21 +0000 Received: from EUR05-VI1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 7d09b8664bdf.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Fri, 17 Dec 2021 14:54:21 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=dMyo40bOW0x4SXrc5l3hppNAYpg920/FoBkwAxm/0ieFy7QpymRymx1LJy3MumGp0U9Y5cXJ54JRtkrGiw+DP+xsuzcX0xHpI2XU8SJ3wPjQm6CRjLeKC28rgjrFKT7ODpBYaPOBGuGwuE79VAKfkrKR0ZxfuxKhDWNuBMe6lk1M4eA2HvSkl06KlTpw29brMP+cocroOZsHIuYq6khR6m1W4dgHIsGs/OgCLaITlKQT2v2+Dvi3cOBCskgZ4XBjkNALOfkqz9e++Q0Pjfy8LhrdVf4dEqZ3re773qVxHYIzU3zJ8BQrPe5TeHx+zk0Gmpb/DowJkZE6WWt1z2pIHg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=YVsHibWETimHNcDyP4XXQMmpcbSOzsBvee7wO1Hw/0g=; b=MG+2HXFTZXhSjbLbqk2y3BAnoWIW3ccvAwS29ekCf7VGZ5MrgF1TCM4dJ+1A+ZyJ/vhe2NpQedMx46M5jNPRUM7LD7IZRLyO5k7HwhuWM289GNWj6KnuCS2w/rsIdrOug/w67pRygo15NzhHnsl81xIl9oZSxbghdout4SbhLgsqfe8m9PWeAoSYd2pGLn3npAWisBMnrF1dqL0wS+gaNIeq9xi9kQ6H2x0fIxAaG8CjTNWccCrOPMPrRuEycBrBFHjYt6aig9jSlzUQyTVSGgRyPSv/+6Ut3cOOxdZ9GKmP+h1nhkJI3AY3q3a3qWbI/Qrrl39oPcsh6iY0PH5jbw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 40.67.248.234) smtp.rcpttodomain=klomp.org smtp.mailfrom=arm.com; dmarc=pass (p=none sp=none pct=100) action=none header.from=arm.com; dkim=none (message not signed); arc=none Received: from AM6PR0202CA0039.eurprd02.prod.outlook.com (2603:10a6:20b:3a::16) by PA4PR08MB6126.eurprd08.prod.outlook.com (2603:10a6:102:ea::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4778.13; Fri, 17 Dec 2021 14:54:19 +0000 Received: from AM5EUR03FT006.eop-EUR03.prod.protection.outlook.com (2603:10a6:20b:3a:cafe::33) by AM6PR0202CA0039.outlook.office365.com (2603:10a6:20b:3a::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4801.14 via Frontend Transport; Fri, 17 Dec 2021 14:54:19 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 40.67.248.234) smtp.mailfrom=arm.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=arm.com; Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 40.67.248.234 as permitted sender) receiver=protection.outlook.com; client-ip=40.67.248.234; helo=nebula.arm.com; Received: from nebula.arm.com (40.67.248.234) by AM5EUR03FT006.mail.protection.outlook.com (10.152.16.122) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.4801.14 via Frontend Transport; Fri, 17 Dec 2021 14:54:19 +0000 Received: from AZ-NEU-EX01.Emea.Arm.com (10.251.26.4) by AZ-NEU-EX03.Arm.com (10.251.24.31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.1.2308.20; Fri, 17 Dec 2021 14:54:16 +0000 Received: from AZ-NEU-EX04.Arm.com (10.251.24.32) by AZ-NEU-EX01.Emea.Arm.com (10.251.26.4) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2308.20; Fri, 17 Dec 2021 14:54:15 +0000 Received: from e124257 (10.34.101.64) by mail.arm.com (10.251.24.32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.20 via Frontend Transport; Fri, 17 Dec 2021 14:54:15 +0000 From: Andrea Corallo To: Marc =?utf-8?Q?Nieper-Wi=C3=9Fkirchen?= via Jit CC: Alex Coplan , Marc =?utf-8?Q?Nieper-Wi=C3=9Fkirc?= =?utf-8?Q?hen?= , Mark Wielaard Subject: Re: Memory leaks (detected by Valgrind) References: Date: Fri, 17 Dec 2021 15:54:15 +0100 In-Reply-To: ("Marc =?utf-8?Q?Nieper-Wi=C3=9Fkirchen?= via Jit"'s message of "Fri, 17 Dec 2021 15:03:05 +0100") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.90 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-EOPAttributedMessage: 1 X-MS-Office365-Filtering-Correlation-Id: 6f654d10-6892-48bc-dcd8-08d9c16d20c2 X-MS-TrafficTypeDiagnostic: PA4PR08MB6126:EE_|VE1EUR03FT046:EE_|VI1PR08MB4605:EE_ X-Microsoft-Antispam-PRVS: x-checkrecipientrouted: true NoDisclaimer: true X-MS-Oob-TLC-OOBClassifiers: OLM:8273;OLM:10000; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: C/bLT6xUl/l34ckKRJBwKGEcuHmN8vv1WETPU4gxW6S5QwyXrWgJkkmglBjN90iNeY+l9533ncqIy54cX/JRm9GcqWN9qsSut3KqCPvQMiRAkbfn+J/6jA0D+k1xQ9goWY4Mh0drgRlHCTaQb2N/X4+aXeQI+/6ZKkee6I/Yv6HJofRvgz/ge71HSSza77YeOe/ybtY27LRh80HvYvPeigo22UoHoEaIKMl094pZm0eogv4wRUUJDgElOVpMMGXDbzKf6Bcg5ThetGxTC1Fg2qXmLQpUDvCydoX0uRHCC74MYdGAOb7sZ2fk61nNinucoZwyY2ryPA9C3HUvg/5X4GEEks690SGKnpA32V8drQ9aOeuKNJffRxaZt9Wun0u+E910MzqWKA6Jq3EwOr34xCtzSqL2BHjgQ/7UJQLtoLFAJJFvNAiYbVqNJPyF6GUSueR1Jq5lhnMn/TCF0EwSciq9Uf4+hteK2UbBPFRosLTaYg04/vTFpDZ2BPJB0HuV19eYak0aMVIMAGh4IPiooHlL6xxC8LP9d8s1rQQClT3jQFA7zEurjvnbyipRNBOZ1XO9QFqofQD0DvbLalc8ZOfGGhfgVVtZ7nawnsHRvAZcMrvVyHeNLeiqcWQbwpoZ4Qjq52A1s73EahxF3tlis2G8oVQ/YBSD7O9FrvFgoOVlAGlOHoTjiQmobzDUm5CXIt0KF/0Dg075NmAxFUhGTxB9Xz6/bQ4r1QZgQ1SA2YLCVR1NchiTU2iqZu48Je1so8H8WcErGA4Z6zvvUpE2M5TSL0NHyUWR3ZDQrmzxNosCgCLfZY7GYDtrWN4oQgwU9kVoaijcMvl3rCi02nxoyfb/RqMtU009KEpsG0FXrpFnJAY6dZxkv1P7YIziTusj7EOK+ErklpnAv74C/SNqrTINP2xfjc45yDhbjqa0udo= X-Forefront-Antispam-Report-Untrusted: CIP:40.67.248.234; CTRY:IE; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:nebula.arm.com; PTR:InfoDomainNonexistent; CAT:NONE; SFS:(4636009)(36840700001)(46966006)(40470700001)(186003)(6916009)(47076005)(36756003)(82310400004)(44832011)(966005)(54906003)(356005)(53546011)(508600001)(8676002)(70586007)(4326008)(5660300002)(26005)(8936002)(81166007)(2906002)(36860700001)(2616005)(426003)(336012)(70206006)(86362001)(40460700001)(316002)(66574015)(83380400001)(4226005)(36900700001); DIR:OUT; SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: PA4PR08MB6126 X-MS-Exchange-Transport-CrossTenantHeadersStripped: VE1EUR03FT046.eop-EUR03.prod.protection.outlook.com X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id-Prvs: 300a2934-de3b-40b6-f885-08d9c16d1ab1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: qh+Qt8TvmA6HvloFB2PJeI3uYWhYJ+zu4wq/n9N6abLkfkE6Gak79KsGey6tzWYYrnC4b2LK8DuRrv13chR8Xxvc4xC9Wwul3MZutocoEGfBetPesMYOkjW/pIIhQekCRCLcRz2n5qAZUzYlgtq3cSHc9Q/JIQLLACddD+wFhxzHLeD2yp/Re21ieCDHn74R+PjJrPc1FtKwUbiASacu5ekauDyObDC/hhjHgiQ4cHCI5YaYgnhJvP5vWWo3P/t/pjmki55F8M8NM+ce8AxDr6mPamiUQJgcF9Q6Y93XkiwNcub/pB+xrvD95opWghvSRgWi26z9PtiouDKi4kvKYMlMcEMftdxfEaZ+aTSEJSQ92EhwduwzUcGblL5UXo5EhMObDEpviNbZgHAP0NeXBvaDj5p8iuVzbluCTSAd/9dJWSliz5mT+jImeG7QneLmydGMhS0UMNuTmT1W577HZyEzr4PItXCTl3WhxfVsTdrq1eR5InaAsni7gnBjLDSZG5d63/36rOaj3xddFcevkcSPpQCK7BNcwi2CWjgvN9RJZ3rweItaYiilDjythGWbnWzMDdulgmEwVYL7OTIoDUyRbLJlVtcEVHA4CYersyhNws/v8cPZePkn/PR+gWOHT0lTHdfcxUXbxIUHAq95lNXX0EpAkG9sC8uiCLrf9KoeEezYE1AWREb/gFRmqKQbwXqhBovyXPlLuSmG/YuJUUg9eJJ9gFSzleEKO+CZKwTmy3fXXyI/7Z42jEjbjPUmgqqXDbN07AdBB3Zii1CtViwy7/XGVAbmtn/+ID5i82MVCQrcPg9KulB9BFMtH095 X-Forefront-Antispam-Report: CIP:63.35.35.123; CTRY:IE; LANG:en; SCL:1; SRV:; IPV:CAL; SFV:NSPM; H:64aa7808-outbound-1.mta.getcheckrecipient.com; PTR:ec2-63-35-35-123.eu-west-1.compute.amazonaws.com; CAT:NONE; SFS:(4636009)(46966006)(36840700001)(82310400004)(26005)(81166007)(4326008)(36756003)(2906002)(186003)(508600001)(44832011)(426003)(83380400001)(336012)(36860700001)(70206006)(107886003)(70586007)(966005)(8676002)(86362001)(54906003)(5660300002)(47076005)(53546011)(316002)(66574015)(8936002)(2616005)(6916009)(4226005); DIR:OUT; SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Dec 2021 14:54:29.3779 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 6f654d10-6892-48bc-dcd8-08d9c16d20c2 X-MS-Exchange-CrossTenant-Id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=f34e5979-57d9-4aaa-ad4d-b122a662184d; Ip=[63.35.35.123]; Helo=[64aa7808-outbound-1.mta.getcheckrecipient.com] X-MS-Exchange-CrossTenant-AuthSource: VE1EUR03FT046.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR08MB4605 X-Spam-Status: No, score=-6.8 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, KAM_SHORT, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_HELO_PASS, SPF_PASS, TXREP, UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: jit@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Jit mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Dec 2021 14:54:37 -0000 Marc Nieper-Wi=C3=9Fkirchen via Jit writes: > Am Fr., 17. Dez. 2021 um 11:52 Uhr schrieb Alex Coplan >: > >> Hi, >> >> > -----Original Message----- >> > From: Jit On Behalf Of >> Marc >> > Nieper-Wi=C3=9Fkirchen via Jit >> > Sent: 17 December 2021 10:29 >> > To: Mark Wielaard >> > Cc: Marc Nieper-Wi=C3=9Fkirchen ; jit@gcc.g= nu.org >> > Subject: Re: Memory leaks (detected by Valgrind) >> > >> > Thanks! >> > >> > With `--enable-valgrind-annotations`, the "uses of uninitialized value= s" >> > have gone away, but a lot of small leaks are still present: >> >> Memory leaks with libgccjit are a known issue, see >> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D63854 > > > Oh, that the bug has been open so long and is still open is unfortunate a= s > a process using libgccjit usually lasts a lot longer than a single compil= er > run by gcc. That's correct, in Emacs we have to work around this running a sub-processes for compilation tasks. Andrea IMPORTANT NOTICE: The contents of this email and any attachments are confid= ential and may also be privileged. If you are not the intended recipient, p= lease notify the sender immediately and do not disclose the contents to any= other person, use it for any purpose, or store or copy the information in = any medium. Thank you.