netopeer2 icon indicating copy to clipboard operation
netopeer2 copied to clipboard

Netopeer2-server crash when idle (V2.2.28)

Open srikanthsubbaramu opened this issue 5 months ago • 1 comments

Hi Michal, in one of our systems, where netopeer2-server was up without any netconf activity we noted a crash, the backtrace indicates gdb /usr/local/sbin/netopeer2-server core.!usr!local!sbin!netopeer2-server.580.gnodeb-du-otaf-5-du-du-otaf-5-cm-agent-0 GNU gdb (GDB) Rocky Linux 8.2-20.el8.0.1 Copyright (C) 2018 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-redhat-linux-gnu". Type "show configuration" for configuration details. For bug reporting instructions, please see: http://www.gnu.org/software/gdb/bugs/. Find the GDB manual and other documentation resources online at: http://www.gnu.org/software/gdb/documentation/.

For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from /usr/local/sbin/netopeer2-server...(no debugging symbols found)...done.

warning: Can't open file (null) during file-backed mapping note processing

warning: Can't open file (null) during file-backed mapping note processing

warning: Can't open file (null) during file-backed mapping note processing

warning: Can't open file (null) during file-backed mapping note processing

warning: Can't open file (null) during file-backed mapping note processing

warning: Can't open file (null) during file-backed mapping note processing

warning: core file may not match specified executable file. [New LWP 581] [New LWP 580] [New LWP 582] [New LWP 584] [New LWP 586] [New LWP 588] [New LWP 587] [New LWP 589] [New LWP 590] [New LWP 591] [New LWP 593] [New LWP 594] [New LWP 595] [New LWP 805] [New LWP 806] [New LWP 853] [New LWP 856] [New LWP 855] [New LWP 858] [New LWP 585] [New LWP 592] [New LWP 583] [New LWP 857] [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib64/libthread_db.so.1". Core was generated by `netopeer2-server -d -v 2 -t 20 -x /usr/local/bin/scripts/mount-schema.xml'. Program terminated with signal SIGABRT, Aborted. #0 0x00007fb5a04c852f in raise () from /lib64/libc.so.6 [Current thread is 1 (Thread 0x7fb59d096700 (LWP 581))] Missing separate debuginfos, use: yum debuginfo-install netopeer2-gcc-x86-64-rocky8.10-release-prod-0.9.0_main-2.2.28.x86_64 (gdb) set pagination off (gdb) bt full #0 0x00007fb5a04c852f in raise () from /lib64/libc.so.6 No symbol table info available. #1 0x00007fb5a049bf2e in abort () from /lib64/libc.so.6 No symbol table info available. #2 0x00007fb591528c59 in log_assert_failed_realm.cold () from /lib64/libnss_systemd.so.2 No symbol table info available. #3 0x00007fb591578201 in safe_close () from /lib64/libnss_systemd.so.2 No symbol table info available. #4 0x00007fb591542ddf in bus_close_io_fds () from /lib64/libnss_systemd.so.2 No symbol table info available. #5 0x00007fb591547a4a in sd_bus_close () from /lib64/libnss_systemd.so.2 No symbol table info available. #6 0x00007fb59154c280 in sd_bus_start () from /lib64/libnss_systemd.so.2 No symbol table info available. #7 0x00007fb59154c45b in sd_bus_open_system_with_description () from /lib64/libnss_systemd.so.2 No symbol table info available. #8 0x00007fb59152aaea in systemd_setent () from /lib64/libnss_systemd.so.2 No symbol table info available. #9 0x00007fb5a057e53a in compat_call.constprop () from /lib64/libc.so.6 No symbol table info available. #10 0x00007fb5a057e98e in internal_getgrouplist () from /lib64/libc.so.6 No symbol table info available. #11 0x00007fb5a057eae5 in getgrouplist () from /lib64/libc.so.6 No symbol table info available. #12 0x00007fb5a08b79df in sr_nacm_collect_groups () from /usr/local/lib64/libsysrepo.so.7 No symbol table info available. #13 0x00007fb5a08b7e97 in sr_nacm_check_data_read_filter () from /usr/local/lib64/libsysrepo.so.7 No symbol table info available. #14 0x00007fb5a08bac07 in sr_nacm_get_subtree_read_filter () from /usr/local/lib64/libsysrepo.so.7 No symbol table info available. #15 0x00007fb5a08609b9 in sr_get_data () from /usr/local/lib64/libsysrepo.so.7 No symbol table info available. #16 0x000000000040acad in op_filter_data_get () No symbol table info available. #17 0x000000000040b24a in np2srv_rpc_get_cb () No symbol table info available. #18 0x00007fb5a08a4959 in sr_shmsub_rpc_listen_call_callback () from /usr/local/lib64/libsysrepo.so.7 No symbol table info available. #19 0x00007fb5a08ad160 in sr_shmsub_rpc_listen_process_rpc_events () from /usr/local/lib64/libsysrepo.so.7 No symbol table info available. #20 0x00007fb5a086450e in sr_subscription_process_events () from /usr/local/lib64/libsysrepo.so.7 No symbol table info available. #21 0x00007fb5a08ae021 in sr_shmsub_listen_thread () from /usr/local/lib64/libsysrepo.so.7 No symbol table info available. #22 0x00007fb5a0e521ca in start_thread () from /lib64/libpthread.so.0 No symbol table info available. #23 0x00007fb5a04b38d3 in clone () from /lib64/libc.so.6 No symbol table info available. (gdb)

and logs indicate below [INF]: SR: EV ORIGIN: "ietf-interfaces" "done" ID 1 priority 1 succeeded. [INF]: SR: EV LISTEN: "/ietf-netconf:commit" "rpc" ID 1 priority 0 success (remaining 0 subscribers). [INF]: SR: EV ORIGIN: "/ietf-netconf:commit" "rpc" ID 1 priority 0 succeeded. [INF]: SR: EV LISTEN: "/ietf-netconf:get" "rpc" ID 52 priority 0 processing (remaining 1 subscribers). [INF]: NP: Session 7: thread 11 event new RPC. [INF]: NP: Session 7: thread 11 event new RPC. [INF]: NP: Session 7: thread 11 event session terminated. [INF]: SR: There are no subscribers for "ietf-netconf-notifications" notifications. [INF]: NP: Generated new event (netconf-session-end). Assertion 'close_nointr(fd) != -EBADF' failed at ../src/basic/fd-util.c:70, function safe_close(). Aborting. /usr/local/bin/scripts/netconf-server.sh: line 76: 580 Aborted (core dumped) netopeer2-server -d -v 2 -t 20 -x $mountSchemaFile

crash.zip

Please let us know why we are seeing this.

srikanthsubbaramu avatar May 16 '25 08:05 srikanthsubbaramu