REPRODUCIBILITY: once a week or so, not predictable, no clear STR.
OS VERSION: currently 4.6.0.11, but I’ve seen this problem for many years.
HARDWARE: currently Xperia 10 III, previously observed at least on Xperia XA2 and Xperia X.
UI LANGUAGE: English.
REGRESSION: no.
DESCRIPTION:
Sometimes it happens that the SMS I receive in the Messages app looks broken: the beginning obviously belongs to one SMS while the end belongs to a different one. I’ve observed this with SMS from different senders (although the beginning and the end seem to always belong to the same sender).
As an additional data point, my /var/lib/ofono/<number>/sms_assembly
directory contains 185 files in 183 directories named like 0123ABCD-123-3/002
, the oldest of which are from December 2022 (which is not long after I installed Sailfish on this phone). As these files seem to contain text fragments looking like SMS text, my best guess would be that stale fragments from SMS never received completely are stored indefinitely. When SMS identifiers, whatever these are, are reused the phone sometimes reassembles the message incorrectly by reusing a stale fragment with the same identifier in place of a fragment received now (and possibly leaving that fragment to confuse reassembly after the next sms id reuse?).
PRECONDITIONS:
The phone needs a SIM card and some sender needs to send a lot of SMS to it. The behavior seems to be dependent on the amount of use since installation - I’ve seen this on multiple phones and in all cases the problem only became noticeable after a significant amount of use.
STEPS TO REPRODUCE:
No clear STR, see description. I assume reproducing the problem requires receiving many SMS from the same contact, poor network signal and/or some specific sender configuration.
EXPECTED RESULT:
Whole message correctly displayed if possible. Otherwise (if some parts have been lost) I’d prefer either displaying the available part of the message clearly marked as “partial message” or not displaying it at all.
ACTUAL RESULT:
Parts of received messages are replaced with some stale fragments, which can be at least as bad as not receiving it at all.
MODIFICATIONS:
Storeman, Chum, a few minor native apps, but nothing significant.
ADDITIONAL INFORMATION:
(not sure what kind of additional information would be needed here)