Closed Bug 1341374 Opened 3 years ago Closed 3 years ago

Intermittent TEST-UNEXPECTED-TIMEOUT | dom/media/tests/mochitest/test_peerConnection_basicAudioNATSrflx.html | application timed out after 330 seconds with no output

Categories

(Core :: WebRTC: Networking, defect, P2)

defect

Tracking

()

RESOLVED FIXED
mozilla54
Tracking Status
firefox52 --- unaffected
firefox-esr52 --- unaffected
firefox53 --- unaffected
firefox54 --- fixed
Blocking Flags:

People

(Reporter: aryx, Assigned: drno)

References

Details

(Keywords: intermittent-failure)

Attachments

(1 file)

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

[task 2017-02-21T15:11:10.634895Z] 15:11:10     INFO - Waiting for track {b3f13111-b242-4e95-a0af-1a9ef743c925} (audio) to end.
[task 2017-02-21T15:11:10.635449Z] 15:11:10     INFO - TEST-FAIL | dom/media/tests/mochitest/test_peerConnection_basicAudioNATSrflx.html | The author of the test has indicated that flaky timeouts are expected.  Reason: WebRTC inherently depends on timeouts 
[task 2017-02-21T15:11:10.636070Z] 15:11:10     INFO - TEST-PASS | dom/media/tests/mochitest/test_peerConnection_basicAudioNATSrflx.html | iceConnectionState should not be undefined 
[task 2017-02-21T15:11:10.636664Z] 15:11:10     INFO - PeerConnectionWrapper (pcRemote): oniceconnectionstatechange fired, new state is: closed
[task 2017-02-21T15:11:10.637201Z] 15:11:10     INFO - TEST-PASS | dom/media/tests/mochitest/test_peerConnection_basicAudioNATSrflx.html | PeerConnectionWrapper (pcRemote): legal ICE state transition from connected to closed 
[task 2017-02-21T15:11:10.637689Z] 15:11:10     INFO - PeerConnectionWrapper (pcRemote): "onsignalingstatechange" event fired
[task 2017-02-21T15:11:10.638166Z] 15:11:10     INFO - TEST-PASS | dom/media/tests/mochitest/test_peerConnection_basicAudioNATSrflx.html | signalingState is closed 
[task 2017-02-21T15:11:10.638697Z] 15:11:10     INFO - TEST-PASS | dom/media/tests/mochitest/test_peerConnection_basicAudioNATSrflx.html | PeerConnectionWrapper (pcRemote): legal signaling state transition from stable to closed 
[task 2017-02-21T15:11:10.639250Z] 15:11:10     INFO - PeerConnectionWrapper (pcRemote): Closed connection.
[task 2017-02-21T15:11:10.639805Z] 15:11:10     INFO - TEST-FAIL | dom/media/tests/mochitest/test_peerConnection_basicAudioNATSrflx.html | The author of the test has indicated that flaky timeouts are expected.  Reason: WebRTC inherently depends on timeouts 
[task 2017-02-21T15:11:10.640266Z] 15:11:10     INFO - Buffered messages finished
[task 2017-02-21T15:11:10.640837Z] 15:11:10     INFO - TEST-UNEXPECTED-TIMEOUT | dom/media/tests/mochitest/test_peerConnection_basicAudioNATSrflx.html | application timed out after 330 seconds with no output
[task 2017-02-21T15:11:10.641469Z] 15:11:10    ERROR - Force-terminating active process(es).
[task 2017-02-21T15:11:10.642256Z] 15:11:10     INFO - Determining child pids from psutil
[task 2017-02-21T15:11:10.642702Z] 15:11:10     INFO - Found child pids: []
[task 2017-02-21T15:11:10.643165Z] 15:11:10     INFO - Killing process: 2958
[task 2017-02-21T15:11:10.643604Z] 15:11:10     INFO - TEST-INFO | started process screentopng
[task 2017-02-21T15:11:10.881044Z] 15:11:10     INFO - TEST-INFO | screentopng: exit 0
[task 2017-02-21T15:11:11.014930Z] 15:11:11     INFO - TEST-INFO | Main app process: exit 6
[task 2017-02-21T15:11:11.014999Z] 15:11:11     INFO - Buffered messages finished
[task 2017-02-21T15:11:11.015077Z] 15:11:11    ERROR - TEST-UNEXPECTED-FAIL | dom/media/tests/mochitest/test_peerConnection_basicAudioNATSrflx.html | application terminated with exit code 6
[task 2017-02-21T15:11:11.015134Z] 15:11:11     INFO - runtests.py | Application ran for: 0:14:23.794650
[task 2017-02-21T15:11:11.015186Z] 15:11:11     INFO - zombiecheck | Reading PID log: /tmp/tmpIA_Xk9pidlog
[task 2017-02-21T15:11:11.015236Z] 15:11:11     INFO - ==> process 2958 launched child process 2979
[task 2017-02-21T15:11:11.015283Z] 15:11:11     INFO - ==> process 2958 launched child process 3023
[task 2017-02-21T15:11:11.015333Z] 15:11:11     INFO - zombiecheck | Checking for orphan process with PID: 2979
[task 2017-02-21T15:11:11.015835Z] 15:11:11     INFO - zombiecheck | Checking for orphan process with PID: 3023
[task 2017-02-21T15:11:11.016815Z] 15:11:11     INFO - mozcrash Copy/paste: /usr/local/bin/linux64-minidump_stackwalk /tmp/tmp_6cbEv.mozrunner/minidumps/6f450f2b-ce38-9de5-16754140-0857f641.dmp /home/worker/workspace/build/symbols
[task 2017-02-21T15:11:18.035701Z] 15:11:18     INFO - mozcrash Saved minidump as /home/worker/workspace/build/blobber_upload_dir/6f450f2b-ce38-9de5-16754140-0857f641.dmp
[task 2017-02-21T15:11:18.036611Z] 15:11:18     INFO - mozcrash Saved app info as /home/worker/workspace/build/blobber_upload_dir/6f450f2b-ce38-9de5-16754140-0857f641.extra
[task 2017-02-21T15:11:18.443349Z] 15:11:18     INFO - PROCESS-CRASH | dom/media/tests/mochitest/test_peerConnection_basicAudioNATSrflx.html | application crashed [@ libc-2.23.so + 0xfab5d]
[task 2017-02-21T15:11:18.444001Z] 15:11:18     INFO - Crash dump filename: /tmp/tmp_6cbEv.mozrunner/minidumps/6f450f2b-ce38-9de5-16754140-0857f641.dmp
[task 2017-02-21T15:11:18.444543Z] 15:11:18     INFO - Operating system: Linux
[task 2017-02-21T15:11:18.445085Z] 15:11:18     INFO -                   0.0.0 Linux 3.13.0-107-generic #154-Ubuntu SMP Tue Dec 20 09:57:27 UTC 2016 x86_64
[task 2017-02-21T15:11:18.445602Z] 15:11:18     INFO - CPU: amd64
[task 2017-02-21T15:11:18.446100Z] 15:11:18     INFO -      family 6 model 62 stepping 4
[task 2017-02-21T15:11:18.446616Z] 15:11:18     INFO -      2 CPUs
[task 2017-02-21T15:11:18.447115Z] 15:11:18     INFO - 
[task 2017-02-21T15:11:18.447635Z] 15:11:18     INFO - GPU: UNKNOWN
[task 2017-02-21T15:11:18.448177Z] 15:11:18     INFO - 
[task 2017-02-21T15:11:18.448785Z] 15:11:18     INFO - Crash reason:  SIGABRT
[task 2017-02-21T15:11:18.449347Z] 15:11:18     INFO - Crash address: 0x3e800000410
[task 2017-02-21T15:11:18.450092Z] 15:11:18     INFO - Process uptime: not available
[task 2017-02-21T15:11:18.450728Z] 15:11:18     INFO - 
[task 2017-02-21T15:11:18.451376Z] 15:11:18     INFO - Thread 0 (crashed)
[task 2017-02-21T15:11:18.451931Z] 15:11:18     INFO -  0  libc-2.23.so + 0xfab5d
[task 2017-02-21T15:11:18.452414Z] 15:11:18     INFO -     rax = 0xfffffffffffffffc   rdx = 0x00000000ffffffff
[task 2017-02-21T15:11:18.452877Z] 15:11:18     INFO -     rcx = 0xffffffffffffffff   rbx = 0x00007f418e2d1ab0
[task 2017-02-21T15:11:18.453317Z] 15:11:18     INFO -     rsi = 0x0000000000000005   rdi = 0x00007f4164caa1c0
[task 2017-02-21T15:11:18.453894Z] 15:11:18     INFO -     rbp = 0x00007ffe5733d150   rsp = 0x00007ffe5733d130
[task 2017-02-21T15:11:18.454327Z] 15:11:18     INFO -      r8 = 0x0000000000000005    r9 = 0x0000000000000001
[task 2017-02-21T15:11:18.454756Z] 15:11:18     INFO -     r10 = 0x00007f4173d085e0   r11 = 0x0000000000000293
[task 2017-02-21T15:11:18.455370Z] 15:11:18     INFO -     r12 = 0x00007f4164caa1c0   r13 = 0x00000000ffffffff
[task 2017-02-21T15:11:18.455889Z] 15:11:18     INFO -     r14 = 0x00007f4180707d9f   r15 = 0x0000000000000005
[task 2017-02-21T15:11:18.456360Z] 15:11:18     INFO -     rip = 0x00007f418e50bb5d
[task 2017-02-21T15:11:18.456906Z] 15:11:18     INFO -     Found by: given as instruction pointer in context
[task 2017-02-21T15:11:18.457442Z] 15:11:18     INFO -  1  libxul.so!PollWrapper [nsAppShell.cpp:c32c74847eb6 : 42 + 0x10]
[task 2017-02-21T15:11:18.458029Z] 15:11:18     INFO -     rbp = 0x00007ffe5733d150   rsp = 0x00007ffe5733d140
[task 2017-02-21T15:11:18.458590Z] 15:11:18     INFO -     rip = 0x00007f4180707dcb
[task 2017-02-21T15:11:18.459078Z] 15:11:18     INFO -     Found by: stack scanning
[task 2017-02-21T15:11:18.459665Z] 15:11:18     INFO -  2  libglib-2.0.so.0.4800.1 + 0x4a39c
[task 2017-02-21T15:11:18.460107Z] 15:11:18     INFO -     rbp = 0x0000000000000005   rsp = 0x00007ffe5733d160
[task 2017-02-21T15:11:18.460533Z] 15:11:18     INFO -     rip = 0x00007f41893bc39c
[task 2017-02-21T15:11:18.461110Z] 15:11:18     INFO -     Found by: call frame info
[task 2017-02-21T15:11:18.461762Z] 15:11:18     INFO -  3  libglib-2.0.so.0.4800.1 + 0x4a4ac
[task 2017-02-21T15:11:18.462459Z] 15:11:18     INFO -     rsp = 0x00007ffe5733d1c0   rip = 0x00007f41893bc4ac
[task 2017-02-21T15:11:18.463039Z] 15:11:18     INFO -     Found by: stack scanning
[task 2017-02-21T15:11:18.463736Z] 15:11:18     INFO -  4  libxul.so!nsAppShell::ProcessNextNativeEvent [nsAppShell.cpp:c32c74847eb6 : 270 + 0x5]
[task 2017-02-21T15:11:18.464357Z] 15:11:18     INFO -     rsp = 0x00007ffe5733d1e0   rip = 0x00007f4180707e11
[task 2017-02-21T15:11:18.464940Z] 15:11:18     INFO -     Found by: stack scanning
[task 2017-02-21T15:11:18.465580Z] 15:11:18     INFO -  5  libxul.so!nsBaseAppShell::DoProcessNextNativeEvent [nsBaseAppShell.cpp:c32c74847eb6 : 138 + 0x10]
[task 2017-02-21T15:11:18.466219Z] 15:11:18     INFO -     rsp = 0x00007ffe5733d1f0   rip = 0x00007f41806e9707
[task 2017-02-21T15:11:18.466809Z] 15:11:18     INFO -     Found by: stack scanning
[task 2017-02-21T15:11:18.467418Z] 15:11:18     INFO -  6  libxul.so!nsBaseAppShell::OnProcessNextEvent [nsBaseAppShell.cpp:c32c74847eb6 : 289 + 0x8]
[task 2017-02-21T15:11:18.468015Z] 15:11:18     INFO -     rsp = 0x00007ffe5733d230   rip = 0x00007f41806ed036
[task 2017-02-21T15:11:18.468589Z] 15:11:18     INFO -     Found by: stack scanning
[task 2017-02-21T15:11:18.469145Z] 15:11:18     INFO -  7  libxul.so!nsThread::ProcessNextEvent [nsThread.cpp:c32c74847eb6 : 1220 + 0xf]
[task 2017-02-21T15:11:18.469786Z] 15:11:18     INFO -     rsp = 0x00007ffe5733d280   rip = 0x00007f417ed555b8
[task 2017-02-21T15:11:18.470666Z] 15:11:18     INFO -     Found by: stack scanning
[task 2017-02-21T15:11:18.471330Z] 15:11:18     INFO -  8  libxul.so!mozilla::BlockingResourceBase::Release [BlockingResourceBase.cpp:c32c74847eb6 : 367 + 0x4]
[task 2017-02-21T15:11:18.471974Z] 15:11:18     INFO -     rsp = 0x00007ffe5733d2e0   rip = 0x00007f417ed42a01
[task 2017-02-21T15:11:18.472511Z] 15:11:18     INFO -     Found by: stack scanning
[task 2017-02-21T15:11:18.473126Z] 15:11:18     INFO -  9  libxul.so!_fini + 0x2be92
[task 2017-02-21T15:11:18.473773Z] 15:11:18     INFO -     rsp = 0x00007ffe5733d310   rip = 0x00007f4182022d6a
[task 2017-02-21T15:11:18.474315Z] 15:11:18     INFO -     Found by: stack scanning
[task 2017-02-21T15:11:18.474866Z] 15:11:18     INFO - 10  libxul.so!nsTimerImpl::Cancel [nsTimerImpl.cpp:c32c74847eb6 : 315 + 0x2]
[task 2017-02-21T15:11:18.475378Z] 15:11:18     INFO -     rsp = 0x00007ffe5733d320   rip = 0x00007f417ed56201
[task 2017-02-21T15:11:18.475858Z] 15:11:18     INFO -     Found by: stack scanning
[task 2017-02-21T15:11:18.476402Z] 15:11:18     INFO - 11  libxul.so!NS_ProcessNextEvent [nsThreadUtils.cpp:c32c74847eb6 : 389 + 0x11]
[task 2017-02-21T15:11:18.476917Z] 15:11:18     INFO -     rsp = 0x00007ffe5733d360   rip = 0x00007f417ed579e2
[task 2017-02-21T15:11:18.477493Z] 15:11:18     INFO -     Found by: stack scanning
[task 2017-02-21T15:11:18.478042Z] 15:11:18     INFO - 12  libxul.so!MessageLoop::DoIdleWork [message_loop.cc:c32c74847eb6 : 472 + 0x5]
[task 2017-02-21T15:11:18.478532Z] 15:11:18     INFO -     rsp = 0x00007ffe5733d370   rip = 0x00007f417f0c5883
[task 2017-02-21T15:11:18.478997Z] 15:11:18     INFO -     Found by: stack scanning
[task 2017-02-21T15:11:18.479598Z] 15:11:18     INFO - 13  libxul.so!mozilla::ipc::MessagePump::Run [MessagePump.cpp:c32c74847eb6 : 124 + 0xd]
[task 2017-02-21T15:11:18.480142Z] 15:11:18     INFO -     rsp = 0x00007ffe5733d390   rip = 0x00007f417f0e432e
[task 2017-02-21T15:11:18.480665Z] 15:11:18     INFO -     Found by: stack scanning
[task 2017-02-21T15:11:18.481243Z] 15:11:18     INFO - 14  libxul.so!_fini + 0x1736918
[task 2017-02-21T15:11:18.481868Z] 15:11:18     INFO -     rsp = 0x00007ffe5733d3b0   rip = 0x00007f418372d7f0
[task 2017-02-21T15:11:18.482434Z] 15:11:18     INFO -     Found by: stack scanning
[task 2017-02-21T15:11:18.482955Z] 15:11:18     INFO - 15  libxul.so!_fini + 0x180528
[task 2017-02-21T15:11:18.483571Z] 15:11:18     INFO -     rsp = 0x00007ffe5733d3b8   rip = 0x00007f4182177400
[task 2017-02-21T15:11:18.484056Z] 15:11:18     INFO -     Found by: stack scanning
[task 2017-02-21T15:11:18.484677Z] 15:11:18     INFO - 16  libxul.so!MessageLoop::RunInternal [message_loop.cc:c32c74847eb6 : 238 + 0x17]
[task 2017-02-21T15:11:18.485246Z] 15:11:18     INFO -     rsp = 0x00007ffe5733d400   rip = 0x00007f417f0c345d
[task 2017-02-21T15:11:18.485766Z] 15:11:18     INFO -     Found by: stack scanning
[task 2017-02-21T15:11:18.486298Z] 15:11:18     INFO - 17  libnspr4.so!PR_GetThreadPrivate [prtpd.c:c32c74847eb6 : 204 + 0x5]
[task 2017-02-21T15:11:18.486806Z] 15:11:18     INFO -     rsp = 0x00007ffe5733d420   rip = 0x00007f418ddd6d26
[task 2017-02-21T15:11:18.487318Z] 15:11:18     INFO -     Found by: stack scanning
[task 2017-02-21T15:11:18.487805Z] 15:11:18     INFO - 18  libxul.so!MessageLoop::Run [message_loop.cc:c32c74847eb6 : 231 + 0x8]
[task 2017-02-21T15:11:18.488284Z] 15:11:18     INFO -     rsp = 0x00007ffe5733d440   rip = 0x00007f417f0c3484
[task 2017-02-21T15:11:18.488773Z] 15:11:18     INFO -     Found by: stack scanning
[task 2017-02-21T15:11:18.489248Z] 15:11:18     INFO - 19  libxul.so!nsBaseAppShell::Run [nsBaseAppShell.cpp:c32c74847eb6 : 156 + 0xd]
[task 2017-02-21T15:11:18.489818Z] 15:11:18     INFO -     rsp = 0x00007ffe5733d480   rip = 0x00007f41806e8167
[task 2017-02-21T15:11:18.490401Z] 15:11:18     INFO -     Found by: stack scanning
[task 2017-02-21T15:11:18.491163Z] 15:11:18     INFO - 20  libxul.so!nsAppStartup::Run [nsAppStartup.cpp:c32c74847eb6 : 283 + 0x6]
[task 2017-02-21T15:11:18.491819Z] 15:11:18     INFO -     rsp = 0x00007ffe5733d4a0   rip = 0x00007f4181427817
[task 2017-02-21T15:11:18.492372Z] 15:11:18     INFO -     Found by: stack scanning
[task 2017-02-21T15:11:18.492958Z] 15:11:18     INFO - 21  libxul.so!XREMain::XRE_mainRun [nsAppRunner.cpp:c32c74847eb6 : 4471 + 0x11]
[task 2017-02-21T15:11:18.493524Z] 15:11:18     INFO -     rsp = 0x00007ffe5733d4c0   rip = 0x00007f41814a0b25
[task 2017-02-21T15:11:18.494051Z] 15:11:18     INFO -     Found by: stack scanning
[task 2017-02-21T15:11:18.494506Z] 15:11:18     INFO - 22  libnspr4.so!PR_GetCurrentThread [ptthread.c:c32c74847eb6 : 655 + 0xb]
[task 2017-02-21T15:11:18.494990Z] 15:11:18     INFO -     rsp = 0x00007ffe5733d4f0   rip = 0x00007f418ddd515e
[task 2017-02-21T15:11:18.495437Z] 15:11:18     INFO -     Found by: stack scanning
[task 2017-02-21T15:11:18.495878Z] 15:11:18     INFO - 23  libxul.so!_fini + 0x404c4b
[task 2017-02-21T15:11:18.496349Z] 15:11:18     INFO -     rsp = 0x00007ffe5733d570   rip = 0x00007f41823fbb23
[task 2017-02-21T15:11:18.496810Z] 15:11:18     INFO -     Found by: stack scanning
[task 2017-02-21T15:11:18.497268Z] 15:11:18     INFO - 24  libxul.so!NS_LogRelease [nsTraceRefcnt.cpp:c32c74847eb6 : 1069 + 0x5]
[task 2017-02-21T15:11:18.497748Z] 15:11:18     INFO -     rsp = 0x00007ffe5733d580   rip = 0x00007f417ed00f98
[task 2017-02-21T15:11:18.498292Z] 15:11:18     INFO -     Found by: stack scanning
[task 2017-02-21T15:11:18.498747Z] 15:11:18     INFO - 25  libxul.so!_fini + 0x28728
[task 2017-02-21T15:11:18.499218Z] 15:11:18     INFO -     rsp = 0x00007ffe5733d598   rip = 0x00007f418201f600
[task 2017-02-21T15:11:18.499661Z] 15:11:18     INFO -     Found by: stack scanning
[task 2017-02-21T15:11:18.500146Z] 15:11:18     INFO - 26  libxul.so!nsComponentManagerImpl::Release [nsComponentManager.cpp:c32c74847eb6 : 883 + 0x8]
[task 2017-02-21T15:11:18.500617Z] 15:11:18     INFO -     rsp = 0x00007ffe5733d5e0   rip = 0x00007f417ed3e6d4
[task 2017-02-21T15:11:18.501080Z] 15:11:18     INFO -     Found by: stack scanning
[task 2017-02-21T15:11:18.501528Z] 15:11:18     INFO - 27  libxul.so!ScopedXPCOMStartup::Initialize [nsCOMPtr.h:c32c74847eb6 : 404 + 0x6]
[task 2017-02-21T15:11:18.502011Z] 15:11:18     INFO -     rsp = 0x00007ffe5733d600   rip = 0x00007f418149956f
[task 2017-02-21T15:11:18.502473Z] 15:11:18     INFO -     Found by: stack scanning
[task 2017-02-21T15:11:18.502957Z] 15:11:18     INFO - 28  libxul.so!XREMain::XRE_main [nsAppRunner.cpp:c32c74847eb6 : 4648 + 0x5]
[task 2017-02-21T15:11:18.503447Z] 15:11:18     INFO -     rsp = 0x00007ffe5733d640   rip = 0x00007f41814a1354
[task 2017-02-21T15:11:18.503879Z] 15:11:18     INFO -     Found by: stack scanning
[task 2017-02-21T15:11:18.504344Z] 15:11:18     INFO - 29  libpthread-2.23.so + 0x2182c0
[task 2017-02-21T15:11:18.504821Z] 15:11:18     INFO -     rsp = 0x00007ffe5733d648   rip = 0x00007f418f69f2c0
[task 2017-02-21T15:11:18.505249Z] 15:11:18     INFO -     Found by: stack scanning
[task 2017-02-21T15:11:18.505738Z] 15:11:18     INFO - 30  libxul.so!nsLocalFile::AppendRelativeNativePath [nsLocalFileUnix.cpp:c32c74847eb6 : 542 + 0xd]
[task 2017-02-21T15:11:18.506274Z] 15:11:18     INFO -     rsp = 0x00007ffe5733d660   rip = 0x00007f417ed1a76e
[task 2017-02-21T15:11:18.506736Z] 15:11:18     INFO -     Found by: stack scanning
[task 2017-02-21T15:11:18.507209Z] 15:11:18     INFO - 31  firefox!_fini + 0x188
[task 2017-02-21T15:11:18.507643Z] 15:11:18     INFO -     rsp = 0x00007ffe5733d6a8   rip = 0x000000000041f500
[task 2017-02-21T15:11:18.508123Z] 15:11:18     INFO -     Found by: stack scanning
[task 2017-02-21T15:11:18.508598Z] 15:11:18     INFO - 32  libxul.so!XRE_main [nsAppRunner.cpp:c32c74847eb6 : 4739 + 0x5]
[task 2017-02-21T15:11:18.509145Z] 15:11:18     INFO -     rsp = 0x00007ffe5733d6f0   rip = 0x00007f41814a15e0
[task 2017-02-21T15:11:18.509578Z] 15:11:18     INFO -     Found by: stack scanning
[task 2017-02-21T15:11:18.510059Z] 15:11:18     INFO - 33  libxul.so!_fini + 0x1a05438
[task 2017-02-21T15:11:18.510585Z] 15:11:18     INFO -     rsp = 0x00007ffe5733d788   rip = 0x00007f41839fc310
[task 2017-02-21T15:11:18.511236Z] 15:11:18     INFO -     Found by: stack scanning
[task 2017-02-21T15:11:18.511764Z] 15:11:18     INFO - 34  libxul.so!_fini + 0x1a05480
[task 2017-02-21T15:11:18.512337Z] 15:11:18     INFO -     rsp = 0x00007ffe5733d790   rip = 0x00007f41839fc358
[task 2017-02-21T15:11:18.512813Z] 15:11:18     INFO -     Found by: stack scanning
[task 2017-02-21T15:11:18.513303Z] 15:11:18     INFO - 35  libxul.so!_fini + 0x1c54e18
[task 2017-02-21T15:11:18.513793Z] 15:11:18     INFO -     rsp = 0x00007ffe5733d7d0   rip = 0x00007f4183c4bcf0
[task 2017-02-21T15:11:18.514334Z] 15:11:18     INFO -     Found by: stack scanning
[task 2017-02-21T15:11:18.514851Z] 15:11:18     INFO - 36  firefox!strndup [mozmemory_wrap.c:c32c74847eb6 : 77 + 0xe]
[task 2017-02-21T15:11:18.515351Z] 15:11:18     INFO -     rsp = 0x00007ffe5733d890   rip = 0x00000000004158b4
[task 2017-02-21T15:11:18.515860Z] 15:11:18     INFO -     Found by: stack scanning
[task 2017-02-21T15:11:18.516291Z] 15:11:18     INFO - 37  libc-2.23.so + 0x39786
[task 2017-02-21T15:11:18.516800Z] 15:11:18     INFO -     rsp = 0x00007ffe5733d8a0   rip = 0x00007f418e44a786
[task 2017-02-21T15:11:18.517264Z] 15:11:18     INFO -     Found by: stack scanning
[task 2017-02-21T15:11:18.517773Z] 15:11:18     INFO - 38  firefox!do_main [nsBrowserApp.cpp:c32c74847eb6 : 234 + 0x22]
[task 2017-02-21T15:11:18.518328Z] 15:11:18     INFO -     rsp = 0x00007ffe5733d8e0   rip = 0x0000000000406216
[task 2017-02-21T15:11:18.518775Z] 15:11:18     INFO -     Found by: stack scanning
[task 2017-02-21T15:11:18.519232Z] 15:11:18     INFO - 39  firefox!_fini + 0x1bf
[task 2017-02-21T15:11:18.519739Z] 15:11:18     INFO -     rsp = 0x00007ffe5733d8f0   rip = 0x000000000041f537
[task 2017-02-21T15:11:18.520334Z] 15:11:18     INFO -     Found by: stack scanning
Looks like we are having some threading issue here:

