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 #13675] Crashing during handling exceptions on mips* #4886

Closed
icinga-migration opened this issue Dec 19, 2016 · 7 comments
Closed
Labels
area/tests Unit and environment tests bug Something isn't working core/crash Shouldn't happen, requires attention

Comments

@icinga-migration
Copy link

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

Created by mfrosch on 2016-12-19 12:02:15 +00:00

Assignee: (none)
Status: New
Target Version: (none)
Last Update: 2016-12-20 09:06:12 +00:00 (in Redmine)

Icinga Version: 2.6.0
Backport?: Not yet backported
Include in Changelog: 1

While having a look on weird testing behavior on mips* architectures:

Thread 1 "boosttest-test-" received signal SIGSEGV, Segmentation fault.
parse_lsda_header (context=0x7fff5330, p=0x256dec , info=0x7fff4c80) at ../../../../src/libstdc++-v3/libsupc++/eh_personality.cc:58
58      ../../../../src/libstdc++-v3/libsupc++/eh_personality.cc: No such file or directory.
(gdb) bt                           

#0  parse_lsda_header (context=0x7fff5330, p=0x256dec , info=0x7fff4c80) at ../../../../src/libstdc++-v3/libsupc++/eh_personality.cc:58
#1  0x76e5a29c in __cxxabiv1::__gxx_personality_v0 (version=, actions=1, exception_class=, ue_header=0x556984a8, context=0x7fff5330) at ../../../../src/libstdc++-v3/libsupc++/eh_personality.cc:445
#2  0x76d39edc in _Unwind_RaiseException (exc=0x556984a8) at ../../../src/libgcc/unwind.inc:113
#3  0x76e5b3fc in __cxxabiv1::__cxa_throw (obj=0x556984c0, tinfo=0x5564f914  >>, 

dest=0x55580d70 <boost::exception_detail::clone_impl<boost::exception_detail::error_info_injectorboost::bad_lexical_cast >::~clone_impl()>) at ../../../../src/libstdc**-v3/libsupc**/eh_throw.cc:82

#4  0x775a7384 in __cxa_throw (obj=0x556984c0, pvtinfo=0x5564f914  >>, 

dest=0x55580d70 <boost::exception_detail::clone_impl<boost::exception_detail::error_info_injectorboost::bad_lexical_cast >::~clone_impl()>) at ./lib/base/exception.cpp:144

#5  0x55581f30 in boost::throw_exception (e=...) at /usr/include/boost/throw_exception.hpp:69
#6  0x55579024 in boost::conversion::detail::throw_bad_cast () at /usr/include/boost/lexical_cast/bad_lexical_cast.hpp:92
#7  boost::lexical_cast (arg=...) at /usr/include/boost/lexical_cast.hpp:42
#8  icinga::Convert::ToLong (val=...) at ./lib/base/convert.hpp:42
#9  base_convert::tolong::test_method (this=) at ./test/base-convert.cpp:31
#10 0x5557a5d8 in base_convert::tolong_invoker () at ./test/base-convert.cpp:29
#11 0x77aae9dc in boost::function0::operator() (this=) at ./boost/function/function_template.hpp:771
#12 boost::detail::forward::operator() (this=) at ./boost/test/impl/execution_monitor.ipp:1303
#13 boost::detail::function::function_obj_invoker0::invoke (function_obj_ptr=...) at ./boost/function/function_template.hpp:138
#14 0x77aad748 in boost::function0::operator() (this=0x7fff6d14) at ./boost/function/function_template.hpp:771
#15 boost::detail::do_invoke, boost::function >(boost::shared_ptr const&, boost::function const&) (F=..., tr=...)

at ./boost/test/impl/execution_monitor.ipp:284

#16 boost::execution_monitor::catch_signals(boost::function const&) (this=0x77b42008 ::instance()::the_inst>, F=...) at ./boost/test/impl/execution_monitor.ipp:867
#17 0x77aad8c0 in boost::execution_monitor::execute(boost::function const&) (this=0x77b42008 ::instance()::the_inst>, F=...) at ./boost/test/impl/execution_monitor.ipp:1206
#18 0x77aae44c in boost::execution_monitor::vexecute(boost::function const&) (this=0x77b42008 ::instance()::the_inst>, F=...) at ./boost/test/impl/execution_monitor.ipp:1312
#19 0x77ae1308 in boost::unit_test::unit_test_monitor_t::execute_and_translate(boost::function const&, unsigned int) (this=0x77b42008 ::instance()::the_inst>, func=..., timeout=)

at ./boost/test/impl/unit_test_monitor.ipp:46

#20 0x77abbba8 in boost::unit_test::framework::state::execute_test_tree (this=0x77b41f08 , tu_id=, timeout=, p_random_generator=)

at ./boost/test/impl/framework.ipp:717

#21 0x77abc334 in boost::unit_test::framework::state::execute_test_tree (this=0x77b41f08 , tu_id=, timeout=, p_random_generator=)

at ./boost/test/impl/framework.ipp:666

