I have been writing an Apache module lately. It has been interesting to utilize the memory pool paradigm, but I am clearly not doing something right. I have got a segfault, and that i cannot appear to locate it. My current debug cycle involves ap_rprintfs along with a make script that renews and reloads Apache.

What type of tools are for sale to employed in this kind of atmosphere?

You need to use GNU Debugger (gdb). Start Apache via command gdb bin/httpd and than r -X inside gdb. When segfault happens, you'll have the ability to see where it happened with command bt.

I recorded my very own experience debugging the mod_deflate Apache module using ddd (a gdb front-end) Here.