barzerman / barzer

barzer engine code
MIT License
2 stars 0 forks source link

race condition crash #646

Closed barzerman closed 10 years ago

0xd34df00d commented 10 years ago

I can't reproduce the original crash neither before nor after the fixes :(

barzerman commented 10 years ago

fixed. the problem was in that query processor only read-locked individual tries and not the universe, while clear trie, which locks the universe wipes out the trieCluster - that is what's iterated during matching.

adding Universe level readlock in matching did the trick