Comment #7 on issue 24160 by [email protected]: Crash on quit in DNS code
http://code.google.com/p/chromium/issues/detail?id=24160

@jar: So this crash was on a LinearHistogram. I had hastily pasted the  
callsite above, but it was wrong; should instead read:

   // Make a custom linear histogram for the region from 0 to boundary.
   const size_t kBucketCount = 52;
   static LinearHistogram histogram("DNS.QueueRecycledUnder2", TimeDelta(),
                                    kBoundary, kBucketCount);
   histogram.SetFlags(kUmaTargetedHistogramFlag);
   histogram.AddTime(queue_duration_);      <-----------------------------


So our puzzlement over why the earlier DCHECK() is explained by the fact  
that the it would have been using LinearHistogram::BucketIndex() rather than
Histogram::BucketIndex().

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

--~--~---------~--~----~------------~-------~--~----~
Automated mail from issue updates at http://crbug.com/
Subscription options: http://groups.google.com/group/chromium-bugs
-~----------~----~----~----~------~----~------~--~---

Reply via email to