Uploaded image for project: 'IMPALA'
  1. IMPALA
  2. IMPALA-5112

expr-test fails with boost::condition_variable::~condition_variable(): Assertion `!ret' failed.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Cannot Reproduce
    • Impala 2.9.0
    • None
    • Backend

    Description

      zamsden - I picked you randomly; feel free to find another person or assign back to me if you're swamped.

      I saw expr-test fail in an automated test run with this error:

      11:40:05 14/88 Test #14: expr-test ........................***Exception: Other  6.99 sec
      11:40:05 Turning perftools heap leak checking off
      11:40:05 SLF4J: Class path contains multiple SLF4J bindings.
      11:40:05 SLF4J: Found binding in [jar:file:/data/jenkins/workspace/impala-umbrella-build-and-test/repos/Impala/fe/target/dependency/slf4j-log4j12-1.7.5.jar!/org/slf4j/impl/StaticLoggerBinder.class]
      11:40:05 SLF4J: Found binding in [jar:file:/data/jenkins/workspace/impala-umbrella-build-and-test/repos/Impala/testdata/target/dependency/slf4j-log4j12-1.7.5.jar!/org/slf4j/impl/StaticLoggerBinder.class]
      11:40:05 SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
      11:40:05 SLF4J: Actual binding is of type [org.slf4j.impl.Log4jLoggerFactory]
      11:40:05 Running without optimization passes.
      11:40:05 expr-test: /data/jenkins/workspace/impala-umbrella-build-and-test/Impala-Toolchain/boost-1.57.0-p1/include/boost/thread/pthread/condition_variable_fwd.hpp:81: boost::condition_variable::~condition_variable(): Assertion `!ret' failed.
      11:40:05 Wrote minidump to /data/jenkins/workspace/impala-umbrella-build-and-test/repos/Impala/logs/be_tests/minidumps/expr-test/543a7a9d-2dcb-56dd-43860779-0f46b70c.dmp
      11:40:05 Wrote minidump to /data/jenkins/workspace/impala-umbrella-build-and-test/repos/Impala/logs/be_tests/minidumps/expr-test/543a7a9d-2dcb-56dd-43860779-0f46b70c.dmp
      

      The artifacts also contained a full stack:

      CORE: ./be/src/exprs/core.1490283750.25797.expr-test
      BINARY: ./be/build/latest/exprs/expr-test
      Core was generated by `/data/jenkins/workspace/impala-umbrella-build-and-test/repos/Impala/be/build/de'.
      Program terminated with signal 6, Aborted.
      #0  0x00000034920328e5 in raise () from /lib64/libc.so.6
      To enable execution of this file add
              add-auto-load-safe-path /data/jenkins/workspace/impala-umbrella-build-and-test/Impala-Toolchain/gcc-4.9.2/lib64/libstdc++.so.6.0.20-gdb.py
      line to your configuration file "/var/lib/jenkins/.gdbinit".
      To completely disable this security protection add
              set auto-load safe-path /
      line to your configuration file "/var/lib/jenkins/.gdbinit".
      For more information about this security protection see the
      "Auto-loading safe path" section in the GDB manual.  E.g., run from the shell:
              info "(gdb)Auto-loading safe path"
      #0  0x00000034920328e5 in raise () from /lib64/libc.so.6
      #1  0x00000034920340c5 in abort () from /lib64/libc.so.6
      #2  0x000000349202ba0e in __assert_fail_base () from /lib64/libc.so.6
      #3  0x000000349202bad0 in __assert_fail () from /lib64/libc.so.6
      #4  0x00000000015850ea in boost::condition_variable::~condition_variable (this=0x96c0b28, __in_chrg=<value optimized out>) at /data/jenkins/workspace/impala-umbrella-build-and-test/Impala-Toolchain/boost-1.57.0-p1/include/boost/thread/pthread/condition_variable_fwd.hpp:81
      #5  0x00000000016da169 in impala::ImpalaServer::~ImpalaServer (this=0x96c0a00, __in_chrg=<value optimized out>, __vtt_parm=<value optimized out>) at /data/jenkins/workspace/impala-umbrella-build-and-test/repos/Impala/be/src/service/impala-server.cc:707
      #6  0x00000000016da320 in impala::ImpalaServer::~ImpalaServer (this=0x96c0a00, __in_chrg=<value optimized out>, __vtt_parm=<value optimized out>) at /data/jenkins/workspace/impala-umbrella-build-and-test/repos/Impala/be/src/service/impala-server.cc:707
      #7  0x000000000171c990 in boost::checked_delete<impala::ImpalaServer> (x=0x96c0a00) at /data/jenkins/workspace/impala-umbrella-build-and-test/Impala-Toolchain/boost-1.57.0-p1/include/boost/core/checked_delete.hpp:34
      #8  0x0000000001729234 in boost::detail::sp_counted_impl_p<impala::ImpalaServer>::dispose (this=0x98fcb40) at /data/jenkins/workspace/impala-umbrella-build-and-test/Impala-Toolchain/boost-1.57.0-p1/include/boost/smart_ptr/detail/sp_counted_impl.hpp:78
      #9  0x000000000128ee94 in boost::detail::sp_counted_base::release (this=0x98fcb40) at /data/jenkins/workspace/impala-umbrella-build-and-test/Impala-Toolchain/boost-1.57.0-p1/include/boost/smart_ptr/detail/sp_counted_base_gcc_x86.hpp:146
      #10 0x000000000128ef23 in boost::detail::shared_count::~shared_count (this=0x96d94c0, __in_chrg=<value optimized out>) at /data/jenkins/workspace/impala-umbrella-build-and-test/Impala-Toolchain/boost-1.57.0-p1/include/boost/smart_ptr/detail/shared_count.hpp:443
      #11 0x00000000016e9322 in boost::shared_ptr<apache::hive::service::cli::thrift::TCLIServiceIf>::~shared_ptr (this=0x96d94b8, __in_chrg=<value optimized out>) at /data/jenkins/workspace/impala-umbrella-build-and-test/Impala-Toolchain/boost-1.57.0-p1/include/boost/smart_ptr/shared_ptr.hpp:323
      #12 0x00000000016ea26c in apache::hive::service::cli::thrift::TCLIServiceProcessor::~TCLIServiceProcessor (this=0x96d94a0, __in_chrg=<value optimized out>) at /data/jenkins/workspace/impala-umbrella-build-and-test/repos/Impala/be/generated-sources/gen-cpp/TCLIService.h:2469
      #13 0x0000000001ad3190 in impala::ImpalaHiveServer2ServiceProcessor::~ImpalaHiveServer2ServiceProcessor (this=0x96d94a0, __in_chrg=<value optimized out>) at /data/jenkins/workspace/impala-umbrella-build-and-test/repos/Impala/be/generated-sources/gen-cpp/ImpalaHiveServer2Service.h:316
      #14 0x0000000001ad31c0 in impala::ImpalaHiveServer2ServiceProcessor::~ImpalaHiveServer2ServiceProcessor (this=0x96d94a0, __in_chrg=<value optimized out>) at /data/jenkins/workspace/impala-umbrella-build-and-test/repos/Impala/be/generated-sources/gen-cpp/ImpalaHiveServer2Service.h:316
      #15 0x000000000171cac8 in boost::checked_delete<impala::ImpalaHiveServer2ServiceProcessor> (x=0x96d94a0) at /data/jenkins/workspace/impala-umbrella-build-and-test/Impala-Toolchain/boost-1.57.0-p1/include/boost/core/checked_delete.hpp:34
      #16 0x000000000172916e in boost::detail::sp_counted_impl_p<impala::ImpalaHiveServer2ServiceProcessor>::dispose (this=0x98fcd00) at /data/jenkins/workspace/impala-umbrella-build-and-test/Impala-Toolchain/boost-1.57.0-p1/include/boost/smart_ptr/detail/sp_counted_impl.hpp:78
      #17 0x000000000128ee94 in boost::detail::sp_counted_base::release (this=0x98fcd00) at /data/jenkins/workspace/impala-umbrella-build-and-test/Impala-Toolchain/boost-1.57.0-p1/include/boost/smart_ptr/detail/sp_counted_base_gcc_x86.hpp:146
      #18 0x000000000128ef23 in boost::detail::shared_count::~shared_count (this=0x9fad230, __in_chrg=<value optimized out>) at /data/jenkins/workspace/impala-umbrella-build-and-test/Impala-Toolchain/boost-1.57.0-p1/include/boost/smart_ptr/detail/shared_count.hpp:443
      #19 0x00000000016e770e in boost::shared_ptr<apache::thrift::TProcessor>::~shared_ptr (this=0x9fad228, __in_chrg=<value optimized out>) at /data/jenkins/workspace/impala-umbrella-build-and-test/Impala-Toolchain/boost-1.57.0-p1/include/boost/smart_ptr/shared_ptr.hpp:323
      #20 0x0000000001b3fc92 in apache::thrift::TSingletonProcessorFactory::~TSingletonProcessorFactory (this=0x9fad220, __in_chrg=<value optimized out>) at /data/jenkins/workspace/impala-umbrella-build-and-test/Impala-Toolchain/thrift-0.9.0-p8/include/thrift/TProcessor.h:218
      #21 0x0000000001b3fcce in apache::thrift::TSingletonProcessorFactory::~TSingletonProcessorFactory (this=0x9fad220, __in_chrg=<value optimized out>) at /data/jenkins/workspace/impala-umbrella-build-and-test/Impala-Toolchain/thrift-0.9.0-p8/include/thrift/TProcessor.h:218
      #22 0x0000000001b3fd06 in boost::checked_delete<apache::thrift::TSingletonProcessorFactory> (x=0x9fad220) at /data/jenkins/workspace/impala-umbrella-build-and-test/Impala-Toolchain/boost-1.57.0-p1/include/boost/core/checked_delete.hpp:34
      #23 0x0000000001b40592 in boost::detail::sp_counted_impl_p<apache::thrift::TSingletonProcessorFactory>::dispose (this=0x9fad240) at /data/jenkins/workspace/impala-umbrella-build-and-test/Impala-Toolchain/boost-1.57.0-p1/include/boost/smart_ptr/detail/sp_counted_impl.hpp:78
      #24 0x000000000298b765 in apache::thrift::server::TThreadPoolServer::~TThreadPoolServer() ()
      #25 0x000000000298cfd9 in apache::thrift::server::TThreadPoolServer::~TThreadPoolServer() ()
      #26 0x00000000017c85ef in boost::checked_delete<apache::thrift::server::TServer> (x=0xa921130) at /data/jenkins/workspace/impala-umbrella-build-and-test/Impala-Toolchain/boost-1.57.0-p1/include/boost/core/checked_delete.hpp:34
      #27 0x00000000017c7bcd in boost::scoped_ptr<apache::thrift::server::TServer>::~scoped_ptr (this=0xa929120, __in_chrg=<value optimized out>) at /data/jenkins/workspace/impala-umbrella-build-and-test/Impala-Toolchain/boost-1.57.0-p1/include/boost/smart_ptr/scoped_ptr.hpp:82
      #28 0x00000000017c6156 in impala::ThriftServer::~ThriftServer (this=0xa9290e0, __in_chrg=<value optimized out>) at /data/jenkins/workspace/impala-umbrella-build-and-test/repos/Impala/be/src/rpc/thrift-server.h:43
      #29 0x00000000017d4bf9 in boost::checked_delete<impala::ThriftServer> (x=0xa9290e0) at /data/jenkins/workspace/impala-umbrella-build-and-test/Impala-Toolchain/boost-1.57.0-p1/include/boost/core/checked_delete.hpp:34
      #30 0x00000000017d460f in boost::scoped_ptr<impala::ThriftServer>::~scoped_ptr (this=0x8a72a70, __in_chrg=<value optimized out>) at /data/jenkins/workspace/impala-umbrella-build-and-test/Impala-Toolchain/boost-1.57.0-p1/include/boost/smart_ptr/scoped_ptr.hpp:82
      #31 0x00000000017d4334 in impala::InProcessImpalaServer::~InProcessImpalaServer (this=0x8a72a40, __in_chrg=<value optimized out>) at /data/jenkins/workspace/impala-umbrella-build-and-test/repos/Impala/be/src/testutil/in-process-servers.h:41
      #32 0x00000000017d2ac7 in impala::InProcessImpalaServer::StartWithEphemeralPorts (statestore_host=..., statestore_port=0) at /data/jenkins/workspace/impala-umbrella-build-and-test/repos/Impala/be/src/testutil/in-process-servers.cc:74
      #33 0x000000000127f5d6 in main (argc=2, argv=0x7fff82ed4218) at /data/jenkins/workspace/impala-umbrella-build-and-test/repos/Impala/be/src/exprs/expr-test.cc:7094
      

      Attachments

        Issue Links

          Activity

            People

              zamsden Zach Amsden
              lv Lars Volker
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: