Closed
Bug 984058
Opened 12 years ago
Closed 12 years ago
Intermittent test_dataChannel_basicVideo.html | application crashed [@ mozilla::DataChannelConnection::~DataChannelConnection()]
Categories
(Core :: WebRTC, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 876167
People
(Reporter: philor, Unassigned)
Details
(Keywords: crash, intermittent-failure)
https://tbpl.mozilla.org/php/getParsedLog.php?id=36207908&tree=Mozilla-Central
Ubuntu VM 12.04 mozilla-central opt test mochitest-3 on 2014-03-15 13:32:13 PDT for push ba4c5a81d56a
slave: tst-linux32-spot-219
...
13:39:05 INFO - -1219746048[b721a240]: Destroying DataChannelConnection 9f478d00
13:39:05 INFO - -1219746048[b721a240]: Closing all channels (connection 9f478d00)
13:39:05 INFO - -1219746048[b721a240]: Deregistered 9f478d00 from the SCTP stack.
13:39:06 INFO - 587 INFO TEST-INFO | MEMORY STAT vsize after test: 718483456
13:39:06 INFO - 588 INFO TEST-INFO | MEMORY STAT residentFast after test: 184037376
13:39:06 INFO - 589 INFO TEST-INFO | MEMORY STAT heapAllocated after test: 114697380
13:39:06 INFO - -1219746048[b721a240]: [main|def] ccapi_call.c:57: SIPCC-SIP_CC_PROV: CCAPI_Call_releaseCallInfo: ref=0xa0068980: count=1
13:39:06 INFO - -1219746048[b721a240]: Closing all channels (connection 9f478d00)
13:39:06 INFO - -1219746048[b721a240]: Deleting DataChannelConnection 9f478d00
13:39:06 WARNING - TEST-UNEXPECTED-FAIL | /tests/dom/media/tests/mochitest/test_dataChannel_basicVideo.html | application terminated with exit code 11
13:39:06 INFO - INFO | runtests.py | Application ran for: 0:03:18.524704
13:39:06 INFO - INFO | zombiecheck | Reading PID log: /tmp/tmpZnL7Xkpidlog
13:39:06 INFO - ==> process 2492 launched child process 2542
13:39:06 INFO - ==> process 2492 launched child process 2566
13:39:06 INFO - ==> process 2492 launched child process 2620
13:39:06 INFO - ==> process 2492 launched child process 2636
13:39:06 INFO - ==> process 2492 launched child process 2696
13:39:06 INFO - INFO | zombiecheck | Checking for orphan process with PID: 2542
13:39:06 INFO - INFO | zombiecheck | Checking for orphan process with PID: 2566
13:39:06 INFO - INFO | zombiecheck | Checking for orphan process with PID: 2620
13:39:06 INFO - INFO | zombiecheck | Checking for orphan process with PID: 2636
13:39:06 INFO - INFO | zombiecheck | Checking for orphan process with PID: 2696
13:39:06 INFO - mozcrash INFO | Downloading symbols from: https://ftp-ssl.mozilla.org/pub/mozilla.org/firefox/tinderbox-builds/mozilla-central-linux/1394911480/firefox-30.0a1.en-US.linux-i686.crashreporter-symbols.zip
13:39:38 WARNING - PROCESS-CRASH | /tests/dom/media/tests/mochitest/test_dataChannel_basicVideo.html | application crashed [@ mozilla::DataChannelConnection::~DataChannelConnection()]
13:39:38 INFO - Crash dump filename: /tmp/tmpRNmMfm/minidumps/36c78eae-54fe-1b19-3aae4360-3075f9db.dmp
13:39:38 INFO - Operating system: Linux
13:39:38 INFO - 0.0.0 Linux 3.2.0-23-generic-pae #36-Ubuntu SMP Tue Apr 10 22:19:09 UTC 2012 i686
13:39:38 INFO - CPU: x86
13:39:38 INFO - GenuineIntel family 6 model 26 stepping 5
13:39:38 INFO - 1 CPU
13:39:38 INFO - Crash reason: SIGSEGV
13:39:38 INFO - Crash address: 0x0
13:39:38 INFO - Thread 59 (crashed)
13:39:38 INFO - 0 libxul.so!mozilla::DataChannelConnection::~DataChannelConnection() [DataChannel.cpp:ba4c5a81d56a : 222 + 0x0]
13:39:38 INFO - eip = 0xb3d68f36 esp = 0x8e082010 ebp = 0x8e082038 ebx = 0xb6ebd608
13:39:38 INFO - esi = 0x9e95de00 edi = 0x8e0820f8 eax = 0xa1338620 ecx = 0x00000000
13:39:38 INFO - edx = 0xa1338620 efl = 0x00010297
13:39:38 INFO - Found by: given as instruction pointer in context
13:39:38 INFO - 1 libxul.so!mozilla::DataChannelConnection::~DataChannelConnection() [DataChannel.cpp:ba4c5a81d56a : 240 + 0x8]
13:39:38 INFO - eip = 0xb3d690f4 esp = 0x8e082040 ebp = 0x8e082058 ebx = 0xb6ebd608
13:39:38 INFO - esi = 0x9e95de00 edi = 0x8e0820f8
13:39:38 INFO - Found by: call frame info
13:39:38 INFO - 2 libxul.so!mozilla::DataChannelConnection::Release() [DataChannel.cpp:ba4c5a81d56a : 286 + 0xb]
13:39:38 INFO - eip = 0xb3d6417c esp = 0x8e082060 ebp = 0x8e082088 ebx = 0xb6ebd608
13:39:38 INFO - esi = 0x9e95de00 edi = 0x8e0820f8
13:39:38 INFO - Found by: call frame info
13:39:38 INFO - 3 libxul.so!nsRefPtr<mozilla::DataChannelConnection>::~nsRefPtr() [nsAutoPtr.h:ba4c5a81d56a : 900 + 0x8]
13:39:38 INFO - eip = 0xb3d64612 esp = 0x8e082090 ebp = 0x8e0820a8 ebx = 0xb6ebd608
13:39:38 INFO - esi = 0x9f5937c0 edi = 0x8e0820f8
13:39:38 INFO - Found by: call frame info
13:39:38 INFO - 4 libxul.so!mozilla::DataChannelConnection::ReadBlob(already_AddRefed<mozilla::DataChannelConnection>, unsigned short, nsIInputStream*) [DataChannel.cpp:ba4c5a81d56a : 2346 + 0xa]
13:39:38 INFO - eip = 0xb3d64e09 esp = 0x8e0820b0 ebp = 0x8e082128 ebx = 0xb6ebd608
13:39:38 INFO - esi = 0x9f5937c0 edi = 0x8e0820f8
13:39:38 INFO - Found by: call frame info
13:39:38 INFO - 5 libxul.so!mozilla::ReadBlobRunnable::Run() [DataChannel.cpp:ba4c5a81d56a : 2280 + 0x8]
13:39:38 INFO - eip = 0xb3d64e52 esp = 0x8e082130 ebp = 0x8e082148 ebx = 0xb6ebd608
13:39:38 INFO - esi = 0xa0231c00 edi = 0x00000000
13:39:38 INFO - Found by: call frame info
13:39:38 INFO - 6 libxul.so!nsThread::ProcessNextEvent(bool, bool*) [nsThread.cpp:ba4c5a81d56a : 694 + 0x5]
13:39:38 INFO - eip = 0xb3bd2f18 esp = 0x8e082150 ebp = 0x8e0821b8 ebx = 0xb6ebd608
13:39:38 INFO - esi = 0xa0576d30 edi = 0x00000000
13:39:38 INFO - Found by: call frame info
Comment 1•12 years ago
|
||
cc khuey since this might also be related to already_AddRefed<> which just landed
Comment 2•12 years ago
|
||
void
DataChannelConnection::ReadBlob(already_AddRefed<DataChannelConnection> aThis,
uint16_t aStream, nsIInputStream* aBlob)
{
// NOTE: 'aThis' has been forgotten by the caller to avoid releasing
// it off mainthread; if PeerConnectionImpl has released then we want
// ~DataChannelConnection() to run on MainThread
There shouldn't be an Release() of DataChannelConnection in this function on this thread (or and AddRef() calls, since it should assign an already_AddRefed<> ptr to an nsRefPtr<> and then ship off the WrapRunnable to MainThread.
Would the already_AddRefed<> change this behavior?
Flags: needinfo?(khuey)
This log is from the push before my stuff.
Flags: needinfo?(khuey)
Comment 4•12 years ago
|
||
Sorry - misread hg log (saw 'parent' when I was looking for changeset).
Turns out this had neither your changes nor my changes (the backout of the backout, which affects where and how DataChannelConnections are released).
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → DUPLICATE
| Comment hidden (Legacy TBPL/Treeherder Robot) |
| Comment hidden (Legacy TBPL/Treeherder Robot) |
| Comment hidden (Legacy TBPL/Treeherder Robot) |
| Comment hidden (Legacy TBPL/Treeherder Robot) |
| Comment hidden (Legacy TBPL/Treeherder Robot) |
| Comment hidden (Legacy TBPL/Treeherder Robot) |
| Comment hidden (Legacy TBPL/Treeherder Robot) |
| Comment hidden (Legacy TBPL/Treeherder Robot) |
| Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment 14•11 years ago
|
||
Comment 15•11 years ago
|
||
| Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment 17•11 years ago
|
||
| Comment hidden (Legacy TBPL/Treeherder Robot) |
| Comment hidden (Legacy TBPL/Treeherder Robot) |
| Comment hidden (Legacy TBPL/Treeherder Robot) |
| Comment hidden (Legacy TBPL/Treeherder Robot) |
You need to log in
before you can comment on or make changes to this bug.
Description
•