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

Issue 760864 link

Starred by 3 users

Issue metadata

Status: Fixed
Owner: ----
Closed: Sep 2017
Cc:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug



Sign in to add a comment

Regression: image decode bench segfaults at startup

Project Member Reported by noel@chromium.org, Aug 31 2017

Issue description

FYI: image decode bench segfaults at startup

Steps to reproduce the problem:
1. ninja -C out/Release image-decode-bench
2. run out/Release/image-decode-bench

What went wrong?
3. seg fault.

Did this work before? 
Yes M62, this is a regression.

 

Comment 1 by noel@chromium.org, Aug 31 2017

Cc: nasko@chromium.org ducbui@google.com
Regressed in the following change:

https://chromium.googlesource.com/chromium/src/+/7be7aceb006f81a3638bba4249c4367ddf659351

cc: ducbui@ nasko@

Comment 2 by noel@chromium.org, Aug 31 2017

Change mentioned in #1 added these lines to blink::Platform::Initialize

https://cs.chromium.org/chromium/src/third_party/WebKit/Source/platform/exported/Platform.cpp?q=blink::platform+initialize&sq=package:chromium&dr=CSs&l=161

+  if (BlinkResourceCoordinatorBase::IsEnabled())
+    RendererResourceCoordinator::Initialize();

workaround: comment out those lines => no segfault in image decode bench.

Comment 3 by noel@chromium.org, Sep 7 2017

Cc: kkaluri@chromium.org
 Issue 760862  has been merged into this issue.
Project Member

Comment 4 by bugdroid1@chromium.org, Sep 7 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/2a47f2a7fd08ee7fa20baa6900ab6516febc6be4

commit 2a47f2a7fd08ee7fa20baa6900ab6516febc6be4
Author: Sam McNally <sammc@chromium.org>
Date: Thu Sep 07 09:07:21 2017

ImageDecodeBench: Initialize mojo and create a MessageLoop.

blink::Platform now requires mojo to be initialized so add
mojo::edk::Init() and base::MessageLoop in main().

Bug:  760864 
Change-Id: Iaa61bb3b06765047cc34b607d827a0f45210e779
Reviewed-on: https://chromium-review.googlesource.com/654467
Reviewed-by: Noel Gordon <noel@chromium.org>
Commit-Queue: Sam McNally <sammc@chromium.org>
Cr-Commit-Position: refs/heads/master@{#500250}
[modify] https://crrev.com/2a47f2a7fd08ee7fa20baa6900ab6516febc6be4/third_party/WebKit/Source/platform/BUILD.gn
[modify] https://crrev.com/2a47f2a7fd08ee7fa20baa6900ab6516febc6be4/third_party/WebKit/Source/platform/testing/ImageDecodeBench.cpp

Comment 5 by noel@chromium.org, Sep 7 2017

Cc: roc...@chromium.org
Status: Fixed (was: Untriaged)
Right, back in business.  Let's not break the image_decode_bench folks.

Sign in to add a comment