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/>

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

--- Comment #4 from Jung-uk Kim <jkim@FreeBSD.org> ---
(In reply to Sergey A. Osokin from comment #3)
1767                        boundary))=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20
1768                            goto retry;=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20
1769    #endif=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
1770            }
1771            for (m =3D m_ret; m < &m_ret[npages]; m++)=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
1772                    if ((m->flags & PG_ZERO) !=3D 0)=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
1773                            vm_page_zero_count--;=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
1774            mtx_unlock(&vm_page_queue_free_mtx);=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
1775            if (m_ret =3D=3D NULL)=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20
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

--=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-219994-26505-wSlGYzUVWg>