Description
I am seeing a consistent crash in a NEDNSProxyProvider on iOS when migrating from completion handlers to the new Swift Concurrency async/await variants of readDatagrams() and writeDatagrams() on NEAppProxyUDPFlow.
The crash occurs inside the Swift Concurrency runtime during task resumption. Specifically, it seems the Task attempts to return to the flow’s internal serial executor (NEFlow queue) after a suspension point, but fails if the flow was invalidated or deallocated by the kernel while the task was suspended.
Error Signature
Thread 4: EXC_BAD_ACCESS (code=1, address=0x28)
Thread 4 Queue : NEFlow queue (serial)
#0 0x000000018fe919cc in swift::AsyncTask::flagAsAndEnqueueOnExecutor ()
#9 0x00000001ee25c3b8 in _pthread_wqthread ()
Steps
The crash is highly timing-dependent. To reproduce it reliably:
Use an iOS device with Developer Settings enabled.
Go to Developer > Network Link Conditioner -> High Latency DNS.
Intercept a DNS query and perform a DoH (DNS-over-HTTPS) request using URLSession.
The first few network requests should trigger the crash
Minimum Working Example (MWE)
class DNSProxyProvider: NEDNSProxyProvider {
override func handleNewFlow(_ flow: NEAppProxyFlow) -> Bool {
guard let udpFlow = flow as? NEAppProxyUDPFlow else { return false }
Task(priority: .userInitiated) {
await handleUDPFlow(udpFlow)
}
return true
}
func handleUDPFlow(_ flow: NEAppProxyUDPFlow) async {
do {
try await flow.open(withLocalFlowEndpoint: nil)
while !Task.isCancelled {
// Suspension point 1: Waiting for datagrams
let (flowData, error) = await flow.readDatagrams()
if let error { throw error }
guard let flowData, !flowData.isEmpty else { return }
var responses: [(Data, Network.NWEndpoint)] = []
for (data, endpoint) in flowData {
// Suspension point 2: External DoH resolution
let response = try await resolveViaDoH(data)
responses.append((response, endpoint))
}
// Suspension point 3: Writing back to the flow
// Extension will crash here on task resumption
try await flow.writeDatagrams(responses)
}
} catch {
flow.closeReadWithError(error)
flow.closeWriteWithError(error)
}
}
private func handleFlowData(_ packet: Data, endpoint: Network.NWEndpoint, using parameters: NWParameters) async throws -> Data {
let url = URL(string: "https://dns.google/dns-query")!
var request = URLRequest(url: url)
request.httpMethod = "POST"
request.httpBody = packet
request.setValue("application/dns-message", forHTTPHeaderField: "Content-Type")
let (data, _) = try await URLSession.shared.data(for: request)
return data
}
}
Crash Details & Analysis
The disassembly at the crash point indicates a null dereference of an internal executor pointer (Voucher context):
ldr x20, [TPIDRRO_EL0 + 0x340]
ldr x0, [x20, #0x28] // x20 is NULL/0x0 here, resulting in address 0x28
It appears that NEAppProxyUDPFlow’s async methods bind the Task to a specific internal executor. When the kernel reclaims the flow memory, the pointer in x20 becomes invalid. Because the Swift runtime is unaware that the NEFlow queue executor has vanished, it attempts to resume on non-existing flow and then crashes.
Checking !Task.isCancelled does not prevent this, as the crash happens during the transition into the task body before the cancellation check can even run.
Questions
Is this a known issue of the NetworkExtension async bridge?
Why does Task.isCancelled not reflect the deallocation of the underlying NEAppProxyFlow?
Is the only safe workaround?
Please feel free to correct me if I misunderstood anything here. I'll be happy to hear any insights or suggestions :) Thank you!
Apple Developers
RSS for tagThis is a dedicated space for developers to connect, share ideas, collaborate, and ask questions. Introduce yourself, network with other developers, and foster a supportive community.
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Activity
Hello,
I'm having a serious problem registering for the Apple Developer Program, and I can't resolve it.
I applied over two weeks ago, but I still haven't received an activation email. I've also tried using different credit cards, suspecting there might be a problem with my payment method.
The main issues are as follows:
My order/registration remains in the "processing" status,
I haven't received an activation email,
Apple Developer Program support isn't responding.
I've already sent over seven emails to support, but haven't received any response or updates.
Has anyone else encountered a similar situation?
Topic:
Community
SubTopic:
Apple Developers
I applied to the Apple Developer Program on Jan 17 and my enrollment showed pending for several days. I eventually contacted support on the 27th and they told me they needed additional documentation and sent me a link to upload and asked me to email them once I've done so, so that they can get it reviewed quickly.
On Jan 27, I uploaded the documents they requested and sent the email confirming they've been uploaded as was requested. After several days, it still says "pending".
I spoke with support today and they said they have the documents and there's nothing for me to do other than wait for them to be reviewed and this "could take months". I'm in the process of purchasing a business and need this account so that they can transfer me the mobile app. My due diligence period is ending within a few days and need clarity on this approval asap. Has anyone else experienced these types of delays or know how to get the review completed?
Enrollment ID: 7P992248Q5
Case ID: 102811401305
Topic:
Community
SubTopic:
Apple Developers
I applied for the Apple Developer Program on January 31, 2026, and as of today (February 5, 2026), my enrollment is still showing as Pending.
The payment was completed successfully at the time of application. Since then:
I have not received any requests for additional documents or verification.
I have contacted Apple Developer Support twice, but have not received any response so far.
I understand processing times can vary, but the lack of response from support is concerning.
Has anyone else experienced similar delays recently?
Is there any recommended escalation path or alternative way to reach the Developer Support team?
Any guidance would be greatly appreciated, as this delay is impacting my app release timeline.
Thank you.
I’m seeking guidance on how to move an enrollment forward that has stalled. I submitted my application for the Apple Developer Program on Feb-2, and the 48-hour processing window has now passed.
have already reached out via the formal support channel but have not received a response beyond the automated acknowledgment. This delay is currently blocking the scheduled distribution of a macOS application and impacting our development timeline.
I’m experiencing a strange issue with the App Switcher on my iPad.
When I swipe up from the bottom to open the App Switcher, the apps that should be running sometimes don’t appear — they briefly flash for a split second and then disappear.
The App Switcher itself stays open, but it shows no app cards.
Here are some details:
Device: iPad Pro (11-inch, 2nd generation)
iPadOS version: 26.0.1
Reproducibility: Happens intermittently
Steps to reproduce:
Open several apps.
Swipe up from the bottom and pause to show the App Switcher.
Sometimes, the app cards flash for a moment and then disappear, leaving the App Switcher empty.
Expected behavior:
The App Switcher should display all running apps consistently.
Actual behavior:
The App Switcher appears, but the app cards briefly flash and disappear, leaving a blank screen.
I’ve seen a few similar reports on the Apple Support Community, but I’m not sure if this is a known issue in iPadOS 26.0.1.
Has anyone else encountered this problem? Any confirmations or workarounds would be appreciated.
Thank you in advance!
My iphone glitched and turned off and would not turn back on. I have already tried force restart by charging it and everything but it stays as a black screen even though my phone vibrates and everything.
Topic:
Community
SubTopic:
Apple Developers
I’m creating a new post because the situation has gone far beyond reasonable.
My Apple Developer Program enrollment has been stuck in “Pending” status for almost a month. During this time, I have sent around 10 emails to Apple Developer Program Support.
Result:
ZERO REPLISES.
NO EXPLANATIONS
NO UPDATES.
NO HELP.
If you are experiencing the same issue — or have faced it before — please leave a comment or upvote this thread so it gets visibility. At this point, this seems to be the only way to get Apple’s attention.
Apple, this situation needs to be addressed.
How can I remove the "On My iPhone" option from the Calendar app? Like in the other picture, it doesn't show "On My iPhone" or "iCloud".
Topic:
Community
SubTopic:
Apple Developers
Hi, Once I try to reset security question, it says:
"Your request could not be completed.
This action could not be completed due to an error. Please try again later."
So I am unable to access account. Please help!
Best Regards,
Hi Team,
Looking for an answer, if it's just us or a widespread issue.
Since Sept, our clients Apple devices can't load a Captive Portal on Apple devices. Client wants the CNA to pop up and I can't get it to happen!
Android and Windows devices all work correctly with their respective popups, but CNA will not work.
No changes done on our side and after multiple tshoots and getting vendors to take multiple PCAPs found, Apple devices are not initiating a HTTP GET request as per Meraki >> https://documentation.meraki.com/MR/MR_Splash_Page/Splash_Page_Traffic_Flow_and_Troubleshooting
The work around is to force a HTTP GET request by manually going into the browser and initiate a http site (we tried 1.1.1.1, also tried other public HTTP sites and it works) and that redirects to our Captive Portal page.
Hi,
I'm on a MacBook M1. Numbers and Pages notified me that 15.1 version is out and I have to download them anew from the App Store.
However, in the App Store it says with both that they're 'Bought' in a greyed out button. So, I can't download them. Please help!
Thanks,
Ying
Topic:
Community
SubTopic:
Apple Developers
I recently replaced my older Macbook with a Mac Mini. My iphone charges fine from a powered USB hub, but when I connect the hub to my new Mac Mini, my phone stops charging. This is the same phone, hub, and cables that worked just fine with my Macbook. I M running Beta 26.3, but the MacBook was also on Beta 26. Anyone have any ideas?
Topic:
Community
SubTopic:
Apple Developers
I've paid - and have the confirmation of subscription email.
But when I try to enroll both on my iphone and macbook air - I get errors. on the iphone said could not complete enrollment. on the macbook it said "not available in your area"
I am in australia and it should work. Does anyone know how to fix the enrollment bugs?
We made a purchase to join the Apple Developer Program, but we have been waiting for 5 days and have not received any response such as an approval or rejection. Are you experiencing the same issue as well?
I tried to enroll some weeks ago, went thru the whole process, it eventually took by IDs, but now I'm stuck on "Enrollement not completed - You enrollment in the Apple Developper pogram could not be completed at this time."
So, after 2 weeks, what's next ?
Recently I've noticed that certain cursor actions cause the finger icon to appear with a gray box around it. It appears when I hover over other icons (for example, the menu items at the top of this website; Microsoft Teams options but not MS Word, etc.). Is this new? Is there a way to get rid of the box?
Topic:
Community
SubTopic:
Apple Developers
Understand other technologies or app doing mirroring will have 2 screens active at the same time. But for Apple iPhone Mirroring is showing only 1 screen at a time and with other protection of same Apple ID, Bluetooth and Wifi for proximity checks.
Hence, it is really considered a iPhone Mirroring?
https://support.apple.com/en-sg/120421
Topic:
Community
SubTopic:
Apple Developers
Using iPhone 16 Pro Max. iOS 26.3-Public Beta.
App using: MyScreen26
I have only been able to use 1 live wallpaper (black and white tyrannosaurus rex) about 2 weeks ago. I wanted to change it today, and have been unable to get any of the live wallpapers to work, even the same one I used the last couple of weeks.
I find the live wallpaper I want, download it. I click on the upper left hand corner to put into 'Loop' mode. I have 'Low Power Mode' and 'Reduce Motion' turned off.
I then click on the arrow on the lower left to open the menu to use the image as a locked screen wallpaper. The screen then shows 'add to album', 'airplay', 'export unmodified original' and 'add to new quick note'. There is no selection for add to wallpaper.
Not sure what I'm doing wrong....any suggestions?
Thanks!
Topic:
Community
SubTopic:
Apple Developers
iPhone 13 mini running iOS 26.2
I went to mirror a stream to a previously used Roku device. The Roku popped right up on the Screen Mirror list, but would not respond. Investigation showed it had lost its network connection - so what showed on the Screen Mirror list was still in cache, not from a current request - and sure enough, after repairing the Roku's LAN connection, it worked fine. That raised these questions:
Does the iOS device (iPhone) cache a Screen Mirror list for each network?
How does the iOS device build its list of Screen Mirror servers on a local network? I presume it broadcasts a request to the LAN, the first time it is invoked on a new LAN, asking "Does anyone provide this service?" - Is that correct? [Is that broadcast a Bonjour function?] If not, how does it acquire its list of Screen Mirror servers?
To avoid the problem of false positives in the Screen Mirror list, how can I clear that cache (#1) and issue a new request (#2) for current Screen Mirror servers? How can iOS avoid showing servers that no longer exist on the network?
Is there any limit to the number of networks cached by iOS, or the number of servers cached per network?
More generally, is there a good resource to read how iOS manages this issue?
Topic:
Community
SubTopic:
Apple Developers