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

Issue 720301 link

Starred by 4 users

Issue metadata

Status: Assigned
Owner:
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug

Blocked on:
issue crashpad:30



Sign in to add a comment

minidumps have a zero module GUID after a chrome update on Linux

Project Member Reported by skyos...@chromium.org, May 10 2017

Issue description

Version: 60.0.3080.5 (Official Build) dev (64-bit) (Linux)

I got a crash on Inbox and followed the crash report id from chrome://crashes to https://crash.corp.google.com/browse?q=reportid=%27034e3ccf50000000%27#5. However the crash server was unable to symbolize the crash dump -- probably because I have a pending Chrome update (which has deleted the binary I'm running) but haven't restarted the browser yet?
 
Cc: rsesek@chromium.org
Components: -Internals>Core Internals>CrashReporting
Owner: mark@chromium.org
Status: Available (was: Untriaged)
Summary: minidumps have a zero module GUID after a chrome update on Linux (was: Crash dumps not symbolized)
+mark, for crashpad plans (or perhaps is already a solved problem there?).

We just realized that after chrome is updated (but before restarting it), renderer crashes that happen fails to be symbolized by crash/.
This seems to be because the module GUID for chrome is reported as 0000000000000000.

It's not fully clear to me why. I can see how this happens if we try to open() the chrome executable in the minidump_writer after it has been unliked by the updated.
However that shouldn't be the case. The code in FindElfBuildIDNote seems to just use the existing memory-mapped area, so right now I can't tell where the bug is.

Comment 2 by mark@chromium.org, May 10 2017

I don’t want to put too much effort into tracing through Breakpad spaghetti and integration spaghetti, but I see that MinidumpWriter::WriteMappings does some stuff “mappings from the dumper” and some other stuff with “mappings provided by the caller”. The former will try to grab the module ID from memory, but the latter will use whatever the caller provided. Could the caller be doing something dumb like trying to get the build ID from open()ing the executable?

Comment 3 by mark@chromium.org, May 10 2017

Cc: mark@chromium.org
 Issue 716579  has been merged into this issue.
I fully agree that fixing this right now in breakpad is like doing a fancy tattoo to a dying horse. Whatever this is we have been in this situation for a while now.
Just a use-case to keep in mind for crashpad.

Comment 5 by mark@chromium.org, May 10 2017

Blockedon: crashpad:30
Crashpad’s going to grab the module ID from the loaded image. I hope we can avoid stuff like “let the caller pass in its own boneheaded garbage” that perverted Breakpad. I’ll just block this bug on the Crashpad Android client, then.
Project Member

Comment 6 by sheriffbot@chromium.org, May 10 2018

Labels: Hotlist-Recharge-Cold
Status: Untriaged (was: Available)
This issue has been Available for over a year. If it's no longer important or seems unlikely to be fixed, please consider closing it out. If it is important, please re-triage the issue.

Sorry for the inconvenience if the bug really should have been left as Available.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot

Comment 7 by rsesek@chromium.org, May 10 2018

Status: Available (was: Untriaged)
Should be fixed in the next few quarters.
Status: Assigned (was: Available)

Sign in to add a comment