Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pXGXE-0006Yq-LE for pgsql-bugs@arkaria.postgresql.org; Wed, 01 Mar 2023 07:05:56 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1pXGXD-0003z6-FV for pgsql-bugs@arkaria.postgresql.org; Wed, 01 Mar 2023 07:05:55 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pXGXD-0003xL-6a for pgsql-bugs@lists.postgresql.org; Wed, 01 Mar 2023 07:05:55 +0000 Received: from mail-pj1-x1033.google.com ([2607:f8b0:4864:20::1033]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1pXGXA-0003Wh-Mi for pgsql-bugs@lists.postgresql.org; Wed, 01 Mar 2023 07:05:54 +0000 Received: by mail-pj1-x1033.google.com with SMTP id l1so12404441pjt.2 for ; Tue, 28 Feb 2023 23:05:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tekenlight.com; s=google; t=1677654350; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=mLK7UEkfyckBRiXa8ZkPMNAweQt8ukf4docj17K3m+8=; b=fFwYzK8Z0g53FjqqY7+CX5gz3r/11R4oHJbhUT8WMULNJJcTUbKxWoMDYG5s8Du3wb OTlTIrLqiO1WaIe4InddoeGTdo1CzySi7JhQh729b1WzudLb3C6DJn5jCzvn2J/zj1Gz rHStzvJpbk7KPql9JQY+FQ4Gsi/Kr5U13y7nlja2lynKEb5hv0YV6XEqNMngYw3uM+rD 6upwHccqLR6UYSbryS3F+GBvz7KpY3pJL3FN2vB/e/fTMBcbYDf5TTgkG901kH4b4RB1 b0JBdyDtr6L/yrvxwkl/iHLHCBbA4d618cVLrOkeWRgAbdzOQdxkp7M+MhB+EKHPDjP8 FNXQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1677654350; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=mLK7UEkfyckBRiXa8ZkPMNAweQt8ukf4docj17K3m+8=; b=taXSvs5G5H1Z0QuAZCsyA8YvksCTlZlNmBXojeDYNpzRoZSvlxeyPzQcZDSZ12+Z+n 070yi5MLLxbBVGwIzCMCbpNpOoTxPd+etan6W2koOFi0hBHtLQq5ddzEmhYzXaXWr62U gsdi0MW78gKQ/ctKeWGy6cRFbnp18+V/XJfCquv0HVj16/53iXmeHsaRzmrt1EBRvA/Z 2t6reiYyzt+ictZEBEqbCrfR+4+LUjXYX0pa8hlHjaxvWh24waQTbBg0Fy0j3EtZMrs3 nzvB7h14kAZsv5htR38P+/O6eGLDOARBeLMLDhVsu9TtdElfWm/ew/38WqweFS+gxY/3 IJZA== X-Gm-Message-State: AO0yUKXTzy7Gam6l/DHOQ6zdYo0bfppq3TII0N0sFPhNG6uOKS09/ugL WAFaRK+5CNgPbQRQDsWl3z4LRQ== X-Google-Smtp-Source: AK7set9MjU0vxXeuwRGut2RVPs3f1pVv7p4N3n7dO9HIjfCXq/FnU/swUFulZFs6qvoCY4fyt+vtXQ== X-Received: by 2002:a17:902:fb84:b0:19c:f80c:df81 with SMTP id lg4-20020a170902fb8400b0019cf80cdf81mr4796422plb.41.1677654350393; Tue, 28 Feb 2023 23:05:50 -0800 (PST) Received: from smtpclient.apple ([106.51.83.70]) by smtp.gmail.com with ESMTPSA id m12-20020a170902bb8c00b0019615a0d083sm7615789pls.210.2023.02.28.23.05.48 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 28 Feb 2023 23:05:50 -0800 (PST) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.300.101.1.3\)) Subject: Re: Memory leakage in libpq valgrind test From: Sudheer H R In-Reply-To: Date: Wed, 1 Mar 2023 12:35:37 +0530 Cc: Tom Lane , pgsql-bugs@lists.postgresql.org Content-Transfer-Encoding: quoted-printable Message-Id: <0545B0F7-A685-447B-B6C9-FA843EDE367C@tekenlight.com> References: <1327895.1677653030@sss.pgh.pa.us> To: Michael Paquier X-Mailer: Apple Mail (2.3731.300.101.1.3) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk OK=E2=80=A6. I am looking for links where I can raise an issue with libgssapi_krb5 = team. Would any of you know an appropriate link to raise the issue. I am doing the test on ubuntu linux and on aarch64 (ARM 64) Sudheer > On 01-Mar-2023, at 12:29 PM, Michael Paquier = wrote: >=20 > On Wed, Mar 01, 2023 at 01:43:50AM -0500, Tom Lane wrote: >> So ... why do you think this is our bug, and not a Kerberos bug? >> The leak seems to be buried quite far in libgssapi_krb5.so. >=20 > Yeah, libpq calls gss_acquire_cred(). So, assuming that the leak is > localized within one of the resources allocated by this call, there is > nothing in the kerberos docs that point to a routine to free it: > https://web.mit.edu/kerberos/krb5-latest/doc/appdev/gssapi.html or > gssapi.rst in its code tree. >=20 > I may be missing something, of course. > -- > Michael