Hello,

I'm trying to profile a milter.

I compile and link it with -pg option and all seems OK, but when I run
the binary I get the message:

# ./milter
cannot find atexit, destructors will not be run!

The milter itself interfaces bogofilter, so it needs to spawn a process
to scan the messages and to classify then according the result of
bogofilter.

The instances of bogofilter doesn't exit normally (I get zombies and the
output of bogofilter isn't right). This behavior seems produced by the
profiling code added by -pg to the milter (not bogofilter). May be it's
the waitpid function that is not working properly :?

I'd appreciate any pointer about what is happening. There's someone on
the list with experience profiling milters under OpenBSD?

regards,

Juanjo

-- 
Desarrollo y sistemas: http://www.usebox.net/
      Pagina Personal: http://www.usebox.net/jjm/

Reply via email to