Re: Problems with 10.2.4 bt - how to debug?
Re: Problems with 10.2.4 bt - how to debug?
- Subject: Re: Problems with 10.2.4 bt - how to debug?
- From: Marco Pontil <email@hidden>
- Date: Thu, 27 Feb 2003 10:30:53 -0800
Hi Eric,
You may have an extra release here.
Most objects in the Bluetooth framework are autoreleased.
For example +[IOBluetoothDevice withAddress:] returns a device
that is in the autorelease pool, you need to retain it to have a valid
reference. Also if later on you release the device without the reatain
I after +[IOBluetoothDevice withAddress:] a crash is pretty much
unavoidable.
... Marco
On Thursday, February 27, 2003, at 10:05 AM, Crichlow, Eric wrote:
>
The Bluetooth Serial Utility even crashes periodically when I try
>
to use
>
it to make connections. My application likewise crashes periodically
>
when
>
the IOBluetoothDevice openConnection method fails. However, the crash
>
doesn't occur immediately, but seemingly at the end of the current run
>
loop
>
(and no, I'm not autoreleasing any objects).
_______________________________________________
bluetooth-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/bluetooth-dev
Do not post admin requests to the list. They will be ignored.