Comments (6)
Original comment by azizatif
on 3 Nov 2007 at 12:36
from elmah.
Original comment by azizatif
on 4 Nov 2007 at 2:56
- Changed state: Accepted
from elmah.
Original comment by azizatif
on 4 Nov 2007 at 2:57
- Added labels: Component-Logic
from elmah.
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.
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.
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)
- Migrate to Automatic Package Restore HOT 9
- Elmah doesn't display LOGON_USER HOT 1
- The SQL Server Compact package references an obsolete SQL Server Compact package HOT 4
- clustered index on ELMAH_Error
- <i class=" onmouseover="alert(document.domain)//""> HOT 1
- why i can not receive some mail from elmah in elmah.axd HOT 1
- Sign the assemblies HOT 1
- Building fails when using Command Prompt for VS 2013 HOT 2
- Razor templates broken by more recent Razor Generator versions HOT 2
- nugetRestore.proj warning about non-existing project HOT 5
- VS build on fresh clone breaks demo web site HOT 1
- VS build on fresh clone breaks demo web site HOT 6
- Multiple log sources
- Patch for /src/Elmah.SqlServer/SQLServer.sql
- Fix build issues with the demo project HOT 2
- Build fails without Internet connectivity HOT 3
- Cannot set ApplicationName for XmlFileErrorLog HOT 2
- Internal Server Error error code 500 is logged as 0
- Move repo/project off Google Code HOT 2
- Can we configure Elmah email setting at runtime HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from elmah.