Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[dev.icinga.com #11061] Icinga 2 sometimes suddenly stops running #3887

Closed
icinga-migration opened this issue Jan 30, 2016 · 8 comments
Closed
Labels
bug Something isn't working

Comments

@icinga-migration
Copy link

This issue has been migrated from Redmine: https://dev.icinga.com/issues/11061

Created by GreenRover on 2016-01-30 05:39:32 +00:00

Assignee: (none)
Status: Closed (closed on 2016-04-22 09:04:46 +00:00)
Target Version: (none)
Last Update: 2016-11-26 12:50:53 +00:00 (in Redmine)

Icinga Version: r2.4.1-1
Backport?: Not yet backported
Include in Changelog: 1

I dont know why but my icinga2 installations stops from time to time by its self.
That is the error message:

icinga2: /usr/include/boost/smart_ptr/intrusive_ptr.hpp:162: T* boost::intrusive_ptr::operator->() const [with T = icinga::FIFO]: Assertion `px != 0' failed.
Caught SIGABRT.
Current time: 2016-01-18 19:36:44 +0100

icinga2: /usr/include/boost/smart_ptr/intrusive_ptr.hpp:162: T* boost::intrusive_ptr::operator->() const [with T = icinga::FIFO]: Assertion `px != 0' failed.
Caught SIGABRT.
Current time: 2016-01-19 01:56:31 +0100

icinga2: /usr/include/boost/smart_ptr/intrusive_ptr.hpp:162: T* boost::intrusive_ptr::operator->() const [with T = icinga::FIFO]: Assertion `px != 0' failed.
Caught SIGABRT.
Current time: 2016-01-29 16:22:14 +0100

And the matching syslog entry:

Jan 29 16:22:17 portal-master kernel: [506693.384536] icinga2[16090]: segfault at 2b7c00001e3b ip 00002b7c4163c25f sp 00002b7c62369870 error 4 in libc-2.17.so[2b7c4157a000+1bd000]

Can i provide any other helpfull informations?

Attachments

@icinga-migration
Copy link
Author

Updated by mfriedrich on 2016-02-01 14:13:08 +00:00

  • Subject changed from Icininga stop all couple days to Icinga stop all couple days
  • Status changed from New to Feedback
  • Assigned to set to GreenRover

Please look into the crash log directory (provided that you've installed gdb).

Which distribution and which packages are used. Please add the output of "icinga2 --version".

@icinga-migration
Copy link
Author

Updated by mfriedrich on 2016-02-01 14:13:49 +00:00

  • Subject changed from Icinga stop all couple days to Icinga 2 sometimes suddenly stops running

@icinga-migration
Copy link
Author

Updated by GreenRover on 2016-02-01 14:19:46 +00:00

  • File added report.1453164991.934684
  • File added report.1453142204.981271
  • File added report.1454080934.0640399

Ok i installed icinga2-dbg now and will provide the new crash log when generated.

But actually attached the crash logs i found in folder without dbg

icinga2 - The Icinga 2 network monitoring daemon (version: r2.4.1-1)

Copyright (c) 2012-2015 Icinga Development Team (https://www.icinga.org)
License GPLv2+: GNU GPL version 2 or later 
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Application information:
  Installation root: /usr
  Sysconf directory: /etc
  Run directory: /run
  Local state directory: /var
  Package data directory: /usr/share/icinga2
  State path: /var/lib/icinga2/icinga2.state
  Modified attributes path: /var/lib/icinga2/modified-attributes.conf
  Objects path: /var/cache/icinga2/icinga2.debug
  Vars path: /var/cache/icinga2/icinga2.vars
  PID path: /run/icinga2/icinga2.pid

System information:
  Platform: _NAME="Ubuntu 13.10
  Platform version: ID="13.10
  Kernel: Linux
  Kernel version: 3.11.0-20-generic
  Architecture: x86_64

@icinga-migration
Copy link
Author

Updated by GreenRover on 2016-03-01 09:03:58 +00:00

  • File added report.1456764727.3792019

Here a new crash report:

icinga2: /usr/include/boost/smart_ptr/intrusive_ptr.hpp:162: T* boost::intrusive_ptr::operator->() const [with T = icinga::FIFO]: Assertion `px != 0' failed.
Caught SIGABRT.
Current time: 2016-02-29 17:52:07 +0100

@icinga-migration
Copy link
Author

Updated by jflach on 2016-03-02 10:30:28 +00:00

Can you turn on the debuglog (icinga2 feature enable debuglog), wait for it to crash and then provide a fitting excerpt from this log please?

It looks like some api requests are crashing icinga2 with no survivors, so we need to know which.

@icinga-migration
Copy link
Author

Updated by mfriedrich on 2016-03-18 14:25:11 +00:00

We've fixed a couple of issues with such crashes in 2.4.2+. Please re-test with 2.4.4.

@icinga-migration
Copy link
Author

Updated by mfriedrich on 2016-04-22 09:04:46 +00:00

  • Status changed from Feedback to Closed
  • Assigned to deleted GreenRover

We believe this has been fixed in the current stable release.

@icinga-migration
Copy link
Author

Updated by prdatur on 2016-11-26 12:50:54 +00:00

  • File added report.1480161857.482280

Hello,

This problem still exists in version r2.5.3-1
Can you please check this?

I have attached the crashlog

Best regards,
PrDatur

@icinga-migration icinga-migration added the bug Something isn't working label Jan 17, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant