[Bug] RoveComm MRDTSink SegFault (URGENT) #343
Labels
3-Star
Indicates a moderate level of difficulty, requiring a good understanding of the topic or task.
bug
Unexpected behaviors or issues that cause the software to malfunction or produce incorrect results.
logging
Tasks related to improving, fixing, or adding logging capabilities to the system.
rovecomm
Issues related to RoveComm, the communication protocol used within the project.
Milestone
Description
I have been trying to reproduce and track down this segfault for a long time, and it finally happened while I was running in the debugger, so I was able to get a good stack trace. This bug seems to be an issue with the RoveComm logger setup in quill, something about the packet or the data given to the pack packet method causes a segfault on the memcpy function. See Screenshots Below:
Here is where the segfault occured.
Here you can see that is happened in the quill thread when using the custom sink.
Here's the values of the local variables for PackPacket.
I was not using or subscribing to the sink.
Steps to Reproduce
This issue is somewhat rare and difficult to catch, but nonetheless important since we definitely do not want this to happen during testing or a competition. I do not have a list of steps to reproduce, so hopefully the info I provided in this issue is enough to fix the problem. I recommend fixing as soon as possible.
Expected Behavior
No segfault :)
Actual Behavior
It segfault :(
Logs
No response
Environment
Jammy
Version
development
Additional Context
No response
The text was updated successfully, but these errors were encountered: