-
Notifications
You must be signed in to change notification settings - Fork 65
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SEGFAULT without extra processor #40
Comments
Hi @treybgreen, do you know if there is a reliable way to reproduce the error for debugging purposes? |
This bug is consistent every time I run my code. I'll see what I can get you @rodneyp290. |
OpenDIS segfaults on IncomingMessage::SwitchOnType (called by IncomingMessage::Process). Have come across this once on Windows and once on RHEL. First was while processing the DetonationPdu on Windows and second time was while processing EntityStatePdu on RHEL. (Using DIS6)
open-dis-cpp/src/utils/IncomingMessage.cpp
Lines 42 to 78 in 63b22b6
The problem was fixed when adding another processor leading me to believe somewhere the
->second
reference is reading off the end, but I have not looked into the specifics. It was always the last processor that failed and I do not believe those two messages were to blame but wanted to note it.The text was updated successfully, but these errors were encountered: