Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from

Conversation

maflcko
Copy link
Member

@maflcko maflcko commented Aug 27, 2018

See issue #12691

@maflcko maflcko added the Tests label Aug 27, 2018
@maflcko maflcko force-pushed the Mf1808-travisSanThread branch from 58f2300 to ffff591 Compare August 27, 2018 13:52
@practicalswift
Copy link
Contributor

practicalswift commented Aug 27, 2018

utACK ffff591b5a96d4d849196a3aa37387221d71d50d

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

@maflcko
Copy link
Member Author

maflcko commented Aug 27, 2018

Needs #14083 to pass

@practicalswift
Copy link
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 __tsan_func_entry :? (bench_bitcoin+0xfdf3ab)
    #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 boost::this_thread::interruption_requested() ??:? (libboost_thread.so.1.65.1+0x11bcc)
    #3 start_thread ??:? (libpthread.so.0+0x76da)
    #4 clone ??:? (libc.so.6+0x12188e)
ThreadSanitizer can not provide additional info.
SUMMARY: ThreadSanitizer: SEGV :? in __tsan_func_entry
==26609==ABORTING

@maflcko maflcko force-pushed the Mf1808-travisSanThread branch 2 times, most recently from fa8454f to b74a95d Compare August 29, 2018 20:32
@maflcko maflcko force-pushed the Mf1808-travisSanThread branch 3 times, most recently from 62fb417 to 7d54e03 Compare September 6, 2018 21:56
@maflcko maflcko force-pushed the Mf1808-travisSanThread branch from 7d54e03 to da89240 Compare September 11, 2018 21:24
@maflcko maflcko closed this Sep 11, 2018
@maflcko maflcko deleted the Mf1808-travisSanThread branch September 11, 2018 21:42
@practicalswift
Copy link
Contributor

Why the close? :-)

@maflcko maflcko restored the Mf1808-travisSanThread branch September 14, 2018 19:07
@luke-jr
Copy link
Member

luke-jr commented Oct 24, 2020

Note: This was superceded by #14764

@bitcoin bitcoin locked as resolved and limited conversation to collaborators Feb 15, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants