this was actually what was causing the crash. getMyPacketType() is pure virtual, and if the OctreeQueryNode was in process of being destructed, this would cause a crash.