You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
> add ietf-netconf-acm.yin
> data data-malformed-xml.xml
libyang[0]: Parser fails around the line 12.
libyang[0]: Mixed opening (nam) and closing (rule) element tags.
Program received signal SIGSEGV, Segmentation fault.
0x00007ffff7dc3fd6 in lyd_validate (node=0x0, options=0)
at /project/swbuild82/eyyuppg/libnetconf/integration/new4/netopeer/libyang/src/tree_data.c:700
700 for (i = 0; i < ctx->models.used; i++) {
Missing separate debuginfos, use: debuginfo-install pcre-7.8-6.el6.x86_64
(gdb) bt
#0 0x00007ffff7dc3fd6 in lyd_validate (node=0x0, options=0)
at /project/swbuild82/eyyuppg/libnetconf/integration/new4/netopeer/libyang/src/tree_data.c:700
#1 0x00007ffff7db7a19 in lyd_parse_xml (ctx=0x60a010, root=0x7fffffffd8e0, options=0)
at /project/swbuild82/eyyuppg/libnetconf/integration/new4/netopeer/libyang/src/parser_xml.c:439
#2 0x00007ffff7dc26e2 in lyd_parse_ (ctx=0x60a010, parent=0x0,
data=0x7ffff7d88000 "<data xmlns=\"urn:ietf:params:xml:ns:netconf:base:1.0\">\n<nacm xmlns=\"urn:ietf:params:xml:ns:yang:ietf-netconf-acm\" xmlns:nc=\"urn:ietf:params:xml:ns:netconf:base:1.0\">\n <rule-list>\n <name>almigh"..., format=LYD_XML, options=0)
at /project/swbuild82/eyyuppg/libnetconf/integration/new4/netopeer/libyang/src/tree_data.c:68
#3 0x00007ffff7dc28ad in lyd_parse_data_ (ctx=0x60a010,
data=0x7ffff7d88000 "<data xmlns=\"urn:ietf:params:xml:ns:netconf:base:1.0\">\n<nacm xmlns=\"urn:ietf:params:xml:ns:yang:ietf-netconf-acm\" xmlns:nc=\"urn:ietf:params:xml:ns:netconf:base:1.0\">\n <rule-list>\n <name>almigh"..., format=LYD_XML, options=0,
ap=0x7fffffffd990) at /project/swbuild82/eyyuppg/libnetconf/integration/new4/netopeer/libyang/src/tree_data.c:106
#4 0x00007ffff7dc2b89 in lyd_parse_fd (ctx=0x60a010, fd=3, format=LYD_XML, options=0)
at /project/swbuild82/eyyuppg/libnetconf/integration/new4/netopeer/libyang/src/tree_data.c:147
#5 0x00007ffff7dc2d44 in lyd_parse_path (ctx=0x60a010, path=0x610475 "data-malformed-xml.xml", format=LYD_XML, options=0)
at /project/swbuild82/eyyuppg/libnetconf/integration/new4/netopeer/libyang/src/tree_data.c:174
#6 0x0000000000403242 in cmd_data (arg=0x610d80 "data data-malformed-xml.xml")
at /project/swbuild82/eyyuppg/libnetconf/integration/new4/netopeer/libyang/tools/lint/commands.c:470
#7 0x0000000000402104 in main () at /project/swbuild82/eyyuppg/libnetconf/integration/new4/netopeer/libyang/tools/lint/main.c:91
(gdb)
The text was updated successfully, but these errors were encountered:
The text was updated successfully, but these errors were encountered: