Hey Ivan,

On Fri, Feb 10, 2006 at 10:54:04PM +0000, Ivan A. Beveridge wrote:

> I'm currently running sfacctd from pmacct 0.10.0rc1 with the memory
> plugin, and it's recently crashed.

Once more, thank you very much for your signallation and cooperation.
To further help the troubleshooting phase, when it comes to deal with
a sudden segmentation fault, some extra debug data could be really
useful; how to get them:

a) recompile the package, editing the Makefile: search for the 'CFLAG'
string into it and add a trailing -g . 

b) fire the daemon as usual.

c) get into a shell, find the PID for the 'fdrypeer' plugin and attach
a gdb session to it: "gdb attach <pid>". Digit quickly the 'continue'
command. It should continue working silently and as soon as the plugin
crashes again, you should get back to the debug prompt. Do a backtrace
'bt' command and report its output to me. It will point out where things
are failing.


Cheers,
Paolo

Reply via email to