Closed Bug 971429 Opened 7 years ago Closed 5 years ago crashes when playing in background after 30 seconds -


(Core :: Audio/Video: Playback, defect, P5)

30 Branch



Tracking Status
firefox27 --- affected
firefox28 --- affected
firefox29 --- affected
firefox30 --- affected
fennec + ---


(Reporter: fastest963, Assigned: eflores)


(Keywords: reproducible)

Crash Data


(1 file)

Attached file mozlogcat.log
User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/34.0.1833.4 Safari/537.36

Steps to reproduce:

1) Go to!/emmagician/broadcast
2) Hit "Join Broadcast" and you should start hearing music after a few seconds
3) Lock screen

Actual results:

After locking your screen the browser crashes after 20-30 seconds.

I attached some relevant logcat messages that happened around the same time as it crashing.

Expected results:

I would expect the browser to keep playing music and not crash.
I filed the bug in Chrome on Win7 so looks like a few of the fields were filled incorrectly.
OS: Windows 7 → Android
Hardware: x86_64 → All
Thanks for the report. I was able to reproduce. Your broadcast posted is offline I think? I went to broadcasts and selected another and still crashed.

gdb| mozalloc_abort: out of memory: 0x0000000000008000 bytes requested
[New Thread 2429]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 2429]
0x7d96e91e in ?? ()
Loading symbols... Done
(gdb) bt
#0  0x7d96e91e in mozalloc_abort (
    msg=msg@entry=0x784853ec "out of memory: 0x", '0' <repeats 12 times>, "8000 bytes requested")
    at /home/aaronmt/Mozilla/mozilla-central/memory/mozalloc/mozalloc_abort.cpp:30
#1  0x7d96e95e in mozalloc_handle_oom (size=0, size@entry=32768)
    at /home/aaronmt/Mozilla/mozilla-central/memory/mozalloc/mozalloc_oom.cpp:50
#2  0x7d96ea3a in moz_xmalloc (size=32768)
    at /home/aaronmt/Mozilla/mozilla-central/memory/mozalloc/mozalloc.cpp:54
#3  0x7c8835b2 in operator new [] (size=32768)
    at ../../dist/include/mozilla/mozalloc.h:213
#4  mozilla::FileBlockCache::BlockChange::BlockChange (this=0x887fc590, 
    aData=0x891f0000 "\350\310j/\372\370\375\234\255m\231\334\364J#<v0\263\201W\003V\256]")
    at /home/aaronmt/Mozilla/mozilla-central/content/media/FileBlockCache.h:97
#5  0x7c880bfc in mozilla::FileBlockCache::WriteBlock (this=0x8948e180, 
    aData=aData@entry=0x891f0000 "\350\310j/\372\370\375\234\255m\231\334\364J#<v0\263\201W\003V\256]")
    at /home/aaronmt/Mozilla/mozilla-central/content/media/FileBlockCache.cpp:93
#6  0x7c880d82 in mozilla::MediaCache::AllocateAndWriteBlock (this=0x8e085150, 
---Type <return> to continue, or q <return> to quit---
    aStream=aStream@entry=0x88e13888, aData=0x891f0000, 
    at /home/aaronmt/Mozilla/mozilla-central/content/media/MediaCache.cpp:1498
#7  0x7c880fb6 in mozilla::MediaCacheStream::NotifyDataReceived (
    this=0x88e13888, aSize=<optimized out>, 
    aData=0x8e0ac000 "\226\261\250\023\f7o'\316b", aPrincipal=0x7f0ba700)
    at /home/aaronmt/Mozilla/mozilla-central/content/media/MediaCache.cpp:1752
#8  0x7c884c7a in mozilla::ChannelMediaResource::CopySegmentToCache (
    aInStream=<optimized out>, aClosure=0x784855e8, 
    aFromSegment=0x8e0ac000 "\226\261\250\023\f7o'\316b", 
    aToOffset=<optimized out>, aCount=8000, aWriteCount=0x78485594)
    at /home/aaronmt/Mozilla/mozilla-central/content/media/MediaResource.cpp:485
#9  0x7c03a9d8 in nsInputStreamTee::WriteSegmentFun (in=<optimized out>, 
    closure=0x89617f70, fromSegment=0x8e0ac000 "\226\261\250\023\f7o'\316b", 
    offset=<optimized out>, count=8000, writeCount=0x78485594)
    at /home/aaronmt/Mozilla/mozilla-central/xpcom/io/nsInputStreamTee.cpp:200
#10 0x7c03a54c in nsPipeInputStream::ReadSegments (this=0x839567b0, 
    writer=0x7c03a9c5 <nsInputStreamTee::WriteSegmentFun(nsIInputStream*, void*, char const*, unsigned int, unsigned int, unsigned int*)>, closure=0x89617f70, 
    count=8000, readCount=0x784855e4)
    at /home/aaronmt/Mozilla/mozilla-central/xpcom/io/nsPipe3.cpp:780
#11 0x7c0371cc in nsInputStreamTee::ReadSegments (this=0x89617f70, 
---Type <return> to continue, or q <return> to quit---
    writer=<optimized out>, closure=<optimized out>, count=<optimized out>, 
    at /home/aaronmt/Mozilla/mozilla-central/xpcom/io/nsInputStreamTee.cpp:257
#12 0x7c889bca in mozilla::ChannelMediaResource::OnDataAvailable (
    this=<optimized out>, aRequest=<optimized out>, aStream=0x89617f70, 
    aCount=<optimized out>)
    at /home/aaronmt/Mozilla/mozilla-central/content/media/MediaResource.cpp:513
#13 0x7c83c73c in mozilla::dom::HTMLMediaElement::MediaLoadListener::OnDataAvailable (this=<optimized out>, aRequest=<optimized out>, 
    aContext=<optimized out>, aStream=<optimized out>, aOffset=169536, 
    at /home/aaronmt/Mozilla/mozilla-central/content/html/content/src/HTMLMediaElement.cpp:386
#14 0x7c087f38 in nsStreamListenerTee::OnDataAvailable (this=<optimized out>, 
    request=0x89499c34, context=0x0, input=0x0, offset=169536, count=8000)

Tossing this over the fence into audio::video land
Ever confirmed: true
Keywords: reproducible
Component: General → Video/Audio
Product: Firefox for Android → Core
Version: Firefox 27 → 30 Branch
Crash Signature: [@]
Summary: crashes when playing in background after 30 seconds → crashes when playing in background after 30 seconds -
Care about this?
tracking-fennec: --- → ?
Assignee: nobody → edwin
tracking-fennec: ? → +
Still crashes.  One nice reason to use Firefox over chrome was the ability to use grooveshark with the screen off.
filter on [mass-p5]
Priority: -- → P5
Component: Audio/Video → Audio/Video: Playback
Is this still an issue?
Flags: needinfo?(fastest963)
Grooveshark is no more
Closed: 5 years ago
Flags: needinfo?(fastest963)
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.