3.0.x HEAD crashing (was hanging)

Phil Mayers p.mayers at imperial.ac.uk
Tue Jun 17 15:11:42 CEST 2014

On 17/06/14 13:51, Arran Cudbard-Bell wrote:

> and again if you want the file and line number where the sanity check
> failed...

Sorry, I should have added I'm getting core files for all these and 
could have given the file/line; but debugging now says:

(14)  eap_peap : Adding cached attributes for session 
         User-Name := '@ic.ac.uk'
         Cached-Session-Policy = 'zone=,ickind=,icuser='
(14)  eap : Freeing handler
(14)   [eap] = ok
(14)  } #  authenticate = ok
CONSISTENCY CHECK FAILED src/main/process.c[2520]: Expected VALUE_PAIR 
(User-Name) to be parented by 0x1092ef0 (RADIUS_PACKET), but parented by 
0x1093470 (RADIUS_PACKET)Current state of talloced memory:

...and then a *lot* of talloc debugging. Given the last items in the 
debug I'm wondering if it's the saving of cached attributes?

Looks like it's inside request_will_proxy:

#11 0x0000000000437920 in request_will_proxy (request=0x10928a0) at 
2520            VERIFY_REQUEST(request);

...but I guess the damage was done earlier...

More information about the Freeradius-Devel mailing list