Segfault at src/lib/misc.c:1193 in 3.0.4 (3.0.11 looks very similar)

Alan DeKok aland at
Mon Oct 3 20:56:29 CEST 2016

On Oct 3, 2016, at 2:45 PM, Mike Ely <me at> wrote:
> On 10/03/2016 11:36 AM, Alan DeKok wrote:
>>  When it crashes, can you also do:
>> (gdb) p *realm
>> (gdb) p *realm->acct_pool->servers[i]
>> which should also let me know *which* realm and server had the problem.
> From the coredump of the last segfault (I've pulled the afflicted box out of production and am running the older 2.x hardware):
> (gdb) p *realm
> $1 = {name = 0x7f48e63e5f30 "", strip_realm = false, auth_pool = 0x7f48e6471770, acct_pool = 0x7f48e6471c60,
>  coa_pool = 0x0}
> (gdb) p *realm->acct_pool->servers[i]
> Cannot access memory at address 0x0


  Just to confirm, can you do:

(gdb) p *realm->acct_pool
(gdb) p *realm->acct_pool->servers

  That's weird.  Either the accounting pool has no servers, or it's somehow managed to walk off of the end of the list of accounting servers.

  Alan DeKok.

More information about the Freeradius-Users mailing list