Closed Bug 1104159 Opened 10 years ago Closed 2 years ago

"Highway at night" javascript demo OOM crashes Firefox for Android

Categories

(Core :: JavaScript Engine, defect)

ARM
Android
defect

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: liquitsnake, Unassigned)

References

(Blocks 1 open bug)

Details

(Keywords: crash, Whiteboard: [oom])

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:33.0) Gecko/20100101 Firefox/33.0 Build ID: 20141106201141 Steps to reproduce: I try running the "Highway at Night" javascript demo (http://js1k.com/2014-dragons/demo/1951) on Firefox for Android v33 (from F-Droid) Actual results: Shortly after you exit the tunnel, Firefox crashes silently. This is reproduceable and always occurs at the same moment. Expected results: No crash
Also tested on a different device with v33.1 from the Google market, same bug. Desktop Firefox works fine however.
Android kills the browser alongside every other process due to memory constraint issues with this demo I/WindowManager( 746): Screen frozen for +284ms due to Window{9ca6f57 u0 org.mozilla.firefox/org.mozilla.firefox.App} I/ActivityManager( 746): Process com.google.android.apps.magazines (pid 6246) has died I/ActivityManager( 746): Process com.google.android.videos (pid 6196) has died I/ActivityManager( 746): Process com.google.android.apps.books (pid 6141) has died I/ActivityManager( 746): Process org.mozilla.fennec (pid 5958) has died I/ActivityManager( 746): Process com.google.android.apps.fitness (pid 5999) has died I/ActivityManager( 746): Process com.android.defcontainer (pid 6518) has died I/ActivityManager( 746): Process com.google.android.apps.docs (pid 6660) has died I/ActivityManager( 746): Process com.google.android.partnersetup (pid 5886) has died D/GeckoMemoryMonitor( 7183): onTrimMemory() notification received with level 5 I/ActivityManager( 746): Process com.android.musicfx (pid 6633) has died I/ActivityManager( 746): Process com.twitter.android (pid 6885) has died I/ActivityManager( 746): Process com.google.android.apps.plus (pid 6098) has died D/GeckoMemoryMonitor( 7183): onTrimMemory() notification received with level 10 E/WifiStateMachine( 746): WifiStateMachine CMD_START_SCAN source -2 txSuccessRate=46.97 rxSuccessRate=90.07 targetRoamBSSID=bc:ee:7b:93:30:84 RSSI=-71 I/ActivityManager( 746): Process android.process.media (pid 6070) has died I/ActivityManager( 746): Process com.google.android.talk (pid 6580) has died D/GeckoMemoryMonitor( 7183): onTrimMemory() notification received with level 15 I/ActivityManager( 746): Process android.process.acore (pid 5920) has died I/ActivityManager( 746): Process org.mozilla.firefox.UpdateService (pid 7292) has died
Component: General → JavaScript Engine
Keywords: crash
OS: Linux → Android
Product: Firefox for Android → Core
Hardware: x86_64 → ARM
Summary: "Highway at night" javascript demo crashes Firefox for Android → "Highway at night" javascript demo OOM crashes Firefox for Android
Whiteboard: [oom]
Version: Firefox 33 → Trunk
Severity: normal → critical
Severity: critical → S2

I tested the demo page today in Firefox on a 4G A51 and it gets out of the tunnel without a problem. I think we can close this bug out at this point.

Status: UNCONFIRMED → RESOLVED
Closed: 2 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.