Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Sep 2019 09:43:04 +0000
From:      bugzilla-noreply@freebsd.org
To:        net@FreeBSD.org
Subject:   [Bug 240608] iflib: Panic with INVARIANTS: Memory modified after free (12.1-pre-QA)
Message-ID:  <bug-240608-7501-HS9FDmfVfo@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-240608-7501@https.bugs.freebsd.org/bugzilla/>
References:  <bug-240608-7501@https.bugs.freebsd.org/bugzilla/>

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

--- Comment #1 from Harald Schmalzbauer <bugzilla.freebsd@omnilan.de> ---
I guess this panic with an non-INVARIANTS kernel (wihtout any other debug
OPTIONS) is related.
This is happening quiet early after some traffic tests utilizing if_vmx(4).
12.1-prerelease without debug options:

Fatal trap 12: page fault while in kernel mode=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
cpuid =3D 1; apic id =3D 01=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
fault virtual address   =3D 0x0=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20
fault code              =3D supervisor write data, page not present
instruction pointer     =3D 0x20:0xffffffff806ffdc2=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
stack pointer           =3D 0x28:0xfffffe0040557900=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
frame pointer           =3D 0x28:0xfffffe00405579e0=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
code segment            =3D base 0x0, limit 0xfffff, type 0x1b=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
                        =3D DPL 0, pres 1, long 1, def32 0, gran 1=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20
processor eflags        =3D interrupt enabled, resume, IOPL =3D 0=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
current process         =3D 0 (if_io_tqg_1)=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20
trap number             =3D 12=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20
panic: page fault=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
cpuid =3D 1=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
time =3D 1568626299=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
KDB: stack backtrace:=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
#0 0xffffffff8061f047 at kdb_backtrace+0x67=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20
#1 0xffffffff805d33bd at vpanic+0x19d=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20
#2 0xffffffff805d3213 at panic+0x43=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20
#3 0xffffffff80941d2c at trap_fatal+0x39c=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20
#4 0xffffffff80941d79 at trap_pfault+0x49=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20
#5 0xffffffff8094136f at trap+0x29f=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20
#6 0xffffffff8091b92c at calltrap+0x8=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20
#7 0xffffffff8061d904 at gtaskqueue_run_locked+0x144
#8 0xffffffff8061d568 at gtaskqueue_thread_loop+0x98
#9 0xffffffff8059b103 at fork_exit+0x83
#10 0xffffffff8091c96e at fork_trampoline+0xe

#3  0xffffffff805d3213 in panic (fmt=3D<value optimized out>) at
/usr/local/share/deploy-tools/RELENG_12/src/sys/kern/kern_shutdown.c:804
#4  0xffffffff80941d2c in trap_fatal (frame=3D<value optimized out>, eva=3D=
<value
optimized out>)=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
    at /usr/local/share/deploy-tools/RELENG_12/src/sys/amd64/amd64/trap.c:9=
43=20=20=20
#5  0xffffffff80941d79 in trap_pfault (frame=3D0xfffffe0040557840, usermode=
=3D0) at
RELENG_12/src/sys/amd64/include/pcpu.h:234=20=20=20=20=20=20=20=20=20=20=20=
=20=20
#6  0xffffffff8094136f in trap (frame=3D0xfffffe0040557840) at
/usr/local/share/deploy-tools/RELENG_12/src/sys/amd64/amd64/trap.c:443=20=
=20=20=20
#7  0xffffffff8091b92c in calltrap () at
/usr/local/share/deploy-tools/RELENG_12/src/sys/amd64/amd64/exception.S:289=
=20=20=20=20=20
#8  0xffffffff806ffdc2 in _task_fn_rx (context=3D<value optimized out>)=20=
=20=20=20=20=20=20=20=20=20=20
    at /usr/local/share/deploy-tools/RELENG_12/src/sys/net/iflib.c:2614=20=
=20=20=20=20=20=20=20=20
#9  0xffffffff8061d904 in gtaskqueue_run_locked (queue=3D0xfffff8000206c100=
)=20=20=20=20=20=20
    at
/usr/local/share/deploy-tools/RELENG_12/src/sys/kern/subr_gtaskqueue.c:378=
=20=20=20=20=20=20
#10 0xffffffff8061d568 in gtaskqueue_thread_loop (arg=3D<value optimized ou=
t>)=20=20=20=20
    at
/usr/local/share/deploy-tools/RELENG_12/src/sys/kern/subr_gtaskqueue.c:559=
=20=20=20=20=20=20
#11 0xffffffff8059b103 in fork_exit (callout=3D0xffffffff8061d4d0
<gtaskqueue_thread_loop>, arg=3D0xfffffe00025fe020,=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20
    frame=3D0xfffffe0040557ac0) at
/usr/local/share/deploy-tools/RELENG_12/src/sys/kern/kern_fork.c:1065=20=20=
=20=20=20=20=20=20=20=20=20
#12 0xffffffff8091c96e in fork_trampoline () at
/usr/local/share/deploy-tools/RELENG_12/src/sys/amd64/amd64/exception.S:107=
7=20=20=20=20
#13 0x0000000000000000 in ?? ()

Thanks for any help,

-harry

--=20
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-240608-7501-HS9FDmfVfo>