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

Issue 11106013: Fix a M23 stable crash issue for device enumeration on Mac (Closed)

Created:
8 years, 2 months ago by no longer working on chromium
Modified:
8 years, 2 months ago
Reviewers:
Avi (use Gerrit)
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

IOKit sends out a device changed notification before the driver fully initializes the device. And Since chrome will enumerate the devices after getting the notification, this will crash on some specific USB devices if the device is being initialized while being enumerated. This patch change IOKit notification to use AudioObjectAddPropertyListener on kAudioHardwarePropertyDevices. By doing so, we will get notification after the driver initializes the devices. BUG=153411 TEST= manual test with Pepper flash device enumeration. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=161594

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+31 lines, -14 lines) Patch
M content/browser/device_monitor_mac.h View 2 chunks +7 lines, -2 lines 0 comments Download
M content/browser/device_monitor_mac.cc View 3 chunks +24 lines, -12 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
no longer working on chromium
HI Avi, Could you please take a quick look at this fix? It is for ...
8 years, 2 months ago (2012-10-12 13:43:11 UTC) #1
Avi (use Gerrit)
LGTM; good luck with your crash.
8 years, 2 months ago (2012-10-12 14:30:27 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/xians@chromium.org/11106013/1
8 years, 2 months ago (2012-10-12 14:35:00 UTC) #3
commit-bot: I haz the power
8 years, 2 months ago (2012-10-12 16:46:25 UTC) #4
Change committed as 161594

Powered by Google App Engine
This is Rietveld 408576698