Skip to content

URLSessionTransport: EXC_BAD_ACCESS crash in delegate handling #289

@Farazkarimi

Description

@Farazkarimi
Image

Description

The app is experiencing an EXC_BAD_ACCESS crash with KERN_INVALID_ADDRESS when handling URLSession delegate callbacks in SwiftPhoenixClient.

Crash Details

Exception: EXC_BAD_ACCESS (KERN_INVALID_ADDRESS)
Code: 1
Subcode: 18446744073709551608
Address: 0xfffffffffffffff8
Signal: SIGSEGV (SEGV_NOOP)

## Stack Trace
1. libswiftCore (+0x03c87e8)
2. TheApp Schema? (+0x002a67c)
3. URLSessionTransport.delegate.getter [compiler-generated] (+0x2bed5a8)
4. URLSessionTransport.abnormalErrorReceived (+0x2bed5a8)
5. URLSessionTransport.urlSession (+0x2bec2fc)

## Environment
SwiftPhoenixClient version: 5.3.5
iOS version: 15
Xcode version: 16.1

## Additional Information
Crash occurs in URLSessionTransport delegate handling
Issue appears to be related to memory access during delegate callback processing
Crash originates from CFNetwork calls

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