Support #411
invalid_argument exception thrown when executing test: "There already is a registree with key 'ConsoleLoggingSystem'"
Status: | Resolved | Start date: | 07/11/2011 | |
---|---|---|---|---|
Priority: | High | Due date: | ||
Assignee: | J. Wienke | % Done: | 100% | |
Category: | Logging | Estimated time: | 1.00 hour | |
Target version: | - |
Description
When executing google tests of one of my libraries, an exception is thrown
terminate called after throwing an instance of 'std::invalid_argument'
what(): There already is a registree with key 'ConsoleLoggingSystem'.
Aborted
The tests runs perfectly on my local machine, but throws this exception on all of the jenkins build machines. Stacktrace is
Starting program: /home/jenkins/workspace/RCI/label/ubuntu_lucid_32bit/rci/build/build/CCARCITests
[Thread debugging using libthread_db enabled]
terminate called after throwing an instance of 'std::invalid_argument'
what(): There already is a registree with key 'ConsoleLoggingSystem'.
Program received signal SIGABRT, Aborted.
0xb7fe2422 in _kernel_vsyscall ()
(gdb) bt
#0 0xb7fe2422 in __kernel_vsyscall ()
#1 0xb7ac5651 in _GI_raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#2 0xb7ac8a82 in *_GI_abort () at abort.c:92
#3 0xb7cfa52f in __gnu_cxx::_verbose_terminate_handler() () from /usr/lib/libstdc++.so.6
#4 0xb7cf8465 in ?? () from /usr/lib/libstdc++.so.6
#5 0xb7cf84a2 in std::terminate() () from /usr/lib/libstdc++.so.6
#6 0xb7cf85e1 in __cxa_throw () from /usr/lib/libstdc++.so.6
#7 0xb7d7f8e6 in rsc::misc::Registry<rsc::logging::LoggingSystem>::addRegistree(rsc::logging::LoggingSystem) () from /home/jenkins/workspace/RCI/label/ubuntu_lucid_32bit/upstream/RSC-0.4.0-Linux/share/RSC/../../lib/librsc.so.0.4.0
#8 0xb7d7f1ed in rsc::logging::StarterConsoleLoggingSystem::StarterConsoleLoggingSystem() () from /home/jenkins/workspace/RCI/label/ubuntu_lucid_32bit/upstream/RSC-0.4.0-Linux/share/RSC/../../lib/librsc.so.0.4.0
#9 0xb7d7e723 in __static_initialization_and_destruction_0(int, int) () from /home/jenkins/workspace/RCI/label/ubuntu_lucid_32bit/upstream/RSC-0.4.0-Linux/share/RSC/../../lib/librsc.so.0.4.0
#10 0xb7d7e78b in global constructors keyed to ConsoleLoggingSystem.cpp () from /home/jenkins/workspace/RCI/label/ubuntu_lucid_32bit/upstream/RSC-0.4.0-Linux/share/RSC/../../lib/librsc.so.0.4.0
#11 0xb7df915d in __do_global_ctors_aux () from /home/jenkins/workspace/RCI/label/ubuntu_lucid_32bit/upstream/RSC-0.4.0-Linux/share/RSC/../../lib/librsc.so.0.4.0
#12 0xb7d76ea0 in _init () from /home/jenkins/workspace/RCI/label/ubuntu_lucid_32bit/upstream/RSC-0.4.0-Linux/share/RSC/../../lib/librsc.so.0.4.0
#13 0xb7ff0bbc in call_init (l=<value optimized out>, argc=<value optimized out>, argv=0xbffff7d4, env=0xbffff7dc) at dl-init.c:70
#14 0xb7ff0cd9 in _dl_init (main_map=0xb7fff8f8, argc=<value optimized out>, argv=<value optimized out>, env=0xbffff7dc) at dl-init.c:134
#15 0xb7fe388f in _dl_start_user () from /lib/ld-linux.so.2
Any idea, what happens or where to look at?
Can I just catch and ignore it?
History
#1 Updated by Anonymous almost 13 years ago
- Status changed from Feedback to Resolved
- % Done changed from 0 to 100
Configuration error:
Upstream project used a different RSC version (0.3.0) than this project (0.3.0).
Raised exception wasn`t a great help to find this though.