That should be NULL (0x0) by default, so somewhere is an invalid write/buffer overflow.
Can you just start kamailio with your config, but do not send any sip traffic to it -- just attach with gdb to one of the processes running there and do the same commands as above to see if the overwrite happens at startup or at runtime?