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

HWASAN does not work with -shared-asan and LD_PRELOAD when testing in uninstrumented Python interpreter #1245

Open
jiridanek opened this issue May 9, 2020 · 5 comments

Comments

@jiridanek
Copy link

Same environment as in #1243, that is, python c module compiled with -shared-asan, and running in uninstrumented Python3 interpreter with LD_PRELOAD set. I also tried some Ruby tests as well.

Some Ruby tests are actually passing, but some are reporting tag-mismatch at unlikely places. I debugged the following tests

List of crashes

25 - python-test (Failed)

==115233==ERROR: HWAddressSanitizer: tag-mismatch on address 0xffff84016b60 at pc 0xffff83f68348
https://gist.github.com/jiridanek/bb6b0a80800d880d3c119d2b425915a7#file-25-python-test-failed-log

27 - ruby-example-test (Failed)

==115319==ERROR: HWAddressSanitizer: tag-mismatch on address 0xffffaf72bac0 at pc 0xffffaf6672e8
https://gist.github.com/jiridanek/bb6b0a80800d880d3c119d2b425915a7#file-27-ruby-example-test-failed-log

29 - ruby-test-container (Failed)

==115341==ERROR: HWAddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0xffff82ec0d4c bp 0xffff809fa290 sp 0xffff809fa1f0 T115346)
https://gist.github.com/jiridanek/bb6b0a80800d880d3c119d2b425915a7#file-29-ruby-test-container-failed-log

40 - ruby-data-spec (Failed)

A data object#test_0060_can hold a binary = ==115352==ERROR: HWAddressSanitizer: tag-mismatch on address 0xffffde7446ec at pc 0xffff909f57a0
https://gist.github.com/jiridanek/bb6b0a80800d880d3c119d2b425915a7#file-29-ruby-test-container-failed-log

Debugger output

25 - python-test (Failed)

* thread #1, name = 'python3', stop reason = breakpoint 1.1
    frame #0: 0x0000fffff5e28318 _cproton.so`SWIG_This at cprotonPYTHON_wrap.c:1954:7
   1951 SWIGRUNTIME PyObject *
   1952 SWIG_This(void)
   1953 {
-> 1954   if (Swig_This_global == NULL)
   1955     Swig_This_global = SWIG_Python_str_FromChar("this");
   1956   return Swig_This_global;
   1957 }
(lldb) p Swig_This_global
(PyObject *) $0 = 0x0000000000000000
(lldb) s
==118106==ERROR: HWAddressSanitizer: tag-mismatch on address 0xfffff5ed6b60 at pc 0xfffff5e28348
READ of size 8 at 0xfffff5ed6b60 tags: 88/00 (ptr/mem) in thread T0
    #0 0xfffff5e28344 in SWIG_This /home/ubuntu/repos/qpid-proton-0.31.0/clang/python/CMakeFiles/_cproton.dir/cprotonPYTHON_wrap.c:1954:7
    #1 0xfffff5e24b74 in PyInit__cproton /home/ubuntu/repos/qpid-proton-0.31.0/clang/python/CMakeFiles/_cproton.dir/cprotonPYTHON_wrap.c:20120:3

27 - ruby-example-test (Failed)

Process 118167 stopped
* thread #1, name = 'ruby', stop reason = breakpoint 1.1
    frame #0: 0x0000fffff247a2b8 cproton.so`SWIG_Ruby_InitRuntime at cprotonRUBY_wrap.c:1496:7
   1493 SWIGRUNTIME void
   1494 SWIG_Ruby_InitRuntime(void)
   1495 {
-> 1496   if (_mSWIG == Qnil) {
   1497     _mSWIG = rb_define_module("SWIG");
   1498     swig_call_id  = rb_intern("call");
   1499     swig_arity_id = rb_intern("arity");
(lldb) p _mSWIG
(VALUE) $0 = 8
(lldb) p Qnil
error: <user expression 1>:1:1: use of undeclared identifier 'Qnil'
Qnil
^
(lldb) s
==118167==ERROR: HWAddressSanitizer: tag-mismatch on address 0xfffff253eac0 at pc 0xfffff247a2e8
READ of size 8 at 0xfffff253eac0 tags: aa/00 (ptr/mem) in thread T0

29 - ruby-test-container (Failed)

in debugger does similar thing as 27, linenubmers are different though; outside of debugger it is that SEGV

(lldb) b cprotonRUBY_wrap.c:1496
Breakpoint 1: where = cproton.so`SWIG_Ruby_InitRuntime + 12 at cprotonRUBY_wrap.c:1496:7, address = 0x0000fffff23eb2b8
(lldb) run
Process 118492 launched: '/usr/bin/ruby' (aarch64)
Process 118492 stopped
* thread #1, name = 'ruby', stop reason = breakpoint 1.1
    frame #0: 0x0000fffff23da2b8 cproton.so`SWIG_Ruby_InitRuntime at cprotonRUBY_wrap.c:1496:7
   1493 SWIGRUNTIME void
   1494 SWIG_Ruby_InitRuntime(void)
   1495 {
-> 1496   if (_mSWIG == Qnil) {
   1497     _mSWIG = rb_define_module("SWIG");
   1498     swig_call_id  = rb_intern("call");
   1499     swig_arity_id = rb_intern("arity");

25 with halt_on_error=false

There is a list of places where I got failures then

$ cat uniq.txt
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/c/src/core/codec.c:1144:12 in pn_data_vscan
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/c/src/core/codec.c:1144:20 in pn_data_vscan
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/c/src/core/codec.c:575:10 in pn_data_vfill
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/c/src/core/codec.c:576:17 in pn_data_vfill
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/c/src/core/codec.c:685:32 in pn_data_vfill
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/c/src/core/codec.c:823:10 in pn_data_vscan
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/c/src/core/codec.c:824:17 in pn_data_vscan
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/c/src/core/object/object.c:101:21 in pn_class_decref
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/c/src/core/object/object.c:104:16 in pn_class_decref
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/c/src/core/object/object.c:119:20 in pn_class_free
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/c/src/core/object/object.c:120:21 in pn_class_free
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/c/src/core/object/object.c:137:17 in pn_class_reify
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/c/src/core/object/object.c:64:25 in pn_class_new
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/c/src/core/object/object.c:65:14 in pn_class_new
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/c/src/core/object/object.c:66:12 in pn_class_new
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/c/src/core/object/object.c:75:20 in pn_class_incref
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/c/src/core/object/object.c:76:12 in pn_class_incref
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/c/src/core/object/object.c:84:18 in pn_class_refcount
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/c/src/core/object/object.c:85:17 in pn_class_refcount
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/c/src/core/object/object.c:93:20 in pn_class_decref
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/c/src/core/object/object.c:94:12 in pn_class_decref
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/c/src/core/object/object.c:95:21 in pn_class_decref
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/c/src/core/object/object.c:97:18 in pn_class_decref
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/c/src/core/object/object.c:98:16 in pn_class_decref
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/c/src/core/transport.c:1878:7 in transport_consume
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/c/src/core/transport.c:248:39 in pn_io_layer_input_setup
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/c/src/core/transport.c:254:39 in pn_io_layer_output_setup
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/c/src/core/transport.c:2765:7 in transport_produce
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/clang/python/CMakeFiles/_cproton.dir/cprotonPYTHON_wrap.c:10166:10 in _wrap_pn_delivery_attachments
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/clang/python/CMakeFiles/_cproton.dir/cprotonPYTHON_wrap.c:10176:15 in _wrap_pn_delivery_attachments
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/clang/python/CMakeFiles/_cproton.dir/cprotonPYTHON_wrap.c:10222:10 in _wrap_pn_delivery_local
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/clang/python/CMakeFiles/_cproton.dir/cprotonPYTHON_wrap.c:10232:15 in _wrap_pn_delivery_local
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/clang/python/CMakeFiles/_cproton.dir/cprotonPYTHON_wrap.c:10278:10 in _wrap_pn_delivery_remote
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/clang/python/CMakeFiles/_cproton.dir/cprotonPYTHON_wrap.c:10288:15 in _wrap_pn_delivery_remote
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/clang/python/CMakeFiles/_cproton.dir/cprotonPYTHON_wrap.c:10646:10 in _wrap_pn_delivery_settle
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/clang/python/CMakeFiles/_cproton.dir/cprotonPYTHON_wrap.c:11163:15 in _wrap_pn_transport
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/clang/python/CMakeFiles/_cproton.dir/cprotonPYTHON_wrap.c:11466:10 in _wrap_pn_transport_bind
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/clang/python/CMakeFiles/_cproton.dir/cprotonPYTHON_wrap.c:11471:10 in _wrap_pn_transport_bind
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/clang/python/CMakeFiles/_cproton.dir/cprotonPYTHON_wrap.c:11526:10 in _wrap_pn_transport_trace
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/clang/python/CMakeFiles/_cproton.dir/cprotonPYTHON_wrap.c:11677:10 in _wrap_pn_transport_attachments
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/clang/python/CMakeFiles/_cproton.dir/cprotonPYTHON_wrap.c:11687:15 in _wrap_pn_transport_attachments
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/clang/python/CMakeFiles/_cproton.dir/cprotonPYTHON_wrap.c:11792:10 in _wrap_pn_transport_get_channel_max
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/clang/python/CMakeFiles/_cproton.dir/cprotonPYTHON_wrap.c:11821:10 in _wrap_pn_transport_set_channel_max
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/clang/python/CMakeFiles/_cproton.dir/cprotonPYTHON_wrap.c:11908:10 in _wrap_pn_transport_set_max_frame
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/clang/python/CMakeFiles/_cproton.dir/cprotonPYTHON_wrap.c:12146:10 in _wrap_pn_transport_capacity
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/clang/python/CMakeFiles/_cproton.dir/cprotonPYTHON_wrap.c:12261:10 in _wrap_pn_transport_pending
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/clang/python/CMakeFiles/_cproton.dir/cprotonPYTHON_wrap.c:12316:10 in _wrap_pn_transport_pop
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/clang/python/CMakeFiles/_cproton.dir/cprotonPYTHON_wrap.c:1481:24 in SwigPyObject_type
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/clang/python/CMakeFiles/_cproton.dir/cprotonPYTHON_wrap.c:1481:50 in SwigPyObject_type
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/clang/python/CMakeFiles/_cproton.dir/cprotonPYTHON_wrap.c:1482:10 in SwigPyObject_type
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/clang/python/CMakeFiles/_cproton.dir/cprotonPYTHON_wrap.c:15606:15 in _wrap_pn_data
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/clang/python/CMakeFiles/_cproton.dir/cprotonPYTHON_wrap.c:15622:10 in _wrap_pn_data_free
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/clang/python/CMakeFiles/_cproton.dir/cprotonPYTHON_wrap.c:15861:10 in _wrap_pn_data_rewind
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/clang/python/CMakeFiles/_cproton.dir/cprotonPYTHON_wrap.c:15888:10 in _wrap_pn_data_next
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/clang/python/CMakeFiles/_cproton.dir/cprotonPYTHON_wrap.c:15942:10 in _wrap_pn_data_enter
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/clang/python/CMakeFiles/_cproton.dir/cprotonPYTHON_wrap.c:15969:10 in _wrap_pn_data_exit
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/clang/python/CMakeFiles/_cproton.dir/cprotonPYTHON_wrap.c:15999:10 in _wrap_pn_data_lookup
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/clang/python/CMakeFiles/_cproton.dir/cprotonPYTHON_wrap.c:16033:10 in _wrap_pn_data_type
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/clang/python/CMakeFiles/_cproton.dir/cprotonPYTHON_wrap.c:16114:10 in _wrap_pn_data_put_list
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/clang/python/CMakeFiles/_cproton.dir/cprotonPYTHON_wrap.c:16141:10 in _wrap_pn_data_put_map
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/clang/python/CMakeFiles/_cproton.dir/cprotonPYTHON_wrap.c:16173:10 in _wrap_pn_data_put_array
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/clang/python/CMakeFiles/_cproton.dir/cprotonPYTHON_wrap.c:16210:10 in _wrap_pn_data_put_described
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/clang/python/CMakeFiles/_cproton.dir/cprotonPYTHON_wrap.c:16237:10 in _wrap_pn_data_put_null
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/clang/python/CMakeFiles/_cproton.dir/cprotonPYTHON_wrap.c:16266:10 in _wrap_pn_data_put_bool
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/clang/python/CMakeFiles/_cproton.dir/cprotonPYTHON_wrap.c:16300:10 in _wrap_pn_data_put_ubyte
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/clang/python/CMakeFiles/_cproton.dir/cprotonPYTHON_wrap.c:16334:10 in _wrap_pn_data_put_byte
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/clang/python/CMakeFiles/_cproton.dir/cprotonPYTHON_wrap.c:16368:10 in _wrap_pn_data_put_ushort
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/clang/python/CMakeFiles/_cproton.dir/cprotonPYTHON_wrap.c:16402:10 in _wrap_pn_data_put_short
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/clang/python/CMakeFiles/_cproton.dir/cprotonPYTHON_wrap.c:16436:10 in _wrap_pn_data_put_uint
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/clang/python/CMakeFiles/_cproton.dir/cprotonPYTHON_wrap.c:16470:10 in _wrap_pn_data_put_int
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/clang/python/CMakeFiles/_cproton.dir/cprotonPYTHON_wrap.c:16504:10 in _wrap_pn_data_put_char
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/clang/python/CMakeFiles/_cproton.dir/cprotonPYTHON_wrap.c:16538:10 in _wrap_pn_data_put_ulong
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/clang/python/CMakeFiles/_cproton.dir/cprotonPYTHON_wrap.c:16572:10 in _wrap_pn_data_put_long
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/clang/python/CMakeFiles/_cproton.dir/cprotonPYTHON_wrap.c:16606:10 in _wrap_pn_data_put_timestamp
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/clang/python/CMakeFiles/_cproton.dir/cprotonPYTHON_wrap.c:16640:10 in _wrap_pn_data_put_float
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/clang/python/CMakeFiles/_cproton.dir/cprotonPYTHON_wrap.c:16674:10 in _wrap_pn_data_put_double
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/clang/python/CMakeFiles/_cproton.dir/cprotonPYTHON_wrap.c:16708:10 in _wrap_pn_data_put_decimal32
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/clang/python/CMakeFiles/_cproton.dir/cprotonPYTHON_wrap.c:16742:10 in _wrap_pn_data_put_decimal64
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/clang/python/CMakeFiles/_cproton.dir/cprotonPYTHON_wrap.c:1675:8 in SwigPyObject_TypeOnce
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/clang/python/CMakeFiles/_cproton.dir/cprotonPYTHON_wrap.c:16774:10 in _wrap_pn_data_put_decimal128
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/clang/python/CMakeFiles/_cproton.dir/cprotonPYTHON_wrap.c:16814:10 in _wrap_pn_data_put_uuid
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/clang/python/CMakeFiles/_cproton.dir/cprotonPYTHON_wrap.c:16854:10 in _wrap_pn_data_put_binary
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/clang/python/CMakeFiles/_cproton.dir/cprotonPYTHON_wrap.c:16894:10 in _wrap_pn_data_put_string
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/clang/python/CMakeFiles/_cproton.dir/cprotonPYTHON_wrap.c:16934:10 in _wrap_pn_data_put_symbol
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/clang/python/CMakeFiles/_cproton.dir/cprotonPYTHON_wrap.c:16974:10 in _wrap_pn_data_get_list
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/clang/python/CMakeFiles/_cproton.dir/cprotonPYTHON_wrap.c:17028:10 in _wrap_pn_data_get_array
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/clang/python/CMakeFiles/_cproton.dir/cprotonPYTHON_wrap.c:17055:10 in _wrap_pn_data_is_array_described
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/clang/python/CMakeFiles/_cproton.dir/cprotonPYTHON_wrap.c:17082:10 in _wrap_pn_data_get_array_type
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/clang/python/CMakeFiles/_cproton.dir/cprotonPYTHON_wrap.c:17163:10 in _wrap_pn_data_get_bool
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/clang/python/CMakeFiles/_cproton.dir/cprotonPYTHON_wrap.c:17190:10 in _wrap_pn_data_get_ubyte
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/clang/python/CMakeFiles/_cproton.dir/cprotonPYTHON_wrap.c:17217:10 in _wrap_pn_data_get_byte
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/clang/python/CMakeFiles/_cproton.dir/cprotonPYTHON_wrap.c:17244:10 in _wrap_pn_data_get_ushort
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/clang/python/CMakeFiles/_cproton.dir/cprotonPYTHON_wrap.c:17271:10 in _wrap_pn_data_get_short
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/clang/python/CMakeFiles/_cproton.dir/cprotonPYTHON_wrap.c:17298:10 in _wrap_pn_data_get_uint
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/clang/python/CMakeFiles/_cproton.dir/cprotonPYTHON_wrap.c:17325:10 in _wrap_pn_data_get_int
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/clang/python/CMakeFiles/_cproton.dir/cprotonPYTHON_wrap.c:17352:10 in _wrap_pn_data_get_char
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/clang/python/CMakeFiles/_cproton.dir/cprotonPYTHON_wrap.c:17379:10 in _wrap_pn_data_get_ulong
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/clang/python/CMakeFiles/_cproton.dir/cprotonPYTHON_wrap.c:17406:10 in _wrap_pn_data_get_long
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/clang/python/CMakeFiles/_cproton.dir/cprotonPYTHON_wrap.c:17433:10 in _wrap_pn_data_get_timestamp
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/clang/python/CMakeFiles/_cproton.dir/cprotonPYTHON_wrap.c:1745:15 in SwigPyObject_TypeOnce
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/clang/python/CMakeFiles/_cproton.dir/cprotonPYTHON_wrap.c:17460:10 in _wrap_pn_data_get_float
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/clang/python/CMakeFiles/_cproton.dir/cprotonPYTHON_wrap.c:17487:10 in _wrap_pn_data_get_double
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/clang/python/CMakeFiles/_cproton.dir/cprotonPYTHON_wrap.c:17514:10 in _wrap_pn_data_get_decimal32
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/clang/python/CMakeFiles/_cproton.dir/cprotonPYTHON_wrap.c:17541:10 in _wrap_pn_data_get_decimal64
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/clang/python/CMakeFiles/_cproton.dir/cprotonPYTHON_wrap.c:1755:24 in SwigPyObject_New
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/clang/python/CMakeFiles/_cproton.dir/cprotonPYTHON_wrap.c:17568:10 in _wrap_pn_data_get_decimal128
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/clang/python/CMakeFiles/_cproton.dir/cprotonPYTHON_wrap.c:17597:10 in _wrap_pn_data_get_uuid
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/clang/python/CMakeFiles/_cproton.dir/cprotonPYTHON_wrap.c:17626:10 in _wrap_pn_data_get_binary
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/clang/python/CMakeFiles/_cproton.dir/cprotonPYTHON_wrap.c:17655:10 in _wrap_pn_data_get_string
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/clang/python/CMakeFiles/_cproton.dir/cprotonPYTHON_wrap.c:17684:10 in _wrap_pn_data_get_symbol
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/clang/python/CMakeFiles/_cproton.dir/cprotonPYTHON_wrap.c:17744:10 in _wrap_pn_data_copy
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/clang/python/CMakeFiles/_cproton.dir/cprotonPYTHON_wrap.c:17749:10 in _wrap_pn_data_copy
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/clang/python/CMakeFiles/_cproton.dir/cprotonPYTHON_wrap.c:17851:10 in _wrap_pn_data_narrow
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/clang/python/CMakeFiles/_cproton.dir/cprotonPYTHON_wrap.c:17877:10 in _wrap_pn_data_widen
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/clang/python/CMakeFiles/_cproton.dir/cprotonPYTHON_wrap.c:1811:24 in SwigPyPacked_type
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/clang/python/CMakeFiles/_cproton.dir/cprotonPYTHON_wrap.c:1811:50 in SwigPyPacked_type
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/clang/python/CMakeFiles/_cproton.dir/cprotonPYTHON_wrap.c:1812:10 in SwigPyPacked_type
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/clang/python/CMakeFiles/_cproton.dir/cprotonPYTHON_wrap.c:1836:8 in SwigPyPacked_TypeOnce
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/clang/python/CMakeFiles/_cproton.dir/cprotonPYTHON_wrap.c:1906:15 in SwigPyPacked_TypeOnce
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/clang/python/CMakeFiles/_cproton.dir/cprotonPYTHON_wrap.c:19523:19 in SWIG_InitializeModule
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/clang/python/CMakeFiles/_cproton.dir/cprotonPYTHON_wrap.c:19525:30 in SWIG_InitializeModule
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/clang/python/CMakeFiles/_cproton.dir/cprotonPYTHON_wrap.c:19526:30 in SWIG_InitializeModule
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/clang/python/CMakeFiles/_cproton.dir/cprotonPYTHON_wrap.c:19527:22 in SWIG_InitializeModule
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/clang/python/CMakeFiles/_cproton.dir/cprotonPYTHON_wrap.c:1954:7 in SWIG_This
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/clang/python/CMakeFiles/_cproton.dir/cprotonPYTHON_wrap.c:1955:22 in SWIG_This
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/clang/python/CMakeFiles/_cproton.dir/cprotonPYTHON_wrap.c:19565:31 in SWIG_InitializeModule
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/clang/python/CMakeFiles/_cproton.dir/cprotonPYTHON_wrap.c:1956:10 in SWIG_This
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/clang/python/CMakeFiles/_cproton.dir/cprotonPYTHON_wrap.c:19575:21 in SWIG_InitializeModule
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/clang/python/CMakeFiles/_cproton.dir/cprotonPYTHON_wrap.c:19590:14 in SWIG_InitializeModule
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/clang/python/CMakeFiles/_cproton.dir/cprotonPYTHON_wrap.c:19590:26 in SWIG_InitializeModule
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/clang/python/CMakeFiles/_cproton.dir/cprotonPYTHON_wrap.c:19594:12 in SWIG_InitializeModule
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/clang/python/CMakeFiles/_cproton.dir/cprotonPYTHON_wrap.c:19594:24 in SWIG_InitializeModule
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/clang/python/CMakeFiles/_cproton.dir/cprotonPYTHON_wrap.c:19595:18 in SWIG_InitializeModule
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/clang/python/CMakeFiles/_cproton.dir/cprotonPYTHON_wrap.c:19601:23 in SWIG_InitializeModule
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/clang/python/CMakeFiles/_cproton.dir/cprotonPYTHON_wrap.c:19628:19 in SWIG_InitializeModule
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/clang/python/CMakeFiles/_cproton.dir/cprotonPYTHON_wrap.c:19632:20 in SWIG_InitializeModule
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/clang/python/CMakeFiles/_cproton.dir/cprotonPYTHON_wrap.c:19637:17 in SWIG_InitializeModule
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/clang/python/CMakeFiles/_cproton.dir/cprotonPYTHON_wrap.c:19637:26 in SWIG_InitializeModule
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/clang/python/CMakeFiles/_cproton.dir/cprotonPYTHON_wrap.c:19639:15 in SWIG_InitializeModule
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/clang/python/CMakeFiles/_cproton.dir/cprotonPYTHON_wrap.c:19639:24 in SWIG_InitializeModule
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/clang/python/CMakeFiles/_cproton.dir/cprotonPYTHON_wrap.c:19818:10 in swig_varlink_type
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/clang/python/CMakeFiles/_cproton.dir/cprotonPYTHON_wrap.c:19865:17 in swig_varlink_type
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/clang/python/CMakeFiles/_cproton.dir/cprotonPYTHON_wrap.c:19875:34 in SWIG_Python_newvarlink
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/clang/python/CMakeFiles/_cproton.dir/cprotonPYTHON_wrap.c:19902:10 in SWIG_globals
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/clang/python/CMakeFiles/_cproton.dir/cprotonPYTHON_wrap.c:19903:15 in SWIG_globals
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/clang/python/CMakeFiles/_cproton.dir/cprotonPYTHON_wrap.c:19905:12 in SWIG_globals
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/clang/python/CMakeFiles/_cproton.dir/cprotonPYTHON_wrap.c:19917:30 in SWIG_Python_InstallConstants
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/clang/python/CMakeFiles/_cproton.dir/cprotonPYTHON_wrap.c:19946:28 in SWIG_Python_FixMethods
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/clang/python/CMakeFiles/_cproton.dir/cprotonPYTHON_wrap.c:19947:34 in SWIG_Python_FixMethods
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/clang/python/CMakeFiles/_cproton.dir/cprotonPYTHON_wrap.c:2303:50 in SWIG_Python_NewPointerObj
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/clang/python/CMakeFiles/_cproton.dir/cprotonPYTHON_wrap.c:2365:8 in SWIG_Python_GetModule
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/clang/python/CMakeFiles/_cproton.dir/cprotonPYTHON_wrap.c:2369:18 in SWIG_Python_GetModule
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/clang/python/CMakeFiles/_cproton.dir/cprotonPYTHON_wrap.c:2372:20 in SWIG_Python_GetModule
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/clang/python/CMakeFiles/_cproton.dir/cprotonPYTHON_wrap.c:2376:31 in SWIG_Python_GetModule
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/clang/python/CMakeFiles/_cproton.dir/cprotonPYTHON_wrap.c:2416:20 in SWIG_Python_TypeCache
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/clang/python/CMakeFiles/_cproton.dir/cprotonPYTHON_wrap.c:2416:47 in SWIG_Python_TypeCache
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/clang/python/CMakeFiles/_cproton.dir/cprotonPYTHON_wrap.c:2417:10 in SWIG_Python_TypeCache
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/clang/python/CMakeFiles/_cproton.dir/cprotonPYTHON_wrap.c:3808:10 in _wrap_pn_transport_push
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/clang/python/CMakeFiles/_cproton.dir/cprotonPYTHON_wrap.c:3854:10 in _wrap_pn_transport_peek
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/clang/python/CMakeFiles/_cproton.dir/cprotonPYTHON_wrap.c:3897:10 in _wrap_pn_delivery
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/clang/python/CMakeFiles/_cproton.dir/cprotonPYTHON_wrap.c:3913:15 in _wrap_pn_delivery
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/clang/python/CMakeFiles/_cproton.dir/cprotonPYTHON_wrap.c:3968:10 in _wrap_pn_data_decode
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/clang/python/CMakeFiles/_cproton.dir/cprotonPYTHON_wrap.c:4014:10 in _wrap_pn_data_encode
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/clang/python/CMakeFiles/_cproton.dir/cprotonPYTHON_wrap.c:4057:10 in _wrap_pn_data_format
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/clang/python/CMakeFiles/_cproton.dir/cprotonPYTHON_wrap.c:4302:11 in Swig_var_PN_PYREF_get
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/clang/python/CMakeFiles/_cproton.dir/cprotonPYTHON_wrap.c:4419:15 in _wrap_pn_py2void
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/clang/python/CMakeFiles/_cproton.dir/cprotonPYTHON_wrap.c:4614:11 in Swig_var_pn_bytes_null_get
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/clang/python/CMakeFiles/_cproton.dir/cprotonPYTHON_wrap.c:4665:11 in Swig_var_pn_rwbytes_null_get
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/clang/python/CMakeFiles/_cproton.dir/cprotonPYTHON_wrap.c:4679:11 in Swig_var_PN_OBJECT_get
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/clang/python/CMakeFiles/_cproton.dir/cprotonPYTHON_wrap.c:4693:11 in Swig_var_PN_VOID_get
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/clang/python/CMakeFiles/_cproton.dir/cprotonPYTHON_wrap.c:4707:11 in Swig_var_PN_WEAKREF_get
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/clang/python/CMakeFiles/_cproton.dir/cprotonPYTHON_wrap.c:5475:15 in _wrap_pn_incref
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/clang/python/CMakeFiles/_cproton.dir/cprotonPYTHON_wrap.c:5784:10 in _wrap_pn_record_def
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/clang/python/CMakeFiles/_cproton.dir/cprotonPYTHON_wrap.c:5792:10 in _wrap_pn_record_def
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/clang/python/CMakeFiles/_cproton.dir/cprotonPYTHON_wrap.c:5849:10 in _wrap_pn_record_get
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/clang/python/CMakeFiles/_cproton.dir/cprotonPYTHON_wrap.c:5862:15 in _wrap_pn_record_get
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/clang/python/CMakeFiles/_cproton.dir/cprotonPYTHON_wrap.c:5880:10 in _wrap_pn_record_set
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/clang/python/CMakeFiles/_cproton.dir/cprotonPYTHON_wrap.c:6236:10 in _wrap_pn_condition_is_set
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/clang/python/CMakeFiles/_cproton.dir/cprotonPYTHON_wrap.c:6262:10 in _wrap_pn_condition_clear
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/clang/python/CMakeFiles/_cproton.dir/cprotonPYTHON_wrap.c:6289:10 in _wrap_pn_condition_get_name
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/clang/python/CMakeFiles/_cproton.dir/cprotonPYTHON_wrap.c:6319:10 in _wrap_pn_condition_set_name
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/clang/python/CMakeFiles/_cproton.dir/cprotonPYTHON_wrap.c:6353:10 in _wrap_pn_condition_get_description
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/clang/python/CMakeFiles/_cproton.dir/cprotonPYTHON_wrap.c:6383:10 in _wrap_pn_condition_set_description
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/clang/python/CMakeFiles/_cproton.dir/cprotonPYTHON_wrap.c:6417:10 in _wrap_pn_condition_info
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/clang/python/CMakeFiles/_cproton.dir/cprotonPYTHON_wrap.c:6427:15 in _wrap_pn_condition_info
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/clang/python/CMakeFiles/_cproton.dir/cprotonPYTHON_wrap.c:6604:15 in _wrap_pn_connection
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/clang/python/CMakeFiles/_cproton.dir/cprotonPYTHON_wrap.c:6822:10 in _wrap_pn_connection_attachments
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/clang/python/CMakeFiles/_cproton.dir/cprotonPYTHON_wrap.c:6832:15 in _wrap_pn_connection_attachments
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/clang/python/CMakeFiles/_cproton.dir/cprotonPYTHON_wrap.c:6849:10 in _wrap_pn_connection_state
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/clang/python/CMakeFiles/_cproton.dir/cprotonPYTHON_wrap.c:6877:10 in _wrap_pn_connection_open
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/clang/python/CMakeFiles/_cproton.dir/cprotonPYTHON_wrap.c:6905:10 in _wrap_pn_connection_close
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/clang/python/CMakeFiles/_cproton.dir/cprotonPYTHON_wrap.c:6960:10 in _wrap_pn_connection_condition
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/clang/python/CMakeFiles/_cproton.dir/cprotonPYTHON_wrap.c:6970:15 in _wrap_pn_connection_condition
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/clang/python/CMakeFiles/_cproton.dir/cprotonPYTHON_wrap.c:6987:10 in _wrap_pn_connection_remote_condition
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/clang/python/CMakeFiles/_cproton.dir/cprotonPYTHON_wrap.c:6997:15 in _wrap_pn_connection_remote_condition
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/clang/python/CMakeFiles/_cproton.dir/cprotonPYTHON_wrap.c:7083:10 in _wrap_pn_connection_set_user
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/clang/python/CMakeFiles/_cproton.dir/cprotonPYTHON_wrap.c:7119:10 in _wrap_pn_connection_set_password
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/clang/python/CMakeFiles/_cproton.dir/cprotonPYTHON_wrap.c:7153:10 in _wrap_pn_connection_get_user
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/clang/python/CMakeFiles/_cproton.dir/cprotonPYTHON_wrap.c:7305:10 in _wrap_pn_connection_offered_capabilities
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/clang/python/CMakeFiles/_cproton.dir/cprotonPYTHON_wrap.c:7315:15 in _wrap_pn_connection_offered_capabilities
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/clang/python/CMakeFiles/_cproton.dir/cprotonPYTHON_wrap.c:7332:10 in _wrap_pn_connection_desired_capabilities
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/clang/python/CMakeFiles/_cproton.dir/cprotonPYTHON_wrap.c:7342:15 in _wrap_pn_connection_desired_capabilities
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/clang/python/CMakeFiles/_cproton.dir/cprotonPYTHON_wrap.c:7359:10 in _wrap_pn_connection_properties
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/clang/python/CMakeFiles/_cproton.dir/cprotonPYTHON_wrap.c:7369:15 in _wrap_pn_connection_properties
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/clang/python/CMakeFiles/_cproton.dir/cprotonPYTHON_wrap.c:7386:10 in _wrap_pn_connection_remote_offered_capabilities
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/clang/python/CMakeFiles/_cproton.dir/cprotonPYTHON_wrap.c:7396:15 in _wrap_pn_connection_remote_offered_capabilities
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/clang/python/CMakeFiles/_cproton.dir/cprotonPYTHON_wrap.c:7413:10 in _wrap_pn_connection_remote_desired_capabilities
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/clang/python/CMakeFiles/_cproton.dir/cprotonPYTHON_wrap.c:7423:15 in _wrap_pn_connection_remote_desired_capabilities
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/clang/python/CMakeFiles/_cproton.dir/cprotonPYTHON_wrap.c:7440:10 in _wrap_pn_connection_remote_properties
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/clang/python/CMakeFiles/_cproton.dir/cprotonPYTHON_wrap.c:7450:15 in _wrap_pn_connection_remote_properties
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/clang/python/CMakeFiles/_cproton.dir/cprotonPYTHON_wrap.c:7467:10 in _wrap_pn_connection_transport
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/clang/python/CMakeFiles/_cproton.dir/cprotonPYTHON_wrap.c:7477:15 in _wrap_pn_connection_transport
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/clang/python/CMakeFiles/_cproton.dir/cprotonPYTHON_wrap.c:7494:10 in _wrap_pn_session
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/clang/python/CMakeFiles/_cproton.dir/cprotonPYTHON_wrap.c:7506:15 in _wrap_pn_session
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/clang/python/CMakeFiles/_cproton.dir/cprotonPYTHON_wrap.c:7609:10 in _wrap_pn_session_attachments
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/clang/python/CMakeFiles/_cproton.dir/cprotonPYTHON_wrap.c:7619:15 in _wrap_pn_session_attachments
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/clang/python/CMakeFiles/_cproton.dir/cprotonPYTHON_wrap.c:7636:10 in _wrap_pn_session_state
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/clang/python/CMakeFiles/_cproton.dir/cprotonPYTHON_wrap.c:7694:10 in _wrap_pn_session_condition
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/clang/python/CMakeFiles/_cproton.dir/cprotonPYTHON_wrap.c:7704:15 in _wrap_pn_session_condition
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/clang/python/CMakeFiles/_cproton.dir/cprotonPYTHON_wrap.c:7748:10 in _wrap_pn_session_connection
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/clang/python/CMakeFiles/_cproton.dir/cprotonPYTHON_wrap.c:7762:15 in _wrap_pn_session_connection
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/clang/python/CMakeFiles/_cproton.dir/cprotonPYTHON_wrap.c:7778:10 in _wrap_pn_session_open
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/clang/python/CMakeFiles/_cproton.dir/cprotonPYTHON_wrap.c:7806:10 in _wrap_pn_session_close
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/clang/python/CMakeFiles/_cproton.dir/cprotonPYTHON_wrap.c:8011:10 in _wrap_pn_session_head
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/clang/python/CMakeFiles/_cproton.dir/cprotonPYTHON_wrap.c:8028:15 in _wrap_pn_session_head
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/clang/python/CMakeFiles/_cproton.dir/cprotonPYTHON_wrap.c:8084:10 in _wrap_pn_sender
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/clang/python/CMakeFiles/_cproton.dir/cprotonPYTHON_wrap.c:8103:15 in _wrap_pn_sender
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/clang/python/CMakeFiles/_cproton.dir/cprotonPYTHON_wrap.c:8125:10 in _wrap_pn_receiver
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/clang/python/CMakeFiles/_cproton.dir/cprotonPYTHON_wrap.c:8144:15 in _wrap_pn_receiver
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/clang/python/CMakeFiles/_cproton.dir/cprotonPYTHON_wrap.c:8249:10 in _wrap_pn_link_attachments
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/clang/python/CMakeFiles/_cproton.dir/cprotonPYTHON_wrap.c:8259:15 in _wrap_pn_link_attachments
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/clang/python/CMakeFiles/_cproton.dir/cprotonPYTHON_wrap.c:8363:10 in _wrap_pn_link_state
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/clang/python/CMakeFiles/_cproton.dir/cprotonPYTHON_wrap.c:8421:10 in _wrap_pn_link_condition
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/clang/python/CMakeFiles/_cproton.dir/cprotonPYTHON_wrap.c:8431:15 in _wrap_pn_link_condition
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/clang/python/CMakeFiles/_cproton.dir/cprotonPYTHON_wrap.c:8475:10 in _wrap_pn_link_session
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/clang/python/CMakeFiles/_cproton.dir/cprotonPYTHON_wrap.c:8489:15 in _wrap_pn_link_session
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/clang/python/CMakeFiles/_cproton.dir/cprotonPYTHON_wrap.c:8577:10 in _wrap_pn_link_open
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/clang/python/CMakeFiles/_cproton.dir/cprotonPYTHON_wrap.c:8605:10 in _wrap_pn_link_close
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/clang/python/CMakeFiles/_cproton.dir/cprotonPYTHON_wrap.c:8859:10 in _wrap_pn_link_queued
SUMMARY: HWAddressSanitizer: tag-mismatch /mnt/repos/llvm-project/compiler-rt/lib/hwasan/hwasan_checks.h:51:3 in SigTrap<47>
SUMMARY: HWAddressSanitizer: tag-mismatch /mnt/repos/llvm-project/compiler-rt/lib/hwasan/hwasan_checks.h:51:3 in SigTrap<63>
@jiridanek
Copy link
Author

I guess at this point I could be preparing a minimal reproducer, in case -shared-asan is meant to be supported with hwasan, and reproducer is needed.

@eugenis
Copy link
Contributor

eugenis commented May 11, 2020 via email

@jiridanek
Copy link
Author

jiridanek commented May 11, 2020

-mllvm -hwasan-globals=0 looks helpful. edit: it turns off hwasan checking on global variables, as I understand.

With this option, tests 25 at least starts running, and eventually hits that GetTagFromPointer issue #1244. Test 27 passes, which is another improvement. Test 29 still SEGVs, no change there. I am still looking at test 40:

A data object#test_0062_can hold a string = Process 133958 stopped
* thread #1, name = 'ruby', stop reason = signal SIGTRAP
    frame #0: 0x0000fffff23e9bf8 cproton.so`_wrap_pn_data_put_string(argc=2, argv=0x1600fffff5e1a418, self=6773677687996717080) at cprotonRUBY_wrap.c:17091:7
   17088          pn_data_t *arg1 = (pn_data_t *) 0 ;
   17089          pn_bytes_t arg2 ;
   17090          void *argp1 = 0 ;
-> 17091          int res1 = 0 ;
   17092          int result;
   17093          VALUE vresult = Qnil;
   17094          
(lldb) frame variable
(int) argc = 2
(VALUE *) argv = 0x1600fffff5e1a418
(VALUE) self = 6773677687996717080
(pn_data_t *) arg1 = 0x0000000000000000
(pn_bytes_t) arg2 = (size = 281474976700320, start = "�)
(void *) argp1 = 0x0000000000000000
(int) res1 = 0
(int) result = 0
(VALUE) vresult = 5
(lldb) bt
* thread #1, name = 'ruby', stop reason = signal SIGTRAP
  * frame #0: 0x0000fffff23e9bf8 cproton.so`_wrap_pn_data_put_string(argc=2, argv=0x1600fffff5e1a418, self=6773677687996717080) at cprotonRUBY_wrap.c:17091:7
    frame #1: 0x0000fffff74cdd5c libruby-2.7.so.2.7`vm_call_cfunc at vm_insnhelper.c:2514:12
    frame #2: 0x0000fffff74cdca8 libruby-2.7.so.2.7`vm_call_cfunc(ec=0x5700efeeffff0050, reg_cfp=0x1600fffff5f19ac0, calling=<unavailable>, cd=0x2b00efe300013000) at vm_insnhelper.c:2539
    frame #3: 0x0000fffff74c1978 libruby-2.7.so.2.7`vm_sendish(ec=0x5700efeeffff0050, reg_cfp=0x1600fffff5f19ac0, cd=0x2b00efe300013000, block_handler=<unavailable>, method_explorer=<unavailable>) at vm_insnhelper.c:4023:11
    frame #4: 0x0000fffff74d1488 libruby-2.7.so.2.7`vm_exec_core(ec=0x5700efeeffff0050, initial=<unavailable>) at insns.def:801:11
    frame #5: 0x0000fffff74d6aa4 libruby-2.7.so.2.7`rb_vm_exec(ec=0x5700efeeffff0050, mjit_enable_p=1) at vm.c:1929:22
    frame #6: 0x0000fffff74d73a0 libruby-2.7.so.2.7`invoke_bmethod(ec=0x5700efeeffff0050, iseq=<unavailable>, self=9079520697211638560, me=0x7400eff800106eb0, type=<unavailable>, opt_pc=<unavailable>, captured=<unavailable>) at vm.c:1074:11
    frame #7: 0x0000fffff74d76cc libruby-2.7.so.2.7`rb_vm_invoke_bmethod at vm.c:1119:9
    frame #8: 0x0000fffff74d75f0 libruby-2.7.so.2.7`rb_vm_invoke_bmethod at vm.c:1216
    frame #9: 0x0000fffff74d75d8 libruby-2.7.so.2.7`rb_vm_invoke_bmethod(ec=0x5700efeeffff0050, proc=<unavailable>, self=9079520697211638560, argc=<unavailable>, argv=0x0000ffffffffdc90, kw_splat=<unavailable>, block_handler=0, me=<unavailable>) at vm.c:1245
    frame #10: 0x0000fffff74d7994 libruby-2.7.so.2.7`vm_call_bmethod at vm_insnhelper.c:2570:11
    frame #11: 0x0000fffff74d7990 libruby-2.7.so.2.7`vm_call_bmethod(ec=0x5700efeeffff0050, cfp=0x1600fffff5f19b30, calling=0x0000ffffffffde30, cd=0x0000ffffffffdd90) at vm_insnhelper.c:2590
    frame #12: 0x0000fffff74d9194 libruby-2.7.so.2.7`vm_call_opt_send at vm_insnhelper.c:3061:20
    frame #13: 0x0000fffff74d9170 libruby-2.7.so.2.7`vm_call_opt_send(ec=0x5700efeeffff0050, reg_cfp=0x1600fffff5f19b30, calling=0x0000ffffffffde30, orig_cd=<unavailable>) at vm_insnhelper.c:2661
    frame #14: 0x0000fffff74c1978 libruby-2.7.so.2.7`vm_sendish(ec=0x5700efeeffff0050, reg_cfp=0x1600fffff5f19b30, cd=0x7100efeb00000060, block_handler=<unavailable>, method_explorer=<unavailable>) at vm_insnhelper.c:4023:11
    frame #15: 0x0000fffff74d1488 libruby-2.7.so.2.7`vm_exec_core(ec=0x5700efeeffff0050, initial=<unavailable>) at insns.def:801:11
    frame #16: 0x0000fffff74d6aa4 libruby-2.7.so.2.7`rb_vm_exec(ec=0x5700efeeffff0050, mjit_enable_p=1) at vm.c:1929:22
    frame #17: 0x0000fffff74e2d10 libruby-2.7.so.2.7`rb_yield at vm.c:1044:12
    frame #18: 0x0000fffff74e2c88 libruby-2.7.so.2.7`rb_yield at vm.c:1116
    frame #19: 0x0000fffff74e2c04 libruby-2.7.so.2.7`rb_yield at vm.c:1134
    frame #20: 0x0000fffff74e2bf0 libruby-2.7.so.2.7`rb_yield [inlined] vm_yield(kw_splat=<unavailable>, argv=<unavailable>, argc=<unavailable>, ec=<unavailable>) at vm.c:1179
    frame #21: 0x0000fffff74e2bf0 libruby-2.7.so.2.7`rb_yield [inlined] rb_yield_0(argv=<unavailable>, argc=<unavailable>) at vm_eval.c:1227
    frame #22: 0x0000fffff74e2bf0 libruby-2.7.so.2.7`rb_yield [inlined] rb_yield_1(val=<unavailable>) at vm_eval.c:1233
    frame #23: 0x0000fffff74e2bf0 libruby-2.7.so.2.7`rb_yield(val=<unavailable>) at vm_eval.c:1243
    frame #24: 0x0000fffff7303acc libruby-2.7.so.2.7`rb_ary_each at array.c:2135:2
    frame #25: 0x0000fffff74cdd5c libruby-2.7.so.2.7`vm_call_cfunc at vm_insnhelper.c:2514:12
    frame #26: 0x0000fffff74cdca8 libruby-2.7.so.2.7`vm_call_cfunc(ec=0x5700efeeffff0050, reg_cfp=0x1600fffff5f19dd0, calling=<unavailable>, cd=0xf400efe100037100) at vm_insnhelper.c:2539
    frame #27: 0x0000fffff74d8c34 libruby-2.7.so.2.7`vm_call_method(ec=0x5700efeeffff0050, cfp=0x1600fffff5f19dd0, calling=0x0000ffffffffe330, cd=0xf400efe100037100) at vm_insnhelper.c:3053:32
    frame #28: 0x0000fffff74c1978 libruby-2.7.so.2.7`vm_sendish(ec=0x5700efeeffff0050, reg_cfp=0x1600fffff5f19dd0, cd=0xf400efe100037100, block_handler=<unavailable>, method_explorer=<unavailable>) at vm_insnhelper.c:4023:11
    frame #29: 0x0000fffff74d48d4 libruby-2.7.so.2.7`vm_exec_core(ec=0x5700efeeffff0050, initial=<unavailable>) at insns.def:782:11
    frame #30: 0x0000fffff74d6aa4 libruby-2.7.so.2.7`rb_vm_exec(ec=0x5700efeeffff0050, mjit_enable_p=1) at vm.c:1929:22
    frame #31: 0x0000fffff74e2d10 libruby-2.7.so.2.7`rb_yield at vm.c:1044:12
    frame #32: 0x0000fffff74e2c88 libruby-2.7.so.2.7`rb_yield at vm.c:1116
    frame #33: 0x0000fffff74e2c04 libruby-2.7.so.2.7`rb_yield at vm.c:1134
    frame #34: 0x0000fffff74e2bf0 libruby-2.7.so.2.7`rb_yield [inlined] vm_yield(kw_splat=<unavailable>, argv=<unavailable>, argc=<unavailable>, ec=<unavailable>) at vm.c:1179
    frame #35: 0x0000fffff74e2bf0 libruby-2.7.so.2.7`rb_yield [inlined] rb_yield_0(argv=<unavailable>, argc=<unavailable>) at vm_eval.c:1227
    frame #36: 0x0000fffff74e2bf0 libruby-2.7.so.2.7`rb_yield [inlined] rb_yield_1(val=<unavailable>) at vm_eval.c:1233
    frame #37: 0x0000fffff74e2bf0 libruby-2.7.so.2.7`rb_yield(val=<unavailable>) at vm_eval.c:1243
    frame #38: 0x0000fffff73084a8 libruby-2.7.so.2.7`rb_ary_collect at array.c:3065:9
    frame #39: 0x0000fffff74cdd5c libruby-2.7.so.2.7`vm_call_cfunc at vm_insnhelper.c:2514:12
    frame #40: 0x0000fffff74cdca8 libruby-2.7.so.2.7`vm_call_cfunc(ec=0x5700efeeffff0050, reg_cfp=0x1600fffff5f19f20, calling=<unavailable>, cd=0xa400efef0001b040) at vm_insnhelper.c:2539
    frame #41: 0x0000fffff74d8c34 libruby-2.7.so.2.7`vm_call_method(ec=0x5700efeeffff0050, cfp=0x1600fffff5f19f20, calling=0x0000ffffffffe830, cd=0xa400efef0001b040) at vm_insnhelper.c:3053:32
    frame #42: 0x0000fffff74c1978 libruby-2.7.so.2.7`vm_sendish(ec=0x5700efeeffff0050, reg_cfp=0x1600fffff5f19f20, cd=0xa400efef0001b040, block_handler=<unavailable>, method_explorer=<unavailable>) at vm_insnhelper.c:4023:11
    frame #43: 0x0000fffff74d48d4 libruby-2.7.so.2.7`vm_exec_core(ec=0x5700efeeffff0050, initial=<unavailable>) at insns.def:782:11
    frame #44: 0x0000fffff74d6aa4 libruby-2.7.so.2.7`rb_vm_exec(ec=0x5700efeeffff0050, mjit_enable_p=1) at vm.c:1929:22
    frame #45: 0x0000fffff74da064 libruby-2.7.so.2.7`rb_vm_invoke_proc at vm.c:1044:12
    frame #46: 0x0000fffff74d9fd4 libruby-2.7.so.2.7`rb_vm_invoke_proc at vm.c:1116
    frame #47: 0x0000fffff74d9f04 libruby-2.7.so.2.7`rb_vm_invoke_proc at vm.c:1216
    frame #48: 0x0000fffff74d9ef0 libruby-2.7.so.2.7`rb_vm_invoke_proc [inlined] vm_invoke_proc(passed_block_handler=<unavailable>, kw_splat=0, argv=<unavailable>, argc=0, self=9872154231627794520, proc=<unavailable>, ec=0x5700efeeffff0050) at vm.c:1238
    frame #49: 0x0000fffff74d9ee8 libruby-2.7.so.2.7`rb_vm_invoke_proc(ec=0x5700efeeffff0050, proc=<unavailable>, argc=0, argv=<unavailable>, kw_splat=0, passed_block_handler=<unavailable>) at vm.c:1259
    frame #50: 0x0000fffff74246ec libruby-2.7.so.2.7`rb_proc_call at proc.c:971:12
    frame #51: 0x0000fffff7378570 libruby-2.7.so.2.7`exec_end_procs_chain at eval_jump.c:105:3
    frame #52: 0x0000fffff737cb00 libruby-2.7.so.2.7`rb_ec_exec_end_proc at eval_jump.c:120:2
    frame #53: 0x0000fffff737cc54 libruby-2.7.so.2.7`rb_ec_teardown at eval.c:142:5
    frame #54: 0x0000fffff737ce44 libruby-2.7.so.2.7`rb_ec_cleanup at eval.c:209:9
    frame #55: 0x0000fffff737d164 libruby-2.7.so.2.7`ruby_run_node at eval.c:335:12
    frame #56: 0x0000aaaaaaaaab30 ruby`main(argc=<unavailable>, argv=<unavailable>) at main.c:50:9
    frame #57: 0x0000fffff718c090 libc.so.6`__libc_start_main + 232
    frame #58: 0x0000aaaaaaaaab84 ruby`_start + 52

@n-bes
Copy link

n-bes commented Sep 2, 2024

I'm not so confident in LD_PRELOAD, it's completely untested, but I'd like it to work.

I rebuilt CPython multiply times with combination of flags and environment variables (logs and build scripts are not published yet).

Results:

  • No successful builds on GCC and enabled LD_PRELOAD
  • No successful builds on clang and -mllvm -hwasan-globals=1
  • No stable builds on GCC and static hwasan library (sometime works but failed tests can't be reproduced with clang)
  • No successful builds on clang, static hwasan and enabled LD_PRELOAD (looks like preloaded library track the globals)

@n-bes
Copy link

n-bes commented Sep 10, 2024

logs and build scripts are not published yet

https://github.com/n-bes/build-cpython/blob/master/data/arm64-hwasan/arm64.csv

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants