New issue
Advanced search Search tips

Issue 678598 link

Starred by 2 users

Issue metadata

Status: Verified
Owner:
Closed: Jan 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 1
Type: Bug



Sign in to add a comment

video_decode_accelerator_unittest segfault during SetUp()

Project Member Reported by kcwu@chromium.org, Jan 5 2017

Issue description

Chromebook Samus
ChromeOS 9075.0.0 and 9149.0.0

Received signal 11 SEGV_MAPERR 000000000000
#0 0x7f8c329f6e57 base::debug::StackTrace::StackTrace()
#1 0x7f8c329f5c7c base::debug::(anonymous namespace)::StackDumpSignalHandler()
#2 0x7f8c3323a180 <unknown>
#3 0x7f8c32b96a38 base::PostTaskWithTraits()
#4 0x7f8c3121e171 ui::DrmDisplayHostManager::ProcessEvent()
#5 0x7f8c3121ddfe ui::DrmDisplayHostManager::OnDeviceEvent()
#6 0x7f8c2cbf0eb3 ui::DeviceManagerUdev::ScanDevices()
#7 0x7f8c3121ec7f ui::DrmDisplayHostManager::OnGpuThreadReady()
#8 0x7f8c3122be2e ui::DrmGpuPlatformSupportHost::OnChannelEstablished()
#9 0x7f8c311525d5 ui::FakeGpuProcessHost::InitOnUI()
#10 0x7f8c31151e40 ui::OzoneGpuTestHelper::Initialize()
#11 0x7f8c336c083e media::(anonymous namespace)::VideoDecodeAcceleratorTestEnvironment::SetUp()
#12 0x7f8c3374c251 testing::internal::SetUpEnvironment()
#13 0x7f8c3375c6b0 std::for_each<>()
#14 0x7f8c337567c5 testing::internal::ForEach<>()
#15 0x7f8c3374c522 testing::internal::UnitTestImpl::RunAllTests()
#16 0x7f8c3375af1a testing::internal::HandleSehExceptionsInMethodIfSupported<>()
#17 0x7f8c33755547 testing::internal::HandleExceptionsInMethodIfSupported<>()
#18 0x7f8c3374b31c testing::UnitTest::Run()


My command line
# stop ui
# ./video_decode_accelerator_unittest --gtest_filter=DecodeVariations/VideoDecodeAcceleratorParamTest.TestSimpleDecode/0 --test_video_data=foobar.ivf:352:288:250:258:35:150:12 --v=4 --ozone-platform=gbm

p.s. It doesn't matter if foobar.ivf doesn't exist since it crashed in SetUp.

I binary search and found the issue is due to this CL
https://codereview.chromium.org/2603153003


 
Labels: videoshortlist
Status: Available (was: Untriaged)
Status: Assigned (was: Available)
Issue 679632 has been merged into this issue.

Comment 5 by fdoray@chromium.org, Jan 10 2017

CL waiting for review https://codereview.chromium.org/2620653003/
Project Member

Comment 6 by bugdroid1@chromium.org, Jan 11 2017

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

commit dffd09b3dc86444afa5b91f90a1267bc7d133839
Author: fdoray <fdoray@chromium.org>
Date: Wed Jan 11 14:27:27 2017

Add ScopedTaskScheduler in video_decode_accelerator_unittest.cc.

This is needed for the call to base::PostTaskWithTraits in
ui::DrmDisplayHostManager::ProcessEvent.

BUG= 678598 
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel

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

[modify] https://crrev.com/dffd09b3dc86444afa5b91f90a1267bc7d133839/media/gpu/video_decode_accelerator_unittest.cc

Comment 7 by fdoray@chromium.org, Jan 11 2017

Status: Fixed (was: Assigned)

Comment 8 by dchan@google.com, Mar 4 2017

Labels: VerifyIn-58

Comment 9 by dchan@google.com, Apr 17 2017

Labels: VerifyIn-59

Comment 10 by dchan@google.com, May 30 2017

Labels: VerifyIn-60
Cc: avkodipelli@chromium.org
Status: Verified (was: Fixed)

Sign in to add a comment