Ubuntu 14.04: unit-tests SIGSEGV upon LogPrint

Created by: guzzijones

By submitting this issue, I confirm the following:

  • I have read and understood the contributor guide.
  • I have checked that the issue I am reporting can be replicated or that the feature I am suggesting is not present.
  • I have checked opened or recently closed pull requests for existing solutions/implementations to my issue/suggestion.

Place an X inside the bracket to confirm

  • [x ] I confirm.

  1. make
  2. make tests
  3. run kovri-tests
Program received signal SIGSEGV, Segmentation fault.
0x00007ffff657db1b in std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(std::string const&) ()
   from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
(gdb) bt
#0  0x00007ffff657db1b in std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(std::string const&) ()
   from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#1  0x0000000000fa57e8 in kovri::core::Log::GetGlobalLogEngine () at /home/ubuntu/kovri/src/core/util/impl/log.cc:471
#2  0x0000000000f6ec5f in DeprecatedLogPrint<char const*> (level=kovri::core::eLogLevelDebug) at /home/ubuntu/kovri/src/core/../core/util/log.h:201
#3  0x0000000000f6c249 in kovri::core::HasAESNI () at /home/ubuntu/kovri/src/core/crypto/impl/cryptopp/aes.cc:52
#4  0x0000000000f6c755 in __static_initialization_and_destruction_0 (__initialize_p=1, __priority=65535) at /home/ubuntu/kovri/src/core/crypto/impl/cryptopp/aes.cc:68
#5  0x0000000000f6c770 in _GLOBAL__sub_I_aes.cc(void) () at /home/ubuntu/kovri/src/core/crypto/impl/cryptopp/aes.cc:593
#6  0x00000000013314fd in __libc_csu_init ()
#7  0x00007ffff5bf8ed5 in __libc_start_main (main=0xf64ec5 <main(int, char**)>, argc=1, argv=0x7fffffffe638, init=0x13314b0 <__libc_csu_init>, fini=<optimized out>,
    rtld_fini=<optimized out>, stack_end=0x7fffffffe628) at libc-start.c:246

Enter your issue here