[Mono-bugs] [Bug 686133] New: "The current thread has not entered the lock in write mode" on some aspx requests.

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Fri Apr 8 00:30:49 EDT 2011


https://bugzilla.novell.com/show_bug.cgi?id=686133

https://bugzilla.novell.com/show_bug.cgi?id=686133#c0


           Summary: "The current thread has not entered the lock in write
                    mode" on some aspx requests.
    Classification: Mono
           Product: Mono: Class Libraries
           Version: 2.10.x
          Platform: All
        OS/Version: Ubuntu
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Sys.Web
        AssignedTo: mhabersack at novell.com
        ReportedBy: tymek.majewski at nearmap.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---


User-Agent:       Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.12)
Gecko/20101027 Ubuntu/9.10 (karmic) Firefox/3.6.12

This is mod-mono-server4 (not tested on server2)

On some requests to aspx pages we experience the following exception. The
subsequent requests will complete ok. Not request specific - happens on several
different pages. 

It is possible that concurrent requests trigger this.

Stack trace
Exception in System.Core in ExitWriteLock: The current thread has not entered
the lock in write mode
 at System.Threading.ReaderWriterLockSlim.ExitWriteLock () [0x00000] in
<filename unknown>:0
 at System.Web.Caching.Cache.SetItemTimeout (System.Web.Caching.CacheItem ci,
DateTime absoluteExpiration, TimeSpan slidingExpiration,
System.Web.Caching.CacheItemRemovedCallback onRemoveCallback,
System.Web.Caching.CacheItemUpdateCallback onUpdateCallback, System.String key,
Boolean doLock) [0x00000] in <filename unknown>:0
 at System.Web.Caching.Cache.Insert (System.String key, System.Object value,
System.Web.Caching.CacheDependency dependencies, DateTime absoluteExpiration,
TimeSpan slidingExpiration, CacheItemPriority priority,
System.Web.Caching.CacheItemRemovedCallback onRemoveCallback,
System.Web.Caching.CacheItemUpdateCallback onUpdateCallback, Boolean doLock)
[0x00000] in <filename unknown>:0
 at System.Web.Caching.Cache.Insert (System.String key, System.Object value,
System.Web.Caching.CacheDependency dependencies, DateTime absoluteExpiration,
TimeSpan slidingExpiration, CacheItemPriority priority,
System.Web.Caching.CacheItemRemovedCallback onRemoveCallback) [0x00000] in
<filename unknown>:0
 at System.Web.SessionState.SessionInProcHandler.InsertSessionItem
(System.Web.SessionState.InProcSessionItem item, Int32 timeout, System.String
id) [0x00000] in <filename unknown>:0
 at System.Web.SessionState.SessionInProcHandler.SetAndReleaseItemExclusive
(System.Web.HttpContext context, System.String id,
System.Web.SessionState.SessionStateStoreData item, System.Object lockId,
Boolean newItem) [0x00000] in <filename unknown>:0
No InnerException

Reproducible: Sometimes

Steps to Reproduce:
1. Keep requesting aspx pages.
Actual Results:  
Http 500

Expected Results:  
Http 200

-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the mono-bugs mailing list