New issue
Advanced search Search tips

Issue 642363 link

Starred by 2 users

Issue metadata

Status: WontFix
Owner: ----
Closed: Dec 23
Components:
EstimatedDays: ----
NextAction: ----
OS: All
Pri: 2
Type: Bug



Sign in to add a comment

Chrome_Mac: Crash Report - [Assert] net::ClientSocketHandle::HandleInitCompletion

Project Member Reported by kapishnikov@chromium.org, Aug 30 2016

Issue description

15 unique clients on Mac Stable 52.

Product name: Chrome_Mac
Magic Signature: [Assert] net::ClientSocketHandle::HandleInitCompletion

Current link:
https://crash.corp.google.com/browse?q=product.name%3D'Chrome_Mac'%20AND%20product.version%3D'52.0.2743.116'%20AND%20custom_data.ChromeCrashProto.ptype%3D'browser'%20AND%20custom_data.ChromeCrashProto.magic_signature_1.name%20CONTAINS%20'net%3A%3A'%20AND%20custom_data.ChromeCrashProto.magic_signature_1.name%3D'%5BAssert%5D%20net%3A%3AClientSocketHandle%3A%3AHandleInitCompletion'%20AND%20clientid%3D'8aebc38b-0966-4e3a-9597-2c53bbcc7930'%20AND%20ReportID%3D'6bbe9d4e00000000'&ignore_case=false&enable_rewrite=true&omit_field_name=&omit_field_value=&omit_field_opt=%3D#3


Search properties:
product.name: Chrome_Mac
product.version: 52.0.2743.116
custom_data.chromecrashproto.ptype: browser
custom_data.chromecrashproto.magic_signature_1.name: [Assert] net::ClientSocketHandle::HandleInitCompletion
clientid: 8aebc38b-0966-4e3a-9597-2c53bbcc7930
reportid: 6bbe9d4e00000000

Metadata :
Product Name: Chrome_Mac
Product Version: 52.0.2743.116
Report ID: 6bbe9d4e00000000
Report Time: Sun, 21 Aug 2016 17:45:01 GMT
Uptime: 168599000 ms
Cumulative Uptime: 0 ms
User Email: 
OS Name: Mac OS X
OS Version: 10.11.6 15G31
CPU Architecture: amd64
CPU Info: family 6 model 61 stepping 4


 
Components: -Internals>Network Blink>Network>WebSockets
Labels: -Restrict-View-Google -Pri-1 OS-All Pri-2
WebSockets implementation is seemingly failing to set the pool_id for the handle, which is triggering a CHECK_NE that pool_id_ != -1.

Looking at version, we see this has been going on for quite a while, so it's not related to the removal of the TransportConnectJobHelper.

Someone from WebSockets should triage why "set_pool_id()" isn't being called on the ClientSocketHandle for the Websocket pool.

https://crash.corp.google.com/browse?q=custom_data.ChromeCrashProto.ptype%3D%27browser%27%20AND%20custom_data.ChromeCrashProto.magic_signature_1.name%20CONTAINS%20%27net%3A%3A%27%20AND%20custom_data.ChromeCrashProto.magic_signature_1.name%3D%27%5BAssert%5D%20net%3A%3AClientSocketHandle%3A%3AHandleInitCompletion%27&ignore_case=false&enable_rewrite=true&omit_field_name=&omit_field_value=&omit_field_opt=%3D#samplereports:15,productversion is more representative.

Removing RVG here; it's a benign/intentional CHECK() failure.
Mergedinto: 641013
Status: Duplicate (was: Untriaged)
Status: Available (was: Duplicate)
Oops, I found this is different from issue 641013.
Refactoring for this issue: https://codereview.chromium.org/2328453002/
Project Member

Comment 5 by bugdroid1@chromium.org, Sep 16 2016

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/913f8b743b1922bd332f01d7456ad688b80463cf

commit 913f8b743b1922bd332f01d7456ad688b80463cf
Author: tyoshino <tyoshino@chromium.org>
Date: Fri Sep 16 07:52:38 2016

Refactor WebSocketTransportClientSocketPool's socket handing out code

Tries to make the code a little more readable to help debugging the
associated bug.

For the OK result, BoundNetLog::EndEventWithNetErrorCode() was called
after BoundNetLog::EndEvent() in
WebSocketTransportClientSocketPool::RequestSocket(). Fixed this to call
only EndEvent().

Removed pre-condition checks before ActivateStalledRequest() which are
already performed by its while loop.

Added DCHECK_NE(error, OK) to FlushWithError() to make sure OK is never
received from that path.

Reordered some lines.

R=yhirano@chromium.org,mmenke@chromium.org
BUG= 642363 

Review-Url: https://codereview.chromium.org/2328453002
Cr-Commit-Position: refs/heads/master@{#419127}

[modify] https://crrev.com/913f8b743b1922bd332f01d7456ad688b80463cf/net/socket/websocket_transport_client_socket_pool.cc
[modify] https://crrev.com/913f8b743b1922bd332f01d7456ad688b80463cf/net/socket/websocket_transport_client_socket_pool.h

As far as I investigated, it looks whenever the callback is invoked, set_pool_id(0) is invoked. Hmm.

We see only a few reports for M53-55.

REGEXP(product.name, '^Chrome') AND
  REGEXP(product.version, '^(53|54|55)')
  OMIT RECORD IF
    SUM(CrashedStackTrace.StackFrame.FunctionName='net::ClientSocketHandle::HandleInitCompletion(int)') = 0

Project Member

Comment 7 by sheriffbot@chromium.org, Sep 18 2017

Labels: Hotlist-Recharge-Cold
Status: Untriaged (was: Available)
This issue has been Available for over a year. If it's no longer important or seems unlikely to be fixed, please consider closing it out. If it is important, please re-triage the issue.

Sorry for the inconvenience if the bug really should have been left as Available. If you change it back, also remove the "Hotlist-Recharge-Cold" label.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Project Member

Comment 10 by cr...@system.gserviceaccount.com, Dec 13

Labels: crash-BugNoRepro
Crash analysis has not encountered any reports for this bug for the past 90 days. We have added the label 'crash-BugNoRepro'

Crash analysis will be automatically closing the bug in 6 days. If you do not want Crash analysis to automatically close the bug, please remove the label 'crash-BugNoRepro'. If you have any feedback on this feature, please contact pranavk@
Project Member

Comment 11 by cr...@system.gserviceaccount.com, Dec 23

Labels: crash-BugNoRepro-Closed
Status: WontFix (was: Available)
Crash analysis has not encountered any reports for this bug for the past 90 days. Hence as per the comment 10 days ago, we are closing the bug and setting the status to WontFix. If you have any feedback on this feature, please contact pranavk@

Sign in to add a comment