in reply to debugging strategy?

You might run your daemon from a shell window (instead of daemonized). It might emit some useful information when crashing. Or load the whole thing up in gdb and let it run.