Giter Site home page Giter Site logo

Comments (6)

GoogleCodeExporter avatar GoogleCodeExporter commented on July 18, 2024

Original comment by azizatif on 3 Nov 2007 at 12:36

from elmah.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 18, 2024

Original comment by azizatif on 4 Nov 2007 at 2:56

  • Changed state: Accepted

from elmah.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 18, 2024

Original comment by azizatif on 4 Nov 2007 at 2:57

  • Added labels: Component-Logic

from elmah.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 18, 2024
This was a tough cookie, but fixed in r236. The problem occurred due to 
synchronous 
completion of an asynchronous operation. More specifically, 
ErrorLogDownloadHandler.BeginProcessRequest could return a null IAsyncResult if 
the 
downstream ErrorLog.BeginGetErrors operation completed synchronously. The 
problem 
was solved by copying a reference of the IAsyncResult object on the stack from 
within ErrorLogDownloadHandler.BeginProcessRequest.

Original comment by azizatif on 4 Nov 2007 at 3:00

  • Changed state: Fixed

from elmah.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 18, 2024
So was I almost right? ;) Actually, making _result null removed the only 
reference to
that object.

Original comment by [email protected] on 4 Nov 2007 at 10:46

from elmah.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 18, 2024
Almost, right. :) Removing the _result reference as you suggested would have 
helped 
this once case but it would have been logically not the right solution and 
therefore 
probably caused another bug somewhere down the road. However, given the fix I 
made, 
I can now see how what you were suggesting seemed to make things look alright. 
Also, 
it explains why it always occurred in 1.x but only seldom in 2.0. The 
SqlErrorLog is 
always synchronous under 1.x but synchronous/asynchronous under 2.0. The bug 
was 
with synchronous completion of asynchronous requests and that could happen from 
time 
to time.

Original comment by azizatif on 4 Nov 2007 at 11:38

from elmah.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.