On 18 Jun 2014, at 19:11, Phil Mayers <p.mayers@IMPERIAL.AC.UK> wrote:
On 18/06/14 18:03, Arran Cudbard-Bell wrote:
On 18 Jun 2014, at 16:45, Phil Mayers <p.mayers@IMPERIAL.AC.UK> wrote:
So run under valgrind, I'm reliably seeing use-after-free errors like this:
Invalid read of size 4 at 0x36AD402D84: talloc_get_name (talloc.c:349) by 0x36AD4057EA: _talloc_get_type_abort (talloc.c:1206) by 0x4E470EC: fr_verify_vp (debug.c:829)
Git pull.
Set envvar TALLOC_FREE_FILL=B
Talloc should now abort a little more gracefully.
If it doesn't then lib/debug.c:828
Sorry, none of that seems to work; I just get:
That's still slightly better as you're getting debug output, and panic_action is running? That's what I meant be slightly more gracefully. Arran Cudbard-Bell <a.cudbardb@freeradius.org> FreeRADIUS Development Team FD31 3077 42EC 7FCD 32FE 5EE2 56CF 27F9 30A8 CAA2