-
Notifications
You must be signed in to change notification settings - Fork 296
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
Crash inside libyang with filtering #1598
Comments
Here is full Dockerfile attached
also supervisor file
enjoy! by the way is there a documentation about libyang library architecture? |
Okay, the crash should be fixed but note that you should not use subtree filters with elements without a namespace. In all likelihood they inherit some namespace from the RPC, which is not what you want.
I am not sure libyang has some specific architecture. But the documentation is here. |
Thank you very much for looking into this. Thank you for the good advice about namespaces. I've found this documentation already and started to study, in fact, there was a reference from the main page. As much as I can I'm glad to help improving such a great project! |
The bugfix provided helped to fix the crash asked but there is another crash appear:
Anyway when I've tried to supply correct subtree filter file with namespaces both crashes not happen.
|
You just need to update netopeer2, I have already fixed that, too, just not mentioned it. |
When I've checked out Netopeer2 version 91f862f94f60b9bc112f6810e8fe293b18a8d9a5 (VERSION bump to version 2.0.2) and libyang to version 0b8573e (VERSION bump to version 2.0.8 ) then it worked thanks!!! |
Hi, I have Netopeer2 application and when tried filtering I've got crash
get-config --source running --filter-subtree=tests/filters/oven.xml
oven.xml file contents:
stack trace:
my Dockerfile fragment:
The text was updated successfully, but these errors were encountered: