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 #7769] The unit tests still crash sometimes #2292

Closed
icinga-migration opened this issue Nov 20, 2014 · 5 comments
Closed

[dev.icinga.com #7769] The unit tests still crash sometimes #2292

icinga-migration opened this issue Nov 20, 2014 · 5 comments
Labels
area/tests Unit and environment tests bug Something isn't working
Milestone

Comments

@icinga-migration
Copy link

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

Created by gbeutner on 2014-11-20 22:14:41 +00:00

Assignee: gbeutner
Status: Resolved (closed on 2014-12-04 20:55:03 +00:00)
Target Version: 2.2.2
Last Update: 2014-12-04 20:55:03 +00:00 (in Redmine)

Icinga Version: 2.2.0

boosttest-test-base: /usr/include/boost/thread/pthread/mutex.hpp:108: boost::mutex::~mutex(): Assertion `!posix::pthread_mutex_destroy(&m)' failed.

Changesets

2014-12-04 20:50:22 +00:00 by (unknown) 7d93788

Fix crash in the unit tests

fixes #7769

2014-12-04 20:51:53 +00:00 by (unknown) 86819f4

Fix crash in the unit tests

fixes #7769

Relations:

@icinga-migration
Copy link
Author

Updated by gbeutner on 2014-11-21 13:12:08 +00:00

Core was generated by `./build-debug/Bin/Debug/boosttest-test-base --run_test=base_object/getself'.
Program terminated with signal 6, Aborted.

#0  0x00007f9709a88165 in *__GI_raise (sig=) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64

64 ../nptl/sysdeps/unix/sysv/linux/raise.c: No such file or directory.
(gdb) bt

#0  0x00007f9709a88165 in *__GI_raise (sig=) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#1  0x00007f9709a8b3e0 in *__GI_abort () at abort.c:92
#2  0x00007f970a2df89d in __gnu_cxx::__verbose_terminate_handler() () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#3  0x00007f970a2dd996 in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#4  0x00007f970a2dd9c3 in std::terminate() () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#5  0x00007f970a2ddbee in __cxa_throw () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#6  0x00007f970c90535d in __cxa_throw (obj=0x7f9700002f10, pvtinfo=0x7f970cab66c0, dest=

0x7f970c8ffb56 <boost::exception_detail::clone_impl<boost::exception_detail::error_info_injectorboost::lock_error >::~clone_impl()>) at /home/gbeutner/icinga2/lib/base/exception.cpp:109

#7  0x00007f970c8fec38 in boost::throw_exception (e=...) at /usr/include/boost/throw_exception.hpp:61
#8  0x00007f970c8fe7d2 in boost::mutex::lock (this=0x7f970cabc2a8) at /usr/include/boost/thread/pthread/mutex.hpp:63
#9  0x00007f970c8ffc58 in boost::unique_lock::lock (this=0x7fff0e4cb990) at /usr/include/boost/thread/locks.hpp:412
#10 0x00007f970c8fec8f in boost::unique_lock::unique_lock (this=0x7fff0e4cb990, m_=...)

at /usr/include/boost/thread/locks.hpp:290

#11 0x00007f970c960780 in icinga::ThreadPool::Stop (this=0x7f970cabc140) at /home/gbeutner/icinga2/lib/base/threadpool.cpp:58
#12 0x00007f970c960529 in icinga::ThreadPool::~ThreadPool (this=0x7f970cabc140, __in_chrg=)

at /home/gbeutner/icinga2/lib/base/threadpool.cpp:44

#13 0x00007f9709a8cae2 in __run_exit_handlers (status=0, listp=0x7f9709ddc4c8, run_list_atexit=true) at exit.c:78
#14 0x00007f9709a8cb35 in *__GI_exit (status=24709) at exit.c:100
#15 0x00007f9709a74eb4 in __libc_start_main (main=, argc=, ubp_av=, 

init=, fini=, rtld_fini=, stack_end=0x7fff0e4cbaf8) at libc-start.c:276

#16 0x0000000000462659 in _start ()

@icinga-migration
Copy link
Author

Updated by mfriedrich on 2014-11-25 09:50:03 +00:00

  • Target Version changed from 2.2.1 to 2.2.2

@icinga-migration
Copy link
Author

Updated by gbeutner on 2014-12-01 14:59:56 +00:00

  • Status changed from New to Assigned
  • Assigned to set to gbeutner

@icinga-migration
Copy link
Author

Updated by Anonymous on 2014-12-04 20:55:03 +00:00

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

Applied in changeset 7d93788.

@icinga-migration
Copy link
Author

Updated by mfriedrich on 2015-10-20 15:56:02 +00:00

  • Relates set to 10410

@icinga-migration icinga-migration added bug Something isn't working area/tests Unit and environment tests labels Jan 17, 2017
@icinga-migration icinga-migration added this to the 2.2.2 milestone Jan 17, 2017
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
Projects
None yet
Development

No branches or pull requests

1 participant