Peer2Peer issues #200
-
Hello, I have a couple issues cropping up with P2P, that I hope are springing from the same root cause. They are:
Usually after them I'll get some form of disconnect or crash because I'm expecting packets. I am sending over a variety of packets, all on the same channel. For the first issue, when it happens the result of GetNextReceivedPacketSize is SUCCESS and outPacketSizeBytes is retrieved as 0.
If I get the packetqueueinfo at this point it looks like Everything I send has at least two bytes in it however. For the second issue, I am retrieving all packets available every ten ms and I get the following warning: 2023-01-11T16:19:13.1174657-08:00 LogEOSP2P(Warning): Unable to queue incoming packet, queue is full! QueueSize=[18446744073709551576/5242880] NewPacketSize=[80] The last two digits of the number can vary. In binary that's 1111111111111111111111111111111111111111111111111111111111011000. It feels a lot like something has stomped some of the memory there. Any help is appreciated, thank you! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
In case anyone is interested I'm still not sure why issues are showing up in this way, however it appears that this was caused because I was trying to access the packets in a different thread than the one that is EOSManager calls its tick on. |
Beta Was this translation helpful? Give feedback.
-
Hi @Zach-Gasket - almost a year after this discussion I can confirm that threading was the crux of the issue. It's since been resolved. |
Beta Was this translation helpful? Give feedback.
In case anyone is interested I'm still not sure why issues are showing up in this way, however it appears that this was caused because I was trying to access the packets in a different thread than the one that is EOSManager calls its tick on.