Intermittent dom/media/webspeech/synth/test/test_speech_simple.html | application crashed [@ mozilla::dom::nsSpeechTask::SetAudioOutputVolume]

RESOLVED FIXED in Firefox 55

Status

()

defect
RESOLVED FIXED
2 years ago
2 years ago

People

(Reporter: aryx, Assigned: jya)

Tracking

({crash, intermittent-failure})

unspecified
mozilla55
Points:
---

Firefox Tracking Flags

(firefox-esr52 unaffected, firefox53 unaffected, firefox54 unaffected, firefox55 fixed)

Details

(Whiteboard: [stockwell fixed])

Attachments

(1 attachment)

https://treeherder.mozilla.org/logviewer.html#?job_id=101449013&repo=mozilla-inbound

[task 2017-05-24T05:58:10.870252Z] 05:58:10     INFO - TEST-START | dom/media/webspeech/synth/test/test_speech_simple.html
[task 2017-05-24T05:58:11.277734Z] 05:58:11     INFO - GECKO(2784) | MEMORY STAT | vsize 2106MB | residentFast 243MB | heapAllocated 95MB
[task 2017-05-24T05:58:11.279394Z] 05:58:11     INFO - TEST-OK | dom/media/webspeech/synth/test/test_speech_simple.html | took 409ms
[task 2017-05-24T05:58:11.302956Z] 05:58:11     INFO - TEST-START | Shutdown
[task 2017-05-24T05:58:11.303124Z] 05:58:11     INFO - Passed:  313
[task 2017-05-24T05:58:11.303281Z] 05:58:11     INFO - Failed:  0
[task 2017-05-24T05:58:11.303363Z] 05:58:11     INFO - Todo:    0
[task 2017-05-24T05:58:11.303679Z] 05:58:11     INFO - Mode:    non-e10s
[task 2017-05-24T05:58:11.305252Z] 05:58:11     INFO - Slowest: 6154ms - /tests/dom/media/webspeech/synth/test/test_speech_queue.html
[task 2017-05-24T05:58:11.306726Z] 05:58:11     INFO - SimpleTest FINISHED
[task 2017-05-24T05:58:11.307970Z] 05:58:11     INFO - TEST-INFO | Ran 1 Loops
[task 2017-05-24T05:58:11.308765Z] 05:58:11     INFO - SimpleTest FINISHED
[task 2017-05-24T05:58:11.457489Z] 05:58:11     INFO - GECKO(2784) | ExceptionHandler::GenerateDump cloned child ExceptionHandler::WaitForContinueSignal waiting for continue signal...
[task 2017-05-24T05:58:11.458982Z] 05:58:11     INFO - GECKO(2784) | 2901
[task 2017-05-24T05:58:11.460044Z] 05:58:11     INFO - GECKO(2784) | ExceptionHandler::SendContinueSignalToChild sent continue signal to child
[task 2017-05-24T05:58:11.622066Z] 05:58:11     INFO - TEST-INFO | Main app process: exit 11
[task 2017-05-24T05:58:11.622323Z] 05:58:11     INFO - Buffered messages finished
[task 2017-05-24T05:58:11.622446Z] 05:58:11    ERROR - TEST-UNEXPECTED-FAIL | dom/media/webspeech/synth/test/test_speech_simple.html | application terminated with exit code 11
[task 2017-05-24T05:58:11.623160Z] 05:58:11     INFO - runtests.py | Application ran for: 0:00:22.316350
[task 2017-05-24T05:58:11.624342Z] 05:58:11     INFO - zombiecheck | Reading PID log: /tmp/tmpGAwikrpidlog
[task 2017-05-24T05:58:11.625097Z] 05:58:11     INFO - ==> process 2784 launched child process 2807
[task 2017-05-24T05:58:11.625590Z] 05:58:11     INFO - zombiecheck | Checking for orphan process with PID: 2807
[task 2017-05-24T05:58:11.626184Z] 05:58:11     INFO - mozcrash Downloading symbols from: https://queue.taskcluster.net/v1/task/WFOsK9kvTWm4JqidQU22lg/artifacts/public/build/target.crashreporter-symbols.zip
[task 2017-05-24T05:58:16.513355Z] 05:58:16     INFO - mozcrash Copy/paste: /usr/local/bin/linux64-minidump_stackwalk /tmp/tmpXsk8lx.mozrunner/minidumps/344d38d8-3653-9268-a0da-026e69276920.dmp /tmp/tmpHgbbXy
[task 2017-05-24T05:58:22.198883Z] 05:58:22     INFO - mozcrash Saved minidump as /home/worker/workspace/build/blobber_upload_dir/344d38d8-3653-9268-a0da-026e69276920.dmp
[task 2017-05-24T05:58:22.200641Z] 05:58:22     INFO - mozcrash Saved app info as /home/worker/workspace/build/blobber_upload_dir/344d38d8-3653-9268-a0da-026e69276920.extra
[task 2017-05-24T05:58:22.604691Z] 05:58:22     INFO - PROCESS-CRASH | dom/media/webspeech/synth/test/test_speech_simple.html | application crashed [@ mozilla::dom::nsSpeechTask::SetAudioOutputVolume]
[task 2017-05-24T05:58:22.605072Z] 05:58:22     INFO - Crash dump filename: /tmp/tmpXsk8lx.mozrunner/minidumps/344d38d8-3653-9268-a0da-026e69276920.dmp
[task 2017-05-24T05:58:22.606028Z] 05:58:22     INFO - Operating system: Linux
[task 2017-05-24T05:58:22.606589Z] 05:58:22     INFO -                   0.0.0 Linux 3.13.0-112-generic #159-Ubuntu SMP Fri Mar 3 15:26:07 UTC 2017 x86_64
[task 2017-05-24T05:58:22.607151Z] 05:58:22     INFO - CPU: amd64
[task 2017-05-24T05:58:22.607371Z] 05:58:22     INFO -      family 6 model 62 stepping 4
[task 2017-05-24T05:58:22.607898Z] 05:58:22     INFO -      2 CPUs
[task 2017-05-24T05:58:22.608411Z] 05:58:22     INFO - 
[task 2017-05-24T05:58:22.608914Z] 05:58:22     INFO - GPU: UNKNOWN
[task 2017-05-24T05:58:22.609424Z] 05:58:22     INFO - 
[task 2017-05-24T05:58:22.609942Z] 05:58:22     INFO - Crash reason:  SIGSEGV
[task 2017-05-24T05:58:22.610501Z] 05:58:22     INFO - Crash address: 0x0
[task 2017-05-24T05:58:22.611005Z] 05:58:22     INFO - Process uptime: not available
[task 2017-05-24T05:58:22.611523Z] 05:58:22     INFO - 
[task 2017-05-24T05:58:22.612224Z] 05:58:22     INFO - Thread 0 (crashed)
[task 2017-05-24T05:58:22.612775Z] 05:58:22     INFO -  0  libxul.so!mozilla::dom::nsSpeechTask::SetAudioOutputVolume [nsSpeechTask.cpp:a936e628dbb3 : 787 + 0x3]
[task 2017-05-24T05:58:22.613312Z] 05:58:22     INFO -     rax = 0x00007f4648aadcd0   rdx = 0x00007f46456ab924
[task 2017-05-24T05:58:22.614417Z] 05:58:22     INFO -     rcx = 0x00007f003f800000   rbx = 0x00007f461e462ac0
[task 2017-05-24T05:58:22.614960Z] 05:58:22     INFO -     rsi = 0x0000000000000000   rdi = 0x0000000000000000
[task 2017-05-24T05:58:22.615518Z] 05:58:22     INFO -     rbp = 0x00007ffd521fc320   rsp = 0x00007ffd521fc300
[task 2017-05-24T05:58:22.615896Z] 05:58:22     INFO -      r8 = 0x0000000000000000    r9 = 0x0000000000000000
[task 2017-05-24T05:58:22.616705Z] 05:58:22     INFO -     r10 = 0x00007f461aba5d90   r11 = 0x0000000000000000
[task 2017-05-24T05:58:22.617378Z] 05:58:22     INFO -     r12 = 0x00007ffd521fc300   r13 = 0x00007f4648aaddd8
[task 2017-05-24T05:58:22.617716Z] 05:58:22     INFO -     r14 = 0x0000000000000000   r15 = 0x0000000000000000
[task 2017-05-24T05:58:22.618415Z] 05:58:22     INFO -     rip = 0x00007f46456ab955
[task 2017-05-24T05:58:22.618968Z] 05:58:22     INFO -     Found by: given as instruction pointer in context
[task 2017-05-24T05:58:22.619330Z] 05:58:22     INFO -  1  libxul.so!mozilla::dom::nsSpeechTask::WindowVolumeChanged [nsSpeechTask.cpp:a936e628dbb3 : 752 + 0x5]
[task 2017-05-24T05:58:22.619951Z] 05:58:22     INFO -     rbx = 0x00007f461e462ac8   rbp = 0x00007ffd521fc330
[task 2017-05-24T05:58:22.620380Z] 05:58:22     INFO -     rsp = 0x00007ffd521fc330   r12 = 0x00007ffd521fc300
[task 2017-05-24T05:58:22.620876Z] 05:58:22     INFO -     r13 = 0x00007f4648aaddd8   r14 = 0x0000000000000000
[task 2017-05-24T05:58:22.621514Z] 05:58:22     INFO -     r15 = 0x0000000000000000   rip = 0x00007f46456ab8dc
[task 2017-05-24T05:58:22.621900Z] 05:58:22     INFO -     Found by: call frame info
[task 2017-05-24T05:58:22.622528Z] 05:58:22     INFO -  2  libxul.so!mozilla::dom::AudioChannelAgent::WindowVolumeChanged [AudioChannelAgent.cpp:a936e628dbb3 : 298 + 0x13]
[task 2017-05-24T05:58:22.622931Z] 05:58:22     INFO -     rbx = 0x00007f461e462ac8   rbp = 0x00007ffd521fc380
[task 2017-05-24T05:58:22.623470Z] 05:58:22     INFO -     rsp = 0x00007ffd521fc340   r12 = 0x00007ffd521fc300
[task 2017-05-24T05:58:22.623979Z] 05:58:22     INFO -     r13 = 0x00007f4648aaddd8   r14 = 0x0000000000000000
[task 2017-05-24T05:58:22.624517Z] 05:58:22     INFO -     r15 = 0x0000000000000000   rip = 0x00007f4645826156
[task 2017-05-24T05:58:22.625003Z] 05:58:22     INFO -     Found by: call frame info
[task 2017-05-24T05:58:22.625523Z] 05:58:22     INFO -  3  libxul.so + 0x1b740a9
[task 2017-05-24T05:58:22.626016Z] 05:58:22     INFO -     rbx = 0x0000000000000000   rbp = 0x00007ffd521fc400
[task 2017-05-24T05:58:22.626521Z] 05:58:22     INFO -     rsp = 0x00007ffd521fc390   r12 = 0x00007ffd521fc3b0
[task 2017-05-24T05:58:22.627024Z] 05:58:22     INFO -     r13 = 0x00007f46252ef350   r14 = 0x0000000000000000
[task 2017-05-24T05:58:22.627562Z] 05:58:22     INFO -     r15 = 0x0000000000000000   rip = 0x00007f46458260a9
[task 2017-05-24T05:58:22.628079Z] 05:58:22     INFO -     Found by: call frame info
[task 2017-05-24T05:58:22.628744Z] 05:58:22     INFO -  4  libxul.so!nsObserverService::NotifyObservers(nsISupports*, char const*, char16_t const*) + 0x128
[task 2017-05-24T05:58:22.629122Z] 05:58:22     INFO -     rbx = 0x0000000000000001   rbp = 0x00007ffd521fc470
[task 2017-05-24T05:58:22.629628Z] 05:58:22     INFO -     rsp = 0x00007ffd521fc410   r12 = 0x00007f461ab7aa08
[task 2017-05-24T05:58:22.630244Z] 05:58:22     INFO -     r13 = 0x00007f461ab7a280   r14 = 0x0000000000000000
[task 2017-05-24T05:58:22.630616Z] 05:58:22     INFO -     r15 = 0x00007f464203be90   rip = 0x00007f46467d8218
[task 2017-05-24T05:58:22.631147Z] 05:58:22     INFO -     Found by: call frame info
[task 2017-05-24T05:58:22.631774Z] 05:58:22     INFO -  5  libxul.so!WindowDestroyedEvent::Run [nsGlobalWindow.cpp:a936e628dbb3 : 9620 + 0x17]
[task 2017-05-24T05:58:22.632311Z] 05:58:22     INFO -     rbx = 0x00007ffd521fc570   rbp = 0x00007ffd521fc640
[task 2017-05-24T05:58:22.632665Z] 05:58:22     INFO -     rsp = 0x00007ffd521fc480   r12 = 0x00007f464203be70
[task 2017-05-24T05:58:22.633184Z] 05:58:22     INFO -     r13 = 0x00007ffd521fc510   r14 = 0x00007f461e0a66c0
[task 2017-05-24T05:58:22.633794Z] 05:58:22     INFO -     r15 = 0x00007f46488cd450   rip = 0x00007f46469b9e79
[task 2017-05-24T05:58:22.634154Z] 05:58:22     INFO -     Found by: call frame info
[task 2017-05-24T05:58:22.634873Z] 05:58:22     INFO -  6  libxul.so!nsThread::ProcessNextEvent(bool, bool*) + 0x311
[task 2017-05-24T05:58:22.635257Z] 05:58:22     INFO -     rbx = 0x00007f46534dc880   rbp = 0x00007ffd521fc730
[task 2017-05-24T05:58:22.635593Z] 05:58:22     INFO -     rsp = 0x00007ffd521fc650   r12 = 0x00007f463b4ae628
[task 2017-05-24T05:58:22.635912Z] 05:58:22     INFO -     r13 = 0x00007f4648c47a10   r14 = 0x00007ffd521fc6e0
[task 2017-05-24T05:58:22.636267Z] 05:58:22     INFO -     r15 = 0x00007ffd521fc75f   rip = 0x00007f46467f7ba1
[task 2017-05-24T05:58:22.636610Z] 05:58:22     INFO -     Found by: call frame info
[task 2017-05-24T05:58:22.636954Z] 05:58:22     INFO -  7  libxul.so!NS_ProcessNextEvent(nsIThread*, bool) + 0x1f
[task 2017-05-24T05:58:22.637506Z] 05:58:22     INFO -     rbx = 0x00007f46534d0e00   rbp = 0x00007ffd521fc760
[task 2017-05-24T05:58:22.638048Z] 05:58:22     INFO -     rsp = 0x00007ffd521fc740   r12 = 0x00007f465345db80
[task 2017-05-24T05:58:22.638596Z] 05:58:22     INFO -     r13 = 0x00007f46534dc880   r14 = 0x00007f46534d0e20
[task 2017-05-24T05:58:22.639125Z] 05:58:22     INFO -     r15 = 0x0000000000000001   rip = 0x00007f46467f786f
[task 2017-05-24T05:58:22.639654Z] 05:58:22     INFO -     Found by: call frame info
[task 2017-05-24T05:58:22.640243Z] 05:58:22     INFO -  8  libxul.so!mozilla::ipc::MessagePump::Run(base::MessagePump::Delegate*) + 0x95
[task 2017-05-24T05:58:22.640955Z] 05:58:22     INFO -     rbx = 0x00007f46534d0e00   rbp = 0x00007ffd521fc7c0
[task 2017-05-24T05:58:22.641457Z] 05:58:22     INFO -     rsp = 0x00007ffd521fc770   r12 = 0x00007f465345db80
[task 2017-05-24T05:58:22.642028Z] 05:58:22     INFO -     r13 = 0x00007f46534dc880   r14 = 0x00007f46534d0e20
[task 2017-05-24T05:58:22.642420Z] 05:58:22     INFO -     r15 = 0x0000000000000001   rip = 0x00007f46468627e5
[task 2017-05-24T05:58:22.642954Z] 05:58:22     INFO -     Found by: call frame info
[task 2017-05-24T05:58:22.643652Z] 05:58:22     INFO -  9  libxul.so!MessageLoop::Run() + 0x47
[task 2017-05-24T05:58:22.644217Z] 05:58:22     INFO -     rbx = 0x00007f463b4ae620   rbp = 0x00007ffd521fc7f0
[task 2017-05-24T05:58:22.644604Z] 05:58:22     INFO -     rsp = 0x00007ffd521fc7d0   r12 = 0x00007f46534dc880
[task 2017-05-24T05:58:22.645130Z] 05:58:22     INFO -     r13 = 0x00007f4648b96ad0   r14 = 0x00007ffd521fc8d0
[task 2017-05-24T05:58:22.645675Z] 05:58:22     INFO -     r15 = 0x00007ffd521fc930   rip = 0x00007f464685a1a7
[task 2017-05-24T05:58:22.646374Z] 05:58:22     INFO -     Found by: call frame info
[task 2017-05-24T05:58:22.646911Z] 05:58:22     INFO - 10  libxul.so!nsBaseAppShell::Run [nsBaseAppShell.cpp:a936e628dbb3 : 156 + 0xd]
[task 2017-05-24T05:58:22.647277Z] 05:58:22     INFO -     rbx = 0x00007f463b4ae620   rbp = 0x00007ffd521fc810
[task 2017-05-24T05:58:22.647979Z] 05:58:22     INFO -     rsp = 0x00007ffd521fc800   r12 = 0x00007f46534dc880
[task 2017-05-24T05:58:22.648560Z] 05:58:22     INFO -     r13 = 0x00007f4648b96ad0   r14 = 0x00007ffd521fc8d0
[task 2017-05-24T05:58:22.649119Z] 05:58:22     INFO -     r15 = 0x00007ffd521fc930   rip = 0x00007f4647326e9e
[task 2017-05-24T05:58:22.649465Z] 05:58:22     INFO -     Found by: call frame info
[task 2017-05-24T05:58:22.650180Z] 05:58:22     INFO - 11  libxul.so!nsAppStartup::Run [nsAppStartup.cpp:a936e628dbb3 : 283 + 0x6]
[task 2017-05-24T05:58:22.650731Z] 05:58:22     INFO -     rbx = 0x00007f463b4a9bf0   rbp = 0x00007ffd521fc830
[task 2017-05-24T05:58:22.651426Z] 05:58:22     INFO -     rsp = 0x00007ffd521fc820   r12 = 0x0000000000000077
[task 2017-05-24T05:58:22.651783Z] 05:58:22     INFO -     r13 = 0x00007f4648b96ad0   r14 = 0x00007ffd521fc8d0
[task 2017-05-24T05:58:22.652339Z] 05:58:22     INFO -     r15 = 0x00007ffd521fc930   rip = 0x00007f4647423b23
[task 2017-05-24T05:58:22.652900Z] 05:58:22     INFO -     Found by: call frame info
[task 2017-05-24T05:58:22.653422Z] 05:58:22     INFO - 12  libxul.so!XREMain::XRE_mainRun() + 0x7ff
[task 2017-05-24T05:58:22.653952Z] 05:58:22     INFO -     rbx = 0x00007ffd521fc910   rbp = 0x00007ffd521fc9a0
[task 2017-05-24T05:58:22.654612Z] 05:58:22     INFO -     rsp = 0x00007ffd521fc840   r12 = 0x0000000000000077
[task 2017-05-24T05:58:22.655189Z] 05:58:22     INFO -     r13 = 0x00007f4648b96ad0   r14 = 0x00007ffd521fc8d0
[task 2017-05-24T05:58:22.655595Z] 05:58:22     INFO -     r15 = 0x00007ffd521fc930   rip = 0x00007f4647441b7f
[task 2017-05-24T05:58:22.656118Z] 05:58:22     INFO -     Found by: call frame info
[task 2017-05-24T05:58:22.656849Z] 05:58:22     INFO - 13  libxul.so!XREMain::XRE_main(int, char**, mozilla::BootstrapConfig const&) + 0x372
[task 2017-05-24T05:58:22.657397Z] 05:58:22     INFO -     rbx = 0x00007ffd521fca40   rbp = 0x00007ffd521fca30
[task 2017-05-24T05:58:22.657948Z] 05:58:22     INFO -     rsp = 0x00007ffd521fc9b0   r12 = 0x0000000000000000
[task 2017-05-24T05:58:22.658491Z] 05:58:22     INFO -     r13 = 0x0000000000000000   r14 = 0x00007ffd521fc9f0
[task 2017-05-24T05:58:22.659062Z] 05:58:22     INFO -     r15 = 0x00007f46467dfcc0   rip = 0x00007f464743f082
[task 2017-05-24T05:58:22.659589Z] 05:58:22     INFO -     Found by: call frame info
[task 2017-05-24T05:58:22.660126Z] 05:58:22     INFO - 14  libxul.so!XRE_main [nsAppRunner.cpp:a936e628dbb3 : 4843 + 0x5]
[task 2017-05-24T05:58:22.660536Z] 05:58:22     INFO -     rbx = 0x00007ffd521fca40   rbp = 0x00007ffd521fcc10
[task 2017-05-24T05:58:22.661229Z] 05:58:22     INFO -     rsp = 0x00007ffd521fca40   r12 = 0x00007ffd521fcb90
[task 2017-05-24T05:58:22.661634Z] 05:58:22     INFO -     r13 = 0x0000000000000005   r14 = 0x00007ffd521fdd78
[task 2017-05-24T05:58:22.662338Z] 05:58:22     INFO -     r15 = 0x00007ffd521fcc30   rip = 0x00007f464743ecdf
[task 2017-05-24T05:58:22.663028Z] 05:58:22     INFO -     Found by: call frame info
[task 2017-05-24T05:58:22.663428Z] 05:58:22     INFO - 15  firefox!do_main(int, char**, char**) + 0x8a
[task 2017-05-24T05:58:22.663972Z] 05:58:22     INFO -     rbx = 0x0000000000421bb3   rbp = 0x00007ffd521fdc60
[task 2017-05-24T05:58:22.664578Z] 05:58:22     INFO -     rsp = 0x00007ffd521fcc20   r12 = 0x00007ffd521ff500
[task 2017-05-24T05:58:22.665281Z] 05:58:22     INFO -     r13 = 0x00007ffd521fdd78   r14 = 0x00007f4648b9e190
[task 2017-05-24T05:58:22.665833Z] 05:58:22     INFO -     r15 = 0x0000000000000005   rip = 0x000000000041b6fa
[task 2017-05-24T05:58:22.666366Z] 05:58:22     INFO -     Found by: call frame info
[task 2017-05-24T05:58:22.666894Z] 05:58:22     INFO - 16  firefox!main + 0x74
[task 2017-05-24T05:58:22.667465Z] 05:58:22     INFO -     rbx = 0x00007ffd521fdd78   rbp = 0x00007ffd521fdc90
[task 2017-05-24T05:58:22.668005Z] 05:58:22     INFO -     rsp = 0x00007ffd521fdc70   r12 = 0x0000000000000005
[task 2017-05-24T05:58:22.668695Z] 05:58:22     INFO -     r13 = 0x00007ffd521fdda8   r14 = 0x000006377085384e
[task 2017-05-24T05:58:22.669267Z] 05:58:22     INFO -     r15 = 0x0000000000000000   rip = 0x0000000000411a64
[task 2017-05-24T05:58:22.669671Z] 05:58:22     INFO -     Found by: call frame info
[task 2017-05-24T05:58:22.670360Z] 05:58:22     INFO - 17  libc-2.23.so + 0x20830
[task 2017-05-24T05:58:22.670897Z] 05:58:22     INFO -     rbx = 0x0000000000000000   rbp = 0x0000000000421a70
[task 2017-05-24T05:58:22.671461Z] 05:58:22     INFO -     rsp = 0x00007ffd521fdca0   r12 = 0x000000000041b2c0
[task 2017-05-24T05:58:22.671998Z] 05:58:22     INFO -     r13 = 0x00007ffd521fdd70   r14 = 0x0000000000000000
[task 2017-05-24T05:58:22.672530Z] 05:58:22     INFO -     r15 = 0x0000000000000000   rip = 0x00007f46536af830
[task 2017-05-24T05:58:22.672921Z] 05:58:22     INFO -     Found by: call frame info
[task 2017-05-24T05:58:22.673604Z] 05:58:22     INFO - 18  firefox + 0x119f0
[task 2017-05-24T05:58:22.674008Z] 05:58:22     INFO -     rsp = 0x00007ffd521fdcc0   rip = 0x00000000004119f0
[task 2017-05-24T05:58:22.674693Z] 05:58:22     INFO -     Found by: stack scanning
[task 2017-05-24T05:58:22.675270Z] 05:58:22     INFO - 19  firefox + 0x1b2c0
[task 2017-05-24T05:58:22.675835Z] 05:58:22     INFO -     rsp = 0x00007ffd521fdcd8   rip = 0x000000000041b2c0
[task 2017-05-24T05:58:22.676242Z] 05:58:22     INFO -     Found by: stack scanning
[task 2017-05-24T05:58:22.676935Z] 05:58:22     INFO - 20  firefox + 0x119f0
[task 2017-05-24T05:58:22.677463Z] 05:58:22     INFO -     rsp = 0x00007ffd521fdd28   rip = 0x00000000004119f0
[task 2017-05-24T05:58:22.677878Z] 05:58:22     INFO -     Found by: stack scanning
[task 2017-05-24T05:58:22.678407Z] 05:58:22     INFO - 21  firefox!mozilla::ReadAheadLib(char const*) + 0xf0
[task 2017-05-24T05:58:22.678944Z] 05:58:22     INFO -     rsp = 0x00007ffd521fdd30   rip = 0x0000000000421a60
[task 2017-05-24T05:58:22.679482Z] 05:58:22     INFO -     Found by: stack scanning
[task 2017-05-24T05:58:22.679995Z] 05:58:22     INFO - 22  firefox + 0x1b2c0
[task 2017-05-24T05:58:22.680594Z] 05:58:22     INFO -     rsp = 0x00007ffd521fdd48   rip = 0x000000000041b2c0
[task 2017-05-24T05:58:22.681300Z] 05:58:22     INFO -     Found by: stack scanning
[task 2017-05-24T05:58:22.681832Z] 05:58:22     INFO - 23  firefox!_start + 0x29
[task 2017-05-24T05:58:22.682401Z] 05:58:22     INFO -     rsp = 0x00007ffd521fdd60   rip = 0x000000000041b2e9
[task 2017-05-24T05:58:22.682757Z] 05:58:22     INFO -     Found by: stack scanning
this is occurring quite frequently since the first occurrence 2 days ago, doing some retriggers:
https://treeherder.mozilla.org/#/jobs?repo=autoland&filter-searchStr=android%20mda&tochange=0c0d4257e25432ae62dd66649cafc2bfcab75958&fromchange=1360cf36128d3d34284b700192e8c7055970f47a&selectedJob=101541528

