Skip to content

subform row crashes #236

@iwarshak

Description

@iwarshak

In the KitchenSink sample app, the subform row type consistently crases

  Simulate ./build/iPhoneSimulator-8.0-Development/KitchenSink.app
(main)> 2014-10-16 10:13:38.490 KitchenSink[3761:52986] kvo.rb:96:in `observeValueForKeyPath:ofObject:change:context:': Invalid Reference - probably recycled (WeakRef::RefError)
    from check_row.rb:31:in `block in on_select:'
    from check_row.rb:30:in `on_select:'
    from base.rb:70:in `_on_select:'
    from form_delegate.rb:95:in `tableView:didSelectRowAtIndexPath:'
2014-10-16 10:13:38.495 KitchenSink[3761:52986] *** Terminating app due to uncaught exception 'WeakRef::RefError', reason: 'kvo.rb:96:in `observeValueForKeyPath:ofObject:change:context:': Invalid Reference - probably recycled (WeakRef::RefError)
    from check_row.rb:31:in `block in on_select:'
    from check_row.rb:30:in `on_select:'
    from base.rb:70:in `_on_select:'
    from form_delegate.rb:95:in `tableView:didSelectRowAtIndexPath:'
'
*** First throw call stack:
(
    0   CoreFoundation                      0x02993df6 __exceptionPreprocess + 182
    1   libobjc.A.dylib                     0x008cea97 objc_exception_throw + 44
    2   KitchenSink                         0x005486f5 _ZL10__vm_raisev + 453
    3   KitchenSink                         0x005487b0 rb_vm_raise + 176
    4   KitchenSink                         0x0043e081 rb_exc_raise + 17
    5   KitchenSink                         0x004374d2 rb_raise + 146
    6   KitchenSink                         0x00501010 -[WeakRef _destroyWeakReference] + 0
    7   KitchenSink                         0x00518afe rb_vm_dispatch + 126
    8   KitchenSink                         0x000bbae4 vm_fast_aref + 676
    9   KitchenSink                         0x000c16c1 rb_scope__observeValueForKeyPath:ofObject:change:context:__ + 193
    10  KitchenSink                         0x000c1c9e __unnamed_48 + 142
    11  Foundation                          0x01018a53 NSKeyValueNotifyObserver + 359
    12  Foundation                          0x01017b10 NSKeyValueDidChange + 462
    13  Foundation                          0x0101c865 -[NSObject(NSKeyValueObserverNotification) didChangeValueForKey:] + 120
    14  KitchenSink                         0x004fffb3 rb_objc_didChangeValueForKey + 51
    15  KitchenSink                         0x0054172c _ZL22rb_attr_generic_settermP13objc_selectorm + 844
    16  KitchenSink                         0x00533dc4 _ZL20dispatch_rimp_callerPFP11objc_objectS0_P13objc_selectorzEmS1_iPKm + 46452
    17  KitchenSink                         0x0051a67c rb_vm_dispatch + 7164
    18  KitchenSink                         0x0029744c vm_dispatch + 1100
    19  KitchenSink                         0x0029ffd2 rb_scope__on_select:__block__ + 210
    20  KitchenSink                         0x005286ae _ZL20dispatch_bimp_callerPFP11objc_objectS0_P13objc_selectorzEmS1_mP11rb_vm_blockiPKm + 46510
    21  KitchenSink                         0x0051ba55 _ZL13vm_block_evalP7RoxorVMP11rb_vm_blockP13objc_selectormiPKm + 1173
    22  KitchenSink                         0x0051bdfb rb_vm_yield_args + 75
    23  KitchenSink                         0x0050f6c3 rb_yield + 67
    24  KitchenSink                         0x003f89b3 rary_each + 51
    25  KitchenSink                         0x00533dc4 _ZL20dispatch_rimp_callerPFP11objc_objectS0_P13objc_selectorzEmS1_iPKm + 46452
    26  KitchenSink                         0x0051a67c rb_vm_dispatch + 7164
    27  KitchenSink                         0x0029744c vm_dispatch + 1100
    28  KitchenSink                         0x0029fbe3 rb_scope__on_select:__ + 1107
    29  KitchenSink                         0x00533dc4 _ZL20dispatch_rimp_callerPFP11objc_objectS0_P13objc_selectorzEmS1_iPKm + 46452
    30  KitchenSink                         0x0051a67c rb_vm_dispatch + 7164
    31  KitchenSink                         0x0018860c vm_dispatch + 1100
    32  KitchenSink                         0x001919cc rb_scope___on_select:__ + 636
    33  KitchenSink                         0x00533dc4 _ZL20dispatch_rimp_callerPFP11objc_objectS0_P13objc_selectorzEmS1_iPKm + 46452
    34  KitchenSink                         0x0051a67c rb_vm_dispatch + 7164
    35  KitchenSink                         0x001e436c vm_dispatch + 1100
    36  KitchenSink                         0x001eefe0 rb_scope__tableView:didSelectRowAtIndexPath:__ + 416
    37  KitchenSink                         0x001ef040 __unnamed_76 + 80
    38  UIKit                               0x0179c4fc -[UITableView _selectRowAtIndexPath:animated:scrollPosition:notifyDelegate:] + 1559
    39  UIKit                               0x0179c6a7 -[UITableView _userSelectRowAtPendingSelectionIndexPath:] + 285
    40  UIKit                               0x017a19a3 __38-[UITableView touchesEnded:withEvent:]_block_invoke + 43
    41  UIKit                               0x016b662e ___afterCACommitHandler_block_invoke + 15
    42  UIKit                               0x016b65d9 _applyBlockToCFArrayCopiedToStack + 415
    43  UIKit                               0x016b63ee _afterCACommitHandler + 545
    44  CoreFoundation                      0x028b6fbe __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 30
    45  CoreFoundation                      0x028b6f00 __CFRunLoopDoObservers + 400
    46  CoreFoundation                      0x028ac93a __CFRunLoopRun + 1226
    47  CoreFoundation                      0x028ac1ab CFRunLoopRunSpecific + 443
    48  CoreFoundation                      0x028abfdb CFRunLoopRunInMode + 123
    49  GraphicsServices                    0x0775324f GSEventRunModal + 192
    50  GraphicsServices                    0x0775308c GSEventRun + 104
    51  UIKit                               0x0168ce16 UIApplicationMain + 1526
    52  KitchenSink                         0x00018d5c main + 156
    53  libdyld.dylib                       0x06182ac9 start + 1
)
libc++abi.dylib: terminating with uncaught exception of type RefError

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions