Post

Replies

Boosts

Views

Activity

Reply to Interpreting crash log assertionFailure
I greatly appreciate your response. I was able to symbolicate it. Thread 6 Crashed: 0 libswiftCore.dylib 0x000000018e0a3a88 _assertionFailure(_:_:file:line:flags:) + 264 (AssertCommon.swift:147) 1 TopShelf 0x0000000100e5597c specialized static ContextMenuMetadata.__derived_struct_equals(_:_:) (in TopShelf) (/<compiler-generated>:0) 2 TopShelf 0x000000010125a178 one-time initialization function for FT_Proto_Common_V3_Custom_SchemaDescription_Extensions (in TopShelf) (schema_description.pb.swift:116) 3 libdispatch.dylib 0x000000018cef9294 _dispatch_client_callout + 20 (object.m:576) 4 libdispatch.dylib 0x000000018cefaae0 _dispatch_once_callout + 32 (once.c:52) 5 TopShelf 0x0000000100e8ff34 FTPlayer.convert(_:) (in TopShelf) (PlaybackDetails.swift:106) 6 TopShelf 0x0000000100e907cc initializeBufferWithCopyOfBuffer for PlaybackDetails (in TopShelf) (/<compiler-generated>:0) 7 TopShelf 0x0000000100e68968 assignWithCopy for GuidePage (in TopShelf) (/<compiler-generated>:0) 8 TopShelf 0x0000000100b51a61 initializeWithCopy for MarqueeTextView (in TopShelf) (/<compiler-generated>:0) 9 TopShelf 0x0000000101242511 JSONSafeEncoder.__deallocating_deinit (in TopShelf) (JSONSafeEncoder.swift:34) 10 TopShelf 0x0000000100f81ab5 type metadata completion function for FTButtonIcon (in TopShelf) (/<compiler-generated>:0) 11 TopShelf 0x000000010125aacd <deduplicated_symbol> (in TopShelf) + 5 12 TopShelf 0x0000000100b50b95 closure #1 in MarqueeTextView.plainText(stringWidth:size:) (in TopShelf) (/<compiler-generated>:0) 13 TopShelf 0x0000000100b50e81 MarqueeTextView.scrollableTextView.getter (in TopShelf) (MarqueeTextView.swift:96) 14 TopShelf 0x0000000100b510e5 closure #1 in MarqueeTextView.scrollableText(stringWidth:size:) (in TopShelf) (MarqueeTextView.swift:113) 15 TopShelf 0x0000000100b51a61 initializeWithCopy for MarqueeTextView (in TopShelf) (/<compiler-generated>: 16 TopShelf 0x0000000100b514b5 closure #3 in MarqueeTextView.scrollableText(stringWidth:size:) (in TopShelf) (MarqueeTextView.swift:131) 17 TopShelf 0x0000000100b510e5 closure #1 in MarqueeTextView.scrollableText(stringWidth:size:) (in TopShelf) (MarqueeTextView.swift:113) 18 libswift_Concurrency.dylib 0x000000018e67aedd completeTaskWithClosure(swift::AsyncContext*, swift::SwiftError*) + 1 (Task.cpp:497) Analyzing these crash logs raises several additional questions. TopShelf is appex for tvOS top shelf, but the trace shows the code for the main application. Does this imply that when a user opens an application through the top shelf, the TopShelf appex is also utilized, even when the user is currently within the main application? This suggests that the crash may not necessarily be occurring within the TopShelf application but rather within the main application itself. Incident Identifier: FEAF9F98-6A19-4E13-.txt
Apr ’25
Reply to Interpreting crash log assertionFailure
Thank you for your response. I attached the file. I can not reproduce the crash, this is crash report from users I found it in Organizer, so I apologize for partially symbolicated crash report. Reading all the crash logs I noticed that crashed thread is always > 0 For this example, it's Thread 6 Thread 6 Crashed: 0 libswiftCore.dylib 0x000000018e0a3a88 _assertionFailure(_:_:file:line:flags:) + 264 (AssertCommon.swift:147) 1 TopShelf 0x0000000100e5597c 0x100b4c000 + 3185020 2 TopShelf 0x000000010125a178 0x100b4c000 + 7397752 3 libdispatch.dylib 0x000000018cef9294 _dispatch_client_callout + 20 (object.m:576) 4 libdispatch.dylib 0x000000018cefaae0 _dispatch_once_callout + 32 (once.c:52) 5 TopShelf 0x0000000100e8ff34 0x100b4c000 + 3424052 6 TopShelf 0x0000000100e907cc 0x100b4c000 + 3426252 7 TopShelf 0x0000000100e68968 0x100b4c000 + 3262824 8 TopShelf 0x0000000100b51a61 0x100b4c000 + 23137 9 TopShelf 0x0000000101242511 0x100b4c000 + 7300369 10 TopShelf 0x0000000100f81ab5 0x100b4c000 + 4414133 11 TopShelf 0x000000010125aacd 0x100b4c000 + 7400141 12 TopShelf 0x0000000100b50b95 0x100b4c000 + 19349 13 TopShelf 0x0000000100b50e81 0x100b4c000 + 20097 14 TopShelf 0x0000000100b510e5 0x100b4c000 + 20709 15 TopShelf 0x0000000100b51a61 0x100b4c000 + 23137 16 TopShelf 0x0000000100b514b5 0x100b4c000 + 21685 17 TopShelf 0x0000000100b510e5 0x100b4c000 + 20709 18 libswift_Concurrency.dylib 0x000000018e67aedd completeTaskWithClosure(swift::AsyncContext*, swift::SwiftError*) + 1 (Task.cpp:497) 2025-03-14_12-50-39.6525_+0200-c2474fed0035de1d8fd5f073570e1599dd703404.crash
Mar ’25
Reply to TVCollectionViewFullScreenLayout
Any luck with this? I have a same problem and I can not figure it out :( I use this override func indexPathForPreferredFocusedView(in collectionView: UICollectionView) -> IndexPath? {       return desiredIndexPath } It scroll to the desired index path, but  it snaps back one position to the previous cell. It's probably because of the focus engine, but I don't know how we can control it.
Topic: UI Frameworks SubTopic: General Tags:
Dec ’20