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

Issue 605229 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Closed: Apr 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Mac
Pri: 3
Type: Bug



Sign in to add a comment

PersistentSampleMap needs to support negative values.

Project Member Reported by bcwh...@chromium.org, Apr 20 2016

Issue description

Although histograms aren't supposed to have negative values, the SparseHistogram does allow them and at least one histogram on Mac (SimpleCache.Http.FileDescriptorLimitHard) uses that.

This causes the debug  PersistentSampleMap to crash (if persistent histograms are enabled) because it DCHECKs that the value is not negative.  It uses a negative value to indicate "all" during loading of sample data.

 
Indeed! You can check enums in histograms.xml and there's quite a bit of negative values - mainly when a hash is logged.
Status: Fixed (was: Started)

Sign in to add a comment