Assertion failure: mParentThread == NS_GetCurrentThread(), at /home/worker/workspace/build/src/media/mtransport/nr_socket_prsock.cpp:229
backlog: --- → webrtc/webaudio+
Rank: 25
Priority: -- → P2
Duplicate of this bug: 1340779
I'm guessing this is an issue of NrUdpSocketIpc and NrTcpSocketIpc using different threads to do their network operations, but sharing the same SingletonThreadHolder instance via their shared parent class NrSocketIpc.
So depending on who instantiated the SingletonThreadHolder and which Nr*SocketIpc instance gets destructed last the destruction on the STH might happen on another thread then where it got instantiated.

Assuming it makes sense for both Nr*SocketIpc classes to share the same "mtransport" thread created by the SingletonThreadHolder I guess the most viable solution is to have the STH dispatch its calls to the right thread if needed. Randel what do you think?
Flags: needinfo?(rjesup)
Sounds reasonable
Flags: needinfo?(rjesup)
See Also: → 1318119
Attachment #8841838 - Flags: review?(rjesup)
Comment on attachment 8841838 [details]
Bug 1341374: ensure mtransport refcounting is happening on the same thread

https://reviewboard.mozilla.org/r/115920/#review118494
Attachment #8841838 - Flags: review?(rjesup) → review+
Pushed by drno@ohlmeier.org:
https://hg.mozilla.org/integration/autoland/rev/8fafe2442a77
ensure mtransport refcounting is happening on the same thread r=jesup
https://hg.mozilla.org/mozilla-central/rev/8fafe2442a77
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla54
You need to log in before you can comment on or make changes to this bug.