Skip to content

HWAddressSanitizer CHECK failed: sanitizer_allocator_combined.h:73 "((reinterpret_cast<uptr>(res) & (alignment - 1))) == ((0))" (0x2000, 0x0) #1243

@jiridanek

Description

@jiridanek

In Qpid Proton project, there are tests that want to run sanitizers against a Python C module, and a Ruby C module. They avoid having to compile Python and Ruby interpreters with sanitizers by using the stock interpreter binaries and LD_PRELOADing the sanitizer shared library. (WIth clang, sources are compiled with -shared-asan With GCC, sanitizers are linked as shared libraries anyways, so there no special treatment is needed.)

I am using clang 11 with the patch from #1242.

With Python, these tests find some mismatched tags with HWASAN. With Ruby however, some crash on internal assertion in the sanitizer code:

$ /usr/bin/python3 "/home/ubuntu/repos/qpid-proton-0.31.0/scripts/env.py" "--" "PATH=/home/ubuntu/repos/qpid-proton-0.31.0/clang/ruby:/home/ubuntu/repos/qpid-proton-0.31.0/clang/c:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin" "RUBYLIB=/home/ubuntu/repos/qpid-proton-0.31.0/ruby/lib:/home/ubuntu/repos/qpid-proton-0.31.0/ruby/tests:/home/ubuntu/repos/qpid-proton-0.31.0/ruby/spec:/home/ubuntu/repos/qpid-proton-0.31.0/clang/ruby:/home/ubuntu/repos/qpid-proton-0.31.0/clang/c:" "SASLPASSWD=CyrusSASL_Saslpasswd_EXECUTABLE-NOTFOUND" "UBSAN_OPTIONS=suppressions=/home/ubuntu/repos/qpid-proton-0.31.0/tests/ubsan.supp" "LSAN_OPTIONS=suppressions=/home/ubuntu/repos/qpid-proton-0.31.0/tests/lsan.supp" "HWASAN_OPTIONS=external_symbolizer_path=/home/ubuntu/llvm/install/bin/llvm-symbolizer" "/home/ubuntu/repos/qpid-proton-0.31.0/tests/preload_asan.sh" "/home/ubuntu/repos/qpid-proton-0.31.0/clang/c/libqpid-proton-core.so.10.9.0" "/usr/bin/ruby" "testme" "-v"
==110084==HWAddressSanitizer CHECK failed: /mnt/repos/llvm-project/compiler-rt/lib/hwasan/../sanitizer_common/sanitizer_allocator_combined.h:73 "((reinterpret_cast<uptr>(res) & (alignment - 1))) == ((0))" (0x2000, 0x0)
    #0 0xffffb4b50a74 in __hwasan::HWAsanCheckFailed(char const*, int, char const*, unsigned long long, unsigned long long) /mnt/repos/llvm-project/compiler-rt/lib/hwasan/hwasan.cpp:133:3
    #1 0xffffb4b6e0d4 in __sanitizer::CheckFailed(char const*, int, char const*, unsigned long long, unsigned long long) /mnt/repos/llvm-project/compiler-rt/lib/sanitizer_common/sanitizer_termination.cpp:78:24
    #2 0xffffb4b556e0 in __sanitizer::CombinedAllocator<__sanitizer::SizeClassAllocator64<__hwasan::AP64>, __sanitizer::LargeMmapAllocatorPtrArrayDynamic>::Allocate(__sanitizer::SizeClassAllocator64LocalCache<__sanitizer::SizeClassAllocator64<__hwasan::AP64> >*, unsigned long, unsigned long) /mnt/repos/llvm-project/compiler-rt/lib/hwasan/../sanitizer_common/sanitizer_allocator_combined.h:73:7
    #3 0xffffb4b52e0c in __hwasan::HwasanAllocate(__sanitizer::StackTrace*, unsigned long, unsigned long, bool) (.part.0) /mnt/repos/llvm-project/compiler-rt/lib/hwasan/hwasan_allocator.cpp:118:35
    #4 0xffffb4b53610 in HwasanAllocate /mnt/repos/llvm-project/compiler-rt/lib/hwasan/hwasan_allocator.cpp:104:3
    #5 0xffffb4b53610 in __hwasan::hwasan_posix_memalign(void**, unsigned long, unsigned long, __sanitizer::StackTrace*) /mnt/repos/llvm-project/compiler-rt/lib/hwasan/hwasan_allocator.cpp:361:29
    #6 0xffffb4b562a4 in posix_memalign /mnt/repos/llvm-project/compiler-rt/lib/hwasan/hwasan_interceptors.cpp:75:34
    #7 0xffffb48c22a8  (/lib/aarch64-linux-gnu/libruby-2.7.so.2.7+0xb72a8)
    #8 0xffffb48c2ab4  (/lib/aarch64-linux-gnu/libruby-2.7.so.2.7+0xb7ab4)
    #9 0xffffb48c2b50  (/lib/aarch64-linux-gnu/libruby-2.7.so.2.7+0xb7b50)
    #10 0xffffb48ac834 in ruby_setup (/lib/aarch64-linux-gnu/libruby-2.7.so.2.7+0xa1834)
    #11 0xffffb48ae690 in ruby_init (/lib/aarch64-linux-gnu/libruby-2.7.so.2.7+0xa3690)
    #12 0xaaaabe66eb1c  (/usr/bin/ruby2.7+0xb1c)
    #13 0xffffb46be08c in __libc_start_main /build/glibc-w4ZToO/glibc-2.31/csu/../csu/libc-start.c:308:16
    #14 0xaaaabe66eb80 in _start (/usr/bin/ruby2.7+0xb80)

