Closed
Bug 1017827
Opened 12 years ago
Closed 10 years ago
[Tarako] Continually trying to launch e.me apps will cause the device to reboot by itself
Categories
(Firefox OS Graveyard :: Gaia::Everything.me, defect)
Tracking
(tracking-b2g:backlog, b2g-v1.3 unaffected, b2g-v1.3T affected)
RESOLVED
WONTFIX
| tracking-b2g | backlog |
| Tracking | Status | |
|---|---|---|
| b2g-v1.3 | --- | unaffected |
| b2g-v1.3T | --- | affected |
People
(Reporter: nhirata, Unassigned)
Details
Attachments
(2 files)
1. go to homescreen -> games
2. tap on Cupcakes vs Veggies
3. when the app closes, launch it again
Expected: the system doesn't reboot
Actual: the system reboots
Note:
1. most of the e.me games aren't launching
2. Cupcakes vs Veggies might be different in that it seems to try to connect to a server. Having said that, I can cause a reboot to occur with other games. It takes longer.
Gaia 94b7ca3030b4b924f0ffe97910bb383fef9e160a
Gecko https://hg.mozilla.org/releases/mozilla-b2g28_v1_3t/rev/20ff18dbee48
BuildID 20140529014005
Version 28.1
ro.build.version.incremental=eng.cltbld.20140529.053252
ro.build.date=Thu May 29 05:33:02 EDT 2014
Tarako
| Reporter | ||
Comment 1•12 years ago
|
||
noming because the system itself should not reboot without the user requesting it.
blocking-b2g: --- → 1.3T?
| Reporter | ||
Comment 2•12 years ago
|
||
Video shows another attempt after a fresh reboot. It took more than two tries. You may have to relaunch several more times : http://www.youtube.com/watch?v=3Z8FTSlnblM
| Reporter | ||
Comment 3•12 years ago
|
||
1.3 seems unaffected as 1.3 seems to be able to launch the app.
Gaia 0ce948e378cab7ed3db20231281dd7ca2eb99779
Gecko https://hg.mozilla.org/releases/mozilla-b2g28_v1_3/rev/ce0dd450bffb
BuildID 20140528024003
Version 28.0
ro.build.version.incremental=324
ro.build.date=Thu Dec 19 14:04:55 CST 2013
Buri
status-b2g-v1.3:
--- → unaffected
Comment 4•12 years ago
|
||
Ran, is it something you can take a quick look? Thanks
Flags: needinfo?(ran)
Comment 5•12 years ago
|
||
The apps are launched basically with the simple window.open method.
Seeing that the app closes while webapp attempts to initialize, it looks like an OOM situation caused by the app (which seems quite logical in Tarako devices, limited in RAM).
Perhaps the perf team should be involved.
Flags: needinfo?(ran)
Comment 6•12 years ago
|
||
ni? Thinker, someone on your team can take a quick look? Thanks
Flags: needinfo?(tlee)
Comment 7•12 years ago
|
||
I don't find relative messages for rebooting in the log, and can not access the video at comment #2. Could you provide more information? Or give me a hint?
Flags: needinfo?(tlee)
Comment 8•12 years ago
|
||
In the video, Naoki clicks the Games Collection icon and then some webapp in the results.
The app opens in a browser wrapper, background image for a few seconds, loading indication at the top, then closes abruptly, returning to Games Collection results.
The process is repeated 3 more times with the same result, only at the 4th attempt, the system reboots and the firefox splash screen (animated fox) appears.
Comment 9•12 years ago
|
||
could we capture another log for thinker?
how easy is it to reproduce this? is it 100% reproducible if the STR is performed repeatedly? Just a matter of time? thanks
Flags: needinfo?(nhirata.bugzilla)
| Reporter | ||
Comment 10•12 years ago
|
||
I will retest with the latest build. It was 100 % repeatable with the build I had used.
| Reporter | ||
Comment 11•12 years ago
|
||
I was able to replicate on the userdebug build from today and grabbed the slog off the sdcard.
I rebooted to move the slog into the lastlog after repeating the bug.
Video of a different attempt can be seen here: https://drive.google.com/a/mozilla.com/#folders/0B_0LdM1CVycISTRoZnlMTHdlM2M
Flags: needinfo?(nhirata.bugzilla)
| Reporter | ||
Updated•12 years ago
|
Flags: needinfo?(tlee)
Comment 13•12 years ago
|
||
(In reply to Ran Ben Aharon (Everything.me) from comment #5)
> The apps are launched basically with the simple window.open method.
>
> Seeing that the app closes while webapp attempts to initialize, it looks
> like an OOM situation caused by the app (which seems quite logical in Tarako
> devices, limited in RAM).
>
> Perhaps the perf team should be involved.
yes. it's an OOM issue.
From the log, I found the PID of b2g process has changed.
Comment 14•12 years ago
|
||
I'm afraid most of apps in everything.me can not run properly with tarako.
Can you simply remove them?
Comment 15•12 years ago
|
||
It's possible (client side).
This should be taken up with Mozilla product team.
Comment 16•12 years ago
|
||
Any update here?
Or tell us who should we talk to?
Updated•12 years ago
|
Flags: needinfo?(mkhoo)
Comment 17•12 years ago
|
||
Naoki, is this problem limited to games or does it affect the other Smart Collections?
Flags: needinfo?(nhirata.bugzilla)
| Reporter | ||
Comment 18•12 years ago
|
||
It's a general issue not limited to games. The game Cupcake vs Veggies takes a lot of memory up so it's the easiest to reproduce this on. Someone may need to go through the list of apps to see which e.me apps would be best suited for the low end device.
Flags: needinfo?(nhirata.bugzilla)
| Reporter | ||
Updated•12 years ago
|
Flags: needinfo?(pdolanjski)
Comment 19•12 years ago
|
||
Fabrice, any input on how this OOM issue can be tackled? Disabling key product functionality to work around this issue doesn't sound like a great path forward.
Flags: needinfo?(pdolanjski) → needinfo?(fabrice)
Comment 20•12 years ago
|
||
it's hard for every OS to prevent OOM especially on such low memory product.
To be frank, the same situation on competitor OS as well (mostly provide a FC dialog to close app or when there is no responding).
I do not think we should remove any services provide on Tarako now, but I think we should try to prevent not to let system reboot.
for app that not able to run, current behavior will simply make it return to the Home screen.
BR,
Marvin
Flags: needinfo?(mkhoo)
Comment 21•12 years ago
|
||
(In reply to Marvin Khoo [:Marvin_Khoo] from comment #20)
> I do not think we should remove any services provide on Tarako now, but I
> think we should try to prevent not to let system reboot.
we have fixed the issue that b2g was killed and verified that by monkey test.
Comment 22•12 years ago
|
||
(In reply to ying.xu from comment #21)
> (In reply to Marvin Khoo [:Marvin_Khoo] from comment #20)
> > I do not think we should remove any services provide on Tarako now, but I
> > think we should try to prevent not to let system reboot.
>
> we have fixed the issue that b2g was killed and verified that by monkey test.
Was that a fix on you side? Where did that land?
Flags: needinfo?(fabrice)
Comment 23•12 years ago
|
||
(In reply to Fabrice Desré [:fabrice] from comment #22)
> (In reply to ying.xu from comment #21)
> > (In reply to Marvin Khoo [:Marvin_Khoo] from comment #20)
> > > I do not think we should remove any services provide on Tarako now, but I
> > > think we should try to prevent not to let system reboot.
> >
> > we have fixed the issue that b2g was killed and verified that by monkey test.
>
> Was that a fix on you side? Where did that land?
yes,in kernel.
kill foreground process first
and then waiting foreground process exit completely before killing b2g process.
Comment 24•12 years ago
|
||
seem like partner already fixed it on their side, let me put this to backlog for now and see if there are any fix on gecko side
blocking-b2g: 1.3T? → backlog
Flags: needinfo?(jcheng)
Updated•12 years ago
|
Flags: needinfo?(tlee)
| Assignee | ||
Updated•11 years ago
|
blocking-b2g: backlog → ---
tracking-b2g:
--- → backlog
Comment 25•10 years ago
|
||
Mass update: Resolve/Wontfix all existing collections bugs as this feature is now removed.
Please re-open or file a new bug if you feel that this bug still exists in master.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•