[38827] in Kerberos

home help back first fref pref prev next nref lref last post

Re: libkrb5 failed to alloc memory

daemon@ATHENA.MIT.EDU (Greg Hudson)
Sun Oct 25 15:42:34 2020

To: Ming Zhi <woodhead99@gmail.com>, <kerberos@mit.edu>
From: Greg Hudson <ghudson@mit.edu>
Message-ID: <2bb0e24c-ec3a-86ba-7ae4-c688cc003573@mit.edu>
Date: Sun, 25 Oct 2020 15:39:34 -0400
MIME-Version: 1.0
In-Reply-To: <CAAYuYkp_7oNw7+3AV8it=Mrok0qWymP4_Vh3-Kqr5j8nzSV_OA@mail.gmail.com>
Content-Language: en-US
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: kerberos-bounces@mit.edu

On 10/25/20 1:31 AM, Ming Zhi wrote:
> I have encountered a very rare situation, that the libkrb5 raised an
> exception with the message "malloc: invalid size (unsorted)", and the host
> process quit afterwards.

This message is an indication that the heap was corrupted prior to the
malloc() call.  You might be able to use valgrind to determine where the
heap corruption occurred.

> At the same time, sssd_kcm kept at very high CPU
> usage till kinit succeeded.

I don't have any insight into this part.
________________________________________________
Kerberos mailing list           Kerberos@mit.edu
https://mailman.mit.edu/mailman/listinfo/kerberos

home help back first fref pref prev next nref lref last post