Close Menu
  • Home
  • AI
  • Big Data
  • Cloud Computing
  • iOS Development
  • IoT
  • IT/ Cybersecurity
  • Tech
    • Nanotechnology
    • Green Technology
    • Apple
    • Software Development
    • Software Engineering

Subscribe to Updates

Get the latest technology news from Bigteetechhub about IT, Cybersecurity and Big Data.

    What's Hot

    ios – Circular tick-ring briefly rotates backward once after app returns from background

    May 18, 2026

    Apple’s Siri revamp could include auto-deleting chats

    May 18, 2026

    what technique may be able to create super-high laser intensities? – Physics World

    May 18, 2026
    Facebook X (Twitter) Instagram
    Facebook X (Twitter) Instagram
    Big Tee Tech Hub
    • Home
    • AI
    • Big Data
    • Cloud Computing
    • iOS Development
    • IoT
    • IT/ Cybersecurity
    • Tech
      • Nanotechnology
      • Green Technology
      • Apple
      • Software Development
      • Software Engineering
    Big Tee Tech Hub
    Home»iOS Development»swift – JSONEncoder.encode causes stack overflow crash (thread_chkstk_darwin) on iOS 26.3.1 only — deeply nested Codable model
    iOS Development

    swift – JSONEncoder.encode causes stack overflow crash (thread_chkstk_darwin) on iOS 26.3.1 only — deeply nested Codable model

    big tee tech hubBy big tee tech hubMay 6, 2026001 Min Read
    Share Facebook Twitter Pinterest Copy Link LinkedIn Tumblr Email Telegram WhatsApp
    Follow Us
    Google News Flipboard
    swift – JSONEncoder.encode causes stack overflow crash (thread_chkstk_darwin) on iOS 26.3.1 only — deeply nested Codable model
    Share
    Facebook Twitter LinkedIn Pinterest Email Copy Link


    Closed. This question needs debugging details. It is not currently accepting answers.


    My app crashes on iOS 26.3.1 (a) only (cannot reproduce on earlier versions) with the following crash type:

    Crashed: com.apple.main-thread

    0 libsystem_pthread.dylib thread_chkstk_darwin + 60

    1 libsystem_pthread.dylib ___chkstk_darwin + 60

    2 libswiftCore.dylib KeyedEncodingContainerProtocol.encodeIfPresent(_:forKey:) + 272

    3 Foundation + 36

    4 libswiftCore.dylib _KeyedEncodingContainerBox.encodeIfPresent(_:forKey:) + 372

    5 libswiftCore.dylib KeyedEncodingContainer.encodeIfPresent(_:forKey:) + 76

    …

    27 Foundation specialized __JSONEncoder.wrapGeneric(_:for:) + 4916

    28 Foundation JSONEncoder.encode(_:) + 296

    The pattern repeats encodeIfPresent → encodeIfPresent multiple times before the overflow. The crash originates from a JSONEncoder.encode() call triggered from the main thread via an Alamofire response callback.

    Stack trace (simplified)

    Frame 34: TransferFundsVM.validateAndSubmit(data:processId:) (TransferFundsVM.swift:1112)

    Frame 35: closure in TransferFundsViewModel.fetchTransfer(type:processId:) (TransferFundsVM.swift:1087)

    Frame 28: JSONEncoder.encode(_:) + 296 ← crash here

    Frame 0: thread_chkstk_darwin ← stack overflow



    Source link

    26.3.1 Codable crash deeply iOS JSONEncoder.encode model Nested Overflow stack Swift thread_chkstk_darwin
    Follow on Google News Follow on Flipboard
    Share. Facebook Twitter Pinterest LinkedIn Tumblr Email Copy Link
    tonirufai
    big tee tech hub
    • Website

    Related Posts

    ios – Circular tick-ring briefly rotates backward once after app returns from background

    May 18, 2026

    xcode – What is the right version combination for navigation compose that works both on Android and iOS?

    May 17, 2026

    swift – How Do I Replicate the Exact Native iMessage Contact/Profile Transition Animation in iOS?

    May 16, 2026
    Add A Comment
    Leave A Reply Cancel Reply

    Editors Picks

    ios – Circular tick-ring briefly rotates backward once after app returns from background

    May 18, 2026

    Apple’s Siri revamp could include auto-deleting chats

    May 18, 2026

    what technique may be able to create super-high laser intensities? – Physics World

    May 18, 2026

    AWS adds Advanced Prompt Optimization tool to Bedrock

    May 17, 2026
    Timer Code
    15 Second Timer for Articles
    20
    About Us
    About Us

    Welcome To big tee tech hub. Big tee tech hub is a Professional seo tools Platform. Here we will provide you only interesting content, which you will like very much. We’re dedicated to providing you the best of seo tools, with a focus on dependability and tools. We’re working to turn our passion for seo tools into a booming online website. We hope you enjoy our seo tools as much as we enjoy offering them to you.

    Don't Miss!

    ios – Circular tick-ring briefly rotates backward once after app returns from background

    May 18, 2026

    Apple’s Siri revamp could include auto-deleting chats

    May 18, 2026

    Subscribe to Updates

    Get the latest technology news from Bigteetechhub about IT, Cybersecurity and Big Data.

      • About Us
      • Contact Us
      • Disclaimer
      • Privacy Policy
      • Terms and Conditions
      © 2026 bigteetechhub.All Right Reserved

      Type above and press Enter to search. Press Esc to cancel.