Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Sep 2009 14:14:31 +0300
From:      Kostik Belousov <kostikbel@gmail.com>
To:        Mel Flynn <mel.flynn+fbsd.current@mailing.thruhere.net>
Cc:        freebsd-current@freebsd.org
Subject:   Re: Panic in kern_access
Message-ID:  <20090915111431.GD47688@deviant.kiev.zoral.com.ua>
In-Reply-To: <200909142024.49226.mel.flynn%2Bfbsd.current@mailing.thruhere.net>
References:  <200909142024.49226.mel.flynn%2Bfbsd.current@mailing.thruhere.net>

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

--OmEpep6L+R/25PJj
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Mon, Sep 14, 2009 at 08:24:49PM +0200, Mel Flynn wrote:
> Hi,
>=20
> below some crash info. However, since kib@ made some fixes that seem
> to relate to this, I shall rebuild my kernel with new sources.
No my fixes were related to the issue, AFAIR.

>=20
> At the time I was building various ports in a jail and asleep, so no othe=
r=20
> contributing factors.
>=20
> panic: free: address 0xc62e0e00(0xc62e0000) has not been allocated.
>=20
> #0  doadump () at pcpu.h:246
> 246   pcpu.h: No such file or directory.
>    in pcpu.h
> (kgdb) #0  doadump () at pcpu.h:246
> #1  0xc0642b57 in boot (howto=3D260) at /usr/src/sys/kern/kern_shutdown.c=
:416
> #2  0xc0642e49 in panic (fmt=3DVariable "fmt" is not available.
> ) at /usr/src/sys/kern/kern_shutdown.c:579
> #3  0xc062fcfe in free (addr=3D0x0, mtp=3D0xc091c330)
>     at /usr/src/sys/kern/kern_malloc.c:444
> #4  0xc063b018 in crfree (cr=3D0xc795ea80) at /usr/src/sys/kern/kern_prot=
.c:1840
I want to see the output of
p/x cr
and
p/x cr->cr_groups
from the frame 4.

> #5  0xc06d1ea2 in kern_accessat (td=3D0xcd5ea6c0, fd=3D-100,
>     path=3D0x2808d000 <Address 0x2808d000 out of bounds>,
>     pathseg=3DUIO_USERSPACE, flags=3D0, mode=3D0)
>     at /usr/src/sys/kern/vfs_syscalls.c:2145
> #6  0xc06d1f56 in kern_access (td=3D0xcd5ea6c0,
>     path=3D0x2808d000 <Address 0x2808d000 out of bounds>,
>     pathseg=3DUIO_USERSPACE, mode=3D0) at /usr/src/sys/kern/vfs_syscalls.=
c:2104
> #7  0xc06d1f89 in access (td=3D0xcd5ea6c0, uap=3D0xf9129cf8)
>     at /usr/src/sys/kern/vfs_syscalls.c:2079
> #8  0xc086fff5 in syscall (frame=3D0xf9129d38)
>     at /usr/src/sys/i386/i386/trap.c:1073
> #9  0xc0853a50 in Xint0x80_syscall ()
>     at /usr/src/sys/i386/i386/exception.s:261
> #10 0x00000033 in ?? ()
> Previous frame inner to this frame (corrupt stack?)
>=20
> 8.0-BETA4 FreeBSD 8.0-BETA4 #14 r196875M. vmcore available if needed and =
I can=20
> rollback sources to r196875 for proper source refs, in case r197041 does =
not=20
> address this crash.

It does not.

--OmEpep6L+R/25PJj
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (FreeBSD)

iEYEARECAAYFAkqvdxcACgkQC3+MBN1Mb4jDqQCgkbR5YBEw5sqoWFl2GNZTNj+P
oZEAoNhCEto/dgAi/s40V01YJL1iZiKR
=FGdx
-----END PGP SIGNATURE-----

--OmEpep6L+R/25PJj--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090915111431.GD47688>