Here is an example of a ruby test of the same style that did not crash on internal assert, but on tag mismatch. This shows that some tests work as intended.

$ /usr/bin/python3 "/home/ubuntu/repos/qpid-proton-0.31.0/scripts/env.py" "--" "PATH=/home/ubuntu/repos/qpid-proton-0.31.0/clang/ruby:/home/ubuntu/repos/qpid-proton-0.31.0/clang/c:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin" "RUBYLIB=/home/ubuntu/repos/qpid-proton-0.31.0/ruby/lib:/home/ubuntu/repos/qpid-proton-0.31.0/ruby/tests:/home/ubuntu/repos/qpid-proton-0.31.0/ruby/spec:/home/ubuntu/repos/qpid-proton-0.31.0/clang/ruby:/home/ubuntu/repos/qpid-proton-0.31.0/clang/c:" "SASLPASSWD=CyrusSASL_Saslpasswd_EXECUTABLE-NOTFOUND" "UBSAN_OPTIONS=suppressions=/home/ubuntu/repos/qpid-proton-0.31.0/tests/ubsan.supp" "LSAN_OPTIONS=suppressions=/home/ubuntu/repos/qpid-proton-0.31.0/tests/lsan.supp" "HWASAN_OPTIONS=external_symbolizer_path=/home/ubuntu/llvm/install/bin/llvm-symbolizer"  "/home/ubuntu/repos/qpid-proton-0.31.0/tests/preload_asan.sh" "/home/ubuntu/repos/qpid-proton-0.31.0/clang/c/libqpid-proton-core.so.10.9.0" "/usr/bin/ruby" "/home/ubuntu/repos/qpid-proton-0.31.0/ruby/spec/data_spec.rb" "-v"
Run options: -v --seed 59480

# Running:

A data object#test_0034_raise an error on a null timestamp = DEPRECATED: global use of must_raise from /home/ubuntu/repos/qpid-proton-0.31.0/ruby/spec/data_spec.rb:224. Use _(obj).must_raise instead. This will fail in Minitest 6.
0.00 s = .
A data object#test_0043_can hold a negative double = ==110183==ERROR: HWAddressSanitizer: tag-mismatch on address 0xffffe17c46ac at pc 0xffffa69511f0
WRITE of size 4 at 0xffffe17c46ac tags: 00/08 (ptr/mem) in thread T0
    #0 0xffffa69511ec in SWIG_Ruby_ConvertPtrAndOwn /home/ubuntu/repos/qpid-proton-0.31.0/clang/ruby/cprotonRUBY_wrap.c:1696:3
    #1 0xffffa693a34c in _wrap_pn_data_put_double /home/ubuntu/repos/qpid-proton-0.31.0/clang/ruby/cprotonRUBY_wrap.c:16907:10
    #2 0xffffaa7e8d58  (/lib/aarch64-linux-gnu/libruby-2.7.so.2.7+0x1f4d58)
    #3 0xffffaa7f3c30  (/lib/aarch64-linux-gnu/libruby-2.7.so.2.7+0x1ffc30)
    #4 0xffffaa7dc974  (/lib/aarch64-linux-gnu/libruby-2.7.so.2.7+0x1e8974)
    #5 0xffffaa7ec484  (/lib/aarch64-linux-gnu/libruby-2.7.so.2.7+0x1f8484)
    #6 0xffffaa7f1aa0 in rb_vm_exec (/lib/aarch64-linux-gnu/libruby-2.7.so.2.7+0x1fdaa0)
    #7 0xffffaa7f239c  (/lib/aarch64-linux-gnu/libruby-2.7.so.2.7+0x1fe39c)
    #8 0xffffaa7f26c8 in rb_vm_invoke_bmethod (/lib/aarch64-linux-gnu/libruby-2.7.so.2.7+0x1fe6c8)
    #9 0xffffaa7f2990  (/lib/aarch64-linux-gnu/libruby-2.7.so.2.7+0x1fe990)
    #10 0xffffaa7f4190  (/lib/aarch64-linux-gnu/libruby-2.7.so.2.7+0x200190)
    #11 0xffffaa7dc974  (/lib/aarch64-linux-gnu/libruby-2.7.so.2.7+0x1e8974)
    #12 0xffffaa7ec484  (/lib/aarch64-linux-gnu/libruby-2.7.so.2.7+0x1f8484)
    #13 0xffffaa7f1aa0 in rb_vm_exec (/lib/aarch64-linux-gnu/libruby-2.7.so.2.7+0x1fdaa0)
    #14 0xffffaa7fdd0c in rb_yield (/lib/aarch64-linux-gnu/libruby-2.7.so.2.7+0x209d0c)
    #15 0xffffaa61eac8 in rb_ary_each (/lib/aarch64-linux-gnu/libruby-2.7.so.2.7+0x2aac8)
    #16 0xffffaa7e8d58  (/lib/aarch64-linux-gnu/libruby-2.7.so.2.7+0x1f4d58)
    #17 0xffffaa7f3c30  (/lib/aarch64-linux-gnu/libruby-2.7.so.2.7+0x1ffc30)
    #18 0xffffaa7dc974  (/lib/aarch64-linux-gnu/libruby-2.7.so.2.7+0x1e8974)
    #19 0xffffaa7ef8d0  (/lib/aarch64-linux-gnu/libruby-2.7.so.2.7+0x1fb8d0)
    #20 0xffffaa7f1aa0 in rb_vm_exec (/lib/aarch64-linux-gnu/libruby-2.7.so.2.7+0x1fdaa0)
    #21 0xffffaa7fdd0c in rb_yield (/lib/aarch64-linux-gnu/libruby-2.7.so.2.7+0x209d0c)
    #22 0xffffaa6234a4  (/lib/aarch64-linux-gnu/libruby-2.7.so.2.7+0x2f4a4)
    #23 0xffffaa7e8d58  (/lib/aarch64-linux-gnu/libruby-2.7.so.2.7+0x1f4d58)
    #24 0xffffaa7f3c30  (/lib/aarch64-linux-gnu/libruby-2.7.so.2.7+0x1ffc30)
    #25 0xffffaa7dc974  (/lib/aarch64-linux-gnu/libruby-2.7.so.2.7+0x1e8974)
    #26 0xffffaa7ef8d0  (/lib/aarch64-linux-gnu/libruby-2.7.so.2.7+0x1fb8d0)
    #27 0xffffaa7f1aa0 in rb_vm_exec (/lib/aarch64-linux-gnu/libruby-2.7.so.2.7+0x1fdaa0)
    #28 0xffffaa7f5060 in rb_vm_invoke_proc (/lib/aarch64-linux-gnu/libruby-2.7.so.2.7+0x201060)
    #29 0xffffaa73f6e8 in rb_proc_call (/lib/aarch64-linux-gnu/libruby-2.7.so.2.7+0x14b6e8)
    #30 0xffffaa69356c  (/lib/aarch64-linux-gnu/libruby-2.7.so.2.7+0x9f56c)
    #31 0xffffaa697afc  (/lib/aarch64-linux-gnu/libruby-2.7.so.2.7+0xa3afc)
    #32 0xffffaa697c50  (/lib/aarch64-linux-gnu/libruby-2.7.so.2.7+0xa3c50)
    #33 0xffffaa697e40  (/lib/aarch64-linux-gnu/libruby-2.7.so.2.7+0xa3e40)
    #34 0xffffaa698160 in ruby_run_node (/lib/aarch64-linux-gnu/libruby-2.7.so.2.7+0xa4160)
    #35 0xaaaad7935b2c  (/usr/bin/ruby2.7+0xb2c)
    #36 0xffffaa4a708c in __libc_start_main /build/glibc-w4ZToO/glibc-2.31/csu/../csu/libc-start.c:308:16
    #37 0xaaaad7935b80 in _start (/usr/bin/ruby2.7+0xb80)

LLVMSymbolizer: error reading file: No such file or directory
0xffffe17c46ac is located 8369836 bytes to the right of 0-byte global variable ?? [0xffffe0fc9000,0xffffe0fc9000) in [stack]
Address 0xffffe17c46ac is located in stack of thread T0
Thread: T0 0xeffe00002000 stack: [0xffffe0fc8000,0xffffe17c8000) sz: 8388608 tls: [0xffffaa954020,0xffffaa954740)
Previously allocated frames:
  record_addr:0xffffa5d8c5c8 record:0xc461ffffa695245c in SWIG_Ruby_MangleStr /home/ubuntu/repos/qpid-proton-0.31.0/clang/ruby/cprotonRUBY_wrap.c:1589
  record_addr:0xffffa5d8c5c0 record:0xc46bffffa6950a84 in SWIG_Ruby_ConvertPtrAndOwn /home/ubuntu/repos/qpid-proton-0.31.0/clang/ruby/cprotonRUBY_wrap.c:1613
  record_addr:0xffffa5d8c5b8 record:0xc47affffa693a180 in _wrap_pn_data_put_double /home/ubuntu/repos/qpid-proton-0.31.0/clang/ruby/cprotonRUBY_wrap.c:16894
  record_addr:0xffffa5d8c5b0 record:0xc3d0ffffa69527d0 in SWIG_AsVal_unsigned_SS_long /home/ubuntu/repos/qpid-proton-0.31.0/clang/ruby/cprotonRUBY_wrap.c:1955
  record_addr:0xffffa5d8c5a8 record:0xc3d7ffffa6951da0 in SWIG_AsVal_size_t /home/ubuntu/repos/qpid-proton-0.31.0/clang/ruby/cprotonRUBY_wrap.c:2020
  record_addr:0xffffa5d8c5a0 record:0xc3e1ffffa692fc60 in _wrap_pn_data /home/ubuntu/repos/qpid-proton-0.31.0/clang/ruby/cprotonRUBY_wrap.c:15811
  record_addr:0xffffa5d8c598 record:0xc460ffffa695152c in Ruby_Format_TypeError /home/ubuntu/repos/qpid-proton-0.31.0/clang/ruby/cprotonRUBY_wrap.c:1123
  record_addr:0xffffa5d8c590 record:0xc461ffffa695588c in SWIG_AsVal_long_SS_long /home/ubuntu/repos/qpid-proton-0.31.0/clang/ruby/cprotonRUBY_wrap.c:2738
  record_addr:0xffffa5d8c588 record:0xc457ffffa695245c in SWIG_Ruby_MangleStr /home/ubuntu/repos/qpid-proton-0.31.0/clang/ruby/cprotonRUBY_wrap.c:1589
  record_addr:0xffffa5d8c580 record:0xc461ffffa6950a84 in SWIG_Ruby_ConvertPtrAndOwn /home/ubuntu/repos/qpid-proton-0.31.0/clang/ruby/cprotonRUBY_wrap.c:1613
  record_addr:0xffffa5d8c578 record:0xc470ffffa69397c4 in _wrap_pn_data_put_timestamp /home/ubuntu/repos/qpid-proton-0.31.0/clang/ruby/cprotonRUBY_wrap.c:16830
  record_addr:0xffffa5d8c570 record:0xc3a8ffffa69527d0 in SWIG_AsVal_unsigned_SS_long /home/ubuntu/repos/qpid-proton-0.31.0/clang/ruby/cprotonRUBY_wrap.c:1955
  record_addr:0xffffa5d8c568 record:0xc3afffffa6951da0 in SWIG_AsVal_size_t /home/ubuntu/repos/qpid-proton-0.31.0/clang/ruby/cprotonRUBY_wrap.c:2020
  record_addr:0xffffa5d8c560 record:0xc3b9ffffa692fc60 in _wrap_pn_data /home/ubuntu/repos/qpid-proton-0.31.0/clang/ruby/cprotonRUBY_wrap.c:15811
  record_addr:0xffffa5d8c558 record:0xc3ecffffa6954050 in SWIG_AsVal_long /home/ubuntu/repos/qpid-proton-0.31.0/clang/ruby/cprotonRUBY_wrap.c:2332
  record_addr:0xffffa5d8c550 record:0xc3f3ffffa6953e54 in SWIG_AsVal_int /home/ubuntu/repos/qpid-proton-0.31.0/clang/ruby/cprotonRUBY_wrap.c:2350
  record_addr:0xffffa5d8c548 record:0xc3feffffa6912c24 in _wrap_pn_event_type_name /home/ubuntu/repos/qpid-proton-0.31.0/clang/ruby/cprotonRUBY_wrap.c:12636
  record_addr:0xffffa5d8c540 record:0xc3ecffffa6954050 in SWIG_AsVal_long /home/ubuntu/repos/qpid-proton-0.31.0/clang/ruby/cprotonRUBY_wrap.c:2332
  record_addr:0xffffa5d8c538 record:0xc3f3ffffa6953e54 in SWIG_AsVal_int /home/ubuntu/repos/qpid-proton-0.31.0/clang/ruby/cprotonRUBY_wrap.c:2350
  record_addr:0xffffa5d8c530 record:0xc3feffffa6912c24 in _wrap_pn_event_type_name /home/ubuntu/repos/qpid-proton-0.31.0/clang/ruby/cprotonRUBY_wrap.c:12636
  record_addr:0xffffa5d8c528 record:0xc3ecffffa6954050 in SWIG_AsVal_long /home/ubuntu/repos/qpid-proton-0.31.0/clang/ruby/cprotonRUBY_wrap.c:2332
  record_addr:0xffffa5d8c520 record:0xc3f3ffffa6953e54 in SWIG_AsVal_int /home/ubuntu/repos/qpid-proton-0.31.0/clang/ruby/cprotonRUBY_wrap.c:2350
  record_addr:0xffffa5d8c518 record:0xc3feffffa6912c24 in _wrap_pn_event_type_name /home/ubuntu/repos/qpid-proton-0.31.0/clang/ruby/cprotonRUBY_wrap.c:12636
  record_addr:0xffffa5d8c510 record:0xc3ecffffa6954050 in SWIG_AsVal_long /home/ubuntu/repos/qpid-proton-0.31.0/clang/ruby/cprotonRUBY_wrap.c:2332
  record_addr:0xffffa5d8c508 record:0xc3f3ffffa6953e54 in SWIG_AsVal_int /home/ubuntu/repos/qpid-proton-0.31.0/clang/ruby/cprotonRUBY_wrap.c:2350
  record_addr:0xffffa5d8c500 record:0xc3feffffa6912c24 in _wrap_pn_event_type_name /home/ubuntu/repos/qpid-proton-0.31.0/clang/ruby/cprotonRUBY_wrap.c:12636
  record_addr:0xffffa5d8c4f8 record:0xc3ecffffa6954050 in SWIG_AsVal_long /home/ubuntu/repos/qpid-proton-0.31.0/clang/ruby/cprotonRUBY_wrap.c:2332
  record_addr:0xffffa5d8c4f0 record:0xc3f3ffffa6953e54 in SWIG_AsVal_int /home/ubuntu/repos/qpid-proton-0.31.0/clang/ruby/cprotonRUBY_wrap.c:2350
  record_addr:0xffffa5d8c4e8 record:0xc3feffffa6912c24 in _wrap_pn_event_type_name /home/ubuntu/repos/qpid-proton-0.31.0/clang/ruby/cprotonRUBY_wrap.c:12636
  record_addr:0xffffa5d8c4e0 record:0xc3ecffffa6954050 in SWIG_AsVal_long /home/ubuntu/repos/qpid-proton-0.31.0/clang/ruby/cprotonRUBY_wrap.c:2332
  record_addr:0xffffa5d8c4d8 record:0xc3f3ffffa6953e54 in SWIG_AsVal_int /home/ubuntu/repos/qpid-proton-0.31.0/clang/ruby/cprotonRUBY_wrap.c:2350
  record_addr:0xffffa5d8c4d0 record:0xc3feffffa6912c24 in _wrap_pn_event_type_name /home/ubuntu/repos/qpid-proton-0.31.0/clang/ruby/cprotonRUBY_wrap.c:12636
  record_addr:0xffffa5d8c4c8 record:0xc3ecffffa6954050 in SWIG_AsVal_long /home/ubuntu/repos/qpid-proton-0.31.0/clang/ruby/cprotonRUBY_wrap.c:2332
  record_addr:0xffffa5d8c4c0 record:0xc3f3ffffa6953e54 in SWIG_AsVal_int /home/ubuntu/repos/qpid-proton-0.31.0/clang/ruby/cprotonRUBY_wrap.c:2350
  record_addr:0xffffa5d8c4b8 record:0xc3feffffa6912c24 in _wrap_pn_event_type_name /home/ubuntu/repos/qpid-proton-0.31.0/clang/ruby/cprotonRUBY_wrap.c:12636
  record_addr:0xffffa5d8c4b0 record:0xc3ecffffa6954050 in SWIG_AsVal_long /home/ubuntu/repos/qpid-proton-0.31.0/clang/ruby/cprotonRUBY_wrap.c:2332
  record_addr:0xffffa5d8c4a8 record:0xc3f3ffffa6953e54 in SWIG_AsVal_int /home/ubuntu/repos/qpid-proton-0.31.0/clang/ruby/cprotonRUBY_wrap.c:2350
  record_addr:0xffffa5d8c4a0 record:0xc3feffffa6912c24 in _wrap_pn_event_type_name /home/ubuntu/repos/qpid-proton-0.31.0/clang/ruby/cprotonRUBY_wrap.c:12636
  record_addr:0xffffa5d8c498 record:0xc3ecffffa6954050 in SWIG_AsVal_long /home/ubuntu/repos/qpid-proton-0.31.0/clang/ruby/cprotonRUBY_wrap.c:2332
  record_addr:0xffffa5d8c490 record:0xc3f3ffffa6953e54 in SWIG_AsVal_int /home/ubuntu/repos/qpid-proton-0.31.0/clang/ruby/cprotonRUBY_wrap.c:2350
  record_addr:0xffffa5d8c488 record:0xc3feffffa6912c24 in _wrap_pn_event_type_name /home/ubuntu/repos/qpid-proton-0.31.0/clang/ruby/cprotonRUBY_wrap.c:12636
  record_addr:0xffffa5d8c480 record:0xc3ecffffa6954050 in SWIG_AsVal_long /home/ubuntu/repos/qpid-proton-0.31.0/clang/ruby/cprotonRUBY_wrap.c:2332
  record_addr:0xffffa5d8c478 record:0xc3f3ffffa6953e54 in SWIG_AsVal_int /home/ubuntu/repos/qpid-proton-0.31.0/clang/ruby/cprotonRUBY_wrap.c:2350
  record_addr:0xffffa5d8c470 record:0xc3feffffa6912c24 in _wrap_pn_event_type_name /home/ubuntu/repos/qpid-proton-0.31.0/clang/ruby/cprotonRUBY_wrap.c:12636
  record_addr:0xffffa5d8c468 record:0xc3ecffffa6954050 in SWIG_AsVal_long /home/ubuntu/repos/qpid-proton-0.31.0/clang/ruby/cprotonRUBY_wrap.c:2332
  record_addr:0xffffa5d8c460 record:0xc3f3ffffa6953e54 in SWIG_AsVal_int /home/ubuntu/repos/qpid-proton-0.31.0/clang/ruby/cprotonRUBY_wrap.c:2350
  record_addr:0xffffa5d8c458 record:0xc3feffffa6912c24 in _wrap_pn_event_type_name /home/ubuntu/repos/qpid-proton-0.31.0/clang/ruby/cprotonRUBY_wrap.c:12636
  record_addr:0xffffa5d8c450 record:0xc3ecffffa6954050 in SWIG_AsVal_long /home/ubuntu/repos/qpid-proton-0.31.0/clang/ruby/cprotonRUBY_wrap.c:2332
  record_addr:0xffffa5d8c448 record:0xc3f3ffffa6953e54 in SWIG_AsVal_int /home/ubuntu/repos/qpid-proton-0.31.0/clang/ruby/cprotonRUBY_wrap.c:2350
  record_addr:0xffffa5d8c440 record:0xc3feffffa6912c24 in _wrap_pn_event_type_name /home/ubuntu/repos/qpid-proton-0.31.0/clang/ruby/cprotonRUBY_wrap.c:12636
  record_addr:0xffffa5d8c438 record:0xc3ecffffa6954050 in SWIG_AsVal_long /home/ubuntu/repos/qpid-proton-0.31.0/clang/ruby/cprotonRUBY_wrap.c:2332
  record_addr:0xffffa5d8c430 record:0xc3f3ffffa6953e54 in SWIG_AsVal_int /home/ubuntu/repos/qpid-proton-0.31.0/clang/ruby/cprotonRUBY_wrap.c:2350
  record_addr:0xffffa5d8c428 record:0xc3feffffa6912c24 in _wrap_pn_event_type_name /home/ubuntu/repos/qpid-proton-0.31.0/clang/ruby/cprotonRUBY_wrap.c:12636
  record_addr:0xffffa5d8c420 record:0xc3ecffffa6954050 in SWIG_AsVal_long /home/ubuntu/repos/qpid-proton-0.31.0/clang/ruby/cprotonRUBY_wrap.c:2332
  record_addr:0xffffa5d8c418 record:0xc3f3ffffa6953e54 in SWIG_AsVal_int /home/ubuntu/repos/qpid-proton-0.31.0/clang/ruby/cprotonRUBY_wrap.c:2350
  record_addr:0xffffa5d8c410 record:0xc3feffffa6912c24 in _wrap_pn_event_type_name /home/ubuntu/repos/qpid-proton-0.31.0/clang/ruby/cprotonRUBY_wrap.c:12636
  record_addr:0xffffa5d8c408 record:0xc3ecffffa6954050 in SWIG_AsVal_long /home/ubuntu/repos/qpid-proton-0.31.0/clang/ruby/cprotonRUBY_wrap.c:2332
  record_addr:0xffffa5d8c400 record:0xc3f3ffffa6953e54 in SWIG_AsVal_int /home/ubuntu/repos/qpid-proton-0.31.0/clang/ruby/cprotonRUBY_wrap.c:2350
  record_addr:0xffffa5d8c3f8 record:0xc3feffffa6912c24 in _wrap_pn_event_type_name /home/ubuntu/repos/qpid-proton-0.31.0/clang/ruby/cprotonRUBY_wrap.c:12636
  record_addr:0xffffa5d8c3f0 record:0xc3ecffffa6954050 in SWIG_AsVal_long /home/ubuntu/repos/qpid-proton-0.31.0/clang/ruby/cprotonRUBY_wrap.c:2332
  record_addr:0xffffa5d8c3e8 record:0xc3f3ffffa6953e54 in SWIG_AsVal_int /home/ubuntu/repos/qpid-proton-0.31.0/clang/ruby/cprotonRUBY_wrap.c:2350
  record_addr:0xffffa5d8c3e0 record:0xc3feffffa6912c24 in _wrap_pn_event_type_name /home/ubuntu/repos/qpid-proton-0.31.0/clang/ruby/cprotonRUBY_wrap.c:12636
  record_addr:0xffffa5d8c3d8 record:0xc3ecffffa6954050 in SWIG_AsVal_long /home/ubuntu/repos/qpid-proton-0.31.0/clang/ruby/cprotonRUBY_wrap.c:2332
  record_addr:0xffffa5d8c3d0 record:0xc3f3ffffa6953e54 in SWIG_AsVal_int /home/ubuntu/repos/qpid-proton-0.31.0/clang/ruby/cprotonRUBY_wrap.c:2350
  record_addr:0xffffa5d8c3c8 record:0xc3feffffa6912c24 in _wrap_pn_event_type_name /home/ubuntu/repos/qpid-proton-0.31.0/clang/ruby/cprotonRUBY_wrap.c:12636
  record_addr:0xffffa5d8c3c0 record:0xc3ecffffa6954050 in SWIG_AsVal_long /home/ubuntu/repos/qpid-proton-0.31.0/clang/ruby/cprotonRUBY_wrap.c:2332
  record_addr:0xffffa5d8c3b8 record:0xc3f3ffffa6953e54 in SWIG_AsVal_int /home/ubuntu/repos/qpid-proton-0.31.0/clang/ruby/cprotonRUBY_wrap.c:2350
  record_addr:0xffffa5d8c3b0 record:0xc3feffffa6912c24 in _wrap_pn_event_type_name /home/ubuntu/repos/qpid-proton-0.31.0/clang/ruby/cprotonRUBY_wrap.c:12636
  record_addr:0xffffa5d8c3a8 record:0xc3ecffffa6954050 in SWIG_AsVal_long /home/ubuntu/repos/qpid-proton-0.31.0/clang/ruby/cprotonRUBY_wrap.c:2332
  record_addr:0xffffa5d8c3a0 record:0xc3f3ffffa6953e54 in SWIG_AsVal_int /home/ubuntu/repos/qpid-proton-0.31.0/clang/ruby/cprotonRUBY_wrap.c:2350
  record_addr:0xffffa5d8c398 record:0xc3feffffa6912c24 in _wrap_pn_event_type_name /home/ubuntu/repos/qpid-proton-0.31.0/clang/ruby/cprotonRUBY_wrap.c:12636
  record_addr:0xffffa5d8c390 record:0xc3ecffffa6954050 in SWIG_AsVal_long /home/ubuntu/repos/qpid-proton-0.31.0/clang/ruby/cprotonRUBY_wrap.c:2332
  record_addr:0xffffa5d8c388 record:0xc3f3ffffa6953e54 in SWIG_AsVal_int /home/ubuntu/repos/qpid-proton-0.31.0/clang/ruby/cprotonRUBY_wrap.c:2350
  record_addr:0xffffa5d8c380 record:0xc3feffffa6912c24 in _wrap_pn_event_type_name /home/ubuntu/repos/qpid-proton-0.31.0/clang/ruby/cprotonRUBY_wrap.c:12636
  record_addr:0xffffa5d8c378 record:0xc3ecffffa6954050 in SWIG_AsVal_long /home/ubuntu/repos/qpid-proton-0.31.0/clang/ruby/cprotonRUBY_wrap.c:2332
  record_addr:0xffffa5d8c370 record:0xc3f3ffffa6953e54 in SWIG_AsVal_int /home/ubuntu/repos/qpid-proton-0.31.0/clang/ruby/cprotonRUBY_wrap.c:2350
  record_addr:0xffffa5d8c368 record:0xc3feffffa6912c24 in _wrap_pn_event_type_name /home/ubuntu/repos/qpid-proton-0.31.0/clang/ruby/cprotonRUBY_wrap.c:12636
  record_addr:0xffffa5d8c360 record:0xc3ecffffa6954050 in SWIG_AsVal_long /home/ubuntu/repos/qpid-proton-0.31.0/clang/ruby/cprotonRUBY_wrap.c:2332
  record_addr:0xffffa5d8c358 record:0xc3f3ffffa6953e54 in SWIG_AsVal_int /home/ubuntu/repos/qpid-proton-0.31.0/clang/ruby/cprotonRUBY_wrap.c:2350
  record_addr:0xffffa5d8c350 record:0xc3feffffa6912c24 in _wrap_pn_event_type_name /home/ubuntu/repos/qpid-proton-0.31.0/clang/ruby/cprotonRUBY_wrap.c:12636
  record_addr:0xffffa5d8c348 record:0xc3ecffffa6954050 in SWIG_AsVal_long /home/ubuntu/repos/qpid-proton-0.31.0/clang/ruby/cprotonRUBY_wrap.c:2332
  record_addr:0xffffa5d8c340 record:0xc3f3ffffa6953e54 in SWIG_AsVal_int /home/ubuntu/repos/qpid-proton-0.31.0/clang/ruby/cprotonRUBY_wrap.c:2350
  record_addr:0xffffa5d8c338 record:0xc3feffffa6912c24 in _wrap_pn_event_type_name /home/ubuntu/repos/qpid-proton-0.31.0/clang/ruby/cprotonRUBY_wrap.c:12636
  record_addr:0xffffa5d8c330 record:0xc3ecffffa6954050 in SWIG_AsVal_long /home/ubuntu/repos/qpid-proton-0.31.0/clang/ruby/cprotonRUBY_wrap.c:2332
  record_addr:0xffffa5d8c328 record:0xc3f3ffffa6953e54 in SWIG_AsVal_int /home/ubuntu/repos/qpid-proton-0.31.0/clang/ruby/cprotonRUBY_wrap.c:2350
  record_addr:0xffffa5d8c320 record:0xc3feffffa6912c24 in _wrap_pn_event_type_name /home/ubuntu/repos/qpid-proton-0.31.0/clang/ruby/cprotonRUBY_wrap.c:12636
  record_addr:0xffffa5d8c318 record:0xc3ecffffa6954050 in SWIG_AsVal_long /home/ubuntu/repos/qpid-proton-0.31.0/clang/ruby/cprotonRUBY_wrap.c:2332
  record_addr:0xffffa5d8c310 record:0xc3f3ffffa6953e54 in SWIG_AsVal_int /home/ubuntu/repos/qpid-proton-0.31.0/clang/ruby/cprotonRUBY_wrap.c:2350
  record_addr:0xffffa5d8c308 record:0xc3feffffa6912c24 in _wrap_pn_event_type_name /home/ubuntu/repos/qpid-proton-0.31.0/clang/ruby/cprotonRUBY_wrap.c:12636
  record_addr:0xffffa5d8c300 record:0xc3ecffffa6954050 in SWIG_AsVal_long /home/ubuntu/repos/qpid-proton-0.31.0/clang/ruby/cprotonRUBY_wrap.c:2332
  record_addr:0xffffa5d8c2f8 record:0xc3f3ffffa6953e54 in SWIG_AsVal_int /home/ubuntu/repos/qpid-proton-0.31.0/clang/ruby/cprotonRUBY_wrap.c:2350
  record_addr:0xffffa5d8c2f0 record:0xc3feffffa6912c24 in _wrap_pn_event_type_name /home/ubuntu/repos/qpid-proton-0.31.0/clang/ruby/cprotonRUBY_wrap.c:12636
  record_addr:0xffffa5d8c2e8 record:0xc3ecffffa6954050 in SWIG_AsVal_long /home/ubuntu/repos/qpid-proton-0.31.0/clang/ruby/cprotonRUBY_wrap.c:2332
  record_addr:0xffffa5d8c2e0 record:0xc3f3ffffa6953e54 in SWIG_AsVal_int /home/ubuntu/repos/qpid-proton-0.31.0/clang/ruby/cprotonRUBY_wrap.c:2350
  record_addr:0xffffa5d8c2d8 record:0xc3feffffa6912c24 in _wrap_pn_event_type_name /home/ubuntu/repos/qpid-proton-0.31.0/clang/ruby/cprotonRUBY_wrap.c:12636
  record_addr:0xffffa5d8c2d0 record:0xc3ecffffa6954050 in SWIG_AsVal_long /home/ubuntu/repos/qpid-proton-0.31.0/clang/ruby/cprotonRUBY_wrap.c:2332
  record_addr:0xffffa5d8c2c8 record:0xc3f3ffffa6953e54 in SWIG_AsVal_int /home/ubuntu/repos/qpid-proton-0.31.0/clang/ruby/cprotonRUBY_wrap.c:2350
  record_addr:0xffffa5d8c2c0 record:0xc3feffffa6912c24 in _wrap_pn_event_type_name /home/ubuntu/repos/qpid-proton-0.31.0/clang/ruby/cprotonRUBY_wrap.c:12636
  record_addr:0xffffa5d8c2b8 record:0xc3ecffffa6954050 in SWIG_AsVal_long /home/ubuntu/repos/qpid-proton-0.31.0/clang/ruby/cprotonRUBY_wrap.c:2332
  record_addr:0xffffa5d8c2b0 record:0xc3f3ffffa6953e54 in SWIG_AsVal_int /home/ubuntu/repos/qpid-proton-0.31.0/clang/ruby/cprotonRUBY_wrap.c:2350
  record_addr:0xffffa5d8c2a8 record:0xc3feffffa6912c24 in _wrap_pn_event_type_name /home/ubuntu/repos/qpid-proton-0.31.0/clang/ruby/cprotonRUBY_wrap.c:12636
  record_addr:0xffffa5d8c2a0 record:0xc3ecffffa6954050 in SWIG_AsVal_long /home/ubuntu/repos/qpid-proton-0.31.0/clang/ruby/cprotonRUBY_wrap.c:2332
  record_addr:0xffffa5d8c298 record:0xc3f3ffffa6953e54 in SWIG_AsVal_int /home/ubuntu/repos/qpid-proton-0.31.0/clang/ruby/cprotonRUBY_wrap.c:2350
  record_addr:0xffffa5d8c290 record:0xc3feffffa6912c24 in _wrap_pn_event_type_name /home/ubuntu/repos/qpid-proton-0.31.0/clang/ruby/cprotonRUBY_wrap.c:12636
  record_addr:0xffffa5d8c288 record:0xc3e2ffffa6954050 in SWIG_AsVal_long /home/ubuntu/repos/qpid-proton-0.31.0/clang/ruby/cprotonRUBY_wrap.c:2332
  record_addr:0xffffa5d8c280 record:0xc3e9ffffa6953e54 in SWIG_AsVal_int /home/ubuntu/repos/qpid-proton-0.31.0/clang/ruby/cprotonRUBY_wrap.c:2350
  record_addr:0xffffa5d8c278 record:0xc3f4ffffa6912c24 in _wrap_pn_event_type_name /home/ubuntu/repos/qpid-proton-0.31.0/clang/ruby/cprotonRUBY_wrap.c:12636
Memory tags around the buggy address (one tag corresponds to 16 bytes):
  0xfffefe17c3e0: 00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00 
  0xfffefe17c3f0: 00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00 
  0xfffefe17c400: 00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00 
  0xfffefe17c410: 00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00 
  0xfffefe17c420: 00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00 
  0xfffefe17c430: 00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00 
  0xfffefe17c440: 00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00 
  0xfffefe17c450: 00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00 
=>0xfffefe17c460: 00  00  00  00  04  00  00  00  00  00 [08] 00  08  00  00  00 
  0xfffefe17c470: 00  00  00  00  08  00  08  00  00  00  00  00  00  00  00  00 
  0xfffefe17c480: 00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00 
  0xfffefe17c490: 00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00 
  0xfffefe17c4a0: 00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00 
  0xfffefe17c4b0: 00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00 
  0xfffefe17c4c0: 00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00 
  0xfffefe17c4d0: 00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00 
  0xfffefe17c4e0: 00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00 
Tags for short granules around the buggy address (one tag corresponds to 16 bytes):
  0xfffefe17c450: ..  ..  ..  ..  ..  ..  ..  ..  ..  ..  ..  ..  ..  ..  ..  .. 
=>0xfffefe17c460: ..  ..  ..  ..  b8  ..  ..  ..  ..  .. [00] ..  00  ..  ..  .. 
  0xfffefe17c470: ..  ..  ..  ..  37  ..  b7  ..  ..  ..  ..  ..  ..  ..  ..  .. 
See https://clang.llvm.org/docs/HardwareAssistedAddressSanitizerDesign.html#short-granules for a description of short granule tags
Registers where the failure occurred (pc 0xffffa69511f0):
    x0  0000ffffe17c46ac  x1  0000ffffe17c4670  x2  0000000000000000  x3  0000000000000000
    x4  0080808000000000  x5  1f00000000000000  x6  000000008080801f  x7  1dfefeff735e6073
    x8  0000aaaaf95119b0  x9  0200efff00000000  x10 0000000000000001  x11 0000000000000020
    x12 0200effe000005d0  x13 0200effe000005d0  x14 0000000000000008  x15 00000000c00000b7
    x16 0000ffffa5ed9a50  x17 000000000000000f  x18 0000000000000051  x19 0000aaaaf8d75220
    x20 00000000ffffffff  x21 0000aaaaf93efdf0  x22 0000ffffaa918000  x23 0000000000000002
    x24 0000aaaaf90207c0  x25 0000aaaaf919a768  x26 0000aaaaf9191490  x27 0000aaaaf9191498
    x28 0000ffffa9f92ad0  x29 0000ffffe17c46b0  x30 0000ffffa69511f0
SUMMARY: HWAddressSanitizer: tag-mismatch /home/ubuntu/repos/qpid-proton-0.31.0/clang/ruby/cprotonRUBY_wrap.c:1696:3 in SWIG_Ruby_ConvertPtrAndOwn

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions