Closed
Bug 1230428
Opened 9 years ago
Closed 9 years ago
Crash [@ SpeechTaskCallback::OnWillSpeakWord]
Categories
(Core :: Web Speech, defect)
Core
Web Speech
Tracking
()
RESOLVED
FIXED
mozilla47
People
(Reporter: jruderman, Assigned: m_kato)
References
Details
(Keywords: crash, testcase)
Crash Data
Attachments
(5 files, 3 obsolete files)
273 bytes,
text/html
|
Details | |
4.69 KB,
text/plain
|
Details | |
3.31 KB,
patch
|
eeejay
:
review+
|
Details | Diff | Splinter Review |
2.30 KB,
patch
|
eeejay
:
review+
|
Details | Diff | Splinter Review |
2.60 KB,
patch
|
eeejay
:
review+
|
Details | Diff | Splinter Review |
Crash [@ SpeechTaskCallback::OnWillSpeakWord]
Reporter | ||
Updated•9 years ago
|
Crash Signature: [@ SpeechTaskCallback::OnWillSpeakWord]
[@ SpeechTaskCallback::OnResume]
Reporter | ||
Comment 1•9 years ago
|
||
Comment 2•9 years ago
|
||
Makoto,
This looks like it is crashing in the mac bits. Want to take a look?
Flags: needinfo?(m_kato)
Assignee | ||
Comment 3•9 years ago
|
||
I take this. Also, this reproduces on Windows too.
Assignee: nobody → m_kato
Flags: needinfo?(m_kato)
Assignee | ||
Comment 5•9 years ago
|
||
Oops, mac may not e10s only. I should test it on mac.
tracking-e10s:
? → ---
Comment 6•9 years ago
|
||
Bughunter reproduced this with Nightly using the attachment on OS X 10.8, 10.9. Haven't seen it yet on other OSs.
Assignee | ||
Comment 7•9 years ago
|
||
Assignee | ||
Comment 8•9 years ago
|
||
Assignee | ||
Updated•9 years ago
|
Crash Signature: [@ SpeechTaskCallback::OnWillSpeakWord]
[@ SpeechTaskCallback::OnResume] → [@ SpeechTaskCallback::OnWillSpeakWord]
[@ SpeechTaskCallback::OnResume]
[@ @ mozilla::dom::SapiCallback::OnResume]
Assignee | ||
Updated•9 years ago
|
Crash Signature: [@ SpeechTaskCallback::OnWillSpeakWord]
[@ SpeechTaskCallback::OnResume]
[@ @ mozilla::dom::SapiCallback::OnResume] → [@ SpeechTaskCallback::OnWillSpeakWord]
[@ SpeechTaskCallback::OnResume]
[@ mozilla::dom::SapiCallback::OnResume]
Assignee | ||
Comment 9•9 years ago
|
||
Comment on attachment 8697063 [details] [diff] [review]
Part 1. Check mTask since end event is posted asynchronized
The callback into nsSpeechTask will be released by end event. But since end event is posted asynchronized, when calling pause and resume, web content doesn't receive end event yet. So we should check mTask on Windows and cocoa backend.
Attachment #8697063 -
Flags: review?(eitan)
Assignee | ||
Comment 10•9 years ago
|
||
Comment on attachment 8697065 [details] [diff] [review]
Part 2. Add crashtest
Part 2 test will causes leak on Linux build. So mark as obsolete.
Attachment #8697065 -
Attachment is obsolete: true
Assignee | ||
Comment 11•9 years ago
|
||
When adding crashtest, I found memory leak on linux build. mTask has to release when speaking is end.
Attachment #8697083 -
Flags: review?(eitan)
Assignee | ||
Comment 12•9 years ago
|
||
add this fuzzing test
Assignee | ||
Comment 13•9 years ago
|
||
Comment on attachment 8697085 [details] [diff] [review]
Part 3. Add crashtest
Add this fuzzing test
Attachment #8697085 -
Flags: review?(eitan)
Assignee | ||
Comment 14•9 years ago
|
||
Comment on attachment 8697083 [details] [diff] [review]
Part 2. Fix memory leak on speechd backend
I found another issue. Canceling. Sorry
Attachment #8697083 -
Flags: review?(eitan)
Assignee | ||
Comment 15•9 years ago
|
||
Comment on attachment 8697085 [details] [diff] [review]
Part 3. Add crashtest
Canceling too. Sorry for spam
Attachment #8697085 -
Flags: review?(eitan)
Assignee | ||
Updated•9 years ago
|
Attachment #8697083 -
Attachment is obsolete: true
Assignee | ||
Comment 16•9 years ago
|
||
Attachment #8697085 -
Attachment is obsolete: true
Assignee | ||
Comment 17•9 years ago
|
||
Comment on attachment 8697238 [details] [diff] [review]
Part 2. Add crashtest
This test doesn't work on Android, gtkWidget and B2G, so I add skip list. Android has no backend, and Linux and B2G doesn't have speech library on our test environment.
Attachment #8697238 -
Flags: review?(eitan)
Updated•9 years ago
|
Attachment #8697238 -
Flags: review?(eitan) → review+
Comment 18•9 years ago
|
||
Comment on attachment 8697063 [details] [diff] [review]
Part 1. Check mTask since end event is posted asynchronized
Review of attachment 8697063 [details] [diff] [review]:
-----------------------------------------------------------------
This looks good. Thank you!
Attachment #8697063 -
Flags: review?(eitan) → review+
Comment 19•9 years ago
|
||
Comment 20•9 years ago
|
||
Backed out just the crashtest in https://hg.mozilla.org/integration/mozilla-inbound/rev/a5fa1e187b98
Apparently has a race that you lose when the test machine is too fast: only on Windows 7 (among the runs that happened while it was in the tree, anyway), more commonly on opt and PGO than on debug, which is why I think you're losing when it's running quicker, as often as not you got https://treeherder.mozilla.org/logviewer.html#?job_id=18472557&repo=mozilla-inbound
Flags: in-testsuite?
Keywords: leave-open
Comment 21•9 years ago
|
||
bugherder |
Assignee | ||
Comment 22•9 years ago
|
||
Humm, it isn't opt issue, and it is VM issue. Cancel spends more time (1s?), but evne if opt build, test is successful. Maybe, failed VM doesn't have any voice of speech engine or configuration.
So I will think another hack to run this test.
Comment 23•9 years ago
|
||
https://crash-stats.mozilla.com/report/index/bab65bf6-277c-4a2d-a687-be2db2160128
Encountered this crash on Firefox 45 beta 1 on Mac OS X 10.9.5.
I set up media.webspeech.synth.enabled to true in order to test Text to Speech feature.
STR:
On http://mdn.github.io/web-speech-api/speak-easy-synthesis/ or http://eeejay.github.io/webspeechdemos/ test pages, after entering some text and selecting a voice, start the speech and then select another voice. Refresh the page several times if needed.
Assignee | ||
Comment 24•9 years ago
|
||
Assignee | ||
Comment 25•9 years ago
|
||
Comment on attachment 8714633 [details] [diff] [review]
crashtest v2
test only on OSX. Some Win7 VM is always failure due to unknown reason. (ex. t-w732-ix-036 is always failure, but t-w732-ix-036 is successful).
Also, this is passed by https://treeherder.mozilla.org/#/jobs?repo=try&revision=06749a4a2afb
Attachment #8714633 -
Flags: review?(eitan)
Assignee | ||
Comment 26•9 years ago
|
||
(In reply to Petruta Rasa [QA] [:petruta] from comment #23)
> https://crash-stats.mozilla.com/report/index/bab65bf6-277c-4a2d-a687-
> be2db2160128
>
> Encountered this crash on Firefox 45 beta 1 on Mac OS X 10.9.5.
> I set up media.webspeech.synth.enabled to true in order to test Text to
> Speech feature.
>
> STR:
> On http://mdn.github.io/web-speech-api/speak-easy-synthesis/ or
> http://eeejay.github.io/webspeechdemos/ test pages, after entering some text
> and selecting a voice, start the speech and then select another voice.
> Refresh the page several times if needed.
Humm, this is another crash. Could you file a new bug for Nightly?
Comment 27•9 years ago
|
||
(In reply to Makoto Kato [:m_kato] from comment #25)
> Comment on attachment 8714633 [details] [diff] [review]
> crashtest v2
>
> test only on OSX. Some Win7 VM is always failure due to unknown reason.
> (ex. t-w732-ix-036 is always failure, but t-w732-ix-036 is successful).
>
> Also, this is passed by
> https://treeherder.mozilla.org/#/jobs?repo=try&revision=06749a4a2afb
If it is a non intermittent failure, shouldn't it be possible to debug and figure out why it doesn't pass in windows?
Comment 28•9 years ago
|
||
(In reply to Makoto Kato [:m_kato] from comment #26)
> (In reply to Petruta Rasa [QA] [:petruta] from comment #23)
> > https://crash-stats.mozilla.com/report/index/bab65bf6-277c-4a2d-a687-
> > be2db2160128
> >
> > Encountered this crash on Firefox 45 beta 1 on Mac OS X 10.9.5.
> > I set up media.webspeech.synth.enabled to true in order to test Text to
> > Speech feature.
> >
> > STR:
> > On http://mdn.github.io/web-speech-api/speak-easy-synthesis/ or
> > http://eeejay.github.io/webspeechdemos/ test pages, after entering some text
> > and selecting a voice, start the speech and then select another voice.
> > Refresh the page several times if needed.
>
> Humm, this is another crash. Could you file a new bug for Nightly?
I couldn't reproduce it on latest Nightly 47.0a1 and latest Aurora 46.0a2 2016-02-02.
This only happens on Firefox 45 Beta 1 & 2 when enabling the webspeech feature.
Should I file it against Beta considering it won't be enabled by default in this version?
Assignee | ||
Comment 29•9 years ago
|
||
(In reply to Eitan Isaacson [:eeejay] from comment #27)
> (In reply to Makoto Kato [:m_kato] from comment #25)
> > Comment on attachment 8714633 [details] [diff] [review]
> > crashtest v2
> >
> > test only on OSX. Some Win7 VM is always failure due to unknown reason.
> > (ex. t-w732-ix-036 is always failure, but t-w732-ix-036 is successful).
> >
> > Also, this is passed by
> > https://treeherder.mozilla.org/#/jobs?repo=try&revision=06749a4a2afb
>
> If it is a non intermittent failure, shouldn't it be possible to debug and
> figure out why it doesn't pass in windows?
I cannot reproduce on my environment. But this occurs on our test infra for Win7 opt only. I think that SAPI's Speak method spends more times to start it, then this occur.
Assignee | ||
Comment 30•9 years ago
|
||
(In reply to Petruta Rasa [QA] [:petruta] from comment #28)
> (In reply to Makoto Kato [:m_kato] from comment #26)
> > (In reply to Petruta Rasa [QA] [:petruta] from comment #23)
> > > https://crash-stats.mozilla.com/report/index/bab65bf6-277c-4a2d-a687-
> > > be2db2160128
> > >
> > > Encountered this crash on Firefox 45 beta 1 on Mac OS X 10.9.5.
> > > I set up media.webspeech.synth.enabled to true in order to test Text to
> > > Speech feature.
> > >
> > > STR:
> > > On http://mdn.github.io/web-speech-api/speak-easy-synthesis/ or
> > > http://eeejay.github.io/webspeechdemos/ test pages, after entering some text
> > > and selecting a voice, start the speech and then select another voice.
> > > Refresh the page several times if needed.
> >
> > Humm, this is another crash. Could you file a new bug for Nightly?
>
> I couldn't reproduce it on latest Nightly 47.0a1 and latest Aurora 46.0a2
> 2016-02-02.
> This only happens on Firefox 45 Beta 1 & 2 when enabling the webspeech
> feature.
> Should I file it against Beta considering it won't be enabled by default in
> this version?
This feature won't turn on 45. So it is unnecessary.
Updated•9 years ago
|
Attachment #8714633 -
Flags: review?(eitan) → review+
Comment 31•9 years ago
|
||
Comment 32•9 years ago
|
||
bugherder |
Assignee | ||
Comment 33•9 years ago
|
||
No crash, so I close this. For OSX 10.6, we will continue by bug 1252673.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla47
Assignee | ||
Updated•9 years ago
|
Flags: in-testsuite? → in-testsuite+
Keywords: leave-open
You need to log in
before you can comment on or make changes to this bug.
Description
•