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

Issue 125025: Try to track down a dangling ClientSocketHandle* by upgrading DCHECKs to CHECKs. (Closed)

Created:
11 years, 6 months ago by willchan no longer on Chromium
Modified:
9 years, 7 months ago
Reviewers:
eroman, wtc
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

Try to track down a dangling ClientSocketHandle* by upgrading DCHECKs to CHECKs. Add exception handling code for GetLoadState() for when a ClientSocketHandle doesn't exist. BUG=http://crbug.com/13908 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=18242

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+32 lines, -28 lines) Patch
M net/base/client_socket_handle.cc View 1 chunk +3 lines, -3 lines 0 comments Download
M net/base/tcp_client_socket_pool.cc View 18 chunks +29 lines, -25 lines 2 comments Download

Messages

Total messages: 3 (0 generated)
willchan no longer on Chromium
I looked at this crash and it seems like we're trying to GetLoadState() for a ...
11 years, 6 months ago (2009-06-11 23:54:16 UTC) #1
wtc
LGTM. Hope you can track this down soon. http://codereview.chromium.org/125025/diff/1/3 File net/base/tcp_client_socket_pool.cc (right): http://codereview.chromium.org/125025/diff/1/3#newcode310 Line 310: ...
11 years, 6 months ago (2009-06-11 23:58:19 UTC) #2
willchan no longer on Chromium
11 years, 6 months ago (2009-06-12 00:23:54 UTC) #3
http://codereview.chromium.org/125025/diff/1/3
File net/base/tcp_client_socket_pool.cc (right):

http://codereview.chromium.org/125025/diff/1/3#newcode310
Line 310: NOTREACHED() << "ClientSocketPool does not contain group: " <<
group_name
On 2009/06/11 23:58:19, wtc wrote:
> NOTREACHED is a DCHECK.

i know it's a DCHECK.  i want to keep it as a DCHECK, but not crash in that one
particular spot in release, just in case i am wrong and the other CHECKs don't
catch it.

Powered by Google App Engine
This is Rietveld 408576698