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

Issue 6155009: Attempt to fix a chrome frame tests crash consistently seen on the IE9 builde... (Closed)

Created:
9 years, 11 months ago by ananta
Modified:
9 years, 6 months ago
Reviewers:
amit
CC:
chromium-reviews, amit
Visibility:
Public.

Description

Attempt to fix a chrome frame tests crash consistently seen on the IE9 builder. I was able to reproduce it once and it appears to be occuring when the ListenSocket attempts to pass an OnObjectSignaled notification to a delegate which is the web server which has already been destroyed Attempted fix is to destroy the ListenSocket in the destructor of the web server. BUG=none TEST=Existing chrome frame tests. TBR=amit Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=71125

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -0 lines) Patch
M chrome_frame/test/test_server.cc View 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 2 (0 generated)
ananta
9 years, 11 months ago (2011-01-12 00:32:44 UTC) #1
amit
9 years, 11 months ago (2011-01-12 03:59:52 UTC) #2
lg, thanks for tracking this down.

On Tue, Jan 11, 2011 at 4:32 PM, <ananta@chromium.org> wrote:

> Reviewers: amit,
>
> Description:
> Attempt to fix a chrome frame tests crash consistently seen on the IE9
> builder.
> I was able to
> reproduce it once and it appears to be occuring when the ListenSocket
> attempts
> to pass an
> OnObjectSignaled notification to a delegate which is the web server which
> has
> already been destroyed
>
> Attempted fix is to destroy the ListenSocket in the destructor of the web
> server.
>
> BUG=none
> TEST=Existing chrome frame tests.
>
> TBR=amit
>
>
> Please review this at http://codereview.chromium.org/6155009/
>
> SVN Base: svn://svn.chromium.org/chrome/trunk/src/
>
> Affected files:
>  M     chrome_frame/test/test_server.cc
>
>
> Index: chrome_frame/test/test_server.cc
> ===================================================================
> --- chrome_frame/test/test_server.cc    (revision 71071)
> +++ chrome_frame/test/test_server.cc    (working copy)
> @@ -237,6 +237,8 @@
>  }
>
>  HTTPTestServer::~HTTPTestServer() {
> +  LOG(INFO) << __FUNCTION__;
> +  server_ = NULL;
>  }
>
>  std::list<scoped_refptr<ConfigurableConnection>>::iterator
>
>
>

Powered by Google App Engine
This is Rietveld 408576698