Re: UB Audio Drivers and the AudioReflector blitter lib
Re: UB Audio Drivers and the AudioReflector blitter lib
- Subject: Re: UB Audio Drivers and the AudioReflector blitter lib
- From: "B.J. Buchalter" <email@hidden>
- Date: Thu, 16 Feb 2006 12:35:13 -0500
- Thread-topic: UB Audio Drivers and the AudioReflector blitter lib
on 2/16/06 10:24 AM, Nick at email@hidden wrote:
> Well spotted!
>
> I've run into the same problem.. I switched to using the _Portable
> functions on Intel because even with the same build settings as the
> AudioReflectorDriver I'm experiencing kernel panics. So far no
> crashes with the portable code, but plenty with the SSE code.
Have you tracked back through the panics to see where and why they were
happening?
In my case I was only getting the panic when the Watchdog timer fired. It
appears that while the IOTrap has SSE2 stack alignment guarantees, the timer
threads running in the kernel do not. As a result, the -O0 compiled blitter
routines were storing SSE2 temporaries on the stack and getting bus errors.
The -O3 compiled versions were not using the tempories, and therefore did
not care about alignment.
Perhaps you are seeing this problem because you are using a different
routine in the library which uses temporaries even when compiled with -O3.
Or perhaps you have some sort of buffer alignment issue that our code does
not encounter.
Since making the -O3 change, I have not encounted any KPs on Intel.
I think your next step is to work back through the panics and see where you
are panic'ing. /Library/Logs/panic.log.
Best regards,
B.J. Buchalter
Metric Halo
5 Donovan Drive
Hopewell Junction, NY 12533 USA
tel +1 845 223-6112
fax +1 603 250-2451
_______________________________________________
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