-
Notifications
You must be signed in to change notification settings - Fork 693
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
Segmentation fault when Node not recognized #931
Comments
Thanks. Do you have an example that can reproduce the error? |
I can't provide an exact example, but I have prepared something which might help.
where xml is as follows: The factory has registered 21 nodes using registerNodeType method but non of them is in the xml file. |
i added a unit test, but i am not able to reproduce the error... 2793902 |
Maybe somebody fixed it in the meantime. Segmentation fault is in version 2025-02-05. In version 2025-02-09 there is an exception. Below is the code I used to reproduce the problem.
Result depends on the BehaviourTree.CPP version:
|
There is a segmentation fault when using createTreeFromText with text containing unrecognized (unregistered) node.
The problem is in the current master branch. Branch 4.6.2 throws in such a case an exception:
Error at line X: -> Node not recognized: Y
Backtrace:
The text was updated successfully, but these errors were encountered: