Intermittent Mulet test_speech_simple.html | application crashed [@ NS_ABORT_OOM(unsigned long)]

RESOLVED FIXED in Firefox 34

Status

()

Core
Audio/Video
RESOLVED FIXED
4 years ago
4 years ago

People

(Reporter: RyanVM, Assigned: padenot)

Tracking

({crash, intermittent-failure})

Trunk
mozilla34
x86_64
Linux
crash, intermittent-failure
Points:
---

Firefox Tracking Flags

(firefox32 unaffected, firefox33 unaffected, firefox34 fixed, firefox-esr24 unaffected, firefox-esr31 unaffected)

Details

Attachments

(1 attachment)

(Reporter)

Description

4 years ago
https://tbpl.mozilla.org/php/getParsedLog.php?id=46907545&tree=Try

Ubuntu VM 12.04 x64 Mulet try opt test mochitest-1 on 2014-08-27 18:44:41 PDT for push 13e9e0767266
slave: tst-linux64-spot-902

18:54:13     INFO -  2102 INFO TEST-START | /tests/content/media/webspeech/synth/test/test_speech_simple.html
18:54:14     INFO -  TEST-INFO | Main app process: killed by SIGSEGV
18:54:14     INFO -  2103 INFO TEST-PASS | /tests/content/media/webspeech/synth/test/test_speech_simple.html | Voice added
18:54:14     INFO -  2104 INFO TEST-PASS | /tests/content/media/webspeech/synth/test/test_speech_simple.html | voice URI matches
18:54:14     INFO -  2105 INFO TEST-PASS | /tests/content/media/webspeech/synth/test/test_speech_simple.html | voice name matches
18:54:14     INFO -  2106 INFO TEST-PASS | /tests/content/media/webspeech/synth/test/test_speech_simple.html | voice lang matches
18:54:14     INFO -  2107 INFO TEST-PASS | /tests/content/media/webspeech/synth/test/test_speech_simple.html | voice localService matches
18:54:14     INFO -  2108 INFO TEST-PASS | /tests/content/media/webspeech/synth/test/test_speech_simple.html | speechSynthesis is not speaking yet.
18:54:14     INFO -  2109 INFO TEST-PASS | /tests/content/media/webspeech/synth/test/test_speech_simple.html | speechSynthesis has an utterance queued.
18:54:14     INFO -  2110 INFO TEST-PASS | /tests/content/media/webspeech/synth/test/test_speech_simple.html | speechSynthesis is speaking.
18:54:14     INFO -  2111 INFO TEST-PASS | /tests/content/media/webspeech/synth/test/test_speech_simple.html | speechSynthesis has no other utterances queued.
18:54:14  WARNING -  TEST-UNEXPECTED-FAIL | /tests/content/media/webspeech/synth/test/test_speech_simple.html | application terminated with exit code 11
18:54:14     INFO -  runtests.py | Application ran for: 0:07:39.714271
18:54:14     INFO -  zombiecheck | Reading PID log: /tmp/tmpfI8Sgdpidlog
18:54:14     INFO -  ==> process 1767 launched child process 1848
18:54:14     INFO -  ==> process 1767 launched child process 1964
18:54:14     INFO -  zombiecheck | Checking for orphan process with PID: 1848
18:54:14     INFO -  zombiecheck | Checking for orphan process with PID: 1964
18:54:14     INFO -  2112 INFO mozcrash Downloading symbols from: https://ftp-ssl.mozilla.org/pub/mozilla.org/firefox/try-builds/ryanvm@gmail.com-13e9e0767266/try-linux64-mulet/firefox-34.0.en-US.linux-x86_64.crashreporter-symbols.zip
18:54:28     INFO -  2113 INFO mozcrash Saved minidump as /builds/slave/test/build/blobber_upload_dir/0012ff21-e9e4-d900-71323d1e-47ac1b72.dmp
18:54:28     INFO -  2114 INFO mozcrash Saved app info as /builds/slave/test/build/blobber_upload_dir/0012ff21-e9e4-d900-71323d1e-47ac1b72.extra
18:54:28  WARNING -  PROCESS-CRASH | /tests/content/media/webspeech/synth/test/test_speech_simple.html | application crashed [@ NS_ABORT_OOM(unsigned long)]
18:54:28     INFO -  Crash dump filename: /tmp/tmp5sVhzm.mozrunner/minidumps/0012ff21-e9e4-d900-71323d1e-47ac1b72.dmp
18:54:28     INFO -  Operating system: Linux
18:54:28     INFO -                    0.0.0 Linux 3.2.0-23-generic #36-Ubuntu SMP Tue Apr 10 20:39:51 UTC 2012 x86_64
18:54:28     INFO -  CPU: amd64
18:54:28     INFO -       family 6 model 62 stepping 4
18:54:28     INFO -       1 CPU
18:54:28     INFO -  Crash reason:  SIGSEGV
18:54:28     INFO -  Crash address: 0x0
18:54:28     INFO -  Thread 44 (crashed)
18:54:28     INFO -   0  libxul.so!NS_ABORT_OOM(unsigned long) [nsDebugImpl.cpp:13e9e0767266 : 626 + 0x0]
18:54:28     INFO -      rbx = 0x00000000fffffc00   r12 = 0x0000000000000000
18:54:28     INFO -      r13 = 0x00000000fffffc00   r14 = 0x0000000000000004
18:54:28     INFO -      r15 = 0x000000000000fb80   rip = 0x00007fabab526989
18:54:28     INFO -      rsp = 0x00007fab71dfd590   rbp = 0x00007fab71dfd660
18:54:28     INFO -      Found by: given as instruction pointer in context
18:54:28     INFO -   1  libxul.so!nsTArray_base<nsTArrayInfallibleAllocator, nsTArray_CopyWithMemutils>::EnsureCapacity(unsigned long, unsigned long) [nsTArray.h:13e9e0767266 : 186 + 0x4]
18:54:28     INFO -      rbx = 0x00000000fffffc00   r12 = 0x0000000000000000
18:54:28     INFO -      r13 = 0x00000000fffffc00   r14 = 0x0000000000000004
18:54:28     INFO -      r15 = 0x000000000000fb80   rip = 0x00007fabab1a5804
18:54:28     INFO -      rsp = 0x00007fab71dfd5a0   rbp = 0x00007fab71dfd660
18:54:28     INFO -      Found by: call frame info
18:54:28     INFO -   2  libxul.so!nsTArray_Impl<float, nsTArrayInfallibleAllocator>::SetLength(unsigned long) [nsTArray-inl.h:13e9e0767266 : 286 + 0x4]
18:54:28     INFO -      rbx = 0x00007fab71dfd660   r12 = 0x0000000000000000
18:54:28     INFO -      r13 = 0x00000000fffffc00   r14 = 0x00007fab71dfd640
18:54:28     INFO -      r15 = 0x000000000000fb80   rip = 0x00007fababa76f77
18:54:28     INFO -      rsp = 0x00007fab71dfd5e0   rbp = 0x00000000fffffc00
18:54:28     INFO -      Found by: call frame info
18:54:28     INFO -   3  libxul.so!mozilla::AudioSegment::WriteTo(unsigned long, mozilla::AudioMixer&, unsigned int, unsigned int) [AudioSegment.cpp:13e9e0767266 : 162 + 0x4]
18:54:28     INFO -      rbx = 0x0000000000000002   r12 = 0x0000000000000000
18:54:28     INFO -      r13 = 0xfffffffffffffe00   r14 = 0x00007fab71dfd640
18:54:28     INFO -      r15 = 0x000000000000fb80   rip = 0x00007fabac28645c
18:54:28     INFO -      rsp = 0x00007fab71dfd610   rbp = 0x00007fab72620f70
18:54:28     INFO -      Found by: call frame info
18:54:28     INFO -   4  libxul.so!mozilla::MediaStreamGraphImpl::PlayAudio(mozilla::MediaStream*, long, long) [MediaStreamGraph.cpp:13e9e0767266 : 1023 + 0x14]
18:54:28     INFO -      rbx = 0xfffffffffffffe00   r12 = 0x00007fab71e8fe88
18:54:28     INFO -      r13 = 0xfffffffffffffe00   r14 = 0x00007fab72620eb0
18:54:28     INFO -      r15 = 0x000000000000fb80   rip = 0x00007fabac2a8c4d
18:54:28     INFO -      rsp = 0x00007fab71dfeab0   rbp = 0x0000000000000480
18:54:28     INFO -      Found by: call frame info
(Assignee)

