malloc/free problems within a thread
malloc/free problems within a thread
- Subject: malloc/free problems within a thread
- From: Ken Tozier <email@hidden>
- Date: Sat, 29 Jul 2006 16:47:01 -0400
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:
This email sent to email@hidden