Closed Bug 952052 Opened 11 years ago Closed 10 years ago

Intermittent TEST-UNEXPECTED-FAIL | /tests/content/media/test/test_mediarecorder_record_session.html | application terminated with exit code 11 | application crashed [@ nsDOMEventTargetHelper::Release()]

Categories

(Core :: Audio/Video: Recording, defect)

x86
Linux
defect
Not set
normal

Tracking

()

VERIFIED FIXED
mozilla29
blocking-b2g 1.4+
Tracking Status
firefox27 --- unaffected
firefox28 --- unaffected
firefox29 --- fixed
firefox-esr24 --- unaffected
b2g18 --- unaffected
b2g-v1.2 --- unaffected
b2g-v1.3 --- unaffected
b2g-v1.3T --- unaffected
b2g-v1.4 --- fixed

People

(Reporter: cbook, Assigned: rlin)

References

()

Details

(Keywords: crash, intermittent-failure, regression)

Crash Data

Attachments

(1 file, 1 obsolete file)

Ubuntu VM 12.04 x64 mozilla-inbound debug test mochitest-1 on 2013-12-18 21:29:18 PST for push 85830cef2651

slave: tst-linux64-spot-344

https://tbpl.mozilla.org/php/getParsedLog.php?id=32200833&tree=Mozilla-Inbound

TEST-UNEXPECTED-FAIL | /tests/content/media/test/test_mediarecorder_record_session.html | application terminated with exit code 11
PROCESS-CRASH | /tests/content/media/test/test_mediarecorder_record_session.html | application crashed [@ nsDOMEventTargetHelper::Release()]

22:06:43     INFO -  Crash reason:  SIGSEGV
22:06:43     INFO -  Crash address: 0x0
22:06:43     INFO -  Thread 50 (crashed)
22:06:43     INFO -   0  libxul.so!nsDOMEventTargetHelper::Release() [nsDOMEventTargetHelper.cpp:85830cef2651 : 73 + 0x18]
22:06:43     INFO -      rbx = 0x0000000005c74090   r12 = 0x0000000001580410
22:06:43     INFO -      r13 = 0x0000000000000000   r14 = 0x00007f4d293f9ca8
22:06:43     INFO -      r15 = 0x0000000000000000   rip = 0x00007f4d8eee77d8
22:06:43     INFO -      rsp = 0x00007f4d293f9b80   rbp = 0x00007f4d293f9bb0
22:06:43     INFO -      Found by: given as instruction pointer in context
22:06:43     INFO -   1  libxul.so!mozilla::dom::MediaRecorder::Release() [MediaRecorder.cpp:85830cef2651 : 35 + 0x4]
22:06:43     INFO -      rbx = 0x0000000005c74090   r12 = 0x0000000000000000
22:06:43     INFO -      r13 = 0x0000000000000000   r14 = 0x00007f4d293f9ca8
22:06:43     INFO -      r15 = 0x0000000000000000   rip = 0x00007f4d8efb6a0f
22:06:43     INFO -      rsp = 0x00007f4d293f9bc0   rbp = 0x00007f4d293f9be0
22:06:43     INFO -      Found by: call frame info
22:06:43     INFO -   2  libxul.so!mozilla::dom::MediaRecorder::Session::~Session() [MediaRecorder.cpp:85830cef2651 : 207 + 0x4]
22:06:43     INFO -      rbx = 0x00000000040405b0   r12 = 0x0000000000000000
22:06:43     INFO -      r13 = 0x0000000000000000   r14 = 0x00007f4d293f9ca8
22:06:43     INFO -      r15 = 0x0000000000000000   rip = 0x00007f4d8efb694b
22:06:43     INFO -      rsp = 0x00007f4d293f9bf0   rbp = 0x00007f4d293f9c00
22:06:43     INFO -      Found by: call frame info
22:06:43     INFO -   3  libxul.so!mozilla::dom::MediaRecorder::Session::Release() [MediaRecorder.cpp:85830cef2651 : 408 + 0x8]
22:06:43     INFO -      rbx = 0x00000000040405b0   r12 = 0x0000000000000000
22:06:43     INFO -      r13 = 0x0000000000000000   r14 = 0x00007f4d293f9ca8
22:06:43     INFO -      r15 = 0x0000000000000000   rip = 0x00007f4d8efb4b57
22:06:43     INFO -      rsp = 0x00007f4d293f9c10   rbp = 0x00007f4d293f9c20
22:06:43     INFO -      Found by: call frame info
22:06:43     INFO -   4  libxul.so!mozilla::dom::MediaRecorder::Session::ExtractRunnable::~ExtractRunnable() [MediaRecorder.cpp:85830cef2651 : 102 + 0x12]
22:06:43     INFO -      rbx = 0x0000000001d22e40   r12 = 0x0000000001d22e48
22:06:43     INFO -      r13 = 0x0000000000000000   r14 = 0x00007f4d293f9ca8
22:06:43     INFO -      r15 = 0x0000000000000000   rip = 0x00007f4d8efb4ccc
22:06:43     INFO -      rsp = 0x00007f4d293f9c30   rbp = 0x00007f4d293f9c40
22:06:43     INFO -      Found by: call frame info
Component: DOM → DOM: Events
Summary: Intermittent TEST-UNEXPECTED-FAIL | /tests/content/media/test/test_mediarecorder_record_session.html | application terminated with exit code 11 → Intermittent TEST-UNEXPECTED-FAIL | /tests/content/media/test/test_mediarecorder_record_session.html | application terminated with exit code 11 | application crashed [@ nsDOMEventTargetHelper::Release()]
Change to correct component.
Component: DOM: Events → Video/Audio
Assignee: nobody → rlin
Looks like a realistic crash. Probably need to block on it.
blocking-b2g: --- → 1.4?
Keywords: regression
I'm pretty sure this is a regression from video encoder landing.
Blocks: 879669
I will fix this issue asap...
Depends on: 950429
Does crash in test_metadata.html also belong here?
15654 ERROR TEST-UNEXPECTED-FAIL | /tests/content/media/test/test_mediarecorder_record_session.html | This test left crash dumps behind, but we weren't expecting it to!
 PROCESS-CRASH | /tests/content/media/test/test_metadata.html | application crashed [@ nsDOMEventTargetHelper::Release()]
 12-24 16:02:04.740 I/GeckoDump( 2054): 15654 ERROR TEST-UNEXPECTED-FAIL | /tests/content/media/test/test_mediarecorder_record_session.html | This test left crash dumps behind, but we weren't expecting it to!

(from https://tbpl.mozilla.org/php/getParsedLog.php?id=32376091&tree=Mozilla-Central&full=1)
This bug would have fix on Bug 950429.
Attached patch patch v1 (obsolete) — Splinter Review
The ExtractRunnable is running in Media Encoder thread and it would case threading issue if use nsRefPtr to hold the session object.
Attachment #8355443 - Flags: review?(roc)
Attached patch check-in patchSplinter Review
try result https://tbpl.mozilla.org/?tree=Try&rev=3950c76a67b2
carry reviewer, check-in needed.
Attachment #8355443 - Attachment is obsolete: true
https://hg.mozilla.org/mozilla-central/rev/f40cefa5a7b1
Status: NEW → RESOLVED
Closed: 10 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
Target Milestone: --- → mozilla29
blocking-b2g: 1.4? → 1.4+
Marking verified as we're no longer seeing the intermittent failure for a few days.
Status: RESOLVED → VERIFIED
Component: Video/Audio → Video/Audio: Recording
No longer blocks: MediaRecording
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: