[Bug 219994] VirtualBox crashes 11.1-BETA1

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Jun 14 19:06:38 UTC 2017


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

            Bug ID: 219994
           Summary: VirtualBox crashes 11.1-BETA1
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: freebsd-ports-bugs at FreeBSD.org
          Reporter: osa at FreeBSD.org

Hi,

I've found an issue with FreeBSD VM, VirtualBox crashes 11.1-BETA1 on my
laptop.                                                      
This is the reproducible issue, I have a several vmcores, so, it's possible to  
analyze them.                                                                   

Here is the latest one:                                                         

Fatal trap 12: page fault while in kernel mode                                  
cpuid = 1; apic id = 01                                                         
fault virtual address   = 0x5a                                                  
fault code              = supervisor read data, page not present                
instruction pointer     = 0x20:0xffffffff80d6cf60                               
stack pointer           = 0x28:0xfffffe011a576430                               
frame pointer           = 0x28:0xfffffe011a5764a0                               
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         = 1359 (VirtualBox)                                     
trap number             = 12                                                    
panic: page fault                                                               
cpuid = 1                                                                       
KDB: stack backtrace:                                                           
#0 0xffffffff80aad9c7 at kdb_backtrace+0x67                                     
#1 0xffffffff80a6baf6 at vpanic+0x186                                           
#2 0xffffffff80a6b963 at panic+0x43                                             
#3 0xffffffff80ede7a2 at trap_fatal+0x322                                       
#4 0xffffffff80ede7f9 at trap_pfault+0x49
#5 0xffffffff80ede036 at trap+0x286                                             
#6 0xffffffff80ec2c81 at calltrap+0x8                                           
#7 0xffffffff826bab04 at rtR0MemObjFreeBSDPhysAllocHelper+0x94                  
#8 0xffffffff826ba212 at rtR0MemObjFreeBSDAllocPhysPages+0x72                   
#9 0xffffffff826ba18b at rtR0MemObjNativeAllocPhys+0x2b                         
#10 0xffffffff827879c7 at linprocfs_doprocstat.ratelimit+0xa87b                 
#11 0xffffffff827a5444 at linprocfs_doprocstat.ratelimit+0x282f8                
#12 0xffffffff827a8735 at linprocfs_doprocstat.ratelimit+0x2b5e9                
#13 0xffffffff8269538c at supdrvIOCtlInnerUnrestricted+0x114c                   
#14 0xffffffff826a2d63 at VBoxDrvFreeBSDIOCtl+0x1a3                             
#15 0xffffffff8093ad98 at devfs_ioctl_f+0x128                                   
#16 0xffffffff80ac9315 at kern_ioctl+0x255                                      
#17 0xffffffff80ac904f at sys_ioctl+0x16f                                       
Uptime: 42m55s                                                                  
...                                                                             
(kgdb) list *0xffffffff80d6cf60                                                 
0xffffffff80d6cf60 is in vm_page_alloc_contig (/usr/src/sys/vm/vm               
1767                        boundary))                                          
1768                            goto retry;                                     
1769    #endif                                                                  
1770            }                                                               
1771            for (m = m_ret; m < &m_ret[npages]; m++)                        
1772                    if ((m->flags & PG_ZERO) != 0)                          
1773                            vm_page_zero_count--;                           
1774            mtx_unlock(&vm_page_queue_free_mtx);                            
1775            if (m_ret == NULL)                                              
1776                    return (NULL);                                          
(kgdb) backtrace                                                                
#0  doadump (textdump=<value optimized out>) at pcpu.h:222                      
#1  0xffffffff80a6b671 in kern_reboot (howto=260) at /usr/src/sys               
#2  0xffffffff80a6bb30 in vpanic (fmt=<value optimized out>, ap=<               
#3  0xffffffff80a6b963 in panic (fmt=<value optimized out>) at /u               
#4  0xffffffff80ede7a2 in trap_fatal (frame=0xfffffe011a576370, e               
#5  0xffffffff80ede7f9 in trap_pfault (frame=0xfffffe011a576370,                
#6  0xffffffff80ede036 in trap (frame=0xfffffe011a576370) at /usr#7 
0xffffffff80ec2c81 in calltrap () at /usr/src/sys/amd64/amd64                   
#8  0xffffffff80d6cf60 in vm_page_alloc_contig (object=<value opt               
    high=18446744073709551615, alignment=2097152, boundary=0, mem               
#9  0xffffffff826bab04 in rtR0MemObjFreeBSDPhysAllocHelper () fro               
#10 0xffffffff826ba212 in rtR0MemObjFreeBSDAllocPhysPages () from               
#11 0xffffffff826ba18b in rtR0MemObjNativeAllocPhys () from /boot               
#12 0xffffffff827879c7 in ?? ()                                                 
#13 0x0000000000000000 in ?? ()                                                 

There were a couple of changes in this area:                                    
o) https://svnweb.freebsd.org/base?view=revision&revision=318716                
o) https://svnweb.freebsd.org/base?view=revision&revision=315474                

please see https://svnweb.freebsd.org/base/stable/11/sys/vm/vm_page.c?view=log  
for details.

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


More information about the freebsd-ports-bugs mailing list