Skip to content

Only iOS 17 Crash - JTACMonthLayout - setupDataFromDelegate #1385

@HalitGumus

Description

@HalitGumus

Hi,
First of all, I am using the latest version of JTAppleCalendar (8.0.2).It was crashing in the previous (8.0.1) version

Description

Only iOS 17 users experience the error in the screenshot below. It doesn't always crash, it crashes every 2-3 attempts.

Screenshot 2023-10-02 at 12 51 43 PM

Firebase Crashlytics

Crashed: com.apple.main-thread
0 JTAppleCalendar 0x26ba8 $s15JTAppleCalendar15JTACMonthLayoutC21setupDataFromDelegateyyF + 1020
1 JTAppleCalendar 0x265fc $s15JTAppleCalendar15JTACMonthLayoutC7prepareyyF + 396
2 JTAppleCalendar 0x2679c $s15JTAppleCalendar15JTACMonthLayoutC7prepareyyFTo + 28
3 UIKitCore 0x1309d4 -[UICollectionViewData _prepareToLoadData] + 100
4 UIKitCore 0x12db5c -[UICollectionViewData validateLayoutInRect:] + 100
5 UIKitCore 0x7a84c -[UICollectionView layoutSubviews] + 220
6 JTAppleCalendar 0x22584 $s15JTAppleCalendar13JTACMonthViewC14layoutSubviewsyyF + 48
7 JTAppleCalendar 0x22698 $s15JTAppleCalendar13JTACMonthViewC14layoutSubviewsyyFTo + 28
8 UIKitCore 0x331d8 -[UIView(CALayerDelegate) layoutSublayersOfLayer:] + 1528
9 QuartzCore 0x67888 CA::Layer::layout_if_needed(CA::Transaction*) + 500
10 QuartzCore 0x67410 CA::Layer::layout_and_display_if_needed(CA::Transaction*) + 144
11 QuartzCore 0x6d94c CA::Context::commit_transaction(CA::Transaction*, double, double*) + 464
12 QuartzCore 0x66c3c CA::Transaction::commit() + 648
13 QuartzCore 0x668e4 CA::Transaction::flush_as_runloop_observer(bool) + 88
14 CoreFoundation 0x361dc CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION + 36
15 CoreFoundation 0x34be4 __CFRunLoopDoObservers + 548
16 CoreFoundation 0x34300 __CFRunLoopRun + 1028
17 CoreFoundation 0x33e18 CFRunLoopRunSpecific + 608
18 GraphicsServices 0x35ec GSEventRunModal + 164
19 UIKitCore 0x22f350 -[UIApplication _run] + 888
20 UIKitCore 0x22e98c UIApplicationMain + 340
21 Appname 0x7118 main + 21 (AppDelegate.swift:21)
22 ??? 0x1d03e3d44 (Missing)
Screenshot 2023-10-02 at 1 01 59 PM

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions