[Bug 240608] iflib: Panic with INVARIANTS: Memory modified after free (12.1-pre-QA)

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Sep 16 09:43:06 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=240608

--- Comment #1 from Harald Schmalzbauer <bugzilla.freebsd at 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                                  
cpuid = 1; apic id = 01                                                         
fault virtual address   = 0x0                                                   
fault code              = supervisor write data, page not present
instruction pointer     = 0x20:0xffffffff806ffdc2                               
stack pointer           = 0x28:0xfffffe0040557900                               
frame pointer           = 0x28:0xfffffe00405579e0                               
code segment            = base 0x0, limit 0xfffff, type 0x1b                    
                        = DPL 0, pres 1, long 1, def32 0, gran 1                
processor eflags        = interrupt enabled, resume, IOPL = 0                   
current process         = 0 (if_io_tqg_1)                                       
trap number             = 12                                                    
panic: page fault                                                               
cpuid = 1                                                                       
time = 1568626299                                                               
KDB: stack backtrace:                                                           
#0 0xffffffff8061f047 at kdb_backtrace+0x67                                     
#1 0xffffffff805d33bd at vpanic+0x19d                                           
#2 0xffffffff805d3213 at panic+0x43                                             
#3 0xffffffff80941d2c at trap_fatal+0x39c                                       
#4 0xffffffff80941d79 at trap_pfault+0x49                                       
#5 0xffffffff8094136f at trap+0x29f                                             
#6 0xffffffff8091b92c at calltrap+0x8                                           
#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=<value optimized out>) at
/usr/local/share/deploy-tools/RELENG_12/src/sys/kern/kern_shutdown.c:804
#4  0xffffffff80941d2c in trap_fatal (frame=<value optimized out>, eva=<value
optimized out>)                                          
    at /usr/local/share/deploy-tools/RELENG_12/src/sys/amd64/amd64/trap.c:943   
#5  0xffffffff80941d79 in trap_pfault (frame=0xfffffe0040557840, usermode=0) at
RELENG_12/src/sys/amd64/include/pcpu.h:234             
#6  0xffffffff8094136f in trap (frame=0xfffffe0040557840) at
/usr/local/share/deploy-tools/RELENG_12/src/sys/amd64/amd64/trap.c:443    
#7  0xffffffff8091b92c in calltrap () at
/usr/local/share/deploy-tools/RELENG_12/src/sys/amd64/amd64/exception.S:289     
#8  0xffffffff806ffdc2 in _task_fn_rx (context=<value optimized out>)           
    at /usr/local/share/deploy-tools/RELENG_12/src/sys/net/iflib.c:2614         
#9  0xffffffff8061d904 in gtaskqueue_run_locked (queue=0xfffff8000206c100)      
    at
/usr/local/share/deploy-tools/RELENG_12/src/sys/kern/subr_gtaskqueue.c:378      
#10 0xffffffff8061d568 in gtaskqueue_thread_loop (arg=<value optimized out>)    
    at
/usr/local/share/deploy-tools/RELENG_12/src/sys/kern/subr_gtaskqueue.c:559      
#11 0xffffffff8059b103 in fork_exit (callout=0xffffffff8061d4d0
<gtaskqueue_thread_loop>, arg=0xfffffe00025fe020,                      
    frame=0xfffffe0040557ac0) at
/usr/local/share/deploy-tools/RELENG_12/src/sys/kern/kern_fork.c:1065           
#12 0xffffffff8091c96e in fork_trampoline () at
/usr/local/share/deploy-tools/RELENG_12/src/sys/amd64/amd64/exception.S:1077    
#13 0x0000000000000000 in ?? ()

Thanks for any help,

-harry

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


More information about the freebsd-net mailing list