Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: can I catch an EXC_BAD_ACCESS?




On Jun 29, 2006, at 2:17 PM, David Alger wrote:


On Jun 29, 2006, at 3:06 PM, Markus Hitter wrote:


Am 25.06.2006 um 06:46 schrieb Peter CK:
On 6/24/06, Matt Neuburg <email@hidden> wrote:

Under certain conditions (out of my control) my app gets an EXC_BAD_ACCESS.

It's your app, so it's under your control.

Suppose you have an app named Fob. Fob links to a third party library called FooLib. In FooLib contains a function, FooA, that you must use. Inside of FooA your app is receiving EXC_BAD_ACCESS exceptions periodically, because FooA is accessing non-allocated or already disposed memory. You don't have the source for FooLib, and the developer of it hasn't fixed FooA.


Would the above scenario be classified as TOTALLY under the developer of Fobs control?

Despite being totally hypothetical, if you're passing an invalid pointer, I'd say that it's totally under your control. If the library itself is screwing up, then don't use the library, again under your control.


--
Steve Checkoway



Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/xcode-users/email@hidden

This email sent to email@hidden

References: 
 >can I catch an EXC_BAD_ACCESS? (From: Matt Neuburg <email@hidden>)
 >Re: can I catch an EXC_BAD_ACCESS? (From: "Peter CK" <email@hidden>)
 >Re: can I catch an EXC_BAD_ACCESS? (From: Markus Hitter <email@hidden>)
 >Re: can I catch an EXC_BAD_ACCESS? (From: David Alger <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.