element-x-ios icon indicating copy to clipboard operation
element-x-ios copied to clipboard

Sent message which entirely vanished; no local, remote echo or send

Open ara4n opened this issue 1 year ago • 4 comments

Steps to reproduce

  1. I was in https://matrix.to/#/%23element-x-ios:matrix.org
  2. Typed a msg (using normal composer; nothing special)
  3. Hit send
  4. No local echo
  5. No remote echo
  6. Checked in another client; the msg never sent.
  7. 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

ara4n avatar Oct 03 '24 23:10 ara4n

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

pixlwave avatar Oct 04 '24 07:10 pixlwave

Thanks @pixlwave for the pointer. @bnjbvr, any idea?

manuroe avatar Oct 04 '24 08:10 manuroe

Not really; asked in the Rust internal room.

bnjbvr avatar Oct 07 '24 05:10 bnjbvr

see also #3582

ara4n avatar Apr 02 '25 08:04 ara4n

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

ara4n avatar May 17 '25 23:05 ara4n