I am not optimistic about finding a root cause with retriggers, but maybe we will see a better rate of failure.

:overholt, can you get someone to look into this?
Flags: needinfo?(overholt)
Whiteboard: [stockwell needswork]
:jya, I see via retriggers that bug 1363668 seems to be causing this crash, with 30 failures yesterday, this is on trend to be a top 5 intermittent failure, can you please take a look at this or consider backing out the patches from bug 1363668 if you don't have time in the next 2 business days?
Blocks: 1363668
Flags: needinfo?(overholt) → needinfo?(jyavenard)
Maybe Eitan can take a look (in case bug 1363668 isn't the cause)?
Flags: needinfo?(eitan)
(In reply to Andrew Overholt [:overholt] from comment #5)
> Maybe Eitan can take a look (in case bug 1363668 isn't the cause)?

Haven't touched speech in a long time, so I am assuming the above prognosis is correct.

Note, our use of MSG is not really needed since we left B2G, and I think it should be removed. It's just not a high priority now (unless you say otherwise). This crash would go away if I purge our speech MSG support.
Flags: needinfo?(eitan)
looking now..

I don't see how the code modified by bug 1363668 could be involved...
Flags: needinfo?(jyavenard)
Assignee: nobody → jyavenard
None of the code modified by bug 1363668 touch the code path used by this mochitest.

test_speech_simple.html only checks that some APIs exist. No media (audio or video) element is created.

So if that crashes it may be some other coincidence: corrupted compilation or what else.

Backing 1363668 would only get around a problem that would likely exist regardless...

so please don't back it out unless the problem is fully understood.file_speech_simple.html


the code of nsSpeechTask checks everywhere that mCallback is not nullptr except there... Sounds like there's a race somewhere where mCallback may not be set yet.
Assignee: jyavenard → nobody
No longer blocks: 1363668
:gbrown, could you look over my retriggers?
Flags: needinfo?(gbrown)
Well, there's no race where I thought. it's all main thread.

https://treeherder.mozilla.org/logviewer.html#?job_id=102486950&repo=try

we have mCallback that is null, yet nsSpeechTask::Setup was called where mCallback is set (and aCallback wasn't null)

memory corruption?
quick and dirty fix... no idea on how that pointer could be null in the first place.
Assignee: nobody → jyavenard
(In reply to Joel Maher ( :jmaher) from comment #10)
> :gbrown, could you look over my retriggers?

I believe this failure started earlier, on mozilla-inbound (but not on Android). The earliest I have found is:

https://treeherder.mozilla.org/#/jobs?repo=mozilla-inbound&revision=a936e628dbb352550e1ad092db1474470215bda4

https://treeherder.mozilla.org/logviewer.html#?job_id=101449013&repo=mozilla-inbound

Since this happens infrequently on a lot of different platforms, it may be difficult to narrow down further.
Flags: needinfo?(gbrown)
This log:
https://treeherder.mozilla.org/logviewer.html#?job_id=102505667&repo=try

shows that nsSpeechTask::SetAudioOutputVolume prior nsSpeechTask::Setup was called, and as such, we have mCallback set to nullptr hence the null deref.

(https://hg.mozilla.org/try/file/28072c2a07ae/dom/media/webspeech/synth/nsSpeechTask.cpp#l789)
"outer-window-destroyed"

This appears to be related to changes in bug 1113086.

The nsSpeechTask is notified of a change when "outer-window-destroyed" occurs.

If this happens before nsSpeech::Setup got the chance to run, we will get a null deref.

So the behaviour is racy/unpredictable.

https://dxr.mozilla.org/mozilla-central/source/dom/audiochannel/AudioChannelService.cpp#443

The patch I proposed will get around the issue as when Setup hasn't been called yet, mCallback is null.

But there may be other cases where using the non-initialised nsSpeechTask could cause a problem, but I'm not familiar enough with this code.
Flags: needinfo?(amarchesini)
Attachment #8871961 - Flags: review?(amarchesini)
Comment on attachment 8871961 [details]
Bug 1367376: Check for null.

https://reviewboard.mozilla.org/r/143488/#review147840
Attachment #8871961 - Flags: review?(amarchesini) → review+
https://hg.mozilla.org/mozilla-central/rev/87402fd86ee0
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Whiteboard: [stockwell needswork] → [stockwell fixed]
Target Milestone: --- → mozilla55
Duplicate of this bug: 1367998
Component: DOM → Web Speech
Flags: needinfo?(amarchesini)
You need to log in before you can comment on or make changes to this bug.