[Mono-dev] Mono 3.10.0 NullReferenceException in RBTree.find_key

Sotirios Delimanolis sotodel_89 at yahoo.com
Wed Jun 28 17:06:37 UTC 2017


Yes, of course. If I could, I would. That's not an option at the moment.

On Tuesday, June 27, 2017, 9:31:34 PM PDT, Andres <knocte at gmail.com> wrote:

Mono 3.10.0 is very old, I recommend upgrading before investigating 
more. You never know if you might be chasing a bug that is fixed already.

On Friday, June 23, 2017 02:16 AM, Sotirios Delimanolis via 
Mono-devel-list wrote:
> Running Mono 3.10.0
> 
> Mono JIT compiler version 3.10.0 (tarball Fri Oct 10 17:29:39 UTC 2014)
> 
> We're seeing an unhandled exception that crashes our program in 
> MemoryCache's scheduled cleanup . This is the stack trace dumped before exit
> 
> 2017-06-22 03:14:28.478510 GMT Unhandled Exception:
> 2017-06-22 03:14:28.478511 GMT System.NullReferenceException: Object 
> reference not set to an instance of an object
> 2017-06-22 03:14:28.478512 GMT  at 
> System.Collections.Generic.RBTree.find_key[String] (System.String key, 
> System.Collections.Generic.List`1 path) [0x00000] in <filename unknown>:0
> 2017-06-22 03:14:28.478514 GMT  at 
> System.Collections.Generic.RBTree.Remove[String] (System.String key) 
> [0x00000] in <filename unknown>:0
> 2017-06-22 03:14:28.478551 GMT  at 
> System.Collections.Generic.SortedDictionary`2[System.String,System.Runtime.Caching.MemoryCacheEntry].Remove 
> (System.String key) [0x00000] in <filename unknown>:0
> 2017-06-22 03:14:28.478553 GMT  at 
> System.Runtime.Caching.MemoryCacheContainer.DoRemoveEntry 
> (System.Runtime.Caching.MemoryCacheEntry entry, Boolean updateLRU, 
> System.String key, CacheEntryRemovedReason reason) [0x00000] in 
> <filename unknown>:0
> 2017-06-22 03:14:28.478557 GMT  at 
> System.Runtime.Caching.MemoryCacheContainer.DoRemoveExpiredItems 
> (Boolean needLock) [0x00000] in <filename unknown>:0
> 2017-06-22 03:14:28.478559 GMT  at 
> System.Runtime.Caching.MemoryCacheContainer.RemoveExpiredItems 
> (System.Object state) [0x00000] in <filename unknown>:0
> 2017-06-22 03:14:28.478562 GMT  at 
> System.Threading.Timer+Scheduler.TimerCB (System.Object o) [0x00000] in 
> <filename unknown>:0
> 
> Looking at the find_keyimplementation here 
> <https://github.com/mono/mono/blob/mono-3.10.0-branch/mcs/class/System/System.Collections.Generic/RBTree.cs#L306-L335>, 
> I don't see anything that can be null that could cause a 
> NullReferenceException.
> 
> What is going on?
> 
> 
> 
> 
> 
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.dot.net
> http://lists.dot.net/mailman/listinfo/mono-devel-list
> 


_______________________________________________
Mono-devel-list mailing list
Mono-devel-list at lists.dot.net
http://lists.dot.net/mailman/listinfo/mono-devel-list
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.dot.net/pipermail/mono-devel-list/attachments/20170628/a517a636/attachment.html>


More information about the Mono-devel-list mailing list