• 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
Re: Crash in Thread 2
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Crash in Thread 2


  • Subject: Re: Crash in Thread 2
  • From: Bill Bumgarner <email@hidden>
  • Date: Tue, 24 Mar 2009 10:46:04 -0700

On Mar 24, 2009, at 10:06 AM, David H. Silber wrote:
The crash happens in thread 2. I haven't done anything to make the
application multithreaded, so I'm not sure what is supposed to be
happening in the various threads. Where would I look for information on
what happens where?


I'm using timers and have garbage collection enabled, but otherwise this
is a generic Cocoa application.

Not much to go on here...

That'd be the garbage collector thread that is crashing. Given that there are no known crashers in the collector, it is most likely because of 1 of 2 reasons:

- something is corrupting memory and the collector's bookkeeping data has been smushed, leading the collector to crash

- your app ran out of memory and the collector crashed trying to allocate something

To glean any more information will require some or all of the following questions answered:

Crash reports?

Memory use?  What does 'heap' say on your app?

Have you looked for leaks?  It is possible to make a leaky GC app.

Have you tickled the main event loop every now and then?

b.bum

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Crash in Thread 2
      • From: Anders Holm <email@hidden>
References: 
 >Crash in Thread 2 (From: "David H. Silber" <email@hidden>)

  • Prev by Date: Crash in Thread 2
  • Next by Date: Re: Crash in Thread 2
  • Previous by thread: Crash in Thread 2
  • Next by thread: Re: Crash in Thread 2
  • Index(es):
    • Date
    • Thread