• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
malloc/free problems within a thread
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: malloc/free problems within a thread
      • From: Bill Bumgarner <email@hidden>
    • Re: malloc/free problems within a thread
      • From: Ken Tozier <email@hidden>
  • Prev by Date: Re: Quick way to convert hex string represented in ASCII to binary?
  • Next by Date: Core Data and unique IDs
  • Previous by thread: setNextResponder confusion redux
  • Next by thread: Re: malloc/free problems within a thread
  • Index(es):
    • Date
    • Thread