Paul Querna wrote:
Exception hooks are awesome.  Quite possibly the best thing since sliced
bread for module developers!

No, I didn't pay Paul to say that :)


It is difficult to get users to install httpd 2.1, so I would like to
see the exception hooks added to the 2.0 branch.  mod_backtrace is very
helpful for catching problems under high load and other situations where
running under GDB is not feasible.

mod_backtrace is also no longer Linux specific, It can now work under
FreeBSD once 'libexecinfo' is installed from the FreeBSD Ports system.

Can we get some binding votes on this?

There are more than just a few lines of code required to merge the exception hooks into the stable branch. Two pieces:


a) move to common sync signal setup/signal handler for Unix MPMs
b) implement the exception hook from that common signal handler

I have a hunch (but incomplete data is available) that a) will resolve at least one of a couple of glitches at stable, so there may be other reasons to do this. The glitches are

i. gprof at stable requires special compile flag affecting sync sig setup to work, but doesn't require it at 2.1 HEAD; not tested personally; somebody reported it to the list last fall
ii. cgid daemon restart logic, the merge of which I continue to sit on, shows some non-portable differences in signal handling at stable that I don't see at head


In the next day or so (i.e., bug me directly by Thursday if I have dropped the ball ;) ) I'll put together a list of required changes to the stable branch, make sure it works, and propose a merge in STATUS.



Reply via email to