Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(277)

Issue 84963007: Fix crash in TraceLog::UpdateTraceEventDuration() (Closed)

Created:
7 years ago by Xianzhu
Modified:
7 years ago
Reviewers:
nduca
CC:
chromium-reviews, dsinclair+watch_chromium.org, erikwright+watch_chromium.org
Visibility:
Public.

Description

Fix crash in TraceLog::UpdateTraceEventDuration() Because we don't lock when getting event_callback_, there will be chance that it has been set to NULL in SetEventCallbackDisabled() in another thread, but category_group_enabled has not been updated yet. Always check if event_callback is NULL before calling it. BUG=323016 TBR=nduca NOTRY=true Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=237096

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -3 lines) Patch
M base/debug/trace_event_impl.cc View 1 chunk +5 lines, -3 lines 0 comments Download

Messages

Total messages: 2 (0 generated)
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/wangxianzhu@chromium.org/84963007/1
7 years ago (2013-11-25 17:22:32 UTC) #1
commit-bot: I haz the power
7 years ago (2013-11-25 17:24:03 UTC) #2
Message was sent while issue was closed.
Change committed as 237096

Powered by Google App Engine
This is Rietveld 408576698