Skip to content

netopeer2-server crashes due to assert failure in lyd_insert_after_node #1815

Description

@yoousra

netopeer2-v2.7.0-12-g2809ede
sysrepo-v4.2.10-37-gd59ac7e7
libnetconf2-v4.1.2-34-g50defb3
libyang-v4.2.2-105-gb9d150a2a

Hi,

I have a sudden crash of netopeer2-server when performing an "oper get" on an ORAN module that is augmented by a customized leaf which is of type "list" with a different namespace, something like this:
get <yang_oran_module xmlns=yang_oran_namespace><customized_leaf xmlns=customize_namespace/></yang_oran_module>

2026-07-13 06:51:42.560 netopeer2-server(PID:577)[ORU01]: netopeer2-server: /workspace/Services/3rdParty/libyang-v4.2.2-105-gb9d150a2a/src/tree_data.c:670: lyd_insert_after_node: Assertion '!node->next && (node->prev == node) && (sibling != node)' failed.

and we don't receive the reply to the "get".

Would you have an idea about waht could be the reason behind this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions