[samba 3] fault.c / util.c minor OpenVMS issues.

John E. Malmberg wb8tyw at qsl.net
Thu Jun 8 20:49:48 GMT 2006

In util.c, log_stack_trace() if called on OpenVMS will write out the 
message: "unable to produce a stack trace on this platform"

As OpenVMS by default produces a stack trace on an unhandled fatal 
exception, that text will show up immediately before the stack trace.

Possibly a macro like below could be used to suppresss that message?


For fault.c - fault_setup.c,

On OpenVMS, if the fault handler calls abort() or exit(), significant 
debugging information can be lost because the original native exception 
value is lost.  So establishing a signal handler to just call abort() or 
exit() on a fatal exception is counterproductive.

This is effectively being done in nmbd, windbindd, smbcquotas, and swat.

Possibly the same macro as above could be used to prevent the modules 
from setting up fault handlers that just abort() or exit().

wb8tyw at qsl.net
Personal Opinion Only

More information about the samba-technical mailing list