Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PrettyExample infinitely recurses on loading #24

Closed
paulb777 opened this issue Mar 6, 2015 · 1 comment
Closed

PrettyExample infinitely recurses on loading #24

paulb777 opened this issue Mar 6, 2015 · 1 comment
Assignees

Comments

@paulb777
Copy link

paulb777 commented Mar 6, 2015

The observeValueForKeyPath in PrettyTableViewCell.m infinitely recurses and crashes 72704 stack frames deep:

(lldb) bt 40

  • thread SIGABRT #1: tid = 0x199277, 0x0381e1f9 libsystem_malloc.dylibcalloc + 9, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=2, address=0xbf715ffc) frame #0: 0x0381e1f9 libsystem_malloc.dylibcalloc + 9
    frame SIGABRT #1: 0x0202bcc1 libobjc.A.dylibclass_createInstance + 68 frame #2: 0x019a3fa7 FoundationNSAllocateObject + 33
    frame Crash when opening site in Google Chrome #3: 0x019c6387 Foundation_NSNewValue + 1088 frame #4: 0x019c5f2e Foundation+[NSValue valueWithBytes:objCType:] + 39
    frame any plan to support armv6? #5: 0x019e1633 Foundation+[NSValue valueWithRect:] + 53 frame #6: 0x01a61f15 Foundation_NSGetRectValueWithMethod + 110
    frame Properly handling orientation changes #7: 0x019d0f28 Foundation_NSGetUsingKeyValueGetter + 104 frame #8: 0x019d0eb8 Foundation-[NSObject(NSKeyValueCoding) valueForKey:] + 260
    frame Crash: [UIWindow selectedTextRange]: unrecognized selector  #9: 0x019ea60d Foundation-[NSObject(NSKeyValueCoding) valueForKeyPath:] + 383 frame #10: 0x019aa3f5 FoundationNSKeyValueWillChangeBySetting + 49
    frame cannot connect to IP address in Chrome or Firefox #11: 0x019a8103 FoundationNSKeyValueWillChange + 408 frame #12: 0x019af3a5 Foundation-[NSObject(NSKeyValueObserverNotification) willChangeValueForKey:] + 246
    frame Setup instructions should mention CoreData Framework needs to be added to project #13: 0x01a59163 Foundation`_NSSetRectValueAndNotify + 117
    • frame Setup Instructions should mention how to add iOSHierarchyViewer to an ARC project #14: 0x000f4cc8 PrettyExample-[PrettyTableViewCell observeValueForKeyPath:ofObject:change:context:](self=0x78661870, _cmd=0x01bda3bc, keyPath=0x00146538, object=0x78662070, change=0x789d0bf0, context=0x00000000) + 808 at PrettyTableViewCell.m:477 frame #15: 0x019ab673 FoundationNSKeyValueNotifyObserver + 359
      frame It crash when run [iOSHierarchyScanner hierarchySnapshot] when run on XCode5 #16: 0x019aa730 FoundationNSKeyValueDidChange + 462 frame #17: 0x019af485 Foundation-[NSObject(NSKeyValueObserverNotification) didChangeValueForKey:] + 120
      frame Right Copy Header Settting. #18: 0x01a591ae Foundation_NSSetRectValueAndNotify + 192 frame #19: 0x000f4cc8 PrettyExample-[PrettyTableViewCell observeValueForKeyPath:ofObject:change:context:](self=0x78661870, _cmd=0x01bda3bc, keyPath=0x00146538, object=0x78662070, change=0x789d0b80, context=0x00000000) + 808 at PrettyTableViewCell.m:477
      frame Instructions are insufficient #20: 0x019ab673 FoundationNSKeyValueNotifyObserver + 359 frame #21: 0x019aa730 FoundationNSKeyValueDidChange + 462
      frame add auto start #22: 0x019af485 Foundation-[NSObject(NSKeyValueObserverNotification) didChangeValueForKey:] + 120 frame #23: 0x01a591ae Foundation_NSSetRectValueAndNotify + 192
      frame PrettyExample infinitely recurses on loading #24: 0x000f4cc8 PrettyExample-[PrettyTableViewCell observeValueForKeyPath:ofObject:change:context:](self=0x78661870, _cmd=0x01bda3bc, keyPath=0x00146538, object=0x78662070, change=0x789d0b10, context=0x00000000) + 808 at PrettyTableViewCell.m:477 frame #25: 0x019ab673 FoundationNSKeyValueNotifyObserver + 359
      frame Layout messed up on iOS 9.1, 9.2 #26: 0x019aa730 FoundationNSKeyValueDidChange + 462 frame #27: 0x019af485 Foundation-[NSObject(NSKeyValueObserverNotification) didChangeValueForKey:] + 120
      frame Update HVCoreDataHandler.m #28: 0x01a591ae Foundation_NSSetRectValueAndNotify + 192 frame #29: 0x000f4cc8 PrettyExample-[PrettyTableViewCell observeValueForKeyPath:ofObject:change:context:](self=0x78661870, _cmd=0x01bda3bc, keyPath=0x00146538, object=0x78662070, change=0x789d0aa0, context=0x00000000) + 808 at PrettyTableViewCell.m:477
      frame #30: 0x019ab673 FoundationNSKeyValueNotifyObserver + 359 frame #31: 0x019aa730 FoundationNSKeyValueDidChange + 462
      frame #32: 0x019af485 Foundation-[NSObject(NSKeyValueObserverNotification) didChangeValueForKey:] + 120 frame #33: 0x01a591ae Foundation_NSSetRectValueAndNotify + 192
      frame #34: 0x000f4cc8 PrettyExample-[PrettyTableViewCell observeValueForKeyPath:ofObject:change:context:](self=0x78661870, _cmd=0x01bda3bc, keyPath=0x00146538, object=0x78662070, change=0x789d0a30, context=0x00000000) + 808 at PrettyTableViewCell.m:477 frame #35: 0x019ab673 FoundationNSKeyValueNotifyObserver + 359
      frame #36: 0x019aa730 FoundationNSKeyValueDidChange + 462 frame #37: 0x019af485 Foundation-[NSObject(NSKeyValueObserverNotification) didChangeValueForKey:] + 120
      frame #38: 0x01a591ae Foundation_NSSetRectValueAndNotify + 192 frame #39: 0x000f4cc8 PrettyExample-[PrettyTableViewCell observeValueForKeyPath:ofObject:change:context:](self=0x78661870, _cmd=0x01bda3bc, keyPath=0x00146538, object=0x78662070, change=0x789d09c0, context=0x00000000) + 808 at PrettyTableViewCell.m:477

(lldb) f 72704
frame #72704: 0x000ebe2a PrettyExample`main(argc=1, argv=0xbff1459c) + 170 at main.m:16
13 int main(int argc, char *argv[])
14 {
15 @autoreleasepool {
-> 16 return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class]));
17 }
18 }
(lldb)

@damian-kolakowski
Copy link
Owner

Removed PrettyExample.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants