misaligned address in avrcp-lib.c |
||||
Issue descriptionluiz.von.dentz@intel.com, can you look into this? log: https://build.chromium.org/p/chromiumos.chromium/builders/amd64-generic-tot-asan-informational/builds/14362/steps/UnitTest/logs/stdio bluez-5.44-r108: * ERROR: net-wireless/bluez-5.44-r108::chromiumos failed (test phase): bluez-5.44-r108: * asan error not caught bluez-5.44-r108: * bluez-5.44-r108: * Call stack: bluez-5.44-r108: * ebuild.sh, line 93: Called post_src_test bluez-5.44-r108: * environment, line 4821: Called cros_stack_hooks 'post_src_test' bluez-5.44-r108: * profile.bashrc, line 86: Called cros_post_src_test_asan_check bluez-5.44-r108: * profile.bashrc, line 185: Called die bluez-5.44-r108: * The specific snippet of code: bluez-5.44-r108: * rmdir "${T}/asan_logs" 2>/dev/null || die "asan error not caught" bluez-5.44-r108: * bluez-5.44-r108: * If you need support, post the output of `emerge --info '=net-wireless/bluez-5.44-r108::chromiumos'`, bluez-5.44-r108: * the complete build log and the output of `emerge -pqv '=net-wireless/bluez-5.44-r108::chromiumos'`. bluez-5.44-r108: bluez-5.44-r108: * ASAN error detected: bluez-5.44-r108: * 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-r108: * 0x617000024c96: note: pointer points here bluez-5.44-r108: * 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-r108: * ^ bluez-5.44-r108: * SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior android/avrcp-lib.c:936:14 in bluez-5.44-r108: bluez-5.44-r108: bluez-5.44-r108: * ASAN error detected: bluez-5.44-r108: * src/shared/util.c:141:15: runtime error: left shift of 1 by 31 places cannot be represented in type 'int' bluez-5.44-r108: * SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior src/shared/util.c:141:15 in bluez-5.44-r108: * src/shared/util.c:152:17: runtime error: left shift of 1 by 31 places cannot be represented in type 'int' bluez-5.44-r108: * SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior src/shared/util.c:152:17 in bluez-5.44-r108: bluez-5.44-r108: * The complete build log is located at '/build/amd64-generic/tmp/portage/logs/net-wireless:bluez-5.44-r108:20170915-132644.log'. bluez-5.44-r108: * For convenience, a symlink to the build log is located at '/build/amd64-generic/tmp/portage/net-wireless/bluez-5.44-r108/temp/build.log'. bluez-5.44-r108: * The ebuild environment file is located at '/build/amd64-generic/tmp/portage/net-wireless/bluez-5.44-r108/temp/environment'. bluez-5.44-r108: * Working directory: '/build/amd64-generic/tmp/portage/net-wireless/bluez-5.44-r108/work/bluez-5.44' bluez-5.44-r108: * S: '/build/amd64-generic/tmp/portage/net-wireless/bluez-5.44-r108/work/bluez-5.44' bluez-5.44-r108: >>> Failed to emerge net-wireless/bluez-5.44-r108 for /build/amd64-generic/, Log file: bluez-5.44-r108: >>> '/build/amd64-generic/tmp/portage/logs/net-wireless:bluez-5.44-r108:20170915-132644.log' bluez-5.44-r108: bluez-5.44-r108: * Messages for package net-wireless/bluez-5.44-r108 merged to /build/amd64-generic/: bluez-5.44-r108: bluez-5.44-r108: * ERROR: net-wireless/bluez-5.44-r108::chromiumos failed (test phase): bluez-5.44-r108: * asan error not caught bluez-5.44-r108: * bluez-5.44-r108: * Call stack: bluez-5.44-r108: * ebuild.sh, line 93: Called post_src_test bluez-5.44-r108: * environment, line 4821: Called cros_stack_hooks 'post_src_test' bluez-5.44-r108: * profile.bashrc, line 86: Called cros_post_src_test_asan_check bluez-5.44-r108: * profile.bashrc, line 185: Called die bluez-5.44-r108: * The specific snippet of code: bluez-5.44-r108: * rmdir "${T}/asan_logs" 2>/dev/null || die "asan error not caught" bluez-5.44-r108: * bluez-5.44-r108: * If you need support, post the output of `emerge --info '=net-wireless/bluez-5.44-r108::chromiumos'`, bluez-5.44-r108: * the complete build log and the output of `emerge -pqv '=net-wireless/bluez-5.44-r108::chromiumos'`. bluez-5.44-r108: * ASAN error detected: bluez-5.44-r108: * 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-r108: * 0x617000024c96: note: pointer points here bluez-5.44-r108: * 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-r108: * ^ bluez-5.44-r108: * SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior android/avrcp-lib.c:936:14 in bluez-5.44-r108: * ASAN error detected: bluez-5.44-r108: * src/shared/util.c:141:15: runtime error: left shift of 1 by 31 places cannot be represented in type 'int' bluez-5.44-r108: * SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior src/shared/util.c:141:15 in bluez-5.44-r108: * src/shared/util.c:152:17: runtime error: left shift of 1 by 31 places cannot be represented in type 'int' bluez-5.44-r108: * SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior src/shared/util.c:152:17 in bluez-5.44-r108: * The complete build log is located at '/build/amd64-generic/tmp/portage/logs/net-wireless:bluez-5.44-r108:20170915-132644.log'. bluez-5.44-r108: * For convenience, a symlink to the build log is located at '/build/amd64-generic/tmp/portage/net-wireless/bluez-5.44-r108/temp/build.log'. bluez-5.44-r108: * The ebuild environment file is located at '/build/amd64-generic/tmp/portage/net-wireless/bluez-5.44-r108/temp/environment'. bluez-5.44-r108: * Working directory: '/build/amd64-generic/tmp/portage/net-wireless/bluez-5.44-r108/work/bluez-5.44'
,
Sep 15 2017
,
Sep 18 2017
,
Sep 22 2017
I will take a look, are there any build integration of ASAN with autoconf?
,
Sep 29 2017
Dupe of long-standing issue (which nevertheless needs to be resolved) |
||||
►
Sign in to add a comment |
||||
Comment 1 by xiy...@chromium.org
, Sep 15 2017