#22 0x77ab3f40 in boost::unit_test::framework::state::execute_test_tree (timeout=0, p_random_generator=0x0, tu_id=1, this=0x77b41f08 ) at ./boost/test/impl/framework.ipp:666
#23 boost::unit_test::framework::run (id=1, continue_test=) at ./boost/test/impl/framework.ipp:1426
#24 0x77ade740 in boost::unit_test::unit_test_main (init_func=, argc=, argv=) at ./boost/test/impl/unit_test_main.ipp:231
#25 0x5555d8b8 in main (argc=2, argv=0x7fff7694) at ./test/test-runner.cpp:42
Might be a problem due to overloading \_\_cxa\_throw, or another problem in boost.

Relations:

@icinga-migration
Copy link
Author

Updated by mfrosch on 2016-12-19 12:02:29 +00:00

  • Relates set to 13403

@icinga-migration
Copy link
Author

Updated by mfrosch on 2016-12-19 12:04:45 +00:00

  • Subject changed from Test Suite crashing on some exceptions to Test Suite crashing during handling exceptions on mips*

@icinga-migration
Copy link
Author

Updated by mfrosch on 2016-12-19 12:20:11 +00:00

  • Subject changed from Test Suite crashing during handling exceptions on mips* to Crashing during handling exceptions on mips*

@icinga-migration
Copy link
Author

Updated by mfrosch on 2016-12-19 12:20:28 +00:00

Likely not only our problem: https://bugreports.qt.io/browse/QTBUG-56777

@icinga-migration
Copy link
Author

Updated by mfrosch on 2016-12-19 12:21:47 +00:00

Here is an exception during daemon startup:

#0  parse_lsda_header (context=0x7fd3bed8, p=0x250567 , info=0x7fd3b828) at ../../../../src/libstdc++-v3/libsupc++/eh_personality.cc:58
#1  0x7701729c in __cxxabiv1::__gxx_personality_v0 (version=, actions=1, exception_class=, ue_header=0x564cdf40, context=0x7fd3bed8) at ../../../../src/libstdc++-v3/libsupc++/eh_personality.cc:445
#2  0x76ef6edc in _Unwind_RaiseException (exc=0x564cdf40) at ../../../src/libgcc/unwind.inc:113
#3  0x770183fc in __cxxabiv1::__cxa_throw (obj=0x564cdf58, tinfo=0x77b5d528 >, dest=0x77a4b59c ::~clone_impl()>)

at ../../../../src/libstdc**-v3/libsupc**/eh_throw.cc:82

#4  0x774eb6dc in boost::throw_exception (e=...) at /usr/include/boost/throw_exception.hpp:69
#5  0x774eb7ec in boost::exception_detail::throw_exception_ (x=..., 

current_function=0x776a41ec <icinga::Utility::CreateTempFile(icinga::String const&, int, std::basic_fstream<char, std::char_traits >&)::PRETTY_FUNCTION> "static icinga::String icinga::Utility::CreateTempFile(const icinga::String&, int, std::fstream&)",
file=0x776494f4 "/home/lazyfrosch/icinga2/lib/base/utility.cpp", line=1779) at /usr/include/boost/throw_exception.hpp:86

#6  0x7762b954 in icinga::Utility::CreateTempFile (path=..., mode=384, fp=...) at ./lib/base/utility.cpp:1779
#7  0x77734160 in icinga::ConfigCompilerContext::OpenObjectsFile (this=0x564cc298, filename=...) at ./lib/config/configcompilercontext.cpp:42
#8  0x77aba9f8 in icinga::DaemonUtility::ValidateConfigFiles (configs=std::vector of length 1, capacity 1 = {...}, objectsFile=...) at ./lib/cli/daemonutility.cpp:105
#9  0x77abb970 in icinga::DaemonUtility::LoadConfigFiles (configs=std::vector of length 1, capacity 1 = {...}, newItems=std::vector of length 0, capacity 0, objectsFile=..., varsfile=...) at ./lib/cli/daemonutility.cpp:166
#10 0x77ab4424 in icinga::DaemonCommand::Run (this=, vm=..., ap=...) at ./lib/cli/daemoncommand.cpp:245
#11 0x564586c8 in Main () at ./icinga-app/icinga.cpp:483
#12 0x56455878 in main (argc=19, argv=0x7fd3fa24) at ./icinga-app/icinga.cpp:779

@icinga-migration
Copy link
Author

Updated by mfrosch on 2016-12-20 09:06:12 +00:00

This is tracked in Debian as: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=848688

@icinga-migration icinga-migration added bug Something isn't working area/tests Unit and environment tests labels Jan 17, 2017
@gunnarbeutner gunnarbeutner added the core/crash Shouldn't happen, requires attention label Feb 7, 2017
@dnsmichi dnsmichi added the low label Jan 16, 2018
@dnsmichi
Copy link
Contributor

Tbh we don't care about mips in this specific region, and neither do we provide packages for it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/tests Unit and environment tests bug Something isn't working core/crash Shouldn't happen, requires attention
Projects
None yet
Development

No branches or pull requests

3 participants