Closed Bug 1051745 Opened 10 years ago Closed 6 years ago

There are two preallocated processes and two browser applications

Categories

(Firefox OS Graveyard :: General, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: dliang, Unassigned)

References

Details

Attachments

(1 file)

Attached file 0-main-16-30-25.log
There is a test case will cause two preallocated processes and two browser applications are running, is it normal?

How to reproduce:
1. Launch FB application
2. Tap picture on FB then tap one other youtube/article link on FB


dannyliang@dannyliang-ubuntu-pc:~/work$ adb shell b2g-info
                          |     megabytes     |
           NAME  PID PPID CPU(s) NICE  USS  PSS  RSS VSIZE OOM_ADJ USER    
            b2g  109    1  238.5    0 41.0 43.6 52.2 178.6       0 root    
         (Nuwa)  549  109    1.6    0  0.2  1.1  5.3  51.9       0 root    
(Preallocated a 5905  549    0.6   18  2.5  4.3 10.8  58.0      11 u0_a5905
(Preallocated a 5916  549    0.6   18  2.3  4.1 10.6  58.0      11 u0_a5916
        Browser 6055  109   48.4   18 40.2 43.3 52.5 104.8      12 u0_a6055
        Browser 6200  109   22.9   18 20.3 23.2 32.3  72.1      11 u0_a6200
Hi Cervantes, would you mind leave some comments here?
Flags: needinfo?(cyu)
Many things can be appear as "Browser" app. I don't think it to be a bug.

For the multiple preallocated process issue, we saw it occasionally. We can fix it. Is the symptom 100% reproduced using the STR?
Flags: needinfo?(cyu)
This is not 100% reproduced, it has fail rate.
I'm currently seeing this on my Flame:
- gonk:  v122
- gecko: b2g-inbound:7048b5362ad0
- gaia:  master:1a6282f433f87031e62fe1bf0a79992e8d30ac17

...and am seeing this on boot, 100% of the time.

# adb shell b2g-ps
APPLICATION      USER     PID   PPID  VSIZE  RSS     WCHAN    PC         NAME
b2g              root      321   1     164140 78116 ffffffff b6ef863c S /system/b2g/b2g
(Nuwa)           root      560   321   51296  7308  ffffffff b6ef8808 S /system/b2g/b2g
(Preallocated a  u0_a1072  1072  321   70052  27352 ffffffff b6f6263c S /system/b2g/plugin-container
(Preallocated a  u0_a1084  1084  321   70052  27256 ffffffff b6ed563c S /system/b2g/plugin-container

STR:
1. adb reboot
2. when phone finishes booting, the Lockscreen appears -- unlock the phone

Observed: the phone unlocks, but the Homescreen never appears.
Also, in at least one instance, b2g-ps reported THREE preallocated processes.
Summary: [Dolphin] There are two preallocated processes and two browser applications → There are two preallocated processes and two browser applications
After some struggling, I managed to reflash my Flame with v123, and the multiple preallocated apps are gone.
To clarify, the STR in bug description is that we tap a link which will open a new browser. Then we quickly tap another link in Facebook before we transition into the browser for the first link. This might need to be done on a slower device. I tried to reproduce on flame but didn't see the symptom.
BTW we already had a similar bug filed. Probably unrelated since the architecture was a lot different back then but still see 867739.
See Also: → 867739
See Also: → 1057065
Firefox OS is not being worked on
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: