On Oct 3, 2016, at 2:45 PM, Mike Ely <me@mikeely.org> 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 "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. Alan DeKok.