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

Issue 6266010: Fix crashes in ChromotingHost (Closed)

Created:
9 years, 11 months ago by Alpha Left Google
Modified:
9 years, 6 months ago
CC:
chromium-reviews, Alpha Left Google, dmac, awong, garykac, Paweł Hajdan Jr.
Visibility:
Public.

Description

Fix crashes in ChromotingHost Capturer should be owned by ScreenRecoder. This patch also addes test to test reconnection of ChromotingHost. BUG=69969 TEST=ChromotingHostTest.* Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=72543

Patch Set 1 #

Total comments: 8

Patch Set 2 : fix comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+255 lines, -46 lines) Patch
M remoting/host/chromoting_host.h View 1 2 chunks +5 lines, -4 lines 0 comments Download
M remoting/host/chromoting_host.cc View 9 chunks +24 lines, -21 lines 0 comments Download
A remoting/host/chromoting_host_unittest.cc View 1 chunk +172 lines, -0 lines 0 comments Download
M remoting/host/screen_recorder.h View 1 2 chunks +2 lines, -2 lines 0 comments Download
M remoting/host/screen_recorder.cc View 1 1 chunk +2 lines, -2 lines 0 comments Download
M remoting/host/screen_recorder_unittest.cc View 4 chunks +8 lines, -9 lines 0 comments Download
M remoting/host/simple_host_process.cc View 1 2 chunks +6 lines, -2 lines 0 comments Download
M remoting/protocol/connection_to_client.h View 2 chunks +5 lines, -5 lines 0 comments Download
M remoting/protocol/mock_objects.h View 3 chunks +30 lines, -1 line 0 comments Download
M remoting/remoting.gyp View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
Alpha Left Google
9 years, 11 months ago (2011-01-19 23:50:43 UTC) #1
Sergey Ulanov
Mostly nits. http://codereview.chromium.org/6266010/diff/1/remoting/host/chromoting_host.cc File remoting/host/chromoting_host.cc (right): http://codereview.chromium.org/6266010/diff/1/remoting/host/chromoting_host.cc#newcode192 remoting/host/chromoting_host.cc:192: recorder_->Stop(NULL); Why don't we pass shutdown_task_ after ...
9 years, 11 months ago (2011-01-20 19:51:26 UTC) #2
Alpha Left Google
http://codereview.chromium.org/6266010/diff/1/remoting/host/chromoting_host.cc File remoting/host/chromoting_host.cc (right): http://codereview.chromium.org/6266010/diff/1/remoting/host/chromoting_host.cc#newcode192 remoting/host/chromoting_host.cc:192: recorder_->Stop(NULL); On 2011/01/20 19:51:26, sergeyu wrote: > Why don't ...
9 years, 11 months ago (2011-01-20 20:04:31 UTC) #3
Sergey Ulanov
LGTM
9 years, 11 months ago (2011-01-20 23:06:52 UTC) #4
Timur Iskhodzhanov
This change has made all three TSan bots red. Can you please take a look ...
9 years, 11 months ago (2011-01-26 02:59:06 UTC) #5
Sergey Ulanov
I did run valgrind locally, it didn't catch the leak (not sure why). Already have ...
9 years, 11 months ago (2011-01-26 03:10:08 UTC) #6
hclam
Sorry! But I do run valgrind and tsan when doing those changes.. 2011年1月25日18:59 <timurrrr@chromium.org>: > ...
9 years, 11 months ago (2011-01-26 03:10:43 UTC) #7
Sergey Ulanov
On Tue, Jan 25, 2011 at 7:09 PM, Sergey Ulanov <sergeyu@chromium.org> wrote: > I did ...
9 years, 11 months ago (2011-01-26 03:19:59 UTC) #8
Nico
Did this get resolved? On Tue, Jan 25, 2011 at 6:59 PM, <timurrrr@chromium.org> wrote: > ...
9 years, 11 months ago (2011-01-26 18:55:51 UTC) #9
hclam
Hi Nico, I'm working on it, will submit a fix today. Alpha 2011年1月26日10:55 Nico Weber ...
9 years, 11 months ago (2011-01-26 19:09:15 UTC) #10
Nico
9 years, 11 months ago (2011-01-26 20:13:46 UTC) #11
hclam will revert this until a fix is found.

On Wed, Jan 26, 2011 at 11:09 AM, Alpha (Hin-Chung) Lam
<hclam@google.com> wrote:
> Hi Nico,
> I'm working on it, will submit a fix today.
> Alpha
>
> 2011年1月26日10:55 Nico Weber <thakis@chromium.org>:
>>
>> Did this get resolved?
>>
>> On Tue, Jan 25, 2011 at 6:59 PM,  <timurrrr@chromium.org> wrote:
>> > This change has made all three TSan bots red.
>> > Can you please take a look at the bots?
>> > Also, there are leaks on all Valgrind bots running remoting_unittests.
>> >
>> > Alpha, Sergey, do you run your tests under Valgrind & TSan before commit
>> > or
>> > do
>> > you watch the memory waterfall status after?
>> >
>> > http://codereview.chromium.org/6266010/
>> >
>
>

Powered by Google App Engine
This is Rietveld 408576698