From owner-freebsd-bugs@freebsd.org Fri Jul 24 12:28:37 2020 Return-Path: Delivered-To: freebsd-bugs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id D740D36423B for ; Fri, 24 Jul 2020 12:28:37 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4BCpQY5P8mz4Ssg for ; Fri, 24 Jul 2020 12:28:37 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id B73B1363F6A; Fri, 24 Jul 2020 12:28:37 +0000 (UTC) Delivered-To: bugs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id B7008363C6B for ; Fri, 24 Jul 2020 12:28:37 +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 "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BCpQY4P40z4SkR for ; Fri, 24 Jul 2020 12:28:37 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) 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 75E8DA61A for ; Fri, 24 Jul 2020 12:28:37 +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 06OCSblI006005 for ; Fri, 24 Jul 2020 12:28:37 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 06OCSbdP006004 for bugs@FreeBSD.org; Fri, 24 Jul 2020 12:28:37 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: bugs@FreeBSD.org Subject: [Bug 248243] FreeBsd crash when switching interface off and on again in cohesion with multicast Date: Fri, 24 Jul 2020 12:28:37 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 12.1-STABLE X-Bugzilla-Keywords: IntelNetworking, iflib, needs-patch X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: l.m.v.breda@xs4all.nl X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback+ X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status keywords 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 MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Jul 2020 12:28:37 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D248243 Bug ID: 248243 Summary: FreeBsd crash when switching interface off and on again in cohesion with multicast Product: Base System Version: 12.1-STABLE Hardware: amd64 OS: Any Status: New Keywords: IntelNetworking, iflib, needs-patch Severity: Affects Only Me Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: l.m.v.breda@xs4all.nl Flags: maintainer-feedback+ Hello, I try to get PIMD running on latest pfSense release. One of the two problem= s I am facing is that FreeBsd as crashing as soon as I switch off and on again = one of the interfaces, especially the interface being used as PIMD register_vif. Hereby the relevant lines from "the core dump" curthread =3D 0xfffff8000439f000: pid 12 tid 100040 "swi1: netisr 2" Tracing pid 12 tid 100040 td 0xfffff8000439f000 kdb_enter() at kdb_enter+0x37/frame 0xfffffe00004de4b0 vpanic() at vpanic+0x197/frame 0xfffffe00004de500 panic() at panic+0x43/frame 0xfffffe00004de560 trap_fatal() at trap_fatal+0x391/frame 0xfffffe00004de5c0 trap_pfault() at trap_pfault+0x4f/frame 0xfffffe00004de610 trap() at trap+0x286/frame 0xfffffe00004de720 calltrap() at calltrap+0x8/frame 0xfffffe00004de720 ***--- trap 0xc, rip =3D 0xffffffff80e934f5, rsp =3D 0xfffffe00004de7f0, rb= p =3D=20 0xfffffe00004de7f0 ---*** if_inc_counter() at if_inc_counter+0x15/frame 0xfffffe00004de7f0 if_simloop() at if_simloop+0xd1/frame 0xfffffe00004de830 ***pim_input() at pim_input+0x409/frame 0xfffffe00004de890*** encap_input() at encap_input+0xd1/frame 0xfffffe00004de900 encap4_input() at encap4_input+0x28/frame 0xfffffe00004de930 ip_input() at ip_input+0x168/frame 0xfffffe00004de9e0 swi_net() at swi_net+0x12b/frame 0xfffffe00004dea50 ithread_loop() at ithread_loop+0x23c/frame 0xfffffe00004deab0 fork_exit() at fork_exit+0x7e/frame 0xfffffe00004deaf0 fork_trampoline() at fork_trampoline+0xe/frame 0xfffffe00004deaf0=20 IMHO the problem is like this: - pim is asking som info from underlying core - that is translated into a trap - the trap is not handled correctly and/or parameters are not correct - the trap is handeld by thread 12 "swi1: netisr 2" - which lead to a fatal crash Louis PS related but another problem #248103 --=20 You are receiving this mail because: You are the assignee for the bug.=