[mythtv-users] [ALSA] "Skipping" arround a show causes an Abort (or segfault).

John Patrick Poet john at BlueSkyTours.com
Mon Aug 23 12:16:19 EDT 2004

On Sat, 21 Aug 2004, David George wrote:

> John Patrick Poet wrote:
> > When using "pure" ALSA via my S/PDIF connection for audio, I get
> > segfaults/aborts in the ALSA code if I "JUMP/SKIP" arround in the video
> > very much.  I am using ALSA 1.0.5 since ALSA 1.0.6 has audio glitches.
> >
> > If I use OSS emulation, the Aborts/Segfaults do not happen, but I get
> > several seconds of stuttering after a JUMP/SKIP which I do not get with
> > "pure" ALSA.
> >
> > The crashes do not happen on every SKIP forward/backward, but they do
> > happen often.  With one particular show, I can consitantly cause a crash
> > by doing a dozen 30 second forward skips quickly, and then a couple of 6
> > second skips backwards.
> >
> > I have attached a BackTrace in the hopes that someone can figure out
> > what is going wrong.
> >
> Still digesting all this.
> Quick question, are you using 4k stacks in the kernel, because
> AudioOutputAlsa::OutputAudioLoop is allocating 4k worth of zeros on the
> stack.  I will change that to malloc and send a patch in a little bit.
> --
> David

Yes, I am using 4k stacks.  You don't think going back to 8k stacks would
help, do you?



More information about the mythtv-users mailing list