Skip to content
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 with Platform model for Crud Service Create operation - YDK-0.6.0 #527

Closed
Prasadmanvish opened this issue Aug 29, 2017 · 1 comment
Assignees
Labels

Comments

@Prasadmanvish
Copy link

  • Segmentation fault with Platform model for Crud Service Create operation. The Segmentation fault is observed only on YDK-0.6.0. Find the screenshot attached for more information
    segmentation_fault

Setup Details:
Router: XRV9k
YDK Version : 0.6.0
Python Version : 2.7

Configured nodes for Platform:

component.name = "optical_channel"
component.optical_channel.config.frequency = 1000
component.optical_channel.config.line_port = "optlineone"
component.optical_channel.config.operational_mode = 100

The same operation is working on YDK-0.5.5. Find the successful logs attached for YDK-0.5.5

@ghost ghost added the bug label Aug 29, 2017
@ghost ghost assigned psykokwak4 Aug 30, 2017
@ghost ghost self-assigned this Sep 11, 2017
@ghost ghost closed this as completed in #549 Sep 12, 2017
@ghost
Copy link

ghost commented Sep 14, 2017

This issue is caused because a deviation (cisco-ios-xr-openconfig-platform-deviations.yang) is active on the device. It acts upon an augmented node. Because of this, the augmented child pointer coming from libyang is NULL. Just needed to check for this case

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants