New issue
Advanced search Search tips

Issue 807681 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

p2p failing in asan

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

Issue description

p2p-0.0.1-r2796:  * ASAN error detected:
p2p-0.0.1-r2796:  * =================================================================
p2p-0.0.1-r2796:  * ==46==ERROR: AddressSanitizer: attempting free on address which was not malloc()-ed: 0x7feb36f4a010 in thread T0
p2p-0.0.1-r2796:  *     #0 0x7feb359fd352 in operator delete(void*) ??:0:0
p2p-0.0.1-r2796:  *     #1 0x7feb3580214f in base::CommandLine::AppendSwitchNative(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) ??:0:0
p2p-0.0.1-r2796:  * 
p2p-0.0.1-r2796:  * Address 0x7feb36f4a010 is a wild pointer.
p2p-0.0.1-r2796:  * SUMMARY: AddressSanitizer: bad-free (/var/cache/portage/chromeos-base/p2p/out/Default/p2p-http-server+0x102352)
p2p-0.0.1-r2796:  * ==46==ABORTING
p2p-0.0.1-r2796: 
p2p-0.0.1-r2796:  * The complete build log is located at '/build/amd64-generic/tmp/portage/logs/chromeos-base:p2p-0.0.1-r2796:20180131-171648.log'.
p2p-0.0.1-r2796:  * For convenience, a symlink to the build log is located at '/build/amd64-generic/tmp/portage/chromeos-base/p2p-0.0.1-r2796/temp/build.log'.
p2p-0.0.1-r2796:  * The ebuild environment file is located at '/build/amd64-generic/tmp/portage/chromeos-base/p2p-0.0.1-r2796/temp/environment'.
p2p-0.0.1-r2796:  * Working directory: '/build/amd64-generic/var/cache/portage/chromeos-base/p2p/out/Default'
p2p-0.0.1-r2796:  * S: '/mnt/host/source/src/platform2/p2p'
p2p-0.0.1-r2796: >>> Failed to emerge chromeos-base/p2p-0.0.1-r2796 for /build/amd64-generic/, Log file:
p2p-0.0.1-r2796: >>>  '/build/amd64-generic/tmp/portage/logs/chromeos-base:p2p-0.0.1-r2796:20180131-171648.log'
p2p-0.0.1-r2796: 
p2p-0.0.1-r2796:  * Messages for package chromeos-base/p2p-0.0.1-r2796 merged to /build/amd64-generic/:
p2p-0.0.1-r2796: 
p2p-0.0.1-r2796:  * ERROR: chromeos-base/p2p-0.0.1-r2796::chromiumos failed (test phase):
p2p-0.0.1-r2796:  *   (no error message)
p2p-0.0.1-r2796:  * 
p2p-0.0.1-r2796:  * Call stack:
p2p-0.0.1-r2796:  *     ebuild.sh, line  133:  Called src_test
p2p-0.0.1-r2796:  *   environment, line 3961:  Called platform_src_test
p2p-0.0.1-r2796:  *   environment, line 3554:  Called platform_pkg_test
p2p-0.0.1-r2796:  *   environment, line 3535:  Called platform_test 'run' './p2p-server-unittests'
p2p-0.0.1-r2796:  *   environment, line 3587:  Called die
p2p-0.0.1-r2796:  * The specific snippet of code:
p2p-0.0.1-r2796:  *       "${cmd[@]}" || die
p2p-0.0.1-r2796:  * 
p2p-0.0.1-r2796:  * If you need support, post the output of `emerge --info '=chromeos-base/p2p-0.0.1-r2796::chromiumos'`,
p2p-0.0.1-r2796:  * the complete build log and the output of `emerge -pqv '=chromeos-base/p2p-0.0.1-r2796::chromiumos'`.
p2p-0.0.1-r2796:  * ASAN error detected:
p2p-0.0.1-r2796:  * =================================================================
p2p-0.0.1-r2796:  * ==46==ERROR: AddressSanitizer: attempting free on address which was not malloc()-ed: 0x7feb36f4a010 in thread T0
p2p-0.0.1-r2796:  *     #0 0x7feb359fd352 in operator delete(void*) ??:0:0
p2p-0.0.1-r2796:  *     #1 0x7feb3580214f in base::CommandLine::AppendSwitchNative(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) ??:0:0
p2p-0.0.1-r2796:  * 
p2p-0.0.1-r2796:  * Address 0x7feb36f4a010 is a wild pointer.
p2p-0.0.1-r2796:  * SUMMARY: AddressSanitizer: bad-free (/var/cache/portage/chromeos-base/p2p/out/Default/p2p-http-server+0x102352)
p2p-0.0.1-r2796:  * ==46==ABORTING
p2p-0.0.1-r2796:  * The complete build log is located at '/build/amd64-generic/tmp/portage/logs/chromeos-base:p2p-0.0.1-r2796:20180131-171648.log'.
p2p-0.0.1-r2796:  * For convenience, a symlink to the build log is located at '/build/amd64-generic/tmp/portage/chromeos-base/p2p-0.0.1-r2796/temp/build.log'.
p2p-0.0.1-r2796:  * The ebuild environment file is located at '/build/amd64-generic/tmp/portage/chromeos-base/p2p-0.0.1-r2796/temp/environment'.
p2p-0.0.1-r2796:  * Working directory: '/build/amd64-generic/var/cache/portage/chromeos-base/p2p/out/Default'
p2p-0.0.1-r2796:  * S: '/mnt/host/source/src/platform2/p2p'
 
Mergedinto: 807685
Status: Duplicate (was: Assigned)
Same root cause as 807685.
Labels: libcxx_asan

Sign in to add a comment