• 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
Debugging a crash in bindings
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Debugging a crash in bindings


  • Subject: Debugging a crash in bindings
  • From: Matt Gough <email@hidden>
  • Date: Fri, 3 Mar 2006 13:29:05 +0000

Sometimes, when releasing a window with a bunch of array controllers in it, my app will crash with the following backtrace:

#0 0xfffeff20 in objc_msgSend_rtp
#1 0x9299e95c in _NSKeyValueObservationInfoGetForwarderForObserver
#2 0x9296d540 in -[NSObject(NSKeyValueObserverRegistration) removeObserver:forKeyPath:]
#3 0x938dc2b4 in -[NSController removeObserver:forKeyPath:]
#4 0x938b64d8 in -[NSBinder _updateObservingRegistration:]
#5 0x93b4d3a4 in -[NSBinder releaseConnectionWithSynchronizePeerBinders:]
#6 0x936bfe00 in -[NSObject(_NSBindingAdaptorAccess) _releaseBindingAdaptor]
#7 0x936bfad8 in __NSViewDeallocAuxiliary
#8 0x936beedc in -[NSView _finalize]
#9 0x936bebe8 in -[NSView dealloc]
#10 0x9372fb78 in -[NSControl dealloc]
#11 0x9369dad4 in -[NSView release]
#12 0x928c3b88 in NSPopAutoreleasePool
#13 0x928f4cc4 in __NSFireMainThreadPerform
#14 0x9078df2c in __CFRunLoopPerformPerform
#15 0x9075da68 in __CFRunLoopDoSources0
#16 0x9075cf98 in __CFRunLoopRun
#17 0x9075ca18 in CFRunLoopRunSpecific
#18 0x9318f1e0 in RunCurrentEventLoopInMode
#19 0x9318e7ec in ReceiveNextEventCommon
#20 0x9318e6e0 in BlockUntilNextEventMatchingListInMode
#21 0x9368d104 in _DPSNextEvent
#22 0x9368cdc8 in -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:]
#23 0x9368930c in -[NSApplication run]
#24 0x93779e68 in NSApplicationMain
#25 0x00003784 in main at main.m:13



Are there any tips on narrowing down which binding is going awry? (I have turned on -NSBindingDebugLevel 1, but nothing gets printed)


Matt Gough
_______________________________________________
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: Debugging a crash in bindings [Solved - sort of]
      • From: Matt Gough <email@hidden>
  • Prev by Date: Re: Transparent window
  • Next by Date: _NSArrayControllerTreeNode
  • Previous by thread: Moderator EOT ([ANN] DMG Packager 1.0)
  • Next by thread: Re: Debugging a crash in bindings [Solved - sort of]
  • Index(es):
    • Date
    • Thread