Deadlock is fixed but seems that I found another one, in btreeagain, that bit me today all day long.
Vadim