Ask / Submit

[bug] SMSs getting out of time sequence

asked 2018-04-09 15:08:52 +0300

ehakkarainen gravatar image

updated 2018-04-10 11:31:09 +0300

jiit gravatar image

When receiving large amount of SMS's at once the messages tend to get out of time sequence.

We have an SMS alarm modem that spews about 100 msgs per day - if I have my Jolla in airplane mode and turn the mode off I sometimes receive 20-30 messages in a very short timeperiod - and when the batch of them is received the time sequencing gets broke and the messages appear in random order - not order by time.

Same thing happens also when turning on the phone and receiving a bunch on SMS's in a short time

edit retag flag offensive close delete


Hi @ehakkarainen, which Jolla phone are you using? What is the Sailfish OS version?

jiit ( 2018-04-10 11:40:02 +0300 )edit

I seem to recall this was a bug allready in JP1 with SW >1.2 - and is present on all Jolla HW (tab not tested) - so affected JP1, JPC, JP AF (converted to JPC) as well as Sailfish X on F5122

ehakkarainen ( 2018-04-10 12:48:24 +0300 )edit

Does the message receiving in correct order work for other OS'es?

juiceme ( 2018-04-10 15:34:46 +0300 )edit

... with the same SIM card (or at least the same mobile network provider)?

olf ( 2018-04-10 22:27:55 +0300 )edit

so,@ehakkarainen, did you test it on another (non-SFOS) device?

juiceme ( 2018-04-12 15:34:46 +0300 )edit

2 Answers

Sort by » oldest newest most voted

answered 2018-04-12 00:06:18 +0300

takimata gravatar image

I think your problem isn't Sailfish but the way SMS works.

Afaik SMS doesn't even guarantee delivery nor ordering. So if you "switch on" your phone from the mobile operator's perspective (really switch it on or leave airplane mode - either way it will connect to your operator again saying "Hi, I'm back again."), the operator will try to forward all new SMS to you. And because the system doesn't care about the message sequence you'll get them in some weird order...

edit flag offensive delete publish link more



SMS does not guarantee order of delivery, but long (concatenated) messages are usually sent with a user data header indicating segment and total number of segments. Therefore the phone can reassemble the segments, c.f. Wikipedia

Eierkopp ( 2018-04-13 11:53:31 +0300 )edit

answered 2018-04-10 18:38:30 +0300

SaimenSays gravatar image

Looks like the 3 years old and still not fixed bug. Please have a look at Received SMS mixed together.

edit flag offensive delete publish link more



Totally different thing.

The bug you are referring to is a database corruption issue, this is just about preserving order of separate messages when sevarl messages come in at the same time.

Your bug is a real bug, about this one I am not so sure... just as I asked previously; are other operating systems handling this differently? I suspect it might well be so that the order is mixed up in iOS and Android too...

juiceme ( 2018-04-10 22:15:41 +0300 )edit
Login/Signup to Answer

Question tools



Asked: 2018-04-09 15:08:52 +0300

Seen: 175 times

Last updated: Apr 12 '18