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

Issue 7031052: Dbus call timeout handled (Closed)

Created:
9 years, 7 months ago by glotov
Modified:
9 years, 7 months ago
Reviewers:
stevenjb
CC:
chromium-reviews, brettw-cc_chromium.org, Dmitry Polukhin
Visibility:
Public.

Description

Dbus call timeout handled BUG=chromium-os:15496 TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=86806

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -0 lines) Patch
M chrome/browser/browser_main.cc View 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
glotov
Hello Steven, this change must hotfix the crashes mentioned in the bug. As we cannot ...
9 years, 7 months ago (2011-05-25 15:31:55 UTC) #1
stevenjb
This change looks fine, but looking at the issue, one thing I can imagine causing ...
9 years, 7 months ago (2011-05-25 18:02:37 UTC) #2
glotov
Do you think that empty path may drive DBus mad this way? Should I check ...
9 years, 7 months ago (2011-05-25 18:25:06 UTC) #3
glotov
And regarding this change, should it be committed? BTW, to fix <unknown> log domain by ...
9 years, 7 months ago (2011-05-25 18:29:33 UTC) #4
stevenjb
9 years, 7 months ago (2011-05-25 18:59:11 UTC) #5
An empty path is unlikely, but it might cause a DBus crash, so I figure it is
worth checking. It could also be an edge case, but the path here is for a mobile
device (not service), which shouldn't normally be disappearing on us. 

We should probably move the MonitorSMS calls to NetworkLibrary and create a
wrapper function that checks that the device path is not empty and is still in
the list of devices (device_map_) before calling MonitorSMS. Does that make
sense? If not you can re-assign the issue to me once you've pushed this change
and I will make the other change and have you review it.

Adding the correct log domain for DBus seems like it would be worthwhile; I
doubt this will be our last DBus issue.

We can push this CL as-is, but lets not close the issue until we add the other
checks.

LGTM

Powered by Google App Engine
This is Rietveld 408576698