Segfault at src/lib/misc.c:1193 in 3.0.4 (3.0.11 looks very similar)
Mike Ely
me at mikeely.org
Mon Oct 3 21:02:26 CEST 2016
On 10/03/2016 11:56 AM, Alan DeKok wrote:
>> (gdb) p *realm
>> $1 = {name = 0x7f48e63e5f30 "daffy.net", 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
>
> Huh?
>
> 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.
>
(gdb) p *realm->acct_pool
$2 = {name = 0x7f48e63e5f30 "daffy.net", type = HOME_POOL_FAIL_OVER,
server_type = 2, cs = 0x7f48e63e5dc0,
virtual_server = 0x0, fallback = 0x0, in_fallback = 0, time_all_dead
= 0, num_home_servers = 3, servers = {
0x7f48e64718d0}}
(gdb) p *realm->acct_pool->servers
$3 = (home_server_t *) 0x7f48e64718d0
More information about the Freeradius-Users
mailing list