New issue
Advanced search Search tips

Issue 807684 link

Starred by 1 user

Issue metadata

Status: Duplicate
Merged: issue 807685
Owner:
Closed: Feb 2018
Cc:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 2
Type: Bug



Sign in to add a comment

authpolicy failing in asan

Project Member Reported by newcomer@chromium.org, Jan 31 2018

Issue description

authpolicy-0.0.1-r1035:  * ASAN error detected:
authpolicy-0.0.1-r1035:  * =================================================================
authpolicy-0.0.1-r1035:  * ==30==ERROR: AddressSanitizer: attempting free on address which was not malloc()-ed: 0x7f72338b8060 in thread T0
authpolicy-0.0.1-r1035:  *     #0 0x7f7231e62972 in operator delete(void*) ??:0:0
authpolicy-0.0.1-r1035:  *     #1 0x7f7231c4c421 in base::FilePath::GetComponents(std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > >*) const ??:0:0
authpolicy-0.0.1-r1035:  * 
authpolicy-0.0.1-r1035:  * Address 0x7f72338b8060 is a wild pointer.
authpolicy-0.0.1-r1035:  * SUMMARY: AddressSanitizer: bad-free (/var/cache/portage/chromeos-base/authpolicy/out/Default/stub_net+0x107972)
authpolicy-0.0.1-r1035:  * ==30==ABORTING
authpolicy-0.0.1-r1035: 
authpolicy-0.0.1-r1035:  * The complete build log is located at '/build/amd64-generic/tmp/portage/logs/chromeos-base:authpolicy-0.0.1-r1035:20180131-172735.log'.
authpolicy-0.0.1-r1035:  * For convenience, a symlink to the build log is located at '/build/amd64-generic/tmp/portage/chromeos-base/authpolicy-0.0.1-r1035/temp/build.log'.
authpolicy-0.0.1-r1035:  * The ebuild environment file is located at '/build/amd64-generic/tmp/portage/chromeos-base/authpolicy-0.0.1-r1035/temp/environment'.
authpolicy-0.0.1-r1035:  * Working directory: '/mnt/host/source/src/platform2/authpolicy'
authpolicy-0.0.1-r1035:  * S: '/mnt/host/source/src/platform2/authpolicy'
authpolicy-0.0.1-r1035: >>> Failed to emerge chromeos-base/authpolicy-0.0.1-r1035 for /build/amd64-generic/, Log file:
authpolicy-0.0.1-r1035: >>>  '/build/amd64-generic/tmp/portage/logs/chromeos-base:authpolicy-0.0.1-r1035:20180131-172735.log'
authpolicy-0.0.1-r1035: 
authpolicy-0.0.1-r1035:  * Messages for package chromeos-base/authpolicy-0.0.1-r1035 merged to /build/amd64-generic/:
authpolicy-0.0.1-r1035: 
authpolicy-0.0.1-r1035:  * ERROR: chromeos-base/authpolicy-0.0.1-r1035::chromiumos failed (test phase):
authpolicy-0.0.1-r1035:  *   (no error message)
authpolicy-0.0.1-r1035:  * 
authpolicy-0.0.1-r1035:  * Call stack:
authpolicy-0.0.1-r1035:  *     ebuild.sh, line  133:  Called src_test
authpolicy-0.0.1-r1035:  *   environment, line 3984:  Called platform_src_test
authpolicy-0.0.1-r1035:  *   environment, line 3574:  Called platform_pkg_test
authpolicy-0.0.1-r1035:  *   environment, line 3555:  Called platform_test 'run' '/build/amd64-generic/var/cache/portage/chromeos-base/authpolicy/out/Default/authpolicy_test'
authpolicy-0.0.1-r1035:  *   environment, line 3607:  Called die
authpolicy-0.0.1-r1035:  * The specific snippet of code:
authpolicy-0.0.1-r1035:  *       "${cmd[@]}" || die
authpolicy-0.0.1-r1035:  * 
authpolicy-0.0.1-r1035:  * If you need support, post the output of `emerge --info '=chromeos-base/authpolicy-0.0.1-r1035::chromiumos'`,
authpolicy-0.0.1-r1035:  * the complete build log and the output of `emerge -pqv '=chromeos-base/authpolicy-0.0.1-r1035::chromiumos'`.
authpolicy-0.0.1-r1035:  * ASAN error detected:
authpolicy-0.0.1-r1035:  * =================================================================
authpolicy-0.0.1-r1035:  * ==30==ERROR: AddressSanitizer: attempting free on address which was not malloc()-ed: 0x7f72338b8060 in thread T0
authpolicy-0.0.1-r1035:  *     #0 0x7f7231e62972 in operator delete(void*) ??:0:0
authpolicy-0.0.1-r1035:  *     #1 0x7f7231c4c421 in base::FilePath::GetComponents(std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > >*) const ??:0:0
authpolicy-0.0.1-r1035:  * 
authpolicy-0.0.1-r1035:  * Address 0x7f72338b8060 is a wild pointer.
authpolicy-0.0.1-r1035:  * SUMMARY: AddressSanitizer: bad-free (/var/cache/portage/chromeos-base/authpolicy/out/Default/stub_net+0x107972)
authpolicy-0.0.1-r1035:  * ==30==ABORTING
authpolicy-0.0.1-r1035:  * The complete build log is located at '/build/amd64-generic/tmp/portage/logs/chromeos-base:authpolicy-0.0.1-r1035:20180131-172735.log'.
authpolicy-0.0.1-r1035:  * For convenience, a symlink to the build log is located at '/build/amd64-generic/tmp/portage/chromeos-base/authpolicy-0.0.1-r1035/temp/build.log'.
authpolicy-0.0.1-r1035:  * The ebuild environment file is located at '/build/amd64-generic/tmp/portage/chromeos-base/authpolicy-0.0.1-r1035/temp/environment'.
authpolicy-0.0.1-r1035:  * Working directory: '/mnt/host/source/src/platform2/authpolicy'
authpolicy-0.0.1-r1035:  * S: '/mnt/host/source/src/platform2/authpolicy'
 
Mergedinto: 807685
Status: Duplicate (was: Untriaged)
Same root cause as 807685.
Labels: libcxx_asan

Sign in to add a comment