generic specialization <DistributedCluster.ReplicaID> of Swift.__RawDictionaryStorage.find<A where A: Swift.Hashable>(A) -> (bucket: Swift._HashTable.Bucket, found: Swift.Bool) in /root/shared/ZK/zk/<compiler-generated>:0
SeanXuCn opened this issue · comments
SeanXuCn commented
A Crash back was found in a concurrent situation
0 0x56076b5cc017 generic specialization <DistributedCluster.ReplicaID> of Swift.__RawDictionaryStorage.find<A where A: Swift.Hashable>(A) -> (bucket: Swift._HashTable.Bucket, found: Swift.Bool) in /root/shared/ZK/zk/<compiler-generated>:0
1 0x56076b5cf367 generic specialization <DistributedCluster.ReplicaID, Swift.UInt64> of Swift.Dictionary._Variant.removeValue(forKey: A) -> B? in /root/shared/ZK/zk/<compiler-generated>:0
2 0x56076b82e7c1 generic specialization <DistributedCluster.ReplicaID, Swift.UInt64> of Swift.Dictionary.removeValue(forKey: A) -> B? in /root/shared/ZK/zk/<compiler-generated>:0
3 0x56076b82e7c1 DistributedCluster.VersionVector.pruneReplica(DistributedCluster.ReplicaID) -> DistributedCluster.VersionVector in .build/checkouts/swift-distributed-actors/Sources/DistributedCluster/Clocks/VersionVector.swift:105
4 0x56076b82e7c1 DistributedCluster.OpLogDistributedReceptionist.pruneClusterMember(removedNode: DistributedCluster.Cluster.Node) -> () in /root/shared/ZK/zk/.build/checkouts/swift-distributed-actors/Sources/DistributedCluster/Cluster/Reception/OperationLogDistributedReceptionist.swift:1005
5 0x56076b817a82 DistributedCluster.OpLogDistributedReceptionist.(onClusterEvent in _0D0F9A8DB12431CCF5A9EE502E3E5067)(event: DistributedCluster.Cluster.Event) -> () in /root/shared/ZK/zk/.build/checkouts/swift-distributed-actors/Sources/DistributedCluster/Cluster/Reception/OperationLogDistributedReceptionist.swift:953
6 0x56076b816c04 (3) suspend resume partial function for closure #1 @Sendable () async throws -> () in DistributedCluster.OpLogDistributedReceptionist.init(settings: DistributedCluster.ReceptionistSettings, system: DistributedCluster.ClusterSystem) async -> DistributedCluster.OpLogDistributedReceptionist in /root/shared/ZK/zk/.build/checkouts/swift-distributed-actors/Sources/DistributedCluster/Cluster/Reception/OperationLogDistributedReceptionist.swift:265
7 0x7f33820f049d
8 0x7f33820f0c4b
9 0x7f3380bcff04
10 0x7f3380bcfcb2
11 0x7f3380bdb5a1
12 0x7f33812126da start_thread in /build/glibc-CVJwZb/glibc-2.27/nptl/pthread_create.c:463
13 0x7f337ee9d61e
14 0xffffffffffffffff