Closed jwbonner closed 1 year ago
Thanks I’ll do some code review of this area to see if I can find anything.
I'm not seeing anything obvious, everything should be getting cleaned up on a client disconnect. Combined with the message re: corrupted double-linked list, however, my suspicion is that something is corrupting memory with a use-after-free... unfortunately this could be occurring anywhere in the C++ level of wpilib (or vendor libraries), not just ntcore. Out of curiousity, what vendor libraries are you using?
We have Phoenix 5.30.3, REVLib 2023.1.2, and AdvantageKit. I'll check if there's anything obvious in the native AdvantageKit component too.
We observed the NT server on the RIO crash with a segfault (WPILib 2023.2.1). This has only happened once; we haven't been able to recreate it. It maybe seems related to clients connecting and disconnecting? The crash log is below, and I also included the full DSLOG. We'll continue to monitor and get more info if this happens again.
2023_01_24 18_58_49 Tue.zip