fix coredumps for pubd under linux