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 #6820] Icinga 2 crashes during startup #1839

Closed
icinga-migration opened this issue Jul 30, 2014 · 4 comments
Closed

[dev.icinga.com #6820] Icinga 2 crashes during startup #1839

icinga-migration opened this issue Jul 30, 2014 · 4 comments
Labels
bug Something isn't working
Milestone

Comments

@icinga-migration
Copy link

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

Created by gbeutner on 2014-07-30 13:01:12 +00:00

Assignee: gbeutner
Status: Resolved (closed on 2014-07-30 13:15:35 +00:00)
Target Version: 2.0.2
Last Update: 2014-07-30 13:17:20 +00:00 (in Redmine)

Icinga Version: 2.0.1

On CentOS 5:

[2014-07-30 08:57:41 -0400] information/ConfigItem: Checked 1 ScheduledDowntime(s).
[2014-07-30 08:57:41 -0400] information/ConfigItem: Checked 1 UserGroup(s).
[2014-07-30 08:57:41 -0400] information/ConfigItem: Checked 1 IcingaApplication(s).
Caught SIGABRT.
Current time: 2014-07-30 08:57:41 -0400

Application information:
  Application version: r2.0.1-1
  Installation root: /usr
  Sysconf directory: /etc
  Run directory: /var/run
  Local state directory: /var
  Package data directory: /usr/share/icinga2
  State path: /var/lib/icinga2/icinga2.state
  PID path: /var/run/icinga2/icinga2.pid
  Application type: icinga/IcingaApplication
Stacktrace:

        (0) [0xf77a6400]
        (1) [0xf77a6430]
        (2) libc.so.6: gsignal (+0x50) [0xf6fcee30]
        (3) libc.so.6: abort (+0x101) [0xf6fd0741]
        (4) /lib/libc.so.6 [0xf700799b]
        (5) /lib/libc.so.6 [0xf700fd35]
        (6) libc.so.6: cfree (+0x59) [0xf7013da9]
        (7) libstdc++.so.6: operator delete(void*) (+0x21) [0xf71e8fe1]
        (8) libicinga.so: icinga::CheckCommand::~CheckCommand() (+0xca) [0xf5f7c05a]
        (9) libbase.so: icinga::StreamLogger::~StreamLogger() (+0x3d) [0xf7589f1d]
        (10) libbase.so: icinga::FileLogger::~FileLogger() (+0x41) [0xf754ad31]
        (11) libbase.so: boost::detail::sp_counted_impl_pd >::dispose() (+0x1b) [0xf754a4eb]
        (12) libbase.so: std::_Rb_tree >, std::_Select1st > >, std::less, std::allocator > > >::_M_erase(std::_Rb_tree_node > >*) (+0x94) [0xf7544424]
        (13) libbase.so: icinga::DynamicType::~DynamicType() (+0xb5) [0xf7544a75]
        (14) libbase.so: boost::detail::sp_counted_impl_pd >::dispose() (+0x1b) [0xf7543aeb]
        (15) libbase.so: std::_Rb_tree >, std::_Select1st > >, std::less, std::allocator > > >::_M_erase(std::_Rb_tree_node > >*) (+0x94) [0xf7543c44]
        (16) /usr/lib/icinga2/libbase.so [0xf75411ba]
        (17) libc.so.6: exit (+0xe9) [0xf6fd1f09]
        (18) icinga2: Main() (+0x3748) [0x805f368]
        (19) icinga2: main (+0x38) [0x8060838]
        (20) libc.so.6: __libc_start_main (+0xdc) [0xf6fbbebc]
        (21) icinga2: __gxx_personality_v0 (+0x225) [0x8059ed1]

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

# rpm -qa icinga2
icinga2-2.0.1-1.snapshot201407301429

Changesets

2014-07-30 13:14:47 +00:00 by gbeutner b574f4c

Use _exit instead of exit

fixes #6820

2014-08-05 11:52:24 +00:00 by (unknown) 53d3a4a

Flush stdout before _exit()

fixes #6852
refs #6820

Relations:

@icinga-migration
Copy link
Author

Updated by gbeutner on 2014-07-30 13:10:14 +00:00

Program received signal SIGSEGV, Segmentation fault.
0xf7dc3f1a in icinga::StreamLogger::~StreamLogger (this=0x811c1ac, __in_chrg=)
    at /usr/src/debug/icinga2-origin-master/lib/base/streamlogger.cpp:58
58          delete m_Stream;

#0  0xf7dc3f1a in icinga::StreamLogger::~StreamLogger (this=0x811c1ac, __in_chrg=)

at /usr/src/debug/icinga2-origin-master/lib/base/streamlogger.cpp:58
No locals.

#1  0xf7d84d31 in ~ObjectImpl (this=0x811c1ac, __in_chrg=) at /usr/src/debug/icinga2-origin-master/lib/base/filelogger.thpp:92

No locals.

#2  icinga::FileLogger::~FileLogger (this=0x811c1ac, __in_chrg=) at /usr/src/debug/icinga2-origin-master/lib/base/filelogger.hpp:35

No locals.

#3  0xf7d844eb in destroy (this=0x811c198) at /usr/include/boost141/boost/smart_ptr/make_shared.hpp:52

No locals.

#4  operator() (this=0x811c198) at /usr/include/boost141/boost/smart_ptr/make_shared.hpp:75

No locals.

#5  boost::detail::sp_counted_impl_pd >::dispose (this=0x811c198)

at /usr/include/boost141/boost/smart_ptr/detail/sp_counted_impl.hpp:144
No locals.

#6  0xf7d7e424 in ~pair (this=0x80eaaa4, __x=0x811ce00) at /usr/include/boost141/boost/smart_ptr/detail/sp_counted_base_gcc_x86.hpp:145

No locals.

#7  destroy (this=0x80eaaa4, __x=0x811ce00) at /usr/include/c++/4.1.2/ext/new_allocator.h:107

No locals.

#8  destroy_node (this=0x80eaaa4, __x=0x811ce00) at /usr/include/c++/4.1.2/bits/stl_tree.h:391

No locals.

#9  std::_Rb_tree >, std::_Select1st > >, std::less, std::allocator > > >::_M_erase (this=0x80eaaa4, __x=0x811ce00) at /usr/include/c++/4.1.2/bits/stl_tree.h:1266

No locals.

#10 0xf7d7ea75 in ~_Rb_tree (this=0x80eaa7c, __in_chrg=) at /usr/include/c++/4.1.2/bits/stl_tree.h:578

No locals.

#11 ~map (this=0x80eaa7c, __in_chrg=) at /usr/include/c++/4.1.2/bits/stl_map.h:93

No locals.

#12 icinga::DynamicType::~DynamicType (this=0x80eaa7c, __in_chrg=) at /usr/src/debug/icinga2-origin-master/lib/base/dynamictype.hpp:37

No locals.

#13 0xf7d7daeb in destroy (this=0x80eaa68) at /usr/include/boost141/boost/smart_ptr/make_shared.hpp:52

No locals.

#14 operator() (this=0x80eaa68) at /usr/include/boost141/boost/smart_ptr/make_shared.hpp:75

No locals.

#15 boost::detail::sp_counted_impl_pd >::dispose (this=0x80eaa68)

at /usr/include/boost141/boost/smart_ptr/detail/sp_counted_impl.hpp:144
No locals.

#16 0xf7d7dc44 in ~pair (this=0xf7e8b468, __x=0x80eaa48) at /usr/include/boost141/boost/smart_ptr/detail/sp_counted_base_gcc_x86.hpp:145

No locals.

#17 destroy (this=0xf7e8b468, __x=0x80eaa48) at /usr/include/c++/4.1.2/ext/new_allocator.h:107

--Type to continue, or q to quit--
No locals.

#18 destroy_node (this=0xf7e8b468, __x=0x80eaa48) at /usr/include/c++/4.1.2/bits/stl_tree.h:391

No locals.

#19 std::_Rb_tree >, std::_Select1st > >, std::less, std::allocator > > >::_M_erase (this=0xf7e8b468, __x=0x80eaa48) at /usr/include/c++/4.1.2/bits/stl_tree.h:1266

No locals.

#20 0xf7d7b1ba in ~_Rb_tree () at /usr/include/c++/4.1.2/bits/stl_tree.h:578

No locals.

#21 ~map () at /usr/include/c++/4.1.2/bits/stl_map.h:93

No locals.

#22 __tcf_0 () at /usr/src/debug/icinga2-origin-master/lib/base/dynamictype.cpp:60

No locals.

#23 0xf780bf09 in exit () from /lib/libc.so.6

No symbol table info available.

#24 0x08060840 in main (argc=0, argv=0x2) at /usr/src/debug/icinga2-origin-master/icinga-app/icinga.cpp:797

rc = 1735289200

@icinga-migration
Copy link
Author

Updated by gbeutner on 2014-07-30 13:15:25 +00:00

  • Estimated Hours set to 0.5

@icinga-migration
Copy link
Author

Updated by gbeutner on 2014-07-30 13:15:35 +00:00

  • Status changed from New to Resolved
  • Done % changed from 0 to 100

Applied in changeset b574f4c.

@icinga-migration
Copy link
Author

Updated by gbeutner on 2014-07-30 13:17:20 +00:00

  • Category set to libbase
  • Assigned to set to gbeutner
  • Target Version set to 2.0.2

@icinga-migration icinga-migration added bug Something isn't working libbase labels Jan 17, 2017
@icinga-migration icinga-migration added this to the 2.0.2 milestone 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