Event Broker SIGSEGV
John Trickey
john at jaytee-solutions.co.uk
Mon Jun 20 00:21:01 CEST 2005
Hi,
I have been playing with the event broker code and encountered what
seemed to be random crashes. I have handers set on all events so I could
analyse the data produced. Eventually I tracked it down in the log to a
FLAPPING ALERT immediately followed by the signal being caught.
In version 2.0b3 base/broker.c the callback in broker_flapping_data()
(line 401) is
neb_make_callbacks(NEBCALLBACK_DOWNTIME_DATA, (void *)&ds);
clearly ths sends it to the wrong handler with the resulting crash.
Changing it to
neb_make_callbacks(NEBCALLBACK_FLAPPING_DATA, (void *)&ds);
fixes the problem.
John
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
More information about the Developers
mailing list