-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Closed
Labels
A-LLVMArea: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues.Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues.C-bugCategory: This is a bug.Category: This is a bug.C-external-bugCategory: issue that is caused by bugs in software beyond our controlCategory: issue that is caused by bugs in software beyond our controlO-appleOperating system: Apple (macOS, iOS, tvOS, visionOS, watchOS)Operating system: Apple (macOS, iOS, tvOS, visionOS, watchOS)O-iosOperating system: iOSOperating system: iOSP-highHigh priorityHigh priorityT-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.llvm-fixed-upstreamIssue expected to be fixed by the next major LLVM upgrade, or backported fixesIssue expected to be fixed by the next major LLVM upgrade, or backported fixesregression-from-stable-to-nightlyPerformance or correctness regression from stable to nightly.Performance or correctness regression from stable to nightly.
Description
iOS builds (aarch64-apple-ios
) of Dioxus apps crash on nightly-2025-02-18 (ce36a96). The latest working version is nightly-2025-02-17 (5bc6231).
This problem only occurs when running on a real device, not when running the simulator.
To reproduce the error do the following:
# Create a new Dioxus app
dx new test_app
# Create application bundle
rustup override set nightly-2025-02-18 && rustup target add aarch64-apple-ios && dx bundle --platform ios --trace --device true
Next sign the application, i.e. via iOS App Signer and install on a real device.
The log console shows the following errors:
Snapshot generation request for bundleID: com.appidentifier rejected due to the app being denylisted.
...
Process exited: <FBApplicationProcess: 0x913f14000; app<com.appidentifier>:<invalid>> ->
Application process state changed for com.appidentifier: (null)
...
NSUnderlyingError = <NSError: 0x302466070; domain: NSPOSIXErrorDomain; code: 88>
...
SpringBoard [app<com.appidentifier>:-1] Now flagged as pending exit for reason: Bootstrap failed
The problem must have been introduced somewhere between commits ce36a96 and 5bc6231. I'd be happy to also test any other rustc binaries or try provide any other information.
Metadata
Metadata
Assignees
Labels
A-LLVMArea: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues.Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues.C-bugCategory: This is a bug.Category: This is a bug.C-external-bugCategory: issue that is caused by bugs in software beyond our controlCategory: issue that is caused by bugs in software beyond our controlO-appleOperating system: Apple (macOS, iOS, tvOS, visionOS, watchOS)Operating system: Apple (macOS, iOS, tvOS, visionOS, watchOS)O-iosOperating system: iOSOperating system: iOSP-highHigh priorityHigh priorityT-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.llvm-fixed-upstreamIssue expected to be fixed by the next major LLVM upgrade, or backported fixesIssue expected to be fixed by the next major LLVM upgrade, or backported fixesregression-from-stable-to-nightlyPerformance or correctness regression from stable to nightly.Performance or correctness regression from stable to nightly.
Type
Projects
Milestone
Relationships
Development
Select code repository
Activity
tdomhan commentedon Mar 8, 2025
Probably unrelated, but looking for "Snapshot generation request for bundleID: com.appidentifier rejected due to the app being denylisted." one finds fyne-io/fyne#2270 and golang/go#47952 where there was a similar crash in golang. Could be unrelated as the error message is of course very unspecific.
jieyouxu commentedon Mar 8, 2025
Is it possible for you to bisect between ce36a96 and 5bc6231? There shouldn't be too many commits in between, and the steps you described is a bit specific (and requires a real iOS device).
Or maybe someone with a real iOS device can try to bisect this...
tdomhan commentedon Mar 8, 2025
Yeah, indeed it is non-trivial to reproduce in terms of setup. I can try but I have never used a custom rustc version and I'm not sure how easy it is to set up for iOS builds. If you have any pointers let me know.
tdomhan commentedon Mar 8, 2025
Looks like I can use https://github.com/kennytm/rustup-toolchain-install-master to install specific commits.
Update: never mind. Artifacts don't exist for all commits.
61 remaining items