Skip to content
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

undefined behavior "upcast of misaligned address" detected by UBSan w/wallet.send test #406

Closed
androm3da opened this issue Jan 5, 2018 · 2 comments

Comments

@androm3da
Copy link
Contributor

SUMMARY: AddressSanitizer: undefined-behavior /usr/lib/gcc/x86_64-linux-gnu/5.4.0/../../../../include/c++/5.4.0/bits/stl_tree.h:1632:23 in 
/usr/lib/gcc/x86_64-linux-gnu/5.4.0/../../../../include/c++/5.4.0/bits/stl_tree.h:1910:28: runtime error: upcast of misaligned address 0x7ffc474864e8 for type 'std::_Rb_tree_node<std::pair<const boost::multiprecision::number<boost::multiprecision::backends::cpp_int_backend<128, 128, boost::multiprecision::cpp_integer_type::unsigned_magnitude, boost::multiprecision::cpp_int_check_type::unchecked, void>, boost::multiprecision::expression_template_option::et_off>, std::shared_ptr<rai::block> > >', which requires 16 byte alignment
0x7ffc474864e8: note: pointer points here
 fc 7f 00 00  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  e8 64 48 47 fc 7f 00 00  e8 64 48 47
              ^ 

@androm3da
Copy link
Contributor Author

Might need to be blacklisted if it's a libstdc++ bug.

@rkeene rkeene self-assigned this Aug 23, 2018
@rkeene rkeene added this to the V18.0 milestone Aug 23, 2018
@zhyatt zhyatt added this to Unscheduled in V18 Dec 27, 2018
@rkeene rkeene moved this from Unscheduled to CP 1 (2018-01-09) in V18 Dec 31, 2018
@zhyatt zhyatt moved this from CP 1 (2018-01-09) to CP 2 (2018-01-16) in V18 Jan 8, 2019
@zhyatt zhyatt moved this from CP 2 (2018-01-16) to CP 3 (2018-01-23) in V18 Jan 17, 2019
@zhyatt zhyatt moved this from CP 3 (2018-01-23) to Nice to have in V18 Jan 22, 2019
@zhyatt zhyatt removed this from Nice to have in V18 Feb 6, 2019
@zhyatt zhyatt modified the milestones: V18.0, V19.0 Feb 6, 2019
@zhyatt zhyatt assigned cryptocode and unassigned rkeene Feb 6, 2019
@cryptocode cryptocode added this to CP1 in V19 Feb 15, 2019
@cryptocode
Copy link
Contributor

Known libstdc++ issue, fixed in 2015, see e.g. https://bugs.chromium.org/p/chromium/issues/detail?id=532101

@zhyatt zhyatt removed this from CP1 (2019-03-13) in V19 Mar 5, 2019
@zhyatt zhyatt modified the milestones: V19.0, V18.0 Mar 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants