https://logs.chromium.org/v/?s=chromiumos%2Fbb%2Fchromiumos%2Famd64-generic-asan%2F21797%2F%2B%2Frecipes%2Fsteps%2FUnitTest%2F0%2Fstdout
bluez-5.44-r115: * Running stacked hooks for post_src_test
bluez-5.44-r115: * asan_check ...
bluez-5.44-r115: * ERROR: net-wireless/bluez-5.44-r115::chromiumos failed (test phase):
bluez-5.44-r115: * asan error not caught
bluez-5.44-r115: *
bluez-5.44-r115: * Call stack:
bluez-5.44-r115: * ebuild.sh, line 93: Called post_src_test
bluez-5.44-r115: * environment, line 4827: Called cros_stack_hooks 'post_src_test'
bluez-5.44-r115: * profile.bashrc, line 86: Called cros_post_src_test_asan_check
bluez-5.44-r115: * profile.bashrc, line 185: Called die
bluez-5.44-r115: * The specific snippet of code:
bluez-5.44-r115: * rmdir "${T}/asan_logs" 2>/dev/null || die "asan error not caught"
bluez-5.44-r115: *
bluez-5.44-r115: * If you need support, post the output of `emerge --info '=net-wireless/bluez-5.44-r115::chromiumos'`,
bluez-5.44-r115: * the complete build log and the output of `emerge -pqv '=net-wireless/bluez-5.44-r115::chromiumos'`.
bluez-5.44-r115:
bluez-5.44-r115: * ASAN error detected:
bluez-5.44-r115: * src/shared/util.c:141:15: runtime error: left shift of 1 by 31 places cannot be represented in type 'int'
bluez-5.44-r115: * SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior src/shared/util.c:141:15 in
bluez-5.44-r115: * src/shared/util.c:152:17: runtime error: left shift of 1 by 31 places cannot be represented in type 'int'
bluez-5.44-r115: * SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior src/shared/util.c:152:17 in
bluez-5.44-r115:
bluez-5.44-r115:
bluez-5.44-r115: * ASAN error detected:
bluez-5.44-r115: * android/avrcp-lib.c:936:14: runtime error: load of misaligned address 0x617000024c96 for type 'uint32_t' (aka 'unsigned int'), which requires 4 byte alignment
bluez-5.44-r115: * 0x617000024c96: note: pointer points here
bluez-5.44-r115: * 00 00 00 01 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
bluez-5.44-r115: * ^
bluez-5.44-r115: * SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior android/avrcp-lib.c:936:14 in
bluez-5.44-r115:
Comment 1 by teravest@chromium.org
, Nov 1 2017