• 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: Binding NSPopupButton crashes
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Binding NSPopupButton crashes


  • Subject: Re: Binding NSPopupButton crashes
  • From: Steve Checkoway <email@hidden>
  • Date: Tue, 16 Oct 2007 03:00:44 -0700


On Oct 15, 2007, at 10:21 AM, I. Savant wrote:

What does the stack trace look like?

#0 0xfffeff20 in objc_msgSend_rtp
#1 0x9249aba4 in -[NSObject(NSKeyValueObservingPrivate) _notifyObserversForKeyPath:change:]
#2 0x92e5c5c0 in -[NSController _notifyObserversForKeyPath:change:]
#3 0x9304276c in -[NSController observeValueForKeyPath:ofObject:change:context:]
#4 0x933f4fd8 in -[NSUserDefaultsController _setSingleValue:forKey:]
#5 0x9251b2e4 in -[NSObject(NSKeyValueCoding) setValue:forKeyPath:]
#6 0x930cbc04 in -[NSBinder _setValue:forKeyPath:ofObject:mode:validateImmediately:raisesForNotApplicableKeys:error :]
#7 0x930cb9d4 in -[NSBinder setValue:forBinding:error:]
#8 0x930cb68c in -[NSValueBinder _applyObjectValue:forBinding:canRecoverFromErrors:handleErrors:typeOfAlert:discardEditingCallback:otherCallback:callbackContextInfo:didRunAlert :]
#9 0x930cb2ec in -[NSValueBinder applyDisplayedValueHandleErrors:typeOfAlert:canRecoverFromErrors:discardEditingCallback:otherCallback:callbackContextInfo:didRunAlert :]
#10 0x930caf84 in -[NSValueBinder performAction:]
#11 0x930cae60 in -[_NSBindingAdaptor _objectDidTriggerAction:bindingAdaptor:]
#12 0x92f2e674 in -[NSControl sendAction:to:]
#13 0x92f2e764 in -[NSApplication sendAction:to:from:]
#14 0x92fc9e40 in -[NSMenu performActionForItemAtIndex:]
#15 0x92fc9b70 in -[NSCarbonMenuImpl performActionWithHighlightingForItemAtIndex:]
#16 0x92fab344 in AppKitMenuEventHandler
#17 0x909dd08c in DispatchEventToHandlers
#18 0x909dc224 in SendEventToEventTargetInternal
#19 0x909f8a84 in SendEventToEventTarget
#20 0x90a2eb7c in SendHICommandEvent
#21 0x90a550e8 in SendMenuItemSelectedEvent
#22 0x90a54fec in FinishMenuSelection
#23 0x90aa7338 in PopUpMenuSelectCore
#24 0x90aa6d0c in _HandlePopUpMenuSelection7
#25 0x930804c0 in _NSPopUpCarbonMenu3
#26 0x930b4860 in -[NSCarbonMenuImpl popUpMenu:atLocation:width:forView:withSelectedItem:withFont:withFlags:withOptions :]
#27 0x930b3c50 in -[NSPopUpButtonCell trackMouse:inRect:ofView:untilMouseUp:]
#28 0x92f2ce24 in -[NSControl mouseDown:]
#29 0x92f2b860 in -[NSWindow sendEvent:]
#30 0x92efeb4c in -[NSApplication sendEvent:]
#31 0x92e6c83c in -[NSApplication run]
#32 0x92e3d35c in NSApplicationMain
#33 0x00002c54 in main at main.m:13


As you can see, not a bit of it was in code that I wrote. It's very frustrating trying to debug something like this. Are there general tips to debugging bindings?

--
Steve Checkoway



Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________

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: Binding NSPopupButton crashes
      • From: Steve Checkoway <email@hidden>
References: 
 >Binding NSPopupButton crashes (From: Steve Checkoway <email@hidden>)
 >Re: Binding NSPopupButton crashes (From: "I. Savant" <email@hidden>)

  • Prev by Date: Re: Memory leaks with NSAppleScript
  • Next by Date: Re: Binding NSPopupButton crashes
  • Previous by thread: Re: Binding NSPopupButton crashes
  • Next by thread: Re: Binding NSPopupButton crashes
  • Index(es):
    • Date
    • Thread