Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 04 May 2018 02:13:49 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 227963] panic on shutdown - if_delmulti_ifma : Fatal trap 9: general protection fault while in kernel mode
Message-ID:  <bug-227963-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D227963

            Bug ID: 227963
           Summary: panic on shutdown - if_delmulti_ifma : Fatal trap 9:
                    general protection fault while in kernel mode
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: bugs@FreeBSD.org
          Reporter: eadler@FreeBSD.org

(kgdb) bt
#0  __curthread () at ./machine/pcpu.h:231
#1  doadump (textdump=3D0x1) at /usr/src/sys/kern/kern_shutdown.c:365
#2  0xffffffff80437eac in db_fncall_generic (addr=3D<optimized out>,
rv=3D<optimized out>, nargs=3D<optimized out>, args=3D<optimized out>)
    at /usr/src/sys/ddb/db_command.c:609
#3  db_fncall (dummy1=3D<optimized out>, dummy2=3D<optimized out>,
dummy3=3D<optimized out>, dummy4=3D<optimized out>) at
/usr/src/sys/ddb/db_command.c:657
#4  0xffffffff804379e9 in db_command (last_cmdp=3D<optimized out>,
cmd_table=3D<optimized out>, dopager=3D<optimized out>) at
/usr/src/sys/ddb/db_command.c:481
#5  0xffffffff80437764 in db_command_loop () at
/usr/src/sys/ddb/db_command.c:534
#6  0xffffffff8043a99f in db_trap (type=3D<optimized out>, code=3D<optimize=
d out>)
at /usr/src/sys/ddb/db_main.c:250
#7  0xffffffff80bb2833 in kdb_trap (type=3D0x9, code=3D0x0, tf=3D<optimized=
 out>) at
/usr/src/sys/kern/subr_kdb.c:697
#8  0xffffffff8102f231 in trap_fatal (frame=3D0xfffffe00004b9870, eva=3D0x0=
) at
/usr/src/sys/amd64/amd64/trap.c:821
#9  0xffffffff8102e89d in trap (frame=3D0xfffffe00004b9870) at
/usr/src/sys/amd64/amd64/trap.c:200
#10 <signal handler called>
#11 _rw_wlock_cookie (c=3D0xdeadc0dedeadc286, file=3D0xffffffff81286e05
"/usr/src/sys/net/if.c", line=3D0xe3e) at /usr/src/sys/kern/kern_rwlock.c:2=
79
#12 0xffffffff80c6e48b in if_delmulti_ifma (ifma=3D0xfffff8001f2cfb00) at
/usr/src/sys/net/if.c:3646
#13 0xffffffff80daf699 in in6m_release (inm=3D<optimized out>) at
/usr/src/sys/netinet6/in6_mcast.c:545
#14 in6m_release_task (arg=3D<optimized out>) at
/usr/src/sys/netinet6/in6_mcast.c:617
#15 0xffffffff80bb0c99 in gtaskqueue_run_locked (queue=3D0xfffff80003752b00=
) at
/usr/src/sys/kern/subr_gtaskqueue.c:332
#16 0xffffffff80bb0a18 in gtaskqueue_thread_loop (arg=3D<optimized out>) at
/usr/src/sys/kern/subr_gtaskqueue.c:507
#17 0xffffffff80b2d074 in fork_exit (callout=3D0xffffffff80bb0990
<gtaskqueue_thread_loop>, arg=3D0xfffffe00bbcc6008, frame=3D0xfffffe00004b9=
ac0)
    at /usr/src/sys/kern/kern_fork.c:1039
#18 <signal handler called>

(kgdb) info frame
Stack level 11, frame at 0xfffffe00004b9970:
 rip =3D 0xffffffff80b679a5 in _rw_wlock_cookie
(/usr/src/sys/kern/kern_rwlock.c:279); saved rip =3D 0xffffffff80c6e48b
 called by frame at 0xfffffe00004b99a0, caller of frame at 0xfffffe00004b99=
30
 source language c.
 Arglist at 0xfffffe00004b9960, args: c=3D0xdeadc0dedeadc286,
file=3D0xffffffff81286e05 "/usr/src/sys/net/if.c", line=3D0xe3e
 Locals at 0xfffffe00004b9960, Previous frame's sp is 0xfffffe00004b9970
 Saved registers:
  rbx at 0xfffffe00004b9938, rbp at 0xfffffe00004b9960, r12 at
0xfffffe00004b9940, r13 at 0xfffffe00004b9948, r14 at 0xfffffe00004b9950,
  r15 at 0xfffffe00004b9958, rip at 0xfffffe00004b9968
(kgdb) frame
Stack level 11, frame at 0xfffffe00004b9970:
 rip =3D 0xffffffff80b679a5 in _rw_wlock_cookie
(/usr/src/sys/kern/kern_rwlock.c:279); saved rip =3D 0xffffffff80c6e48b
 called by frame at 0xfffffe00004b99a0, caller of frame at 0xfffffe00004b99=
30
 source language c.
 Arglist at 0xfffffe00004b9960, args: c=3D0xdeadc0dedeadc286,
file=3D0xffffffff81286e05 "/usr/src/sys/net/if.c", line=3D0xe3e
 Locals at 0xfffffe00004b9960, Previous frame's sp is 0xfffffe00004b9970
 Saved registers:
  rbx at 0xfffffe00004b9938, rbp at 0xfffffe00004b9960, r12 at
0xfffffe00004b9940, r13 at 0xfffffe00004b9948, r14 at 0xfffffe00004b9950,
  r15 at 0xfffffe00004b9958, rip at 0xfffffe00004b9968
c =3D 0xdeadc0dedeadc286
file =3D 0xffffffff81286e05 "/usr/src/sys/net/if.c"
line =3D 0xe3e
rw =3D 0xdeadc0dedeadc26e
v =3D <optimized out>
tid =3D <optimized out>


(kgdb) up
#12 0xffffffff80c6e48b in if_delmulti_ifma (ifma=3D0xfffff8001f2cfb00) at
/usr/src/sys/net/if.c:3646
3646                    IF_ADDR_WLOCK(ifp);
(kgdb) p *0xfffff8001f2cfb00
$2 =3D 0xdeadc0de

--=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-227963-227>