element-x-ios
element-x-ios copied to clipboard
Sent message which entirely vanished; no local, remote echo or send
Steps to reproduce
- I was in https://matrix.to/#/%23element-x-ios:matrix.org
- Typed a msg (using normal composer; nothing special)
- Hit send
- No local echo
- No remote echo
- Checked in another client; the msg never sent.
- Msg not shown as failed.
See rageshake
Outcome
What did you expect?
reliable msg sending
What happened instead?
dropped msg
Your phone model
No response
Operating system version
No response
Application version
724
Homeserver
No response
Will you send logs?
Yes
Looks like something went wrong in the SDK:
2024-10-03T23:18:12.370302Z ERROR matrix_sdk_ffi::timeline: error when sending a message: database is locked | bindings/matrix-sdk-ffi/src/timeline/mod.rs:250 | spans: root
2024-10-03T23:18:12.376783Z ERROR elementx: Failed sending message with error: Generic(msg: "database is locked: Error code 5: The database file is locked") | TimelineProxy.swift:393 | spans: root
2024-10-03T23:18:12.377196Z ERROR elementx: Failed sending message with error: sdkError(MatrixRustSDK.ClientError.Generic(msg: "database is locked: Error code 5: The database file is locked")) | RoomTimelineController.swift:166 | spans: root
Thanks @pixlwave for the pointer. @bnjbvr, any idea?
Not really; asked in the Rust internal room.
see also #3582
I just coincidentally caught a video of this happening (with rageshake) - you can see just how bad it is.
https://github.com/user-attachments/assets/2c33e083-6847-4e6a-b2d7-eb8a45fdaa22