Popup that says An error has occured as soon as I login
- Dominant language
- Swift
- Stars
- 684
- Forks
- 154
- Avg merge
- 7d 2h
- Merged PRs (30d)
- 32
Description
### Steps To Reproduce
1. Login to Bitwarden via the iOS app
### Expected Result
Access to vault
### Actual Result
Error has occurred
BitwardenSdk.(unknown context at $1040ecf7c).UniffiInternalError.rustPanic("byte index 2 is not a char boundary; it is inside \'\\u{200e}\' (bytes 0..3) of 5260 9901 1592 8919")
byte index 2 is not a char boundary; it is inside '\u{200e}' (bytes 0..3) of xxx xxxx x x x
Stack trace:
0 BitwardenShared 0x0000000103055244 __swift_memcpy81_8 + 73732
1 BitwardenShared 0x0000000102e37ca9 objectdestroy.13Tm + 11569
2 BitwardenShared 0x0000000102dee699 objectdestroyTm + 1909
3 BitwardenShared 0x00000001034413a9 objectdestroy.60Tm + 133837
4 BitwardenShared 0x000000010343e8bd objectdestroy.60Tm + 122849
5 BitwardenShared 0x0000000102f2fee5 __swift_memcpy96_8 + 240357
6 BitwardenShared 0x0000000102dee699 objectdestroyTm + 1909
7 BitwardenShared 0x000000010334d6d5 objectdestroy.12Tm + 905
8 BitwardenShared 0x000000010345a21d objectdestroy.60Tm + 235841
9 BitwardenShared 0x0000000102dee699 objectdestroyTm + 1909
10 SwiftUI 0x000000018deac1fd 165D3305-401E-37C2-8387-C1BFB54CFFDE + 3105277
11 SwiftUI 0x000000018deac1fd 165D3305-401E-37C2-8387-C1BFB54CFFDE + 3105277
12 SwiftUI 0x000000018dec5a09 165D3305-401E-37C2-8387-C1BFB54CFFDE + 3209737
13 SwiftUI 0x000000018deade05 165D3305-401E-37C2-8387-C1BFB54CFFDE + 3112453
14 libswift_Concurrency.dylib 0x0000000194f69241 DCB9E73A-92BA-3782-BC6D-3E1906622689 + 414273
Binary images:
Bitwarden: 0x00000001028b4000
BitwardenShared: 0x0000000102ddc000
BitwardenKit: 0x0000000102a78000
### Screenshots or Videos
_No response_
### Additional Context
This suddenly started happening as of 2 days ago. Nothing was changed by me
### Build Version
2025.6.0 (2235)
### What server are you connecting to?
US
### Self-host Server Version
_No response_
### Environment Details
User ID: 5994943f-1a85-4ffc-a7ba-b3140050b4a9
Version: 2025.6.0 (2235)
📱 iPhone17,3 🍏 iOS 18.5 📦 Production
🧱 commit: bitwarden/ios/release/2025.06-rc10@ff06d9c6cc8da89f78f37f376495800201d7261a
💻 build source: bitwarden/ios/actions/runs/15831780687/attempts/1
### Issue Tracking Info
- [x] I understand that work is tracked outside of Github. A PR will be linked to this issue should one be opened to address it, but Bitwarden doesn't use fields like "assigned", "milestone", or "project" to track progress.
Contributor guide
Research direction
Start by reproducing the login failure in the iOS app on version 2025.6.0 with the reported iOS environment. Then trace the BitwardenShared stack trace and the reported Rust panic involving the Unicode character boundary. Done means login reaches the vault without this error and the regression is covered by an appropriate test.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- swift
- Domain
- mobile-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100