New issue
Advanced search Search tips

Issue 773892 link

Starred by 3 users

Issue metadata

Status: Assigned
Owner:
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 1
Type: Bug-Regression



Sign in to add a comment

FATAL:data_pack.cc(376): Check failed: !handle->HasResource(resource_id). Duplicate resource 25300 with scale 1

Project Member Reported by kbr@chromium.org, Oct 11 2017

Issue description

See: https://ci.chromium.org/buildbot/tryserver.chromium.android/android_n5x_swarming_rel/?limit=200

Many content_browsertests invocations on the android_n5x_swarming_rel tryserver are failing the following tests:

RendererWebMediaPlayerDelegateTest.TheTimerIsInitiallyStopped
MouseLockDispatcherTest.MultipleTargets
DevToolsAgentTest.DevToolsResumeOnClose
RenderAccessibilityImplTest.HideAccessibilityObject
RenderViewImplTest.ServiceWorkerNetworkProviderSetup
ScreenOrientationDispatcherTest.RaceScenario
RenderFrameImplTest.IsClientLoFiActiveForFrame
RenderViewImplTest.DetachingProxyAlsoDestroysProvisionalFrame
RenderViewImplTest.BrowserNavigationStart

Example failures:

https://ci.chromium.org/buildbot/tryserver.chromium.android/android_n5x_swarming_rel/280213
https://ci.chromium.org/buildbot/tryserver.chromium.android/android_n5x_swarming_rel/280208
https://ci.chromium.org/buildbot/tryserver.chromium.android/android_n5x_swarming_rel/280192
https://ci.chromium.org/buildbot/tryserver.chromium.android/android_n5x_swarming_rel/280191
https://ci.chromium.org/buildbot/tryserver.chromium.android/android_n5x_swarming_rel/280144

The failures all seem the same:

[ RUN      ] RendererWebMediaPlayerDelegateTest.SuspendRequestsAreOnlySentOnceIfHandled
[FATAL:data_pack.cc(376)] Check failed: !handle->HasResource(resource_id). Duplicate resource 25300 with scale 1
[ERROR:test_suite.cc(296)] Currently running: RendererWebMediaPlayerDelegateTest.SuspendRequestsAreOnlySentOnceIfHandled
Searching for native crashes in: /b/swarming/w/itSfHDbg/tmpOp68ZL
Unknown Android release, consider passing --packed-lib.
Reading Android symbols from: /b/swarming/w/ir
Searching for Chrome symbols from within: /b/swarming/w/ir/out/Release/lib.unstripped:/b/swarming/w/ir/out/Release/lib:/b/swarming/w/ir/out/Release
Using toolchain from: /b/swarming/w/ir/third_party/android_tools/ndk/toolchains/aarch64-linux-android-4.9/prebuilt/linux-x86_64/bin/aarch64-linux-android-
Stack Trace:
  RELADDR   FUNCTION                                                                                                                                                                                                                                                                                                                        FILE:LINE
  0000000000d41a67  logging::LogMessage::~LogMessage()+143                                                                                                                                                                                                                                                                                          /b/c/b/android_n5x_swarming_rel/src/base/logging.cc:560
  000000000187207f  ui::DataPack::CheckForDuplicateResources(std::__ndk1::vector<std::__ndk1::unique_ptr<ui::ResourceHandle, std::__ndk1::default_delete<ui::ResourceHandle> >, std::__ndk1::allocator<std::__ndk1::unique_ptr<ui::ResourceHandle, std::__ndk1::default_delete<ui::ResourceHandle> > > > const&)+267                                /b/c/b/android_n5x_swarming_rel/src/ui/base/resource/data_pack.cc:376
  000000000186bf5b  ui::ResourceBundle::AddDataPack(std::__ndk1::unique_ptr<ui::DataPack, std::__ndk1::default_delete<ui::DataPack> >)+51                                                                                                                                                                                                           /b/c/b/android_n5x_swarming_rel/src/ui/base/resource/resource_bundle.cc:817
  000000000186be87  ui::ResourceBundle::AddDataPackFromFileRegion(base::File, base::MemoryMappedFile::Region const&, ui::ScaleFactor)+135                                                                                                                                                                                                           /b/c/b/android_n5x_swarming_rel/src/ui/base/resource/resource_bundle.cc:303
  000000000186dd43  ui::LoadMainAndroidPackFile(char const*, base::FilePath const&)+99                                                                                                                                                                                                                                                              /b/c/b/android_n5x_swarming_rel/src/ui/base/resource/resource_bundle_android.cc:174
  0000000002ef591f  content::TestContentClient::TestContentClient()+247                                                                                                                                                                                                                                                                             /b/c/b/android_n5x_swarming_rel/src/content/test/test_content_client.cc:48
  0000000002ee527b  content::RenderViewTest::CreateContentClient()+27                                                                                                                                                                                                                                                                               /b/c/b/android_n5x_swarming_rel/src/content/public/test/render_view_test.cc:637
  0000000002ee4637  content::RenderViewTest::SetUp()+311                                                                                                                                                                                                                                                                                            /b/c/b/android_n5x_swarming_rel/src/content/public/test/render_view_test.cc:251
  0000000000b0a95b  media::RendererWebMediaPlayerDelegateTest::SetUp()+23                                                                                                                                                                                                                                                                           /b/c/b/android_n5x_swarming_rel/src/content/renderer/media/renderer_webmediaplayer_delegate_browsertest.cc:56
  00000000011cbcd3  testing::Test::Run()+71                                                                                                                                                                                                                                                                                                         /b/c/b/android_n5x_swarming_rel/src/third_party/googletest/src/googletest/src/gtest.cc:2468
  00000000011cc38b  testing::TestInfo::Run()+159                                                                                                                                                                                                                                                                                                    /b/c/b/android_n5x_swarming_rel/src/third_party/googletest/src/googletest/src/gtest.cc:2654
  00000000011cc6e7  testing::TestCase::Run()+163                                                                                                                                                                                                                                                                                                    /b/c/b/android_n5x_swarming_rel/src/third_party/googletest/src/googletest/src/gtest.cc:2772
  00000000011d0233  testing::internal::UnitTestImpl::RunAllTests()+523                                                                                                                                                                                                                                                                              /b/c/b/android_n5x_swarming_rel/src/third_party/googletest/src/googletest/src/gtest.cc:4677
  00000000011cffb3  testing::UnitTest::Run()+123                                                                                                                                                                                                                                                                                                    /b/c/b/android_n5x_swarming_rel/src/third_party/googletest/src/googletest/src/gtest.cc:4285
  0000000002efdfaf  base::TestSuite::Run()+123                                                                                                                                                                                                                                                                                                      /b/c/b/android_n5x_swarming_rel/src/base/test/test_suite.cc:270
  0000000002ecd6c7  content::ContentTestLauncherDelegate::RunTestSuite(int, char**)+43                                                                                                                                                                                                                                                              /b/c/b/android_n5x_swarming_rel/src/content/test/content_test_launcher.cc:106
  0000000002eec06f  content::LaunchTests(content::TestLauncherDelegate*, unsigned long, int, char**)+375                                                                                                                                                                                                                                            /b/c/b/android_n5x_swarming_rel/src/content/public/test/test_launcher.cc:571
  0000000002ecd67b  main+75                                                                                                                                                                                                                                                                                                                         /b/c/b/android_n5x_swarming_rel/src/content/test/content_test_launcher.cc:136

Not sure what component to use here. This is causing rejection of a lot of valid CLs like https://chromium-review.googlesource.com/713588 . Marking P1.

 

Comment 1 by tikuta@chromium.org, Apr 20 2018

This happens yet.
https://ci.chromium.org/buildbot/tryserver.chromium.android/android_n5x_swarming_rel/405199

content_browsertests (with patch) on Android content_browsertests (with patch) on Android
Run on OS: 'Android'
Max shard duration: 0:14:24.420510 (shard #0)
failures:
MouseLockDispatcherTest.MultipleTargets
RenderViewImplTest.DetachingProxyAlsoDestroysProvisionalFrame
RenderAccessibilityImplTest.HideAccessibilityObject
RenderViewImplTest.ServiceWorkerNetworkProviderSetup
RendererWebMediaPlayerDelegateTest.TheTimerIsInitiallyStopped
RenderViewImplTest.BrowserNavigationStart

Owner: agrieve@chromium.org
Still happens:
https://ci.chromium.org/buildbot/tryserver.chromium.android/android_n5x_swarming_rel/426201

agrieve@, could you please triage?
Status: Assigned (was: Untriaged)
This bug has an owner, thus, it's been triaged. Changing status to "assigned".
Cc: agrieve@chromium.org dalecur...@chromium.org
 Issue 912262  has been merged into this issue.
Cc: liber...@chromium.org
 Issue 912265  has been merged into this issue.
Cc: jbudorick@google.com
This is starting to hit 5X runs more and more frequently. +current trooper.
Cc: -jbudorick@google.com jbudorick@chromium.org

Sign in to add a comment