New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 882687 link

Starred by 2 users

Issue metadata

Status: Verified
Owner:
Last visit > 30 days ago
Closed: Sep 14
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 1
Type: Bug



Sign in to add a comment

bluez unittest failing on amd64-generic-ubsan PFQ informational bot

Project Member Reported by raymes@chromium.org, Sep 11

Issue description

Bot:
https://cros-goldeneye.corp.google.com/chromeos/healthmonitoring/buildDetails?buildbucketId=8935737989101717552

Log:
https://luci-logdog.appspot.com/v/?s=chromeos/buildbucket/cr-buildbucket.appspot.com/8935737989101717552/+/steps/UnitTest/0/stdout

bluez-5.44-r154:  * ASAN error detected:
bluez-5.44-r154:  * unit/util.c:191:6: runtime error: index 4 out of bounds for type 'struct test_buf [4]'
bluez-5.44-r154:  *     #0 0x7ff24cdf00d5 in test_io_cb /build/amd64-generic/tmp/portage/net-wireless/bluez-5.44-r154/work/bluez-5.44/unit/util.c:191:24
 
Status: Assigned (was: Available)
Labels: -Pri-2 Pri-1
Now getting package build failures in this bot.

https://luci-logdog.appspot.com/v/?s=chromeos/buildbucket/cr-
buildbucket.appspot.com/8935486324901130016/+/steps/UnitTest/0/stdout

Failed net-wireless/bluez-5.44-r154 (in 0m23.4s). Your build has failed.
Pending 7/74, [Time 11:16:27 | Elapsed 44m32.2s | Load 3.44 15.21 22.02]
Packages failed:
	net-wireless/bluez-5.44-r154

Raising priority since it's broken the bot for a few days now. 
Status: Started (was: Assigned)
Project Member

Comment 4 by bugdroid1@chromium.org, Sep 14

Labels: merge-merged-chromeos-5.44
The following revision refers to this bug:
  https://chromium.googlesource.com/chromiumos/third_party/bluez/+/cf693389d597515b46e465bed91e06576c22baf9

commit cf693389d597515b46e465bed91e06576c22baf9
Author: Sonny Sasaka <sonnysasaka@chromium.org>
Date: Fri Sep 14 06:04:26 2018

CHROMIUM: Fix UBSan error.

struct test_buf needs to be RANDOM_PACKETS+1 long.

BUG= chromium:882687 
TEST=Run: USE=ubsan FEATURES=test emerge-$BOARD bluez

Change-Id: I0877f9e69905d5ee25ccbf4028fd5f6ea10f6e11
Reviewed-on: https://chromium-review.googlesource.com/1225832
Reviewed-by: Qiyu Hu <qiyuh@google.com>
Reviewed-by: Sonny Sasaka <sonnysasaka@chromium.org>
Tested-by: Sonny Sasaka <sonnysasaka@chromium.org>
Commit-Queue: Sonny Sasaka <sonnysasaka@chromium.org>

[modify] https://crrev.com/cf693389d597515b46e465bed91e06576c22baf9/unit/util.h

Cc: cmt...@chromium.org yunlian@chromium.org sonnysasaka@chromium.org llozano@chromium.org manojgupta@chromium.org dmitrygr@chromium.org
 Issue 877840  has been merged into this issue.
Status: Verified (was: Started)
Latest ubsan builder is passing the Unit tests
https://cros-goldeneye.corp.google.com/chromeos/healthmonitoring/buildDetails?buildbucketId=8935397868771073152 .

Sign in to add a comment