Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Sep 2010 22:19:04 +0300
From:      Kostik Belousov <kostikbel@gmail.com>
To:        Michael Butler <imb@protected-networks.net>
Cc:        current@freebsd.org
Subject:   Re: r212281 breaks KDE
Message-ID:  <20100912191904.GF2465@deviant.kiev.zoral.com.ua>
In-Reply-To: <4C8CE6F1.3030400@protected-networks.net>
References:  <4C8CE6F1.3030400@protected-networks.net>

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

--p8BcnzLwh3ipgLRM
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sun, Sep 12, 2010 at 10:42:57AM -0400, Michael Butler wrote:
> For the last week, on and off, I've been looking for something that
> caused KDE to be horridly unstable, i.e. machine freezes with and
> without a core-dump.
>=20
> Removing r212281 (and r212282) restores that stability. Is there a race
> condition that this update exposes by reducing lock strength?
>=20
> The most common failure with this code included produces a back-trace
> similar to the one attached,
>=20
> 	imb

> toshi.auburn.protected-networks.net dumped core - see /var/crash/vmcore.0
>=20
> Sat Sep 11 15:33:22 EDT 2010
>=20
> FreeBSD toshi.auburn.protected-networks.net 9.0-CURRENT FreeBSD 9.0-CURRE=
NT #5 r212466M: Sat Sep 11 10:10:59 EDT 2010     root@toshi.auburn.protecte=
d-networks.net:/usr/obj/usr/home/imb/svn/head/sys/TOSHI  i386
>=20
> panic: page fault
>=20
> GNU gdb 6.1.1 [FreeBSD]
> Copyright 2004 Free Software Foundation, Inc.
> GDB is free software, covered by the GNU General Public License, and you =
are
> welcome to change it and/or distribute copies of it under certain conditi=
ons.
> Type "show copying" to see the conditions.
> There is absolutely no warranty for GDB.  Type "show warranty" for detail=
s.
> This GDB was configured as "i386-marcel-freebsd"...
>=20
> Unread portion of the kernel message buffer:
>=20
>=20
> Fatal trap 12: page fault while in kernel mode
> cpuid =3D 0; apic id =3D 00
> fault virtual address	=3D 0x22c
> fault code		=3D supervisor read, page not present
> instruction pointer	=3D 0x20:0xc066705a
> stack pointer	        =3D 0x28:0xe944b7f8
> frame pointer	        =3D 0x28:0xe944b810
> code segment		=3D base 0x0, limit 0xfffff, type 0x1b
> 			=3D DPL 0, pres 1, def32 1, gran 1
> processor eflags	=3D interrupt enabled, resume, IOPL =3D 0
> current process		=3D 1938 (kdeinit4)
> trap number		=3D 12
> panic: page fault
> cpuid =3D 0
> Uptime: 2m33s
> Physical memory: 3049 MB
> Dumping 225 MB: 210 194 178 162 146 130 114 98 82 66 50 34 18 2
>=20
> Reading symbols from /boot/modules/vboxdrv.ko...done.
> Loaded symbols for /boot/modules/vboxdrv.ko
> Reading symbols from /boot/modules/vboxnetflt.ko...done.
> Loaded symbols for /boot/modules/vboxnetflt.ko
> Reading symbols from /boot/modules/vboxnetadp.ko...done.
> Loaded symbols for /boot/modules/vboxnetadp.ko
> Reading symbols from /usr/local/modules/fuse.ko...done.
> Loaded symbols for /usr/local/modules/fuse.ko
> #0  doadump () at pcpu.h:231
> 231	pcpu.h: No such file or directory.
> 	in pcpu.h
> (kgdb) #0  doadump () at pcpu.h:231
> #1  0xc06760f7 in boot (howto=3D260)
>     at /usr/home/imb/svn/head/sys/kern/kern_shutdown.c:416
> #2  0xc06764e8 in panic (fmt=3D0x104 <Address 0x104 out of bounds>)
>     at /usr/home/imb/svn/head/sys/kern/kern_shutdown.c:590
> #3  0xc09950ff in trap_fatal (frame=3D0xe944b7b8, eva=3D40)
>     at /usr/home/imb/svn/head/sys/i386/i386/trap.c:980
> #4  0xc0995469 in trap_pfault (frame=3D0xe944b7b8, usermode=3D0, eva=3D55=
6)
>     at /usr/home/imb/svn/head/sys/i386/i386/trap.c:893
> #5  0xc09958f7 in trap (frame=3D0xe944b7b8)
>     at /usr/home/imb/svn/head/sys/i386/i386/trap.c:568
> #6  0xc097e16c in calltrap ()
>     at /usr/home/imb/svn/head/sys/i386/i386/exception.s:168
> #7  0xc066705a in _mtx_lock_sleep (m=3D0xc81c26e8, tid=3D3343885696, opts=
=3D0,=20
>     file=3D0x0, line=3D0) at /usr/home/imb/svn/head/sys/kern/kern_mutex.c=
:369
> #8  0xc09385d8 in vnode_create_vobject (vp=3D0xc825a330, isize=3D512,=20
>     td=3D0xc74fa580) at /usr/home/imb/svn/head/sys/vm/vnode_pager.c:111
=46rom the frame 8, please print the content of the *vp, and from it,
content of vm object. The corresponding kgdb commands would be
frame 8
p *vp
p *(vp->v_bufobj.bo_object)


--p8BcnzLwh3ipgLRM
Content-Type: application/pgp-signature
Content-Disposition: inline

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

iEYEARECAAYFAkyNJ6gACgkQC3+MBN1Mb4hSkgCfde88UbO2VwA3NtCBiGljMG/K
MbsAn2LEt3dOQERTl8JI2fCKHixKIjCo
=sxBg
-----END PGP SIGNATURE-----

--p8BcnzLwh3ipgLRM--



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