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

Issue 640806 link

Starred by 2 users

Issue metadata

Status: Fixed
Owner:
Last visit > 30 days ago
Closed: Aug 2016
Components:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 1
Type: Bug

Blocking:
issue 640727



Sign in to add a comment

AVDA crashes if it's destructed before the construction thread is started

Project Member Reported by w...@chromium.org, Aug 24 2016

Issue description

In my previous change I forgot to check that the thread is running before dereferencing it's task runner: https://codereview.chromium.org/2245333004

This crashes if AVDA fails in Initialize before StartThread() (or Initialize is never called).

Issue was found by telemetry runs failing in: https://bugs.chromium.org/p/chromium/issues/detail?id=640727
 
Status: Assigned (was: Untriaged)
Labels: ReleaseBlock-Dev
Labels: M-54
Project Member

Comment 4 by bugdroid1@chromium.org, Aug 25 2016

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

commit 970f2b01f45ed574d12ffe9652191c7cf2c2f5fd
Author: watk <watk@chromium.org>
Date: Thu Aug 25 19:17:20 2016

Fix a crash in AVDA when dereferencing a null task runner

Previously AVDAManager::StopThread() made the incorrect assumption that
the construction thread was running before using its task runner. Now
we only use the task runner when the the thread is running.

BUG= 640806 
TEST=run the webrtc.peerconnection benchmark

Review-Url: https://codereview.chromium.org/2277083002
Cr-Commit-Position: refs/heads/master@{#414503}

[modify] https://crrev.com/970f2b01f45ed574d12ffe9652191c7cf2c2f5fd/media/gpu/android_video_decode_accelerator.cc

Comment 5 by w...@chromium.org, Aug 25 2016

Status: Fixed (was: Assigned)

Sign in to add a comment