Open agnibos opened 6 years ago
Yes, this happened 12/19, then today, it happens very infrequently a'la heisenbug - which makes me think that this is multi-threading related issue (improper locking/barrier/sequencing/race)
See LocalCacheTable.cs#L161, the problem is that you can not use -1 as a flag, as the Age gets updated by thread all the time, so non-Chain entities get interpreted as "chain".
Why does this happen? Simple: clock drift. It returns negative time delta in future, this effectively sets Age to <0 which triggers IsChain==true
but the typecast is not checked later, hence NULL REF
can not use this flag <1 maybe add another field?
The _entry
gobbles up ram like crazy, we have to be mindful with additional field creation as it makes these _entry[]
bigger and bigger
But at least we have figured it out!
Was fixed by 8c45548dc34b06293e7932141dd98118ee960b61 But needs more extensive testing. Keep issue open for now
Guys, any news on this? Have not heard anything bad, close?
The issues was resolved. Lets keep it open for another month just in case
This happens on
table.sweep
and ontable.fethExistingEntry
- one the memory corrupts the error keeps generating on subsequent sweeps:Sweep exception:
Access/Get Exception: