Closed
Bug 859743
Opened 11 years ago
Closed 11 years ago
SMS not received while browsing
Categories
(Firefox OS Graveyard :: Gaia::SMS, defect, P1)
Tracking
(blocking-b2g:tef+, b2g18 fixed, b2g18-v1.0.1 fixed)
RESOLVED
DUPLICATE
of bug 860799
blocking-b2g | tef+ |
People
(Reporter: juanpbf, Assigned: kk1fff)
References
Details
(Whiteboard: IOT, Spain, Ikura)
Attachments
(1 file)
5.05 KB,
text/plain
|
Details |
Buildid "20130321070205", ikura. SMS are not received while a web page is loading. It's necessary to wait until the web page is fully loaded to receive the SMS. This has been reported by Telefonica Spain during the certification process as follows: -------------------------------------------------------------- Testing procedure is: 1. Open the internet browser. 2. Load an URL (for instance www.publico.es) 3. While the web page is loading, from another handset send a SMS to the DuT Expected result: The SMS should be received although the web page is loading. Current result The sms is not received until de web page is loaded. Sometimes even later. -------------------------------------------------------------- My impression is that the SMS DOES arrive, but the user is not notified. It could be an issue more related to notifications. I have reproduced this issue, and sometimes the notification doesn't arrives until I open the SMS application directly. Logs has been requested to Telefonica Spain. Will be added here when provided. Marked as P1, since it's a blocker for Telefonica Spain certification process
Reporter | ||
Comment 1•11 years ago
|
||
Dependency with Telefonica Spain certification process [meta] added.
Comment 2•11 years ago
|
||
Hi, This is a blocking issue, nominating tef? Thks! David
blocking-b2g: --- → tef?
Comment 3•11 years ago
|
||
Dale, could this be somehow related to bug 845661?
blocking-b2g: tef? → tef+
Flags: needinfo?(dale)
Comment 4•11 years ago
|
||
It looks very likely, will block on it and remember to test
Depends on: 845661
Flags: needinfo?(dale)
Updated•11 years ago
|
Whiteboard: IOT, Spain, Ikura
Comment 5•11 years ago
|
||
Ken, could you help to take a look on this case? Thanks!
Flags: needinfo?(kchang)
Comment 6•11 years ago
|
||
Talked with Ken, it would be better to have logs for analysis. Marked it as "qawanted".
Flags: needinfo?(kchang)
Keywords: qawanted
Updated•11 years ago
|
Assignee: nobody → kchang
Comment 7•11 years ago
|
||
Patrick, it seems that process is fully running the browser function. please look into this bug.
Assignee: kchang → pwang
Comment 8•11 years ago
|
||
Hi, This is not happening now, not confirmed to be a device issue. I suggest to mark the bug as resolved/worksforme and reopen it if appears again. Thanks! David
Comment 9•11 years ago
|
||
According to the comment 8, change the bug state.
Status: UNCONFIRMED → RESOLVED
Closed: 11 years ago
Resolution: --- → WORKSFORME
Assignee | ||
Comment 10•11 years ago
|
||
This doesn't always happen, but it happens when browsing complex page. My observation is that when SMS arriving, system message tries to open sms app and send system message to sms app, but the sms app is killed because of OOM before it can handle the system message.
Comment 11•11 years ago
|
||
(In reply to Patrick Wang [:kk1fff] from comment #10) > This doesn't always happen, but it happens when browsing complex page. My > observation is that when SMS arriving, system message tries to open sms app > and send system message to sms app, but the sms app is killed because of OOM > before it can handle the system message. Based on this comment, I think it might be related with bug 847592. Justin, do you think both issues are related?
Flags: needinfo?(justin.lebar+bug)
Comment 12•11 years ago
|
||
> My observation is that when SMS arriving, system message tries to open sms app and send system
> message to sms app, but the sms app is killed because of OOM before it can handle the system message.
To be clear, you verified that the SMS app is actually killed by OOM by looking at dmseg?
Gaia probably doesn't give the SMS app mozapptype=critical. Without this, apps that are expecting system messages can get OOMed by the foreground app. This stands in contrast to the communications app, which (usually) doesn't get OOMed by the foreground app.
We walk a fine line here. Some process has to have a higher priority than the other one. If you give the SMS app mozapptype=critical, receiving an SMS can kill whatever app you're using. OTOH if you give the app higher priority, you can miss an SMS.
What I think we may need a notion of "please retry delivering this system message again," but that becomes pretty complex, especially since system messages are not idempotent.
Flags: needinfo?(justin.lebar+bug)
Assignee | ||
Comment 13•11 years ago
|
||
(In reply to Justin Lebar [:jlebar] from comment #12) > > To be clear, you verified that the SMS app is actually killed by OOM by > looking at dmseg? > I saw these in dmesg: <4>[04-11 11:47:07.112] [28: kswapd0]select 2765 (Messages), adj 6, size 4970, to kill <4>[04-11 11:47:07.112] [28: kswapd0]send sigkill to 2765 (Messages), adj 6, size 4970
Comment 14•11 years ago
|
||
I guess it's wrong that the SMS frame gets a priority equal to the other background processes. We could give it either background_perceivable priority, or a new priority in-between background_perceivable and background. Then receiving an SMS could kill a non-perceivable background process, which is probably what you want. I'll file a bug.
Comment 15•11 years ago
|
||
I filed bug 860799 on this.
Comment 16•11 years ago
|
||
Unagi Build: 20130411070205 Kernel: Dec 5th Gecko http://hg.mozilla.org/releases/mozilla-b2g18/rev/f671fa539473 Gaia e7e338a765e22334b40ced41489a785941382c66 In the above build, I too see the issue with no receiving SMS messages while loading a webpage. In my test I loaded a content heavy website www.Gamespot.com. While loading I sent a sms message to the device and waited. Even after the website finished loading there was no SMS message. Only one i opened the Messaging app did I get notified. Attached is the log file from the time I started loading and sent the message till the website finished loading and was waiting for the Text to appear.
Comment 17•11 years ago
|
||
Comment 18•11 years ago
|
||
Comment on attachment 736367 [details]
Log
We need the dmesg log, which is not the same as the logcat log.
Comment 19•11 years ago
|
||
It is happened again. See comment 16. Reopen it.
Status: RESOLVED → REOPENED
Ever confirmed: true
Resolution: WORKSFORME → ---
Updated•11 years ago
|
Status: REOPENED → RESOLVED
Closed: 11 years ago → 11 years ago
Resolution: --- → DUPLICATE
Updated•11 years ago
|
status-b2g18:
--- → fixed
status-b2g18-v1.0.1:
--- → fixed
You need to log in
before you can comment on or make changes to this bug.
Description
•