New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 643500 link

Starred by 1 user

Issue metadata

Status: Available
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 2
Type: Bug



Sign in to add a comment

Mojo: DCHECK when Java service deletes callback without calling it

Project Member Reported by mgiuca@chromium.org, Sep 2 2016

Issue description

Version: 55
OS: All

What steps will reproduce the problem?
(1) Have a Java Mojo service that takes a callback.
(2) Drop all references to the callback without calling it.
(3) Wait for a garbage collection.
(4) Try to send more messages to the service from the client.

What is the expected output?
DCHECK or some kind of indication that you made a mistake by deleting the callback without calling it.

What do you see instead?
The Mojo pipe closes silently (from the Java service perspective; a connection error is delivered to the client). You are puzzled for hours because you can't figure out why the pipe is mysteriously closing; see  Issue 640324 .
 
Components: -Internals>Mojo Internals>Mojo>Bindings
Project Member

Comment 2 by sheriffbot@chromium.org, Feb 21 2018

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
Cc: -tibell@chromium.org
Status: Available (was: Untriaged)

Sign in to add a comment