NagiosEnterprises / nagioscore

Nagios Core
GNU General Public License v2.0
1.48k stars 440 forks source link

[4.5.0 - coredump] ndomod core-dump with signal 11/sigv #943

Open Kilvador opened 5 months ago

Kilvador commented 5 months ago

Hi!

Just installed 4.5.0 Nagios Core. I'm using NDOUTILS and compiled ndomod from 4.4.7. CentOS 7.9. Nagios Core 4.5.0 coredumps with signal 11/sigv.

When commented broker string in nagios.cfg - all is working.

Recompiled NDOUTILS and ndomod, no effect. Working without broker, 11 signal with broker.

Found an issue https://github.com/NagiosEnterprises/ndoutils/issues/63 the same picture for me, no specific compilations options.

Coredumps are in attachements.

450_ndomod.zip

sawolf commented 4 months ago

Hi @Kilvador, thanks for reaching out. To clarify, when you recompiled the NDOUtils project, did you replace include/nagios-4x with the headers from Nagios Core 4.5.0? If you didn't already take that step, give it a try and let me know if you're still seeing the issue. Otherwise, we're probably looking at early April for the next Core maintenance release, hopefully I'll be able to address it during that.

Kilvador commented 4 months ago

Hi @Kilvador, thanks for reaching out. To clarify, when you recompiled the NDOUtils project, did you replace include/nagios-4x with the headers from Nagios Core 4.5.0? If you didn't already take that step, give it a try and let me know if you're still seeing the issue. Otherwise, we're probably looking at early April for the next Core maintenance release, hopefully I'll be able to address it during that.

Made test with 4.4.14. Same conditions and... It's working with the same NDOUTILS, Not recompiled again. Just works and passing data to ndomod.

Again 4.5.0. Same conditions and... Core dump.

Will replace headers from 4.5.0 in NDOUTILS and recompile it again. Tell you here if success or not.

akrivulya commented 4 months ago

I have very similar problem with mk-livestatus, see https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=277289

sawolf commented 3 months ago

Hi @Kilvador - just wanted to follow up and say that I have a couple of weeks where I'm able to dedicate more time to Nagios Core maintenance. Did the previous suggestion help or are you still running into trouble on this?

Kilvador commented 3 months ago

Hi @Kilvador - just wanted to follow up and say that I have a couple of weeks where I'm able to dedicate more time to Nagios Core maintenance. Did the previous suggestion help or are you still running into trouble on this?

Hello!

Haven't tested yet. Will do in a couple of days. Now using 4.4.14 Nagios Core version.