Event Broker SIGSEGV

Ethan Galstad nagios at nagios.org
Fri Jun 24 22:53:50 CEST 2005


Thanks for the report.  This was fixed a week or so ago in CVS, so it 
shouldn't be a problem from here on out.

On 19 Jun 2005 at 23:21, John Trickey wrote:

> 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
> _______________________________________________ Nagios-devel mailing
> list Nagios-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-devel
> 
> 



Ethan Galstad,
Nagios Developer
---
Email: nagios at nagios.org
Website: http://www.nagios.org



-------------------------------------------------------
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