seuffert/XBSlink

FATAL Error in XBSlink sniffer dispatcher service thread.

seuffert opened this issue · 1 comments

System.InvalidOperationException: Collection was modified; enumeration
operation may not execute.
at System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource
resource)
at XBSlink.xbs_node.has_xbox(PhysicalAddress xbox_addr) in
C:\Users\seuffert\Documents\develop\XBSlink-git\XBSlink\xbs_node.cs:line
124
at XBSlink.xbs_node_list.distributeDataPacket(PhysicalAddress
dstMac, Byte[] data) in
C:\Users\seuffert\Documents\develop\XBSlink-git\XBSlink\xbs_node_list.cs:line
261
at XBSlink.xbs_sniffer.dispatch_packet(RawPacket& rawPacket) in
C:\Users\seuffert\Documents\develop\XBSlink-git\XBSlink\xbs_sniffer.cs:line
229
at XBSlink.xbs_sniffer.dispatcher() in
C:\Users\seuffert\Documents\develop\XBSlink-git\XBSlink\xbs_sniffer.cs:line
184

fixed:

  • node will lock list to allow multiple thread access