Mailing Lists: Apple Mailing Lists

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

malloc/free problems within a thread



Hi

I have a process that spawns threads and inside these threads I malloc/free some memory but I'm getting either "xxx has exited due to signal 11 (SIGSEGV)" or "sigbus 10" errors. I know from past experience that these most likely indicate a non-retained object, problem is though that I checked very carefully and everything that I want to keep around is definitely retained. Could the fact that some objects were created inside a thread's NSAutorelease alloc/release override the retain commands?

Thanks

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

This email sent to 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.