From nobody Tue Jul 30 19:47:32 2024 X-Original-To: ports-bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4WYQjw6Qplz5RrhW for ; Tue, 30 Jul 2024 19:47:32 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4WYQjw4gz8z4fYj for ; Tue, 30 Jul 2024 19:47:32 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1722368852; a=rsa-sha256; cv=none; b=IEog4tinJfqiEAQgH+OEq3vh1K0j+30uqg73YbqJ7r8zbTZDgtvHwXvlvVl+gbNB1BaDrv 6EYHO4MXNZao2dLjGso9Bxa/4pbvHo5F7kyMqVRY6p0LQ80z4T7Wnki/OxAuImY6YBswj7 MIBFJpkQRqazDYrxnBQQivr0q8pg9BoSCuQxOIhZ/g2Ga84uMhPS+S5rV/AAHD1NzTlU+Q 6V7zT+kyztptZCesGtMjgdTthGE/EF0rJzyk8umsplfWQpYEqOvi/+wCw74B+Po3GbYGAX FrkrSkMpY4lLqDIt08HK5vX0Rl0dDprwBnoALye+/tEgiLMZrX+uz2vOKrIQnQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1722368852; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=aPCYaRoUhwTX3KiMPpMxO8ZWF71yJWJZDF/0TNl8lYs=; b=rk568VtKMm/dDJ9fazl/3aRXg52cfyV25A5zTs49P+DcPwiSDuUP0xGLtBRhrbyg7lSbBE 9cKBWMJ+NBQidZonRSgWLDzPVEbrYB6cZX3MCm/xA93KvIaFXEvDB8d9gQ+XBJ+vTcHdcy xmoeNCrG+i3YqfpAW/q2NCsEu7/FKzJ6jkxlR/84q9z8z5KZ+VAQ2AwDp+1rEH/zi5dNNh he0Z/xTO/ElbdU3lJPaejCCnMRu4Nce4sG1k33CuguMTM5xxtlWNq96evpQ3QnngMDnFkj 5RnfIqlIfZ+L4KcA1Jw2nHF6iHft/MvnHjVyAMQfiw4dOGHacPIUc3873FZi0Q== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4WYQjw456zzWlW for ; Tue, 30 Jul 2024 19:47:32 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 46UJlWPT072461 for ; Tue, 30 Jul 2024 19:47:32 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 46UJlWGD072458 for ports-bugs@FreeBSD.org; Tue, 30 Jul 2024 19:47:32 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 280517] net/frr9: mgmtd -C crashes Date: Tue, 30 Jul 2024 19:47:32 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: rodolfo.manin@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: olivier@freebsd.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-ports-bugs@freebsd.org Sender: owner-freebsd-ports-bugs@FreeBSD.org MIME-Version: 1.0 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.=