3.0.21 consistency check failed

adrian.p.smith at bt.com adrian.p.smith at bt.com
Mon Aug 24 17:26:58 CEST 2020



-----Original Message-----
From: Freeradius-Users <freeradius-users-bounces+adrian.p.smith=bt.com at lists.freeradius.org> On Behalf Of Alan DeKok
Sent: 24 August 2020 12:27
To: FreeRadius users mailing list <freeradius-users at lists.freeradius.org>
Subject: Re: 3.0.21 consistency check failed

On Aug 24, 2020, at 4:31 AM, adrian.p.smith at bt.com wrote:
> 
> We have recently attempted to upgrade from 3.0.15 to 3.0.21 but are seeing very frequent crashes. Config unchanged from 3.0.15.

  Are you running custom modules?

> CONSISTENCY CHECK FAILED src/lib/cursor.c[219]: VALUE_PAIR "BTOpenzone-Roaming-Direction" length 42696464 is greater than char buffer length 7

  That's bad.

  As background, we have some additional sanity checks we run on developer builds.  These checks verify that the internal data structures are OK.  The checks slow down the server substantially, but they are enormously useful for debugging.

  If the checks fail, then something is going seriously wrong.  Even worse, if you have many such errors spread all over the server, then *everything* is wrong.

  My guess is that you built 3.0.21 on a system which already had FreeRADIUS installed.  Maybe the headers got confused, as some data structures have changed.

  Build 3.0.21 on a clean system, or use the packages at http://packages.networkradius.com

  That release works in production without any of those errors.

  Alan DeKok.



Thanks Alan, will check our build process and give that a go.

Adrian




More information about the Freeradius-Users mailing list