Closed Bug 875199 Opened 11 years ago Closed 6 years ago

Unable to open a killed-app from the task switcher.

Categories

(Firefox OS Graveyard :: Gaia::System, defect)

ARM
Gonk (Firefox OS)
defect
Not set
major

Tracking

(blocking-b2g:-)

RESOLVED WONTFIX
blocking-b2g -

People

(Reporter: nbp, Unassigned)

Details

I reproduced this multiple time on the test driver phone (1.1.0, with 256 MB):

STR (almost identical to Bug 874256):
1. Start with all apps closed
2. Begin rapidly opening apps from the dock. Do not allow the apps to actually finish painting. I opened: Browser, Contacts, SMS, Dialer and Maps
3. Long Press to open card view.
3'. Wait for a while, until one of the app gets killed.
4. Try to open a killed app.

Actual: Nothing happens.
Expected: The App should be started again.
If this is not reproduced in 1.0.1 we should move this to leo triage. Could this be a duplicated of bug 872912?
Keywords: qawanted
(In reply to Daniel Coloma:dcoloma from comment #1)
> If this is not reproduced in 1.0.1 we should move this to leo triage. Could
> this be a duplicated of bug 872912?

Yeah, this sounds like a dupe of bug 872912.
Status: NEW → RESOLVED
blocking-b2g: tef? → ---
Closed: 11 years ago
tracking-b2g18: ? → ---
Keywords: qawanted
Resolution: --- → DUPLICATE
(In reply to Jason Smith [:jsmith] from comment #2)
> (In reply to Daniel Coloma:dcoloma from comment #1)
> > If this is not reproduced in 1.0.1 we should move this to leo triage. Could
> > this be a duplicated of bug 872912?
> 
> Yeah, this sounds like a dupe of bug 872912.
> 
> *** This bug has been marked as a duplicate of bug 872912 ***

Can you explain why you think this is a duplicate?  I don't think this is a duplicate of Bug 872912, as the touch screen is responding.

As described, in this bug the killed applications (not by the user, but by the kernel) cannot be resumed from the task switcher.  You can swipe to another card and resume a running applications.
Status: RESOLVED → REOPENED
Resolution: DUPLICATE → ---
blocking-b2g: --- → leo?
tracking-b2g18: --- → ?
An easier way to reproduce is to follow the following procedure:

- Connect the phone to a computer
- Start multiple applications
- Go to the task switcher
- Run "adb shell b2g-ps"
- Run "adb shell kill -15 PID" (where PID is one of the PID of the application listed above)
- Try to resume the killed application within the task switcher => Fail

This does not seems to the same way with the Browser application, but you get a web-page which mention "Firefox can't find file at app://browser.gaiamobile.org/null."

This reproduce 100% of the time on a Unagi flashed with a 2.0.0.0 with 512 MB of RAM available.  I bet this bug is likely to be present in 1.0.1 too.  Can you try to reproduce it with this new method?
I tested it on an Inari with a 1.0.1 at jason desk, and was able to reproduce with the steps describe in comment 4.

As mention to Jason, this bug might also happen without using adb, when an application is killed by the kernel while running in the background.

I can also reproduce it with the following STR:
- Start the membuster application, and bust the system memory
- Open the task switcher
- Wait for a while (until the membuster application got killed by the kernel)
- Try to open the Membuster application from the task switcher.

Seen:
 - Nothing happen when tapping on the Membuster card of the task switcher.

Expected:
 - Restart the Membuster application when tapping on the Membuster card, if the application is dead.
blocking-b2g: leo? → tef?
Jason, you saw this, what do you think about this being tef+? I mean, how frequent is this to happen and what is user impact.
Flags: needinfo?(jsmith)
Whiteboard: [tef-triage]
(In reply to Daniel Coloma:dcoloma from comment #6)
> Jason, you saw this, what do you think about this being tef+? I mean, how
> frequent is this to happen and what is user impact.

I would not block on this. The use case this could happen is if the app was killed while the task switcher was open allowing the user to return to the app. That's an edge case. Worst thing that happens here is that if a user did hit this on the chance they did, exiting and returning to the card view would fix the problem.
Flags: needinfo?(jsmith)
blocking-b2g: tef? → -
tracking-b2g18: ? → ---
Whiteboard: [tef-triage]
I think I saw this in bug 877049. In my case, exiting and returning to the card view did not fix the problem. I had to restart the phone.
Firefox OS is not being worked on
Status: REOPENED → RESOLVED
Closed: 11 years ago6 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.