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

Issue 1949113005: Fixing an It2Me host crash on debug builds on Windows (Closed)

Created:
4 years, 7 months ago by joedow
Modified:
4 years, 7 months ago
Reviewers:
Jamie
CC:
chromium-reviews, chromoting-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fixing an It2Me host crash on debug builds on Windows While working on an different It2Me work item I noticed that every time I tried to connect the host would crash with an error: "Function marked as IO-only was called from a thread that disallows IO!...". After some investigation I found that the It2Me host attempts to create the TouchInputInjector (which loads a DLL) on its network thread causing the DCHECK crash. The Me2Me host creates this object on its UI thread which is also where the injector is initialized so my fix is to move the creation of the TouchInputInjector to the UI thread as well so we can guarantee it does not occur on an invalid thread. BUG=609639 Committed: https://crrev.com/afc2dfda52924730d7d1b59eb4340fbeabdc8150 Cr-Commit-Position: refs/heads/master@{#392117}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -4 lines) Patch
M remoting/host/input_injector_win.cc View 4 chunks +6 lines, -4 lines 0 comments Download

Messages

Total messages: 10 (4 generated)
joedow
PTAL! Thanks, Joe
4 years, 7 months ago (2016-05-05 23:55:55 UTC) #3
Jamie
LGTM. Does this need to be merged for another M51 release?
4 years, 7 months ago (2016-05-06 17:22:02 UTC) #4
joedow
I tested out M51 release and we are good. I have a feeling (based on ...
4 years, 7 months ago (2016-05-06 19:15:07 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1949113005/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1949113005/1
4 years, 7 months ago (2016-05-06 19:15:53 UTC) #7
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 7 months ago (2016-05-06 19:19:47 UTC) #8
commit-bot: I haz the power
4 years, 7 months ago (2016-05-06 19:22:02 UTC) #10
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/afc2dfda52924730d7d1b59eb4340fbeabdc8150
Cr-Commit-Position: refs/heads/master@{#392117}

Powered by Google App Engine
This is Rietveld 408576698