Terminal type GetProperty crashes on 10.4?
Terminal type GetProperty crashes on 10.4?
- Subject: Terminal type GetProperty crashes on 10.4?
- From: Edward Peterlin <email@hidden>
- Date: Fri, 13 May 2005 10:38:01 -0700
Greetings! I've been encountering some crashes in my application on
10.4 and wanted to see if anyone else on the list has seen anything
of the like. I'm seeing intermittent crashes in
AudioStreamGetProperty() for retrieving the terminal type (G5
tower). Basically, I'm doing the following:
- find an audio device
- get a list of its data sources & iterate over
- switch data sources (wait for listener notification)
- get list of available input streams
- iterate over streams, fetch list of terminal types for the streams
The GetPropertyInfo() is succeeding, but the subsequent GetProperty()
call is causing a crash similar to the stack trace below.
Has anyone else encountered any problems with terminal types on
10.4? The workaround I can think of would be to avoid using terminal
types and going back to trying to determine the input connector type
by examining the data source name property.
regards,
ed
(gdb) x/i 0x913B8C88
0x913b8c88 <AudioStreamGetProperty+240>: mr. r29,r3
(gdb) x/i 0x913965E0
0x913965e0 <HALObject::HasProperty(AudioObjectPropertyAddress const&)
const+184>: mr r29,r3
(gdb) x/i 0x913A8A08
0x913a8a08 <HALPlugIn::ObjectHasProperty(HALObject const&,
AudioObjectPropertyAddress const&) const+52>: neg r3,r3
(gdb) x/i 0x913A8B54
0x913a8b54 <HP_PlugIn_ObjectHasProperty
(AudioHardwarePlugInInterface**, unsigned long,
AudioObjectPropertyAddress const*)+140>: mr r30,r3
(gdb) x/i 0x913B8ECC
0x913b8ecc <IOA_Stream::HasProperty(AudioObjectPropertyAddress
const&) const+96>: mr r30,r3
(gdb) x/i 0x913B9040
0x913b9040 <HP_Stream::HasProperty(AudioObjectPropertyAddress const&)
const+48>:lwz r12,8(r2)
_______________________________________________
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