lloydsargent / BlackRaccoon

IOS FTP Client Code
102 stars 37 forks source link

App is crashing with following log #55

Closed NirmitDagly closed 9 years ago

NirmitDagly commented 9 years ago

Hello, When I run BlackRaccoon sample on iOS 9 , the sample app crashes with the following log. I am not able to solve this issue, so please help me to get rid from the issue. Here is the log:- 2015-10-23 20:39:54.792 BlackRaccoon[609:10864] * Assertion failure in void UIPerformResizeOfTextViewForTextContainer(NSLayoutManager , UIView , NSTextContainer , NSUInteger)(), /BuildRoot/Library/Caches/com.apple.xbs/Sources/UIFoundation_Sim/UIFoundation-432/UIFoundation/TextSystem/NSLayoutManagerPrivate.m:1551 2015-10-23 20:39:54.895 BlackRaccoon[609:10864] ** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Only run on the main thread!' * First throw call stack: ( 0 CoreFoundation 0x000000010ab02f65 __exceptionPreprocess + 165 1 libobjc.A.dylib 0x000000010a57cdeb objc_exception_throw + 48 2 CoreFoundation 0x000000010ab02dca +[NSException raise:format:arguments:] + 106 3 Foundation 0x000000010a1caba6 -[NSAssertionHandler handleFailureInFunction:file:lineNumber:description:] + 169 4 UIFoundation 0x000000010e3eba7f -[NSLayoutManager(NSPrivate) _resizeTextViewForTextContainer:] + 409 5 UIFoundation 0x000000010e3eb7a1 -[NSLayoutManager(NSPrivate) _recalculateUsageForTextContainerAtIndex:] + 2397 6 UIFoundation 0x000000010e4241fa -[NSLayoutManager textStorage:edited:range:changeInLength:invalidatedRange:] + 747 7 UIFoundation 0x000000010e4242d2 -[NSLayoutManager processEditingForTextStorage:edited:range:changeInLength:invalidatedRange:] + 47 8 UIFoundation 0x000000010e44ba76 -[NSTextStorage _notifyEdited:range:changeInLength:invalidatedRange:] + 152 9 UIFoundation 0x000000010e44b591 -[NSTextStorage processEditing] + 349 10 UIFoundation 0x000000010e44b1eb -[NSTextStorage endEditing] + 82 11 UIKit 0x00000001095e6b18 -[UITextView setAttributedText:] + 250 12 UIKit 0x00000001095ee68a -[UITextView setText:] + 188 13 BlackRaccoon 0x000000010831c767 -[BRMainViewController requestFailed:] + 599 14 BlackRaccoon 0x0000000108318b52 __25-[BRStreamInfo openRead:]_block_invoke + 402 15 libdispatch.dylib 0x000000010b0deef9 _dispatch_call_block_and_release + 12 16 libdispatch.dylib 0x000000010b0ff49b _dispatch_client_callout + 8 17 libdispatch.dylib 0x000000010b0e47e2 _dispatch_after_timer_callback + 334 18 libdispatch.dylib 0x000000010b0ff49b _dispatch_client_callout + 8 19 libdispatch.dylib 0x000000010b0f28a5 _dispatch_source_latch_and_call + 1750 20 libdispatch.dylib 0x000000010b0ed830 _dispatch_source_invoke + 1057 21 libdispatch.dylib 0x000000010b0e57fb _dispatch_queue_drain + 1818 22 libdispatch.dylib 0x000000010b0e4ea9 _dispatch_queue_invoke + 601 23 libdispatch.dylib 0x000000010b0e7af2 _dispatch_root_queue_drain + 1420 24 libdispatch.dylib 0x000000010b0e7561 _dispatch_worker_thread3 + 111 25 libsystem_pthread.dylib 0x000000010b430a9d _pthread_wqthread + 729 26 libsystem_pthread.dylib 0x000000010b42e3dd start_wqthread + 13 ) libc++abi.dylib: terminating with uncaught exception of type NSException