Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Jun 2017 23:00:57 +0000
From:      bugzilla-noreply@freebsd.org
To:        vbox@FreeBSD.org
Subject:   [Bug 219994] VirtualBox crashes 11.1-BETA1
Message-ID:  <bug-219994-26505-wSlGYzUVWg@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-219994-26505@https.bugs.freebsd.org/bugzilla/>
References:  <bug-219994-26505@https.bugs.freebsd.org/bugzilla/>

index | next in thread | previous in thread | raw e-mail

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

--- Comment #4 from Jung-uk Kim <jkim@FreeBSD.org> ---
(In reply to Sergey A. Osokin from comment #3)
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);

This panics because `m' is NULL in #1772.  It seems the for loop should be
moved up a bit.

FYI, the code was committed in r318716:

https://svnweb.freebsd.org/changeset/base/318716

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

help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-219994-26505-wSlGYzUVWg>