• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: serious bug in AUBufferList?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: serious bug in AUBufferList?


  • Subject: Re: serious bug in AUBufferList?
  • From: Doug Wyatt <email@hidden>
  • Date: Mon, 3 Jan 2005 09:55:15 -0800

On Dec 22, 2004, at 6:03, Os wrote:
Hi,

I've been tracking down a crash with my plug-in that seems to have started occurring in DP 4.51 - however it looks to be a bug in AUBufferList::CopyBufferContentsTo().

In my case abl.mNumberBuffers is 2, so it's trying to fill in two buffers.

However mPtrs->mNumberBuffers is 1, so there's only 1 source buffer.

Therefore when the loop goes round and ++srcbuff happens, the source buffer pointer becomes garbage.

Could someone please verify this?

(Please cc replies to me directly as I'm subscribed to the list in digest mode.)

Os,

This "shouldn't happen."

When it does happen, there's probably a discrepency between the format of the AU's bus and the buffer the caller is asking you to render into ...

It does look like there should be some defensive code to trap the condition and generate an error instead of bombing.

Doug

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: serious bug in AUBufferList?
      • From: Os <email@hidden>
  • Prev by Date: Re: induce the MIDI class driver to use a particular icon
  • Next by Date: Re: Checksum formats
  • Previous by thread: Re: induce the MIDI class driver to use a particular icon
  • Next by thread: Re: serious bug in AUBufferList?
  • Index(es):
    • Date
    • Thread