Closed Bug 718145 Opened 13 years ago Closed 10 years ago

Intermittent test_websocket.html | Exited with code -1073741819 from a crash [@ nsQueryInterface::operator()]

Categories

(Core :: Networking: WebSockets, defect)

defect
Not set
critical

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: philor, Unassigned)

References

Details

(Keywords: crash, intermittent-failure)

Crash Data

https://tbpl.mozilla.org/php/getParsedLog.php?id=8540400&tree=Mozilla-Inbound
Rev3 WINNT 5.1 mozilla-inbound debug test mochitests-1/5 on 2012-01-13 18:44:31 PST for push 7ea17887bc78

39237 INFO TEST-PASS | /tests/content/base/test/test_websocket.html | Created websocket for test 24

39238 INFO TEST-PASS | /tests/content/base/test/test_websocket.html | the ws connection in test 10 should be closed cleanly
nsStringStats
 => mAllocCount:         667643
 => mReallocCount:        65859
 => mFreeCount:          609092  --  LEAKED 58551 !!!
 => mShareCount:        1030648
 => mAdoptCount:          73824
 => mAdoptFreeCount:      73820  --  LEAKED 4 !!!
WARNING: shutting down early because of crash!: file e:/builds/moz2_slave/m-in-w32-dbg/build/dom/plugins/ipc/PluginModuleChild.cpp, line 743
WARNING: plugin process _exit()ing: file e:/builds/moz2_slave/m-in-w32-dbg/build/dom/plugins/ipc/PluginModuleChild.cpp, line 708
NPP_Destroy
NPP_Destroy
nsStringStats
 => mAllocCount:             79
 => mReallocCount:            1
 => mFreeCount:              15  --  LEAKED 64 !!!
 => mShareCount:            125
 => mAdoptCount:              0
 => mAdoptFreeCount:          0
TEST-UNEXPECTED-FAIL | /tests/content/base/test/test_websocket.html | Exited with code -1073741819 during test run
INFO | automation.py | Application ran for: 0:04:25.031000
INFO | automation.py | Reading PID log: c:\docume~1\cltbld\locals~1\temp\tmp6hoev4pidlog
==> process 3116 launched child process 3692
INFO | automation.py | Checking for orphan process with PID: 3692
PROCESS-CRASH | /tests/content/base/test/test_websocket.html | application crashed (minidump found)
Crash dump filename: c:\docume~1\cltbld\locals~1\temp\tmpbnyk9t\minidumps\b2cb9b87-8b7d-43a9-8695-86518b179349.dmp
Operating system: Windows NT
                  5.1.2600 Service Pack 2
CPU: x86
     GenuineIntel family 6 model 23 stepping 10
     2 CPUs

Crash reason:  EXCEPTION_ACCESS_VIOLATION_READ
Crash address: 0xffffffffdddddddd

Thread 0 (crashed)
 0  xul.dll!nsQueryInterface::operator()(nsID const &,void * *) [nsCOMPtr.cpp:7ea17887bc78 : 47 + 0x7]
    eip = 0x01ed6680   esp = 0x0012d85c   ebp = 0x0012d868   ebx = 0x00000000
    esi = 0x0012d89c   edi = 0x00000000   eax = 0x0a99d958   ecx = 0xdddddddd
    edx = 0x020ffa88   efl = 0x00210202
    Found by: given as instruction pointer in context
 1  xul.dll!nsCOMPtr<nsIRunnable>::assign_from_qi(nsQueryInterface,nsID const &) [nsCOMPtr.h:7ea17887bc78 : 1172 + 0x11]
    eip = 0x012f06de   esp = 0x0012d870   ebp = 0x0012d878
    Found by: call frame info
 2  xul.dll!nsCOMPtr<nsIRunnable>::nsCOMPtr<nsIRunnable>(nsQueryInterface) [nsCOMPtr.h:7ea17887bc78 : 583 + 0x11]
    eip = 0x012f0bc2   esp = 0x0012d880   ebp = 0x0012d88c
    Found by: call frame info
 3  xul.dll!nsCOMPtr<nsIRunnable>::Assert_NoQueryNeeded() [nsCOMPtr.h:7ea17887bc78 : 531 + 0x8]
    eip = 0x012f0c0e   esp = 0x0012d894   ebp = 0x0012d8a0
    Found by: call frame info
 4  xul.dll!nsThread::ProcessNextEvent(bool,bool *) [nsThread.cpp:7ea17887bc78 : 641 + 0x3b]
    eip = 0x01f15f9f   esp = 0x0012d8a8   ebp = 0x0012d8d0
    Found by: call frame info
 5  xul.dll!NS_ProcessNextEvent_P(nsIThread *,bool) [nsThreadUtils.cpp:7ea17887bc78 : 245 + 0xc]
    eip = 0x01eda61c   esp = 0x0012d8d8   ebp = 0x0012d8e4   ebx = 0x02cf76b0
    Found by: call frame info
 6  xul.dll!mozilla::ipc::MessagePump::Run(base::MessagePump::Delegate *) [MessagePump.cpp:7ea17887bc78 : 110 + 0x9]
    eip = 0x01e18660   esp = 0x0012d8ec   ebp = 0x0012d910
    Found by: call frame info
 7  xul.dll!MessageLoop::RunInternal() [message_loop.cc:7ea17887bc78 : 208 + 0x8]
    eip = 0x01f48e34   esp = 0x0012d918   ebp = 0x0012d930   ebx = 0x00000000
    Found by: call frame info
 8  xul.dll!MessageLoop::RunHandler() [message_loop.cc:7ea17887bc78 : 201 + 0x4]
    eip = 0x01f492c5   esp = 0x0012d938   ebp = 0x0012d964
Crash Signature: [@ nsQueryInterface::operator()]
Keywords: crash
Severity: normal → critical
This happens on OSX too.

So it looks like some code somewhere (impossible to tell what from stack trace) is posting a non-Runnable objects to the event queue?  Could also be some sort of memory corruption.   Really hard to know how to proceed with this one :(
OS: Windows XP → All
Hardware: x86 → All
Whiteboard: [orange]
Resolving WFM keyword:intermittent-failure bugs last modified >3 months ago, whose whiteboard contains none of:
{random,disabled,marked,fuzzy,todo,fails,failing,annotated,time-bomb,leave open}

There will inevitably be some false positives; for that (and the bugspam) I apologise. Filter on orangewfm.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → WORKSFORME
Status: RESOLVED → REOPENED
Resolution: WORKSFORME → ---
Closing inactive keywords:intermittent-failure bugs where the TBPLbot has previously commented and the test isn't marked as disabled; filter on orange-cleanup-201401.
Status: REOPENED → RESOLVED
Closed: 11 years ago10 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.