Again Crashed on iOS 15.5.0 with Xcode 13.4.1
`Crashed: com.apple.vectorkit.dispatch.layoutqueue
0 libsystem_kernel.dylib 0x7b38 __pthread_kill + 8
1 libsystem_pthread.dylib 0x73bc pthread_kill + 268
2 libsystem_c.dylib 0x20524 abort + 168
3 libsystem_malloc.dylib 0x1ca04 _malloc_put + 550
4 libsystem_malloc.dylib 0x1cc9c malloc_zone_error + 100
5 libsystem_malloc.dylib 0x170dc nanov2_allocate_from_block + 568
6 libsystem_malloc.dylib 0x16164 nanov2_allocate + 128
7 libsystem_malloc.dylib 0x16080 nanov2_malloc + 64
8 libsystem_malloc.dylib 0x6024 _malloc_zone_malloc + 156
9 libc++abi.dylib 0x138a0 operator new(unsigned long) + 32
10 VectorKit 0x7e3444 md::LabelMapTile::queueCommand(md::LabelMapTileCommandType, std::__1::function<void (md::LabelManager*)> const&) + 284
11 VectorKit 0x7e3a80 md::LabelMapTile::loadTrafficTile(std::__1::shared_ptr<md::LabelTrafficTile> const&) + 144
12 VectorKit 0x7ec8a0 md::StandardLabelMapTile::loadSourceMapTile(std::__1::shared_ptr<md::ResourceInfo> const&, std::__1::shared_ptr<md::LabelTile> const&, std::__1::shared_ptr<md::LabelTile> const&, std::__1::shared_ptr<md::LabelTile> const&, std::__1::shared_ptr<md::LabelTile> const&, std::__1::shared_ptr<md::LabelTile> const&, bool, std::__1::shared_ptr<zilch::TrafficSkeletonTile> const&, geo::QuadTile const&, md::DynamicTrafficTileList const&, std::__1::shared_ptr<geo::codec::VectorTile> const&, std::__1::shared_ptr<md::DaVinciElevationRaster> const&, md::LabelManager*) + 396
13 VectorKit 0x1719d4 md::LabelRenderLayer::processLayerDataCollector(gdc::LayerDataCollector const*, std::__1::unordered_set<geo::QuadTile, geo::QuadTileHash, std::__1::equal_to<geo::QuadTile>, std::__1::allocator<geo::QuadTile> > const*, std::__1::vector<md::TileExclusionArea, std::__1::allocator<md::TileExclusionArea> > const*) + 3680
14 VectorKit 0xa6a70 md::LabelRenderLayer::layout(md::LayoutContext const&) + 728
15 VectorKit 0xb2230 std::__1::__function::__func<md::CartographicRenderLayer::frame(md::LayoutContext const&)::$_0, std::__1::allocator<md::CartographicRenderLayer::frame(md::LayoutContext const&)::$_0>, void ()>::operator()() + 112
16 VectorKit 0x597ba0 invocation function for block in geo::TaskQueue::queueAsyncTask(std::__1::shared_ptr<geo::Task>, NSObject<OS_dispatch_group>*) + 108
17 libdispatch.dylib 0x1e6c _dispatch_call_block_and_release + 32
18 libdispatch.dylib 0x3a30 _dispatch_client_callout + 20
19 libdispatch.dylib 0xb124 _dispatch_lane_serial_drain + 668
20 libdispatch.dylib 0xbcb4 _dispatch_lane_invoke + 444
21 libdispatch.dylib 0xcf80 _dispatch_workloop_invoke + 1784
22 libdispatch.dylib 0x16500 _dispatch_workloop_worker_thread + 648
23 libsystem_pthread.dylib 0x10bc _pthread_wqthread + 288
24 libsystem_pthread.dylib 0xe5c start_wqthread + 8`
Post
Replies
Boosts
Views
Activity
Same crash on iOS 15.5.0
`Crashed: com.apple.main-thread
0 libsystem_kernel.dylib 0x6bbc __pthread_kill + 8
1 libsystem_pthread.dylib 0xd854 pthread_kill + 208
2 libsystem_c.dylib 0x1f6ac abort + 124
3 libsystem_malloc.dylib 0x1b9d8 _malloc_put + 546
4 libsystem_malloc.dylib 0x1bc40 malloc_zone_error + 96
5 libsystem_malloc.dylib 0x4e64 nanov2_allocate_from_block$VARIANT$armv81 + 520
6 libsystem_malloc.dylib 0x1e98 nanov2_allocate$VARIANT$armv81 + 124
7 libsystem_malloc.dylib 0x4118 nanov2_calloc$VARIANT$armv81 + 156
8 libsystem_malloc.dylib 0x4eb8 _malloc_zone_calloc + 80
9 libdispatch.dylib 0x5e800 _dispatch_continuation_alloc_from_heap$VARIANT$armv81 + 88
10 libdispatch.dylib 0x3cda8 dispatch_async$VARIANT$armv81 + 232
11 VectorKit 0x11857c md::CartographicRenderLayer::frame(md::LayoutContext const&) + 344
12 VectorKit 0x917c0 md::CartographicRenderer::layout(md::LayoutContext&) + 160
13 VectorKit 0x6b828 md::MapEngine::layoutScene(double, bool) + 772
14 VectorKit 0xa3804 -[_MapEngineRenderQueueSource renderQueueForTimestamp:] + 64
15 VectorKit 0x1b63c -[MDDisplayLayer _renderQueueForTimestamp:prepareHandler:] + 32
16 VectorKit 0x1afb64 -[MDDisplayLayer renderQueueForTimestamp:] + 44
17 VectorKit 0x1200b0 -[MetalLayer _onTimerFired:withPresent:] + 260
18 VectorKit 0x6cb38 md::MapEngine::renderScene(double, std::__1::function<void ()>) + 104
19 VectorKit 0x78488 md::MapEngine::onRenderTimerFired(double) + 668
20 VectorKit 0x7861c ggl::DisplayLink::onTimerFired(double) + 40
21 VectorKit 0x9181c -[_GGLDisplayLinkTarget displayLinkFired:] + 84
22 QuartzCore 0x101e0 CA::Display::DisplayLink::dispatch_items(unsigned long long, unsigned long long, unsigned long long) + 760
23 QuartzCore 0x16d68 display_timer_callback(__CFMachPort*, void*, long, void*) + 368
24 CoreFoundation 0xaaec __CFMachPortPerform + 172
25 CoreFoundation 0x4ad24 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 56
26 CoreFoundation 0x4e320 __CFRunLoopDoSource1 + 596
27 CoreFoundation 0xb550 __CFRunLoopRun + 2392
28 CoreFoundation 0x1e240 CFRunLoopRunSpecific + 572
29 GraphicsServices 0x1988 GSEventRunModal + 160
30 UIKitCore 0x4e541c -[UIApplication _run] + 1080
31 UIKitCore 0x27eb88 UIApplicationMain + 336
32 Appname 0x76b0 main + 24 (AppDelegate.swift:24)
33 ??? 0x1049ec3d0 (Missing)`
Same crash report found on iOS 15.3.1
> `Crashed: com.apple.vectorkit.dispatch.layoutqueue
0 VectorKit 0x20b438 gss::BaseRenderStyle<gss::CartoStyle<gss::PropertyID> >::attributeMatch(geo::intern_vector<gss::StyleCondition, geo::StdAllocator<gss::StyleCondition, gss::Allocator> > const&, std::__1::unordered_map<gss::StyleAttribute, unsigned short, std::__1::hash<gss::StyleAttribute>, std::__1::equal_to<gss::StyleAttribute>, geo::StdAllocator<std::__1::pair<gss::StyleAttribute const, unsigned short>, gss::Allocator> > const&) const + 48
1 VectorKit 0x2f61d8 unsigned int const& gss::RenderStyle<gss::PropertyID>::styleValueForKeyAtZ<unsigned int>(gss::PropertyID, unsigned char, gss::StyleBlendingEnd) const + 168
2 VectorKit 0x31bb94 unsigned int gss::RenderStyle<gss::PropertyID>::valueForKeyAtZ<unsigned int>(gss::PropertyID, unsigned char) const + 156
3 VectorKit 0xc5a8 md::RoadBatch::setRenderOrdersForStrokeAndFill(bool, ggl::RenderItem*, ggl::RenderItem*, ggl::RenderItem*, ggl::RenderItem*, ggl::RenderItem*, unsigned int, bool, std::__1::shared_ptr<gss::StylesheetQuery<gss::PropertyID> > const&, md::RibbonLayoutContext const&, unsigned char) + 184
4 VectorKit 0x79ec44 md::RoadBatch::layout(md::RoadLayoutContext const&) + 1568
5 VectorKit 0x7a1648 md::RibbonLayer<md::Ribbons::RoadRibbonDescriptor>::layoutBatches(md::RoadLayoutContext const&) + 56
6 VectorKit 0x57fe8 md::RoadRenderLayer::layout(md::LayoutContext const&) + 1256
7 VectorKit 0xb3868 std::__1::__function::__func<md::CartographicRenderLayer::frame(md::LayoutContext const&)::$_0, std::__1::allocator<md::CartographicRenderLayer::frame(md::LayoutContext const&)::$_0>, void ()>::operator()() + 112
8 VectorKit 0x5a10f0 invocation function for block in geo::TaskQueue::queueAsyncTask(std::__1::shared_ptr<geo::Task>, NSObject<OS_dispatch_group>*) + 108
9 libdispatch.dylib 0x2924 _dispatch_call_block_and_release + 32
10 libdispatch.dylib 0x4670 _dispatch_client_callout + 20
11 libdispatch.dylib 0xbdf4 _dispatch_lane_serial_drain + 672
12 libdispatch.dylib 0xc99c _dispatch_lane_invoke + 444
13 libdispatch.dylib 0xdc84 _dispatch_workloop_invoke + 1796
14 libdispatch.dylib 0x171b8 _dispatch_workloop_worker_thread + 656
15 libsystem_pthread.dylib 0x10f4 _pthread_wqthread + 288
16 libsystem_pthread.dylib 0xe94 start_wqthread + 8`
I am seeing exactly this issue on iOS 14.7.1 devices, 100% when in background
-[_UISnapshotWindow actualSceneBounds]: unrecognized selector sent to instance 0x106d7f280
keyboard_arrow_up
0
CoreFoundation
__exceptionPreprocess
1
libobjc.A.dylib
objc_exception_throw
arrow_right
2
CoreFoundation
-[NSOrderedSet initWithSet:copyItems:]
3
UIKitCore
-[UIResponder doesNotRecognizeSelector:]
4
CoreFoundation
___forwarding___
5
CoreFoundation
_CF_forwarding_prep_0
6
UIKitCore
-[UIUndoGestureInteraction didMoveToView:]
7
UIKitCore
_setInteractionView
8
UIKitCore
-[UIView(Dragging) addInteraction:]
9
UIKitCore
-[UIEditingOverlayViewController _addInteractions]
10
UIKitCore
-[UIViewController _setViewAppearState:isAnimating:]
11
UIKitCore
__52-[UIViewController _setViewAppearState:isAnimating:]_block_invoke
12
CoreFoundation
__NSARRAY_IS_CALLING_OUT_TO_A_BLOCK__
13
CoreFoundation
-[__NSArrayI enumerateObjectsWithOptions:usingBlock:]
14
UIKitCore
-[UIViewController _setViewAppearState:isAnimating:]
15
UIKitCore
-[UIViewController __viewDidAppear:]
16
UIKitCore
__64-[UIViewController viewDidMoveToWindow:shouldAppearOrDisappear:]_block_invoke
17
UIKitCore
-[UIViewController _executeAfterAppearanceBlock]
18
UIKitCore
_runAfterCACommitDeferredBlocks
19
UIKitCore
_cleanUpAfterCAFlushAndRunDeferredBlocks
20
UIKitCore
-[UIApplication _performSnapshotsWithAction:forScene:completion:]
21
UIKitCore
__98-[_UISceneSnapshotBSActionsHandler _respondToActions:forFBSScene:inUIScene:fromTransitionContext:]_block_invoke_3
22
UIKitCore
__98-[_UISceneSnapshotBSActionsHandler _respondToActions:forFBSScene:inUIScene:fromTransitionContext:]_block_invoke_2
23
UIKitCore
-[UIScene _emitSceneSettingsUpdateResponseForCompletion:afterSceneUpdateWork:]
24
UIKitCore
-[UIScene scene:didUpdateWithDiff:transitionContext:completion:]
25
UIKitCore
-[UIApplicationSceneClientAgent scene:handleEvent:withCompletion:]
26
FrontBoardServices
-[FBSScene updater:didUpdateSettings:withDiff:transitionContext:completion:]
27
FrontBoardServices
__94-[FBSWorkspaceScenesClient _queue_updateScene:withSettings:diff:transitionContext:completion:]_block_invoke_2
28
FrontBoardServices
-[FBSWorkspace _calloutQueue_executeCalloutFromSource:withBlock:]
29
FrontBoardServices
__94-[FBSWorkspaceScenesClient _queue_updateScene:withSettings:diff:transitionContext:completion:]_block_invoke
30
libdispatch.dylib
_dispatch_client_callout
31
libdispatch.dylib
_dispatch_block_invoke_direct
32
FrontBoardServices
__FBSSERIALQUEUE_IS_CALLING_OUT_TO_A_BLOCK__
33
FrontBoardServices
-[FBSSerialQueue _targetQueue_performNextIfPossible]
34
FrontBoardServices
-[FBSSerialQueue _performNextFromRunLoopSource]
35
CoreFoundation
__CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__
36
CoreFoundation
__CFRunLoopDoSource0
37
CoreFoundation
__CFRunLoopDoSources0
38
CoreFoundation
__CFRunLoopRun
39
CoreFoundation
CFRunLoopRunSpecific
40
GraphicsServices
GSEventRunModal
41
UIKitCore
-[UIApplication _run]
42
UIKitCore
UIApplicationMain
43
AppName
AppDelegate.swift - Line 23
main + 23
44
libdyld.dylib
start
Code attachedBelow
func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell {
if list.count <= 0 {
return UITableViewCell()
}
guard let shiftListTableViewCell = tableView.dequeueReusableCell(withIdentifier: "ShiftsListTableViewCell") as? ShiftsListTableViewCell else {
return UITableViewCell()
}
let shiftListItem = shiftList[indexPath.section]
shiftListTableViewCell.shiftIdTitleLabel.text = String.init(format: "%@ / #%d",shiftListItem.shiftTitle,shiftListItem.shiftId)
shiftListTableViewCell.dateLabel.text = shiftListItem.shiftDate
shiftListTableViewCell.postSitesLabel.text = shiftListItem.postSitesName
shiftListTableViewCell.startTimeLabel.text = shiftListItem.shiftStartHrs
shiftListTableViewCell.endTimeLabel.text = shiftListItem.shiftEndHrs
shiftListTableViewCell.shiftHoursLabel.text = shiftListItem.shiftHours
if shiftType == ShiftType.OPEN_SHIFT {
shiftListTableViewCell.shiftStatusLabel.isHidden = false
shiftListTableViewCell.shiftStatusLabel.text = shiftListItem.requestStatus ? "Sent" : "Pending"
shiftListTableViewCell.shiftStatusLabel.backgroundColor = shiftListItem.requestStatus ? ColorConstant.appGreenColor : ColorConstant.appYellowColor
shiftListTableViewCell.shiftStatusLabelHeight.constant = AppConstants.IPAD ? 42 : 21
shiftListTableViewCell.shiftStatusBottomSpace.constant = AppConstants.IPAD ? 26 : 13
}else{
shiftListTableViewCell.shiftStatusLabel.isHidden = true
shiftListTableViewCell.shiftStatusLabelHeight.constant = 0.0
shiftListTableViewCell.shiftStatusBottomSpace.constant = 0.0
}
if AppUtils.isEmpty(value:shiftListItem.skillSet) {
shiftListTableViewCell.skillSetTitleLabelHeight.constant = 0.0
shiftListTableViewCell.skillSetTitleLabelTopSpace.constant = 0.0
}
else{
shiftListTableViewCell.skillSetTitleLabelHeight.constant = AppConstants.IPAD ? 38.0 : 19.0
shiftListTableViewCell.skillSetTitleLabelTopSpace.constant = AppConstants.IPAD ? 22.0 : 11.0
shiftListTableViewCell.skillSetLabel.text = shiftListItem.skillSet
}
if AppUtils.isEmpty(value:shiftListItem.department) {
shiftListTableViewCell.departmentTitleLabelHeight.constant = 0.0
shiftListTableViewCell.departmentTitleLabelTopSpace.constant = 0.0
}
else{
shiftListTableViewCell.departmentTitleLabelHeight.constant = AppConstants.IPAD ? 38.0 : 19.0
shiftListTableViewCell.departmentTitleLabelTopSpace.constant = AppConstants.IPAD ? 22.0 : 11.0
shiftListTableViewCell.departmentLabel.text = shiftListItem.department
}
if (self.shiftType == ShiftType.UNCONFIRMED && isEditingTableView){
let selectedShiftIndex = shiftsToConfirm.firstIndex { (s) -> Bool in
return s.shiftId == shiftListItem.shiftId
}
if selectedShiftIndex != nil {
let selectedPostSiteIcon = UIImage.init(named:"postSite_Selected")?.withRenderingMode(.alwaysTemplate)
shiftListTableViewCell.checkedImageView.image = selectedPostSiteIcon
shiftListTableViewCell.checkedImageView.tintColor = ColorConstant.appOrangeColor
}else{
shiftListTableViewCell.checkedImageView.image = UIImage(named: "postSite_Unselected")
shiftListTableViewCell.checkedImageView.tintColor = UIColor.lightGray
}
shiftListTableViewCell.checkedImageWidth.constant = AppConstants.IPAD ? 46 : 23
shiftListTableViewCell.checkedImageLeading.constant = AppConstants.IPAD ? 24 : 12
}else{
shiftListTableViewCell.checkedImageWidth.constant = 0
shiftListTableViewCell.checkedImageLeading.constant = 0
}
return shiftListTableViewCell
}
Same problem!