Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 May 2008 15:55:14 +0800
From:      Ariff Abdullah <ariff@FreeBSD.org>
To:        d@delphij.net
Cc:        freebsd-current@freebsd.org
Subject:   Re: /dev/soiund/pcm/dsp.c: uma_zalloc with non-sleepable lock held
Message-ID:  <20080526155514.221a210e.ariff@FreeBSD.org>
In-Reply-To: <483A58D9.4090400@delphij.net>
References:  <483A58D9.4090400@delphij.net>

next in thread | previous in thread | raw e-mail | index | archive | help
--Signature=_Mon__26_May_2008_15_55_14_+0800_SOo9EuGIDEXjP6_7
Content-Type: text/plain; charset=US-ASCII
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sun, 25 May 2008 23:29:45 -0700
Xin LI <delphij@delphij.net> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>=20
> Hi,
>=20
> Hit this with WITNESS (today's -CURRENT).  It seems that if I play
> music and have some other sound playing then the system would stop
> to respond. ~ Is this an known issue?
>=20
> May 25 23:26:50 charlie kernel: uma_zalloc_arg: zone "16" with the
> following non-sleepable locks held:
> May 25 23:26:50 charlie kernel: exclusive sleep mutex pcm0 (sound
> cdev) r =3D 0 (0xffffff00019a9c20) locked @
> /data/src/sys/modules/sound/sound/../../../dev/sound/pcm/dsp.c:650
> May 25 23:26:50 charlie kernel: KDB: stack backtrace:
> May 25 23:26:50 charlie kernel: db_trace_self_wrapper() at
> db_trace_self_wrapper+0x2a
> May 25 23:26:50 charlie kernel: witness_warn() at witness_warn+0x248
> May 25 23:26:50 charlie kernel: uma_zalloc_arg() at
> uma_zalloc_arg+0x334 May 25 23:26:50 charlie kernel: malloc() at
> malloc+0x8a May 25 23:26:50 charlie kernel: notify() at notify+0x67
> May 25 23:26:50 charlie kernel: destroy_devl() at destroy_devl+0x23b
> May 25 23:26:50 charlie kernel: destroy_dev() at destroy_dev+0x19
> May 25 23:26:50 charlie kernel: snd_clone_gc() at snd_clone_gc+0xc4
> May 25 23:26:50 charlie kernel: snd_clone_unref() at
> snd_clone_unref+0x58 May 25 23:26:50 charlie kernel: dsp_close() at
> dsp_close+0x6d5 May 25 23:26:50 charlie kernel: devfs_close() at
> devfs_close+0x15c May 25 23:26:50 charlie kernel: vn_close() at
> vn_close+0xb6 May 25 23:26:50 charlie kernel: vn_closefile() at
> vn_closefile+0x80 May 25 23:26:50 charlie kernel: devfs_close_f() at
> devfs_close_f+0x1a May 25 23:26:50 charlie kernel: _fdrop() at
> _fdrop+0x23 May 25 23:26:50 charlie kernel: closef() at closef+0x4c
> May 25 23:26:50 charlie kernel: kern_close() at kern_close+0x10d
> May 25 23:26:50 charlie kernel: syscall() at syscall+0x1bf
> May 25 23:26:50 charlie kernel: Xfast_syscall() at
> Xfast_syscall+0xab May 25 23:26:50 charlie kernel: --- syscall (6,
> FreeBSD ELF64, close), rip =3D 0x804651f5c, rsp =3D 0x7fffffffd5e8, rbp
> =3D 0x803aa53f0 ---
>=20

It is something new. Let me examine it first.


--
Ariff Abdullah
FreeBSD

... Recording in stereo is obviously too advanced
    and confusing for us idiot ***** users :P ........

--Signature=_Mon__26_May_2008_15_55_14_+0800_SOo9EuGIDEXjP6_7
Content-Type: application/pgp-signature

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

iEYEARECAAYFAkg6bOIACgkQlr+deMUwTNoG6wCgqIkz0nYRbG2YVmBMJaa+Kxwy
w+oAn0pQJyZkNSsSLCus4uBgquep5UOO
=pDWc
-----END PGP SIGNATURE-----

--Signature=_Mon__26_May_2008_15_55_14_+0800_SOo9EuGIDEXjP6_7--



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