We have complex tree structures of ref objects in: * our P2P networking stack with Futures flying left and right. * our internal representation of the Ethereum blockchain * our wire format (based on Merkle Trees)
We have thousands of nodes running 24/7 for weeks to months on end in <https://github.com/status-im/nimbus-eth2> and we never got that specific heisenbugs. You'd have to give us more. It sounds like you're accessing uninitialized memory?