Date: Tue, 30 Jul 2024 19:47:32 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 280517] net/frr9: mgmtd -C crashes Message-ID: <bug-280517-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D280517 Bug ID: 280517 Summary: net/frr9: mgmtd -C crashes Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Many People Priority: --- Component: Individual Port(s) Assignee: olivier@freebsd.org Reporter: rodolfo.manin@gmail.com Assignee: olivier@freebsd.org Flags: maintainer-feedback?(olivier@freebsd.org) Version: 9.1.1 Problem: 'mgmtd -C' ("check config") crashes with the message: 2024/07/30 16:29:04 MGMTD: [YKHB9-ND03T] FE-client: msg_conn_send_msg: can't send message on closed connection 2024/07/30 16:29:04 MGMTD: lib/vty.c:1684: vty_new(): assertion (new->mgmt_session_id !=3D 0) failed, extra info: Failed to create client s= ession for VTY MGMTD: Received signal 6 at 1722367744 (si_addr 0x0); aborting... MGMTD: ? 8227ccbc9 821065130 /usr/local/lib/libfrr.so.0 (mapped at 0x822696000) MGMTD: ? 822800b01 821065260 /usr/local/lib/libfrr.so.0 (mapped at 0x822696000) MGMTD: ? 824cc854d 8210652c0 /lib/libthr.so.3 (mapped at 0x824cae000) MGMTD: ? 824cc7afb 821065680 /lib/libthr.so.3 (mapped at 0x824cae000) MGMTD: ---- signal ---- MGMTD: ? 82190f2d3 8210656f0 MGMTD: __sys_thr_kill+0xa 826e2386a 821065ca8 /lib/libc.so.7 (mapped at 0x826cec000) MGMTD: raise+0x34 826d9bf54 821065cb0 /lib/libc.so.7 (mapped at 0x826cec000) MGMTD: abort+0x49 826e4cfc9 821065ce0 /lib/libc.so.7 (mapped at 0x826cec000) MGMTD: ? 822830a3b 821065d20 /usr/local/lib/libfrr.so.0 (mapped at 0x822696000) MGMTD: ? 822817a5a 821065e20 /usr/local/lib/libfrr.so.0 (mapped at 0x822696000) MGMTD: ? 822818d70 821065e40 /usr/local/lib/libfrr.so.0 (mapped at 0x822696000) MGMTD: ? 8227c3135 821065e80 /usr/local/lib/libfrr.so.0 (mapped at 0x822696000) MGMTD: ? 8227c3033 8210662c0 /usr/local/lib/libfrr.so.0 (mapped at 0x822696000) MGMTD: ? 217db6 821066360 /usr/local/sbin/mgmtd (mapped at 0x200000) MGMTD: __libc_start1+0x12a 826d70afa 821066390 /lib/libc.so.7 (mapped at 0x826cec000) MGMTD: ? 217c40 8210663e0 /usr/local/sbin/mgmtd (mapped at 0x200000) MGMTD: no thread information available How to reproduce: - Create a configuration file on /usr/local/etc/frr/mgmtd.conf (a empty file should do) - Run 'mgmtd -C' Note: 'mgmtd' is required by 'staticd' on frr9, which is required for FRR to supp= ort static routes. As frr9's startup script ('/usr/local/etc/rc.d/frr') runs 'mgmtd -C' when the daemon 'mgmtd' is enabled on the configuration file, the crash will abort the script, which may prevent the entire routing suite from starting up on boot. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-280517-7788>