Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Olaf Hering <olh@suse.de>
To: Takashi Iwai <tiwai@suse.de>
Cc: Lee Revell <rlrevell@joe-job.com>, alsa-devel@lists.sourceforge.net
Subject: Re: sound/core/pcm_lib.c:158: BUG
Date: Mon, 20 Dec 2004 21:19:03 +0100	[thread overview]
Message-ID: <20041220201903.GA24942@suse.de> (raw)
In-Reply-To: <s5h4qihvz8v.wl@alsa2.suse.de>

 On Mon, Dec 20, Takashi Iwai wrote:

> At Sat, 18 Dec 2004 19:34:12 -0500,
> Lee Revell wrote:
> > 
> > On Sun, 2004-12-19 at 00:53 +0100, Olaf Hering wrote:
> > > Is this just debug output, or should I be worried about it?
> > > 
> > > linux-2.6.10-rc3-olh/sound/core/pcm_lib.c:158: BUG: stream = 0, pos = 0x4000, buffer size = 0x4000, period size = 0x1000
> > > 
> > > This is an ibook2, playing mp3 with xmms, alsa version is 1.0.3, from sles9.
> > > I remember no failures in the last couple hours.
> > 
> > That message indicates that the hardware pointer returned by the pointer
> > callback was beyond the end of the buffer which should not be possible.
> > 
> > This could indicate an off by one error in the driver, it looks like the
> > erroneous position is one sample past the end of the buffer.
> 
> Does the patch below work?

I havent seen that warning since 2 hours, so I guess it helps.


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/

      reply	other threads:[~2004-12-20 20:19 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-12-18 23:53 sound/core/pcm_lib.c:158: BUG Olaf Hering
2004-12-19  0:34 ` Lee Revell
2004-12-20 14:08   ` Takashi Iwai
2004-12-20 20:19     ` Olaf Hering [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20041220201903.GA24942@suse.de \
    --to=olh@suse.de \
    --cc=alsa-devel@lists.sourceforge.net \
    --cc=rlrevell@joe-job.com \
    --cc=tiwai@suse.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox