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

Issue 14862004: Fix null pointer bug, add better logging to see why pointer is sometimes null. (Closed)

Created:
7 years, 7 months ago by Pete Williamson
Modified:
7 years, 7 months ago
Reviewers:
miket_OOO, dcheng
CC:
chromium-reviews, Aaron Boodman, chromium-apps-reviews_chromium.org, Andrew T Wilson (Slow)
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

Fix crash in Synced Notifications. Synced notifications tried to access a null pointer, make sure we don't crash when we do. Also add logging so we can determine how the code got into a bad state. BUG=235979 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=198801

Patch Set 1 #

Total comments: 8

Patch Set 2 : Fix null pointer bug, CR fixes per DCheng #

Patch Set 3 : Synced Notifications null pointer bug fix. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+21 lines, -3 lines) Patch
M chrome/browser/notifications/sync_notifier/chrome_notifier_service.cc View 1 2 3 chunks +21 lines, -3 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
Pete Williamson
Drew: Please review the change to Background_mode_manager.h Mike: Please review the change to chrome_notifier_service.cc Daniel: ...
7 years, 7 months ago (2013-05-03 16:44:52 UTC) #1
dcheng
Please make the CL description more specific for what's being fixed where, e.g.: "Fix crash ...
7 years, 7 months ago (2013-05-03 17:01:02 UTC) #2
miket_OOO
Subject to dcheng's comments, chrome_notifier_service.cc LGTM.
7 years, 7 months ago (2013-05-03 17:33:51 UTC) #3
Pete Williamson
CR fixes and answers per DCheng. I removed Drew as a reviewer since I no ...
7 years, 7 months ago (2013-05-03 18:09:53 UTC) #4
dcheng
LGTM once all comments are addressed. https://codereview.chromium.org/14862004/diff/1/chrome/browser/notifications/sync_notifier/chrome_notifier_service.cc File chrome/browser/notifications/sync_notifier/chrome_notifier_service.cc (right): https://codereview.chromium.org/14862004/diff/1/chrome/browser/notifications/sync_notifier/chrome_notifier_service.cc#newcode59 chrome/browser/notifications/sync_notifier/chrome_notifier_service.cc:59: NOTREACHED() << "Badly ...
7 years, 7 months ago (2013-05-03 18:13:32 UTC) #5
dcheng
On 2013/05/03 18:13:32, dcheng wrote: > LGTM once all comments are addressed. > > https://codereview.chromium.org/14862004/diff/1/chrome/browser/notifications/sync_notifier/chrome_notifier_service.cc ...
7 years, 7 months ago (2013-05-03 18:16:03 UTC) #6
Pete Williamson
CR fix for DCheng https://codereview.chromium.org/14862004/diff/1/chrome/browser/notifications/sync_notifier/chrome_notifier_service.cc File chrome/browser/notifications/sync_notifier/chrome_notifier_service.cc (right): https://codereview.chromium.org/14862004/diff/1/chrome/browser/notifications/sync_notifier/chrome_notifier_service.cc#newcode59 chrome/browser/notifications/sync_notifier/chrome_notifier_service.cc:59: NOTREACHED() << "Badly formed sync ...
7 years, 7 months ago (2013-05-03 18:30:20 UTC) #7
miket_OOO
http://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html
7 years, 7 months ago (2013-05-03 18:31:46 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/petewil@chromium.org/14862004/10001
7 years, 7 months ago (2013-05-06 23:58:09 UTC) #9
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
7 years, 7 months ago (2013-05-07 00:15:55 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/petewil@chromium.org/14862004/10001
7 years, 7 months ago (2013-05-07 16:13:28 UTC) #11
commit-bot: I haz the power
7 years, 7 months ago (2013-05-07 21:29:09 UTC) #12
Message was sent while issue was closed.
Change committed as 198801

Powered by Google App Engine
This is Rietveld 408576698