• 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
Help with crashing
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Help with crashing


  • Subject: Help with crashing
  • From: John McGruer <email@hidden>
  • Date: Sat, 8 Mar 2003 23:55:38 +0800

Hi everyone,

I have a program that has just started crashing with the following info extracted from the crash log viewable in Console:

Exception: EXC_BAD_ACCESS (0x0001)
Codes: KERN_INVALID_ADDRESS (0x0001) at 0xafe2d7f7

Thread 0 Crashed:
#0 0x9068ba50 in objc_msgSend
#1 0x901320c0 in CFRelease
#2 0x901357dc in __CFArrayReleaseValues
#3 0x90135920 in __CFArrayDeallocate
#4 0x901321e0 in CFRelease
#5 0x907e2660 in NSPopAutoreleasePool
#6 0x930b162c in -[NSApplication run]
#7 0x9315f6b8 in NSApplicationMain
#8 0x00005494 in main (main.m:13)
#9 0x0000401c in _start (crt.c:267)
#10 0x00003e9c in start

The crash occurs when any window is closed and the source of the problem does not seem to be directly in my code (I not sure exactly what CFArray - as opposed to NSArray - is). It seems to me that the Cocoa runtime is trying to deallocate an Array that I have already deallocated, perhaps? I have checked (and double and triple checked) any references to arrays I have and retains/releases seem to be balanced correctly, and I am not sure why there should be an attempt to deallocate an array in the main application thread. Any help with this problem would be appreciated! Cheers...

John
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Help with crashing
      • From: Finlay Dobbie <email@hidden>
    • Re: Help with crashing
      • From: email@hidden
  • Prev by Date: Formatting Carbon Menus
  • Next by Date: Re: Help with crashing
  • Previous by thread: Formatting Carbon Menus
  • Next by thread: Re: Help with crashing
  • Index(es):
    • Date
    • Thread