Skip to content

Conversation

maflcko
Copy link
Member

@maflcko maflcko commented Feb 21, 2022

This happens when checking all blocks (-1).

To test:

./configure CC=clang CXX=clang++ --with-sanitizers=undefined,integer
make
UBSAN_OPTIONS="suppressions=$(pwd)/test/sanitizer_suppressions/ubsan:print_stacktrace=1:halt_on_error=1:report_error_type=1" ./test/functional/rpc_blockchain.py

Copy link
Contributor

@theStack theStack left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code-review ACK fa79916

Comment on lines +132 to +133
int check_blocks,
int check_level,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should assert(check_blocks >= 0) and assert(check_level >= 0) be added?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, this will crash the test

Copy link
Contributor

@brunoerg brunoerg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

crACK fa79916

@maflcko maflcko merged commit c7da61d into bitcoin:master Feb 28, 2022
@maflcko maflcko deleted the 2202-intB branch February 28, 2022 11:50
sidhujag pushed a commit to syscoin/syscoin that referenced this pull request Mar 1, 2022
@bitcoin bitcoin locked and limited conversation to collaborators Feb 28, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants