Hi Matteo, glad to be of help. And sorry but these kinds of concurrency bugs are the hardest to catch, there is no straightforward solution.
-- Does this mail seem too brief? Sorry for that, I don’t mean to be rude! Please see http://emailcharter.org . Johan Fabry - http://pleiad.cl/~jfabry PLEIAD and RyCh labs - Computer Science Department (DCC) - University of Chile > On Sep 8, 2016, at 10:13, Matteo <matte...@yahoo.it> wrote: > > thanks Jhoan for the explanation! > Do you know some technique to intercept this kind bug? (...or to avoid > them?) > > thanks > Matteo