Comment 2

4 years ago
Created attachment 8480659 [details] [diff] [review]
Make sure we don't try to play audio with a system driver. r=

The OOM is because we are trying to play audio from a system worker, it doing
something like nsTArray::EnsureCapacity(-1), which gets converted do unsigned.

Simply don't try to play audio with a system driver. This will be useful when we
want to implement the system driver fallback in case of cubeb stream failure
(especially on windows 7).
Attachment #8480659 - Flags: review?(rjesup)
(Assignee)

Updated

4 years ago
Assignee: nobody → paul
Status: NEW → ASSIGNED
Comment on attachment 8480659 [details] [diff] [review]
Make sure we don't try to play audio with a system driver. r=

Review of attachment 8480659 [details] [diff] [review]:
-----------------------------------------------------------------

::: content/media/GraphDriver.cpp
@@ +163,5 @@
>      char aLocal;
>      STREAM_LOG(PR_LOG_DEBUG, ("Starting system thread"));
>      profiler_register_thread("MediaStreamGraph", &aLocal);
>      if (mDriver->mPreviousDriver) {
> +      // MOZ_ASSERT(!mDriver->AsAudioCallbackDriver());

comment why this is commented out and when we can re-enable?
Attachment #8480659 - Flags: review?(rjesup) → review+
(Assignee)

Comment 4

4 years ago
This comment should not have been included, I've removed it.
(Reporter)

Comment 6

4 years ago
https://hg.mozilla.org/mozilla-central/rev/546a04de2db6
Status: ASSIGNED → RESOLVED
Last Resolved: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla34
(Reporter)

Updated

4 years ago
status-firefox32: --- → unaffected
status-firefox33: --- → unaffected
status-firefox34: --- → fixed
status-firefox-esr24: --- → unaffected
status-firefox-esr31: --- → unaffected
You need to log in before you can comment on or make changes to this bug.