VLC-tvOS Crash when playing file
*** Assertion failure in void _UIPerformResizeOfTextViewForTextContainer(NSLayoutManager _, UIView *, NSTextContainer *, NSUInteger)(), /BuildRoot/Library/Caches/com.apple.xbs/Sources/UIFoundation_Sim/UIFoundation-536/UIFoundation/TextSystem/NSLayoutManager_Private.m:1618
2017-07-28 22:51:18.885002+0200 VLC-tvOS[72062:8665433] *_* Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Only run on the main thread!'
*** First throw call stack:
0 CoreFoundation 0x00000001131c82ab __exceptionPreprocess + 171
1 libobjc.A.dylib 0x0000000112b2bf41 objc_exception_throw + 48
2 CoreFoundation 0x00000001131cd372 +[NSException raise:format:arguments:] + 98
3 Foundation 0x000000010ffd4773 -[NSAssertionHandler handleFailureInFunction:file:lineNumber:description:] + 165
4 UIFoundation 0x000000011a0ab5e0 -[NSLayoutManager(NSPrivate) _resizeTextViewForTextContainer:] + 1178
5 UIFoundation 0x000000011a0ba77e _resizeTextViewsIfNeeded + 285
6 UIFoundation 0x000000011a0ae257 _NSFastFillAllLayoutHolesForGlyphRange + 1832
7 UIFoundation 0x000000011a0ebd57 -[NSLayoutManager enumerateLineFragmentsForGlyphRange:usingBlock:] + 61
8 UIKit 0x0000000111556cbe __38-[UITextView _rectForScrollToVisible:]_block_invoke + 152
9 UIFoundation 0x000000011a0ec4a1 -[NSLayoutManager(TextLocking) coordinateAccess:] + 55
10 UIKit 0x0000000111556a10 -[UITextView _rectForScrollToVisible:] + 281
11 UIKit 0x0000000111552e80 -[UITextView _updateContentSize] + 417
12 CoreFoundation 0x000000011316446c __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 12
13 CoreFoundation 0x000000011316436a _CFXRegistrationPost + 442
14 CoreFoundation 0x00000001131640b2 ___CFXNotificationPost_block_invoke + 50
15 CoreFoundation 0x00000001131263f2 -[_CFXNotificationRegistrar find:object:observer:enumerator:] + 1826
16 CoreFoundation 0x000000011312556c _CFXNotificationPost + 652
17 Foundation 0x000000010fedbdf2 -[NSNotificationCenter postNotificationName:object:userInfo:] + 66
18 UIKit 0x000000011156d958 __64-[_UITextContainerView _setFrameOrBounds:oldRect:settingAction:]_block_invoke.60 + 212
19 UIKit 0x000000011156d7d5 -[_UITextContainerView _setFrameOrBounds:oldRect:settingAction:] + 607
20 UIKit 0x000000011156dccf -[_UITextContainerView setFrame:] + 225
21 UIKit 0x00000001115525bd -[UITextView _resyncContainerFrameForNonAutolayoutDeferringSizeToFit:] + 836
22 UIKit 0x00000001115533fa -[UITextView _setFrameOrBounds:fromOldRect:settingAction:] + 513
23 UIKit 0x00000001115537c8 -[UITextView setBounds:] + 225
24 UIKit 0x0000000110a8294b -[UIView(Geometry) _applyISEngineLayoutValuesToBoundsOnly:] + 598
25 UIKit 0x0000000110a82c34 -[UIView(Geometry) _resizeWithOldSuperviewSize:] + 125
26 UIKit 0x00000001114d5bf8 -[UIScrollView(_UIOldConstraintBasedLayoutSupport) _resizeWithOldSuperviewSize:] + 46
27 CoreFoundation 0x0000000113155727 -[__NSArrayM enumerateObjectsWithOptions:usingBlock:] + 487
28 UIKit 0x0000000110a816c4 -[UIView(Geometry) resizeSubviewsWithOldSize:] + 165
29 UIKit 0x000000011141dd17 -[UIView(AdditionalLayoutSupport) _is_layout] + 211
30 UIKit 0x0000000110a8a8e2 -[UIView(Hierarchy) _updateConstraintsAsNecessaryAndApplyLayoutFromEngine] + 989
31 UIKit 0x0000000110a9e92c -[UIView(CALayerDelegate) layoutSublayersOfLayer:] + 1331
32 QuartzCore 0x00000001105fa58a -[CALayer layoutSublayers] + 153
33 QuartzCore 0x00000001105fe671 _ZN2CA5Layer16layout_if_neededEPNS_11TransactionE + 401
34 UIKit 0x0000000110a899a8 -[UIView(Hierarchy) layoutBelowIfNeeded] + 662
35 UIKit 0x0000000110a90bb0 +[UIView(Animation) performWithoutAnimation:] + 90
36 UIKit 0x0000000110a64689 __59-[UIViewAnimationState _runConstraintBasedLayoutAnimations]_block_invoke + 120
37 UIKit 0x00000001114212eb -[UIView(AdditionalLayoutSupport) _withUnsatisfiableConstraintsLoggingSuspendedIfEngineDelegateExists:] + 104
38 UIKit 0x0000000110a6454d -[UIViewAnimationState _runConstraintBasedLayoutAnimations] + 973
39 UIKit 0x0000000110a6411d -[UIViewAnimationState pop] + 2096
40 UIKit 0x0000000110a60d91 +[UIViewAnimationState popAnimationState] + 62
41 UIKit 0x0000000110a925fc +[UIView(UIViewAnimationWithBlocks) _setupAnimationWithDuration:delay:view:options:factory:animations:start:animationStateGenerator:completion:] + 684
42 UIKit 0x0000000110a92b13 +[UIView(UIViewAnimationWithBlocks) animateWithDuration:animations:] + 48
43 VLC-tvOS 0x000000010bb1f24c -[VLCFullscreenMovieTVViewController displayMetadataForPlaybackController:title:artwork:artist:album:audioOnly:] + 1708
44 VLC-tvOS 0x000000010bb09763 -[VLCPlaybackController _updateDisplayedMetadata] + 1411
45 VLC-tvOS 0x000000010bb09166 __47-[VLCPlaybackController setNeedsMetadataUpdate]_block_invoke + 38
46 libdispatch.dylib 0x0000000114875354 _dispatch_client_callout + 8
47 libdispatch.dylib 0x000000011487b718 _dispatch_continuation_pop + 967
48 libdispatch.dylib 0x00000001148867a7 _dispatch_source_invoke + 681
49 libdispatch.dylib 0x0000000114879ecd _dispatch_queue_override_invoke + 733
50 libdispatch.dylib 0x0000000114880ff7 _dispatch_root_queue_drain + 772
51 libdispatch.dylib 0x0000000114880caf _dispatch_worker_thread4 + 44
52 libsystem_pthread.dylib 0x0000000114ce85a2 _pthread_wqthread + 1299
53 libsystem_pthread.dylib 0x0000000114ce807d start_wqthread + 13
)
Edited by Jean-Baptiste Kempf