Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(46)

Issue 284001: Fix linux-gate handling in LinuxDumper to get valid File IDs (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
13 years, 6 months ago by Ted Mielczarek
Modified:
13 years, 6 months ago
Reviewers:
mochalatte
CC:
google-breakpad-dev_googlegroups.com
Visibility:
Public.

Description

The linux-gate handling has been kind of broken in LinuxDumper for a while,
probably since I changed how File IDs were generated. Since it's not a physical
file on disk, the existing File ID generation fails. This patch causes us to
special-case it so we get a valid File ID out of it. I would guess that the
linux-gate symbol files in the tree need to be updated as well, since they will
probably have different IDs, but I only currently have a 64-bit Linux, so I'm
not 100% sure of the process to regenerate them.

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats Patch
M src/client/linux/minidump_writer/linux_dumper.cc View 1 chunk +15 lines, -0 lines 0 comments Download
M src/client/linux/minidump_writer/linux_dumper_unittest.cc View 2 chunks +77 lines, -2 lines 0 comments Download

Messages

Total messages: 2
Ted Mielczarek
13 years, 6 months ago #1
mochalatte
13 years, 6 months ago #2
LGTM
Yeah, updating the symbol files should be an easier-to-repeat process.  IIRC
every process on a system will have the same linux-gate mapped but I wonder if
the mapping for the VDSO itself has even changed in recent versions of Linux.
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld 1004:630ec63f810e-tainted