travis: Run unit tests --with-sanitizers=thread #14080

pull MarcoFalke wants to merge 1 commits into bitcoin:master from MarcoFalke:Mf1808-travisSanThread changing 2 files +21 −2
  1. MarcoFalke commented at 1:37 PM on August 27, 2018: member

    See issue #12691

  2. MarcoFalke added the label Tests on Aug 27, 2018
  3. MarcoFalke force-pushed on Aug 27, 2018
  4. practicalswift commented at 3:31 PM on August 27, 2018: contributor

    utACK ffff591b5a96d4d849196a3aa37387221d71d50d

    The sanitizers are our friends in the eternal struggle for robustness!

  5. MarcoFalke commented at 3:39 PM on August 27, 2018: member

    Needs #14083 to pass

  6. practicalswift commented at 4:06 PM on August 27, 2018: contributor

    Works as expected:

    # Benchmark, evals, iterations, total, min, max, median
    ThreadSanitizer:DEADLYSIGNAL
    ==26609==ERROR: ThreadSanitizer: SEGV on unknown address 0x000000000000 (pc 0x56102d97b3ac bp 0x000000000000 sp 0x7f3835779e88 T26614)
    ==26609==The signal is caused by a WRITE memory access.
    ==26609==Hint: address points to the zero page.
        [#0](/bitcoin-bitcoin/0/) __tsan_func_entry :? (bench_bitcoin+0xfdf3ab)
        [#1](/bitcoin-bitcoin/1/) boost::detail::thread_data<boost::_bi::bind_t<void, boost::_mfi::mf0<void, CScheduler>, boost::_bi::list1<boost::_bi::value<CScheduler*> > > >::run() ??:? (bench_bitcoin+0x109aed1)
        [#2](/bitcoin-bitcoin/2/) boost::this_thread::interruption_requested() ??:? (libboost_thread.so.1.65.1+0x11bcc)
        [#3](/bitcoin-bitcoin/3/) start_thread ??:? (libpthread.so.0+0x76da)
        [#4](/bitcoin-bitcoin/4/) clone ??:? (libc.so.6+0x12188e)
    ThreadSanitizer can not provide additional info.
    SUMMARY: ThreadSanitizer: SEGV :? in __tsan_func_entry
    ==26609==ABORTING
    
  7. MarcoFalke force-pushed on Aug 29, 2018
  8. MarcoFalke force-pushed on Aug 29, 2018
  9. MarcoFalke force-pushed on Sep 6, 2018
  10. MarcoFalke force-pushed on Sep 6, 2018
  11. MarcoFalke force-pushed on Sep 6, 2018
  12. travis: Run unit tests --with-sanitizers=thread,address da89240bc9
  13. MarcoFalke force-pushed on Sep 11, 2018
  14. MarcoFalke closed this on Sep 11, 2018

  15. MarcoFalke deleted the branch on Sep 11, 2018
  16. practicalswift commented at 9:47 PM on September 11, 2018: contributor

    Why the close? :-)

  17. MarcoFalke restored the branch on Sep 14, 2018
  18. luke-jr commented at 8:47 PM on October 24, 2020: member

    Note: This was superceded by #14764

  19. DrahtBot locked this on Feb 15, 2022

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-04-14 21:14 UTC

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