Skip to content

tests: make check failure #13263

@mruddy

Description

@mruddy

i'm able to reproduce this by running make -j 4 check

Running tests: cuckoocache_tests from test/cuckoocache_tests.cpp
Running tests: DoS_tests from test/DoS_tests.cpp
Running tests: getarg_tests from test/getarg_tests.cpp
Running tests: hash_tests from test/hash_tests.cpp
Running tests: key_io_tests from test/key_io_tests.cpp
Running tests: key_tests from test/key_tests.cpp
Running tests: limitedmap_tests from test/limitedmap_tests.cpp
Running tests: dbwrapper_tests from test/dbwrapper_tests.cpp
Running tests: main_tests from test/main_tests.cpp
Running tests: mempool_tests from test/mempool_tests.cpp
Running tests: merkle_tests from test/merkle_tests.cpp
Running tests: merkleblock_tests from test/merkleblock_tests.cpp
Running tests: miner_tests from test/miner_tests.cpp
Running tests: multisig_tests from test/multisig_tests.cpp
Running tests: net_tests from test/net_tests.cpp
Running tests: netbase_tests from test/netbase_tests.cpp
Running tests: pmt_tests from test/pmt_tests.cpp
Running tests: policyestimator_tests from test/policyestimator_tests.cpp
Running tests: pow_tests from test/pow_tests.cpp
Running tests: prevector_tests from test/prevector_tests.cpp
Running tests: raii_event_tests from test/raii_event_tests.cpp
Running tests: random_tests from test/random_tests.cpp
Running tests: reverselock_tests from test/reverselock_tests.cpp
Running tests: rpc_tests from test/rpc_tests.cpp
Running tests: sanity_tests from test/sanity_tests.cpp
Running tests: scheduler_tests from test/scheduler_tests.cpp
Running tests: script_P2SH_tests from test/script_P2SH_tests.cpp
Running tests: script_tests from test/script_tests.cpp
Running tests: script_standard_tests from test/script_standard_tests.cpp
Running tests: scriptnum_tests from test/scriptnum_tests.cpp
Running tests: serialize_tests from test/serialize_tests.cpp
Running tests: sighash_tests from test/sighash_tests.cpp
Running tests: sigopcount_tests from test/sigopcount_tests.cpp
Running tests: skiplist_tests from test/skiplist_tests.cpp
Running tests: streams_tests from test/streams_tests.cpp
Running tests: timedata_tests from test/timedata_tests.cpp
Running tests: torcontrol_tests from test/torcontrol_tests.cpp
Running tests: transaction_tests from test/transaction_tests.cpp
Running tests: txindex_tests from test/txindex_tests.cpp
Running tests: txvalidation_tests from test/txvalidation_tests.cpp
Running tests: tx_validationcache_tests from test/txvalidationcache_tests.cpp
Running tests: uint256_tests from test/uint256_tests.cpp
Running tests: util_tests from test/util_tests.cpp
Running tests: validation_block_tests from test/validation_block_tests.cpp
Running tests: versionbits_tests from test/versionbits_tests.cpp
/bin/bash: line 1: 24432 Aborted                 (core dumped) test/test_bitcoin -l test_suite -t "`cat test/validation_block_tests.cpp | grep "BOOST_FIXTURE_TEST_SUITE(\|BOOST_AUTO_TEST_SUITE(" | cut -d '(' -f 2 | cut -d ',' -f 1 | cut -d ')' -f 1`" > test/validation_block_tests.cpp.log 2>&1
Running 1 test case...
Entering test module "Bitcoin Test Suite"
test/validation_block_tests.cpp(21): Entering test suite "validation_block_tests"
test/validation_block_tests.cpp(122): Entering test case "processnewblock_signals_ordering"
*** stack smashing detected ***: <unknown> terminated
*** stack smashing detected ***: <unknown> terminated
unknown location(0): fatal error: in "validation_block_tests/processnewblock_signals_ordering": memory access violation at address: 0xffffffff: no mapping at fault address
test/validation_block_tests.cpp(137): last checkpoint
Test is aborted
test/validation_block_tests.cpp(122): Leaving test case "processnewblock_signals_ordering"; testing time: 23187us
Test is aborted
test/validation_block_tests.cpp(21): Leaving test suite "validation_block_tests"; testing time: 23205us
Test is aborted
Leaving test module "Bitcoin Test Suite"; testing time: 23252us

*** 1 failure is detected in the test module "Bitcoin Test Suite"
test_bitcoin: /usr/include/boost/thread/pthread/condition_variable_fwd.hpp:116: boost::condition_variable::~condition_variable(): Assertion `!ret' failed.
Makefile:10248: recipe for target 'test/validation_block_tests.cpp.test' failed
make[3]: *** [test/validation_block_tests.cpp.test] Error 1

this is all the test log has:

> cat src/test-suite.log
==============================================
   Bitcoin Core 0.16.99: src/test-suite.log
==============================================

# TOTAL: 1
# PASS:  1
# SKIP:  0
# XFAIL: 0
# FAIL:  0
# XPASS: 0
# ERROR: 0

.. contents:: :depth: 2

more info:

Ubuntu 18.04 LTS x86_64

> apt-cache show libboost-thread-dev
Package: libboost-thread-dev
Architecture: amd64
Version: 1.65.1.0ubuntu1
Multi-Arch: same
Priority: optional
Section: libdevel
Source: boost-defaults
Origin: Ubuntu
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Original-Maintainer: Debian Boost Team <pkg-boost-devel@lists.alioth.debian.org>
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 10
Depends: libboost-thread1.65-dev
Filename: pool/main/b/boost-defaults/libboost-thread-dev_1.65.1.0ubuntu1_amd64.deb
Size: 2948
MD5sum: 960037cf0c14983eb7e6234d2fe1464f
SHA1: 87c8e9817842a7d551774eeb472ad2369cd61cb8
SHA256: 427d72389553cff392c9362230f12c2bcfb5e65819ad81e773db91060413e4a6

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions