yourhead / s3

public info about s3
8 stars 7 forks source link

Link Button causes crash in some situations #809

Closed yourhead closed 5 years ago

yourhead commented 6 years ago

Still investigating what is special about this particular button setup. But the setValueForKey on the RW binding is crashing -- so I assume the other end of the binding has been deallocated.

yourhead commented 6 years ago

0 CoreFoundation 0x00007fff4f6f16bb __exceptionPreprocess + 171 1 libobjc.A.dylib 0x00007fff76e0d942 objc_exception_throw + 48 2 CoreFoundation 0x00007fff4f6f1609 -[NSException raise] + 9 3 Foundation 0x00007fff518c32bf -[NSObject(NSKeyValueCoding) valueForUndefinedKey:] + 226 4 Foundation 0x00007fff5179604c -[NSObject(NSKeyValueCoding) valueForKey:] + 284 5 Foundation 0x00007fff51795c2d -[NSObject(NSKeyValueCoding) valueForKeyPath:] + 260 6 AppKit 0x00007fff4cc594ab -[NSBinder valueForBinding:resolveMarkersToPlaceholders:] + 162 7 AppKit 0x00007fff4ccf2e3f -[NSValueBinder _adjustObject:mode:observedController:observedKeyPath:context:editableState:adjustState:] + 226 8 AppKit 0x00007fff4ccf2cd0 -[NSValueBinder _observeValueForKeyPath:ofObject:context:] + 277 9 Foundation 0x00007fff51791a79 NSKeyValueNotifyObserver + 350 10 Foundation 0x00007fff51804d8b -[NSObject(NSKeyValueObservingPrivate) _notifyObserversForKeyPath:change:] + 1108 11 AppKit 0x00007fff4cdb5064 -[NSController _notifyObserversForKeyPath:change:] + 193 12 AppKit 0x00007fff4cf701c7 -[NSObjectController setContent:] + 320 13 AppKit 0x00007fff4cf6ffe3 -[NSObjectDetailBinder refreshDetailContent] + 257 14 Foundation 0x00007fff51791a79 NSKeyValueNotifyObserver + 350 15 Foundation 0x00007fff5179132d NSKeyValueDidChange + 475 16 Foundation 0x00007fff518cecbe -[NSObject(NSKeyValueObservingPrivate) _changeValueForKeys:count:maybeOldValuesDict:usingBlock:] + 769 17 Foundation 0x00007fff5175cc25 -[NSObject(NSKeyValueObservingPrivate) _changeValueForKey:key:key:usingBlock:] + 61 18 Foundation 0x00007fff517bbe71 _NSSetObjectValueAndNotify + 262 19 RWKit 0x0000000108a706b5 -[RWLinkPanel(Bindings) setCurrentLink:] + 75 20 RWKit 0x0000000108a736e7 -[RWLinkPanel presentPanelWithLink:parent:] + 413 21 Stacks 0x0000000118eb6504 -[YHPropertyViewController doLinkSelect:] + 452 22 AppKit 0x00007fff4d395a43 -[NSApplication(NSResponder) sendAction:to:from:] + 312 23 AppKit 0x00007fff4ce3b53f -[NSControl sendAction:to:] + 86 24 AppKit 0x00007fff4ce3b467 __26-[NSCell _sendActionFrom:]_block_invoke + 136 25 AppKit 0x00007fff4ce3b36d -[NSCell _sendActionFrom:] + 183 26 AppKit 0x00007fff4ce7c688 -[NSButtonCell _sendActionFrom:] + 97 27 AppKit 0x00007fff4ce39bd6 -[NSCell trackMouse:inRect:ofView:untilMouseUp:] + 2438 28 AppKit 0x00007fff4ce7c3cf -[NSButtonCell trackMouse:inRect:ofView:untilMouseUp:] + 777 29 AppKit 0x00007fff4ce38670 -[NSControl mouseDown:] + 965 30 AppKit 0x00007fff4d534d6d -[NSWindow(NSEventRouting) _handleMouseDownEvent:isDelayedEvent:] + 5891 31 AppKit 0x00007fff4d5319c4 -[NSWindow(NSEventRouting) _reallySendEvent:isDelayedEvent:] + 2359 32 AppKit 0x00007fff4d530c70 -[NSWindow(NSEventRouting) sendEvent:] + 497 33 AppKit 0x00007fff4d392236 -[NSApplication(NSEvent) sendEvent:] + 2462 34 AppKit 0x00007fff4cbf28b5 -[NSApplication run] + 812 35 AppKit 0x00007fff4cbc1a72 NSApplicationMain + 804 36 libdyld.dylib 0x00007fff77a24015 start + 1

yourhead commented 5 years ago

seems clear that this is something isn't being defined and the link export in rw crashes. however i can no longer duplicate this. it's possible it was fixed inside rw.