Closed Bug 759830 Opened 14 years ago Closed 5 years ago

Fennec freezes when switching between two tabs with playing videos

Categories

(Firefox for Android Graveyard :: General, defect)

ARM
Android
defect
Not set
critical

Tracking

(blocking-fennec1.0 -, fennec-)

RESOLVED INCOMPLETE
Tracking Status
blocking-fennec1.0 --- -
fennec - ---

People

(Reporter: xti, Unassigned)

Details

(Keywords: reproducible)

Attachments

(1 file)

Attached file full_log
Firefox 15.0a1 (2012-05-30) Device: Galaxy Nexus OS: Android 4.0.2 Steps to reproduce: 1. go to http://people.mozilla.com/~nhirata/html_tp/big_buck_bunny_480p.webm 2. play the video 3. go to http://www.cnn.com/video 4. click on the video and play 5. switch between the videos until the video from cnn will stop playing 6. switch to the 1st tab 7. close/kill Fennec and reopen it 8. close the cnn tab Expected result: No hangs, freeze or ANR errors should occur while performing the STR. Actual result: At some point, the tabs cannot be changed at step 5. Actually, even if the 1st tab is selected, the CNN page is still in focus. If CNN tab is closed, the app cannot be used anymore because it will freeze. Killing Fennec will not resolve this issue, until ANR will occur. Note: Please see the attached logs.
oom?
blocking-fennec1.0: --- → ?
Keywords: reproducible
blocking-fennec1.0: ? → .N+
Related to this: https://bugzilla.mozilla.org/show_bug.cgi?id=717096 Is this correlated only to Flash, only to video (WebM), or does it need both to trigger?
qawanted to answer GCP's quetion
Keywords: qawanted
This issue is reproducible even if at step 1 is opened a flash video, without involving any WebM videos.
Keywords: qawanted
I'm able to reproduce this. Pretty interesting error here: E/IMGSRV ( 133): :0: GenericAlloc: Failed to allocate device memory W/GraphicBufferAllocator( 133): alloc(1408, 816, 256, 00002300, ...) failed -12 (Out of memory) D/GraphicBufferAllocator( 133): Allocated buffers: D/GraphicBufferAllocator( 133): 0x388228: 1492.12 KiB | 720 ( 736) x 1038 | 4 | 0x00000b00 D/GraphicBufferAllocator( 133): 0x388468: 1492.12 KiB | 720 ( 736) x 1038 | 4 | 0x00000b00 D/GraphicBufferAllocator( 133): 0x388c20: unknown | 720 ( 736) x 1184 | 1FF | 0x00000b00 D/GraphicBufferAllocator( 133): 0x38bee0: 71.88 KiB | 720 ( 736) x 50 | 4 | 0x00000933 D/GraphicBufferAllocator( 133): 0x38cca0: unknown | 720 ( 736) x 1184 | 1FF | 0x00000b00 D/GraphicBufferAllocator( 133): 0x3907d0: 3076.25 KiB | 720 ( 736) x 1070 | 5 | 0x00000b00 D/GraphicBufferAllocator( 133): 0x390f58: 71.88 KiB | 720 ( 736) x 50 | 4 | 0x00000933 D/GraphicBufferAllocator( 133): 0x3912f0: 276.00 KiB | 720 ( 736) x 96 | 5 | 0x00000b00 D/GraphicBufferAllocator( 133): 0x397460: 3076.25 KiB | 720 ( 736) x 1070 | 5 | 0x00000b00 D/GraphicBufferAllocator( 133): 0x397498: 276.00 KiB | 720 ( 736) x 96 | 5 | 0x00000b00 D/GraphicBufferAllocator( 133): 0x39b9e8: 3404.00 KiB | 720 ( 736) x 1184 | 5 | 0x00000b00 D/GraphicBufferAllocator( 133): 0x39d4e0: 3404.00 KiB | 720 ( 736) x 1184 | 5 | 0x00000b00 D/GraphicBufferAllocator( 133): Total allocated (estimate): 16640.50 KB D/GraphicBufferAllocator( 133): IMG Graphics HAL state: D/GraphicBufferAllocator( 133): Dumping all active sync objects.. D/GraphicBufferAllocator( 133): ID=497, 0xP...FHWR=0x00000b00, WOP/WOC=0x6b/0x6b, ROP/ROC=0x0/0x0, ROP2/ E/SurfaceFlinger( 133): GraphicBufferAlloc::createGraphicBuffer(w=1408, h=816) failed (Out of memory), handle=0x0 E/SurfaceTexture(23923): [unnamed-23923-11] dequeueBuffer: SurfaceComposer::createGraphicBuffer failed E/ACodec ( 136): dequeueBuffer failed: Out of memory (12) E/ACodec ( 136): Failed to allocate output port buffers after port reconfiguration (error 0xfffffff4) E/NuPlayer( 136): Received error from video decoder, aborting playback. E/NuPlayer( 136): video track encountered an error (-2147483648) E/libOpenSLES(23923): Error after prepare: 1 I/GeckoAppShell(23923): destroySurface:Surface(name=null, identity=0)
qawanted to see if this is still reproducible
Keywords: qawanted
I couldn't repro, but maybe XTI can since he's the reporter.
I am still able to reproduce this issue on the latest Nightly build. I have to switch the tabs a little bit longer than before... perhaps about 8-10 more tries -- Firefox 16.0a1 (2012-06-27) Device: Galaxy Nexus OS: Android 4.0.2
Keywords: qawanted
given the decreased severity (it takes longer to reproduce), no longer blocking
tracking-fennec: --- → 17+
blocking-fennec1.0: .N+ → -
Assignee: nobody → chris.double
Assignee: chris.double → cpearce
tracking-fennec: 17+ → -
Assignee: cpearce → nobody
We have completed our launch of our new Firefox on Android. The development of the new versions use GitHub for issue tracking. If the bug report still reproduces in a current version of [Firefox on Android nightly](https://play.google.com/store/apps/details?id=org.mozilla.fenix) an issue can be reported at the [Fenix GitHub project](https://github.com/mozilla-mobile/fenix/). If you want to discuss your report please use [Mozilla's chat](https://wiki.mozilla.org/Matrix#Connect_to_Matrix) server https://chat.mozilla.org and join the [#fenix](https://chat.mozilla.org/#/room/#fenix:mozilla.org) channel.
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → INCOMPLETE
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: