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

Issue 6342018: Fix a teardown hang caused by an Abort() call while there is a pending read. (Closed)

Created:
9 years, 11 months ago by acolwell GONE FROM CHROMIUM
Modified:
9 years, 6 months ago
CC:
chromium-reviews, vrk (LEFT CHROMIUM), sjl, ddorwin+watch_chromium.org, darin-cc_chromium.org, awong, Paweł Hajdan Jr., scherkus (not reviewing), acolwell GONE FROM CHROMIUM
Visibility:
Public.

Description

Fix a teardown hang caused by an Abort() call while there is a pending read. BUG=64754 TEST=BufferedDataSourceTest.StopDoesNotUseMessageLoopForCallback , BufferedDataSourceTest.AbortDuringPendingRead Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=72668

Patch Set 1 #

Total comments: 2

Patch Set 2 : Fix DCHECK so it allows a state transition for teardown. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+121 lines, -23 lines) Patch
M media/base/pipeline_impl.cc View 1 1 chunk +3 lines, -1 line 0 comments Download
M webkit/glue/media/buffered_data_source.h View 1 chunk +1 line, -2 lines 0 comments Download
M webkit/glue/media/buffered_data_source.cc View 7 chunks +51 lines, -20 lines 0 comments Download
M webkit/glue/media/buffered_data_source_unittest.cc View 1 chunk +66 lines, -0 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
acolwell GONE FROM CHROMIUM
Here are some changes that fix a teardown "deadlock" I found last week. Basically the ...
9 years, 11 months ago (2011-01-25 05:01:16 UTC) #1
Alpha Left Google
The lock seems to be protecting read_callback in this case but I don't see a ...
9 years, 11 months ago (2011-01-25 05:38:30 UTC) #2
acolwell GONE FROM CHROMIUM
On 2011/01/25 05:38:30, Alpha wrote: > The lock seems to be protecting read_callback in this ...
9 years, 11 months ago (2011-01-25 17:27:59 UTC) #3
scherkus (not reviewing)
so I think this is LG but agreed crummy but I know this is the ...
9 years, 11 months ago (2011-01-26 03:04:10 UTC) #4
acolwell GONE FROM CHROMIUM
I agree this isn't the greatest solution, but it is the minimal impact one. The ...
9 years, 11 months ago (2011-01-26 17:41:05 UTC) #5
Alpha Left Google
That sounds good to me. LGTM. Thanks for fixing this!
9 years, 11 months ago (2011-01-26 18:43:10 UTC) #6
annacc
If it LG to Alpha and Andrew, it LTGM. Thanks for looking into this, I ...
9 years, 11 months ago (2011-01-26 19:01:52 UTC) #7
scherkus (not reviewing)
9 years, 11 months ago (2011-01-26 19:40:21 UTC) #8
cool let's get it in!

Powered by Google App Engine
This is Rietveld 408576698