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

Issue 661436 link

Starred by 0 users

Issue metadata

Status: Fixed
Owner:
Closed: Nov 2016
Cc:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 2
Type: Bug



Sign in to add a comment

DCHECK in ProcessMemoryDump::AddAllocatorDumpInternal while attempting to upload accumulated crash dumps on Android

Project Member Reported by ynovikov@chromium.org, Nov 2 2016

Issue description

I saw this several times while investigating Nexus 5X GPU.FYI bot flakiness, but lost track of the other occurrences.
Here is one I've got:
https://build.chromium.org/p/tryserver.chromium.android/builders/android_optional_gpu_tests_rel/builds/759

I usually see in the log:
I cr_MinidmpUploadService: Attempting to upload accumulated crash dumps.
and then:
F chromium: [FATAL:process_memory_dump.cc(183)] Check failed: insertion_result.second. Duplicate name: gpu/gl/renderbuffers/client_3/renderbuffer_1

Attached is the full log.
 
minidump.txt
73.3 KB View Download
Summary: DCHECK in ProcessMemoryDump::AddAllocatorDumpInternal while attempting to upload accumulated crash dumps on Android (was: DCHECK in ProcessMemoryDump::AddAllocatorDumpInternal while attempting to upload accumulated crash dumps )
Owner: primiano@chromium.org
Status: Assigned (was: Unconfirmed)
primiano@, from "git blame" looks like you should be familiar with this code.
Could you please take a look, maybe you will know why this is happening?
Owner: ericrk@chromium.org
Hmm that is because the GPU memory probe is creating duplicate entries.
Ericrk IIRC you or somebody in your team did add the gpu/ memory dump provider? Can you help triaging this?
Looks like we get duplicate gpu/gl/renderbuffers/client_X/renderbuffer_Y items.
Project Member

Comment 4 by bugdroid1@chromium.org, Nov 4 2016

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

commit b03ea3889fdf345f5042a3112e2585266a951ebe
Author: ericrk <ericrk@chromium.org>
Date: Fri Nov 04 23:08:42 2016

Use share group tracing ID for renderbuffer memory dump

We previously used client id. This is not guaranteed to be unique. Use
the share group tracing ID instead.

BUG= 661436 
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/2473983003
Cr-Commit-Position: refs/heads/master@{#430058}

[modify] https://crrev.com/b03ea3889fdf345f5042a3112e2585266a951ebe/gpu/command_buffer/service/renderbuffer_manager.cc

Status: Fixed (was: Assigned)
Thanks a lot Eric!
Marking this as fixed. Please reopen if this is not the case.

Sign in to add a comment