Closed
Bug 1182600
Opened 10 years ago
Closed 9 years ago
Angry Bots regresses from running fine to getting OOM killed and other Unity 5 Games don't work on FFOS
Categories
(Core :: JavaScript Engine, defect)
Tracking
()
RESOLVED
INCOMPLETE
Tracking | Status | |
---|---|---|
firefox42 | --- | affected |
People
(Reporter: Harald, Unassigned)
Details
Attachments
(2 files)
Regression started to happen on my Z3C after a dogfooding update on Thu 11.
Steps:
- Install the game via http://duct.io/ab/hk/install.html
- Launch it
- Click OK in the Unity dialog
Expected:
- Game runs
Actually:
- Game crashes
--- snip
E/OomLogger( 317): [Kill]: send sigkill to 2006 (Usage), adj 801, size 7862
E/OomLogger( 317): [Kill]: send sigkill to 1621 (Find My Device), adj 801, size 7123
E/OomLogger( 317): [Kill]: send sigkill to 2322 (Browser), adj 734, size 8930
E/OomLogger( 317): [Kill]: send sigkill to 2496 (Browser), adj 667, size 8433
E/OomLogger( 317): [Kill]: send sigkill to 1442 (Built-in Keyboa), adj 667, size 8229
E/OomLogger( 317): [Kill]: send sigkill to 2879 (Angry Bots), adj 134, size 360969
--- snip
Reporter | ||
Comment 1•10 years ago
|
||
Logcat
Comment 2•10 years ago
|
||
Hi Benoit,
Can we get the right pair of eyes on this? This is causing Unity games to break.
Flags: needinfo?(bgirard)
Comment 3•10 years ago
|
||
Hi Marcia, it looks like Unity games are broken somewhat in FFOS, do you know who to direct this to?
Flags: needinfo?(mozillamarcia.knous)
Comment 4•10 years ago
|
||
(In reply to Kate Glazko from comment #3)
> Hi Marcia, it looks like Unity games are broken somewhat in FFOS, do you
> know who to direct this to?
Guessing someone in Milan's team that works on WebGL/Games. On my Z3 running the latest nightly, I get this error "Please note that Unity WebGL is not currently supported on mobiles. Press OK if you wish to continue anyways." Using BuildID=
Gaia-Rev bdddfe1ebb796e2bc1c048d5c4e0f97f3d06f98b
Gecko-Rev https://hg.mozilla.org/mozilla-central/rev/adfdc7f29ba7
Build-ID 20150709173238
Version 42.0a1
Device-Name aries
FW-Release 4.4.2
FW-Incremental eng.worker.20150619.224059
FW-Date Fri Jun 19 22:41:08 UTC 2015
Bootloader s1
Flags: needinfo?(mozillamarcia.knous)
Comment 5•10 years ago
|
||
Probably best to start with Jukka, he has the most holistic view of the whole thing.
Flags: needinfo?(bgirard) → needinfo?(jujjyl)
Comment 6•10 years ago
|
||
I'm currently on vacation until August 3rd, but quick questions:
- is there a tight regression range available somewhere? (btw, how does one bisect builds with the new Z3 phone?)
- if I'm reading the OOM log correctly, AngryBots is taking up 360969KB of memory. That does not sound that much. How much memory does AngryBots use when running on the working FFOS build?
The potential culprits here are either:
a) some permanent memory data structure has become fatter, causing the increased size and OOM
b) some temporary operation that AngryBots does has regressed to require a bigger memory footprint, and OOM
c) running AngryBots was already very close to the limit of the available memory size, and some other application in the system has regressed to requiring a larger memory size, and there is less space for AngryBots to run, causing the OOM.
Running the ADB shell top and ps commands should give data on this, i.e. "adb shell top" and so on.
Flags: needinfo?(jujjyl)
Comment 7•10 years ago
|
||
If this is happening to all Unity games for FFOS, this sounds like a regression with a lot of user impact for indie game devs.
Comment 8•10 years ago
|
||
Updated•10 years ago
|
Summary: Angry Bots regresses from running fine to getting OOM killed → Angry Bots and other Unity 5 Games regresses from running fine to getting OOM killed
Updated•10 years ago
|
Summary: Angry Bots and other Unity 5 Games regresses from running fine to getting OOM killed → Angry Bots regresses from running fine to getting OOM killed and other Unity 5 Games don't work on FFOS
Reporter | ||
Comment 9•10 years ago
|
||
Paul, can you take shot at profiling the game from a Web Audio perspective; I wouldn't know what to look for.
Flags: needinfo?(padenot)
Comment 10•10 years ago
|
||
I don't think we made significant enough changes on Web Audio API lately, apart from the optimization we made so that it runs, which reduced memory usage.
Flags: needinfo?(padenot)
Comment 11•10 years ago
|
||
Is there any way to verify whether all Unity games are broken on FFOS?
Flags: needinfo?(hkirschner)
Reporter | ||
Comment 12•10 years ago
|
||
AB is a good test for now as it was confirmed to work before. We didn't test other games and having one game that is known to work is best.
I will downgrade my Z3C to get the build for a working version.
Flags: needinfo?(hkirschner)
Updated•10 years ago
|
Keywords: regressionwindow-wanted
Reporter | ||
Comment 14•10 years ago
|
||
This got onto my backlog for a while. I will run this against the latest Z3C version and see if I can still reproduce.
Reporter | ||
Comment 15•9 years ago
|
||
No Unity games are planned for FxOS, closing.
Status: NEW → RESOLVED
Closed: 9 years ago
Flags: needinfo?(hkirschner)
Resolution: --- → INCOMPLETE
Updated•9 years ago
|
Keywords: regressionwindow-wanted
You need to log in
before you can comment on or make changes to this bug.
Description
•