We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
If the function exits here:
https://github.com/shadow-robot/ros_ethercat/blob/indigo-devel/ros_ethercat_eml/src/ethercat_AL.cxx#L116
then m_slave_handler pointed object is not instantiated here:
https://github.com/shadow-robot/ros_ethercat/blob/indigo-devel/ros_ethercat_eml/src/ethercat_AL.cxx#L121
And generates a segfault with malloc.c: No such file or directory when the destructor tries to delete it here:
malloc.c: No such file or directory
https://github.com/shadow-robot/ros_ethercat/blob/indigo-devel/ros_ethercat_eml/src/ethercat_AL.cxx#L72
Probably we should check if (m_slave_handler) before deleting?
if (m_slave_handler)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
If the function exits here:
https://github.com/shadow-robot/ros_ethercat/blob/indigo-devel/ros_ethercat_eml/src/ethercat_AL.cxx#L116
then m_slave_handler pointed object is not instantiated here:
https://github.com/shadow-robot/ros_ethercat/blob/indigo-devel/ros_ethercat_eml/src/ethercat_AL.cxx#L121
And generates a segfault with
malloc.c: No such file or directory
when the destructor tries to delete it here:https://github.com/shadow-robot/ros_ethercat/blob/indigo-devel/ros_ethercat_eml/src/ethercat_AL.cxx#L72
Probably we should check
if (m_slave_handler)
before deleting?The text was updated successfully, but these errors were encountered: