make check leaves behind /tmp/alertnotify.txt #6524

issue randy-waterhouse opened this issue on August 6, 2015
  1. randy-waterhouse commented at 12:24 AM on August 6, 2015: contributor

    Error arises when another user on same system runs a "make check" or otherwise tries to access /tmp/alertnotify.txt before /tmp is flushed by system and creates a permission clash. E.g. Making check in src make[1]: Entering directory '/home/user2/bitcoin-dev/bitcoin/src' make[2]: Entering directory '/home/user2/bitcoin-dev/bitcoin/src' make check-TESTS check-local make[3]: Entering directory '/home/user2/bitcoin-dev/bitcoin/src' make[4]: Entering directory '/home/user2/bitcoin-dev/bitcoin/src' ../build-aux/test-driver: line 107: 5975 Aborted (core dumped) "$@" > $log_file 2>&1 FAIL: test/test_bitcoin . . See src/test-suite.log Please report to https://github.com/bitcoin/bitcoin/issues . .

    and in src/test-suite.log

    Running 161 test cases... unknown location(0): fatal error in "AlertNotify": std::runtime_error: boost::filesystem::remove: Operation not permitted: "/tmp/alertnotify.txt" test/alert_tests.cpp(154): last checkpoint unknown location(0): fatal error in "PartitionAlert": memory access violation at address: 0x00000078: no mapping at fault address test/alert_tests.cpp(154): last checkpoint

  2. casey cross-referenced this on Aug 6, 2015 from issue Use unique name for AlertNotify tempfile by casey
  3. laanwj closed this on Aug 7, 2015

  4. bitcoin locked this on Sep 8, 2021

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-05-20 06:55 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me