weixin_39690097 2020-11-29 10:16
浏览 0

[dev.icinga.com #8687] Crash in Dependency::Stop

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

Created by mcobden on 2015-03-11 12:36:00 +00:00

Assignee: mfriedrich Status: Resolved (closed on 2015-03-12 10:50:02 +00:00) Target Version: 2.3.1 Last Update: 2015-03-12 10:52:12 +00:00 (in Redmine)

Icinga Version: v2.3.0-8-g330c93f
Backport?: Not yet backported
Include in Changelog: 1
icinga2: /usr/include/boost/smart_ptr/intrusive_ptr.hpp:162: T* boost::intrusive_ptr::operator->() const [with T = icinga::Checkable]: Assertion `px != 0' failed.
Caught SIGABRT.

Application information:
  Application version: v2.3.0-8-g330c93f
  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
  Objects path: /var/cache/icinga2/icinga2.debug
  Vars path: /var/cache/icinga2/icinga2.vars
  PID path: /run/icinga2/icinga2.pid
  Application type: icinga/IcingaApplication
Stacktrace:

    (0) libc.so.6:  (+0x36d40) [0x7f4457d8ad40]
    (1) libc.so.6: gsignal (+0x39) [0x7f4457d8acc9]
    (2) libc.so.6: abort (+0x148) [0x7f4457d8e0d8]
    (3) libc.so.6:  (+0x2fb86) [0x7f4457d83b86]
    (4) libc.so.6:  (+0x2fc32) [0x7f4457d83c32]
    (5) libicinga.so:  (+0x173723) [0x7f4451dce723]
    (6) libicinga.so: icinga::Dependency::Stop() (+0x50) [0x7f4451e2dcb4]
    (7) libbase.so: icinga::DynamicObject::Deactivate() (+0x1e6) [0x7f4457408eea]
    (8) libbase.so: icinga::DynamicObject::StopObjects() (+0x3a2) [0x7f445740b7a6]
    (9) libbase.so: icinga::Application::RunEventLoop() (+0x3a3) [0x7f4457410c2b]
    (10) libicinga.so: icinga::IcingaApplication::Main() (+0x1a6) [0x7f4451dfac42]
    (11) libbase.so: icinga::Application::Run() (+0x118) [0x7f44574131d6]
    (12) libcli.so: icinga::DaemonCommand::Run(boost::program_options::variables_map const&, std::vector > const&) const (+0xc89) [0x7f4456d2e735]
    (13) icinga2: Main() (+0x2eae) [0x4171ca]
    (14) icinga2: main (+0x87) [0x413bbb]
    (15) libc.so.6: __libc_start_main (+0xf5) [0x7f4457d75ec5]
    (16) /usr/sbin/icinga2() [0x407449]

***
* This would indicate a runtime problem or configuration error. If you believe this is a bug in Icinga 2
* please submit a bug report at https://dev.icinga.org/ and include this stack trace as well as any other
* information that might be useful in order to reproduce this problem.
***
Could not attach to process.  If your uid matches the uid of the target
process, check the setting of /proc/sys/kernel/yama/ptrace_scope, or try
again as the root user.  For more details, see /etc/sysctl.d/10-ptrace.conf
ptrace: Operation not permitted.
The program is not being run.

Attachments

Changesets

2015-03-12 10:44:55 +00:00 by (unknown) 8573636cc9a9d51e4001f3b0a5507b1e434ed98e

Fix crash in Dependency::Stop()

This partially reverts the fix in #8436

fixes #8687
refs #8436

2015-03-12 10:56:20 +00:00 by (unknown) 64214bd853fbcf0afd5251f509f5aa846b940761

Fix crash in Dependency::Stop()

This partially reverts the fix in #8436

fixes #8687
refs #8436

Conflicts:
    lib/db_ido_pgsql/idopgsqlconnection.cpp

Relations:

该提问来源于开源项目:Icinga/icinga2

  • 写回答

11条回答 默认 最新

  • weixin_39690097 2020-11-29 10:16
    关注

    Updated by gbeutner on 2015-03-11 13:54:00 +00:00

    • Category set to libicinga
    • Status changed from New to Feedback
    • Assigned to set to mcobden

    Please disable ptrace_scope and try to reproduce the problem:

    echo 0 > /proc/sys/kernel/yama/ptrace_scope
    
    评论

报告相同问题?