Closed Bug 1112716 Opened 7 years ago Closed 7 years ago

Intermittent test_blocked_order.html | application crashed [@ mozilla::dom::workers::WorkerThread::Dispatch(nsIRunnable*, unsigned int)][@ mozilla::dom::indexedDB::::OpenDatabaseOp::NoteDatabaseClosed]

Categories

(Core :: Storage: IndexedDB, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla37
Tracking Status
firefox35 --- unaffected
firefox36 --- unaffected
firefox37 --- fixed
firefox-esr31 --- unaffected

People

(Reporter: RyanVM, Assigned: bent.mozilla)

References

Details

(Keywords: assertion, crash, intermittent-failure)

Attachments

(1 file)

11:22:00 INFO - 1335 INFO TEST-START | dom/indexedDB/test/test_blocked_order.html
11:22:01 INFO - ++DOMWINDOW == 11 (0x8d1d0c00) [pid = 1884] [serial = 2403] [outer = 0xa9111a00]
11:22:01 INFO - -*-*- UserCustomizations (child): document created: http://mochi.test:8888/tests/dom/indexedDB/test/test_blocked_order.html
11:22:01 INFO - -*-*- UserCustomizations (child): _injectInWindow
11:22:01 INFO - -*-*- UserCustomizations (child): principal status: 0
11:22:01 INFO - [Child 1884] WARNING: NS_ENSURE_TRUE(node) failed: file /builds/slave/m-in-lx-d-00000000000000000000/build/src/layout/base/nsDocumentViewer.cpp, line 3524
11:22:01 INFO - [Child 1884] WARNING: NS_ENSURE_TRUE(node) failed: file /builds/slave/m-in-lx-d-00000000000000000000/build/src/layout/base/nsDocumentViewer.cpp, line 3524
11:22:01 INFO - [Child 1884] WARNING: NS_ENSURE_TRUE(node) failed: file /builds/slave/m-in-lx-d-00000000000000000000/build/src/layout/base/nsDocumentViewer.cpp, line 3524
11:22:01 INFO - ###!!! [Parent][OnMaybeDequeueOne] Error: Channel closing: too late to send/recv, messages will be lost
11:22:02 INFO - Assertion failure: cancelable (Only nsICancelableRunnable may be dispatched to a worker!), at /builds/slave/m-in-lx-d-00000000000000000000/build/src/dom/workers/WorkerThread.cpp:221
11:22:24 INFO - #01: mozilla::dom::workers::WorkerThread::Dispatch(nsIRunnable*, unsigned int) [dom/workers/WorkerThread.cpp:230]
11:22:24 INFO - #02: mozilla::dom::BlobChild::RemoteBlobImpl::Destroy() [dom/ipc/Blob.cpp:2198]
11:22:24 INFO - #03: mozilla::dom::BlobChild::RemoteBlobImpl::Release() [dom/ipc/Blob.cpp:2206]
11:22:24 INFO - #04: nsRefPtr<mozilla::dom::BlobChild::RemoteBlobImpl>::~nsRefPtr() [xpcom/base/nsRefPtr.h:59]
11:22:24 INFO - #05: mozilla::dom::BlobChild::RemoteBlobSliceImpl::~RemoteBlobSliceImpl() [dom/ipc/Blob.cpp:1943]
11:22:24 INFO - #06: mozilla::dom::BlobChild::RemoteBlobSliceImpl::~RemoteBlobSliceImpl() [memory/mozalloc/mozalloc.h:234]
11:22:24 INFO - #07: mozilla::dom::BlobChild::RemoteBlobImpl::Destroy() [dom/ipc/Blob.cpp:2190]
11:22:24 INFO - #08: nsRunnableMethodImpl<void (mozilla::dom::BlobChild::RemoteBlobImpl::*)(), void, false>::Run() [xpcom/glue/nsThreadUtils.h:388]
11:22:24 INFO - #09: nsThread::ProcessNextEvent(bool, bool*) [xpcom/threads/nsThread.cpp:835]
11:22:24 INFO - #10: NS_ProcessNextEvent(nsIThread*, bool) [xpcom/glue/nsThreadUtils.cpp:265]
11:22:24 INFO - #11: mozilla::ipc::MessagePump::Run(base::MessagePump::Delegate*) [ipc/glue/MessagePump.cpp:100]
11:22:24 INFO - #12: MessageLoop::RunInternal() [ipc/chromium/src/base/message_loop.cc:233]
11:22:24 INFO - #13: MessageLoop::Run() [ipc/chromium/src/base/message_loop.cc:508]
11:22:24 INFO - #14: nsBaseAppShell::Run() [widget/nsBaseAppShell.cpp:166]
11:22:24 INFO - #15: XRE_RunAppShell [toolkit/xre/nsEmbedFunctions.cpp:734]
11:22:24 INFO - #16: mozilla::ipc::MessagePumpForChildProcess::Run(base::MessagePump::Delegate*) [ipc/glue/MessagePump.cpp:272]
11:22:24 INFO - #17: MessageLoop::RunInternal() [ipc/chromium/src/base/message_loop.cc:233]
11:22:24 INFO - #18: MessageLoop::Run() [ipc/chromium/src/base/message_loop.cc:508]
11:22:24 INFO - #19: XRE_InitChildProcess [toolkit/xre/nsEmbedFunctions.cpp:575]
11:22:24 INFO - #20: content_process_main(int, char**) [ipc/contentproc/plugin-container.cpp:212]
11:22:24 INFO - #21: main [ipc/app/MozillaRuntimeMain.cpp:12]
11:22:24 INFO - ###!!! [Parent][MessageChannel] Error: Channel error: cannot send/recv
11:22:24 INFO - ++DOCSHELL 0x95606800 == 7 [pid = 1847] [id = 7]
11:22:24 INFO - ++DOMWINDOW == 11 (0x98eda600) [pid = 1847] [serial = 16] [outer = (nil)]
11:22:24 INFO - Assertion failure: mState == State_WaitingForOtherDatabasesToClose, at /builds/slave/m-in-lx-d-00000000000000000000/build/src/dom/indexedDB/ActorsParent.cpp:11782
11:22:24 INFO - #01: mozilla::dom::indexedDB::::OpenDatabaseOp::NoteDatabaseClosed [dom/indexedDB/ActorsParent.cpp:11783]
11:22:24 INFO - #02: mozilla::dom::indexedDB::::Database::CloseInternal [dom/indexedDB/ActorsParent.cpp:6325]
11:22:24 INFO - #03: mozilla::dom::indexedDB::::Database::Invalidate [dom/indexedDB/ActorsParent.cpp:6252]
11:22:24 INFO - #04: mozilla::dom::indexedDB::PBackgroundIDBDatabaseParent::DestroySubtree(mozilla::ipc::IProtocolManager<mozilla::ipc::IProtocol>::ActorDestroyReason) [obj-firefox/ipc/ipdl/PBackgroundIDBDatabaseParent.cpp:704]
11:22:24 INFO - #05: mozilla::dom::indexedDB::PBackgroundIDBFactoryParent::DestroySubtree(mozilla::ipc::IProtocolManager<mozilla::ipc::IProtocol>::ActorDestroyReason) [obj-firefox/ipc/ipdl/PBackgroundIDBFactoryParent.cpp:520]
11:22:24 INFO - #06: mozilla::ipc::PBackgroundParent::DestroySubtree(mozilla::ipc::IProtocolManager<mozilla::ipc::IProtocol>::ActorDestroyReason) [obj-firefox/ipc/ipdl/PBackgroundParent.cpp:909]
11:22:24 INFO - #07: mozilla::ipc::PBackgroundParent::OnChannelError() [obj-firefox/ipc/ipdl/PBackgroundParent.cpp:806]
11:22:24 INFO - #08: mozilla::ipc::MessageChannel::NotifyMaybeChannelError() [ipc/glue/MessageChannel.cpp:1545]
11:22:24 INFO - #09: mozilla::ipc::MessageChannel::OnNotifyMaybeChannelError() [ipc/glue/MessageChannel.cpp:1573]
11:22:24 INFO - #10: RunnableMethod<mozilla::ipc::MessageChannel, void (mozilla::ipc::MessageChannel::*)(), Tuple0>::Run() [ipc/chromium/src/base/tuple.h:383]
11:22:24 INFO - #11: MessageLoop::RunTask(Task*) [ipc/chromium/src/base/message_loop.cc:362]
11:22:24 INFO - #12: MessageLoop::DeferOrRunPendingTask(MessageLoop::PendingTask const&) [ipc/chromium/src/base/message_loop.cc:372]
11:22:24 INFO - #13: MessageLoop::DoWork() [ipc/chromium/src/base/message_loop.cc:447]
11:22:24 INFO - #14: mozilla::ipc::DoWorkRunnable::Run() [ipc/glue/MessagePump.cpp:234]
11:22:24 INFO - #15: nsThread::ProcessNextEvent(bool, bool*) [xpcom/threads/nsThread.cpp:835]
11:22:24 INFO - #16: NS_ProcessNextEvent(nsIThread*, bool) [xpcom/glue/nsThreadUtils.cpp:265]
11:22:24 INFO - #17: mozilla::ipc::MessagePumpForNonMainThreads::Run(base::MessagePump::Delegate*) [ipc/glue/MessagePump.cpp:368]
11:22:24 INFO - #18: MessageLoop::RunInternal() [ipc/chromium/src/base/message_loop.cc:233]
11:22:24 INFO - #19: MessageLoop::Run() [ipc/chromium/src/base/message_loop.cc:508]
11:22:24 INFO - #20: nsThread::ThreadFunc(void*) [xpcom/threads/nsThread.cpp:355]
11:22:24 INFO - #21: _pt_root [nsprpub/pr/src/pthreads/ptthread.c:215]
11:22:24 INFO - #22: libpthread.so.0 + 0x6d4c
11:22:24 INFO - TEST-INFO | Main app process: killed by SIGSEGV 

11:22:24 INFO - 1485 ERROR TEST-UNEXPECTED-FAIL | dom/indexedDB/test/test_blocked_order.html | application terminated with exit code 11
11:22:24 INFO - runtests.py | Application ran for: 0:19:22.052516
11:22:24 INFO - zombiecheck | Reading PID log: /tmp/tmpFCYtjopidlog
11:22:24 INFO - ==> process 1847 launched child process 1884
11:22:24 INFO - zombiecheck | Checking for orphan process with PID: 1884
11:22:37 INFO - mozcrash Saved minidump as /builds/slave/test/build/blobber_upload_dir/1129e67e-2c3a-02ce-2d6a6e7f-0a68a2b9.dmp
11:22:37 INFO - mozcrash Saved app info as /builds/slave/test/build/blobber_upload_dir/1129e67e-2c3a-02ce-2d6a6e7f-0a68a2b9.extra
11:22:37 WARNING - PROCESS-CRASH | dom/indexedDB/test/test_blocked_order.html | application crashed [@ mozilla::dom::workers::WorkerThread::Dispatch(nsIRunnable*, unsigned int)]
11:22:37 INFO - Crash dump filename: /tmp/tmpltTvn8.mozrunner/minidumps/1129e67e-2c3a-02ce-2d6a6e7f-0a68a2b9.dmp
11:22:37 INFO - Operating system: Linux
11:22:37 INFO - 0.0.0 Linux 3.2.0-23-generic-pae #36-Ubuntu SMP Tue Apr 10 22:19:09 UTC 2012 i686
11:22:37 INFO - CPU: x86
11:22:37 INFO - GenuineIntel family 6 model 44 stepping 2
11:22:37 INFO - 1 CPU
11:22:37 INFO - Crash reason: SIGSEGV
11:22:37 INFO - Crash address: 0x0
11:22:37 INFO - Thread 0 (crashed)
11:22:37 INFO - 0 libxul.so!mozilla::dom::workers::WorkerThread::Dispatch(nsIRunnable*, unsigned int) [WorkerThread.cpp:6f29a19dc2e8 : 230 + 0x23]
11:22:37 INFO - eip = 0xb41c19d3 esp = 0xbfd65040 ebp = 0xbfd65088 ebx = 0xb75563dc
11:22:37 INFO - esi = 0x93a997f0 edi = 0xbfd65068 eax = 0x00000000 ecx = 0xb29358ac
11:22:37 INFO - edx = 0x00000000 efl = 0x00210286
11:22:37 INFO - Found by: given as instruction pointer in context
11:22:37 INFO - 1 libxul.so!mozilla::dom::BlobChild::RemoteBlobImpl::Destroy() [Blob.cpp:6f29a19dc2e8 : 2198 + 0x19]
11:22:37 INFO - eip = 0xb4147497 esp = 0xbfd65090 ebp = 0xbfd650c8 ebx = 0xb75563dc
11:22:37 INFO - esi = 0x8d24f098 edi = 0x8d1a67a0
11:22:37 INFO - Found by: call frame info
11:22:37 INFO - 2 libxul.so!mozilla::dom::BlobChild::RemoteBlobImpl::Release() [Blob.cpp:6f29a19dc2e8 : 2206 + 0x8]
11:22:37 INFO - eip = 0xb414758d esp = 0xbfd650d0 ebp = 0xbfd650f8 ebx = 0xb75563dc
11:22:37 INFO - esi = 0x8d24f044 edi = 0x00000000
11:22:37 INFO - Found by: call frame info
11:22:37 INFO - 3 libxul.so!nsRefPtr<mozilla::dom::BlobChild::RemoteBlobImpl>::~nsRefPtr() [nsRefPtr.h:6f29a19dc2e8 : 59 + 0x8]
11:22:37 INFO - eip = 0xb414378c esp = 0xbfd65100 ebp = 0xbfd65118 ebx = 0xb75563dc
11:22:37 INFO - esi = 0x8d24f970 edi = 0xbfd6526f
11:22:37 INFO - Found by: call frame info
11:22:37 INFO - 4 libxul.so!mozilla::dom::BlobChild::RemoteBlobSliceImpl::~RemoteBlobSliceImpl() [Blob.cpp:6f29a19dc2e8 : 1943 + 0x1b]
11:22:37 INFO - eip = 0xb414be8f esp = 0xbfd65120 ebp = 0xbfd65138 ebx = 0xb75563dc
11:22:37 INFO - esi = 0x8d24f970 edi = 0xbfd6526f
11:22:37 INFO - Found by: call frame info
11:22:37 INFO - 5 libxul.so!mozilla::dom::BlobChild::RemoteBlobSliceImpl::~RemoteBlobSliceImpl() [Blob.cpp:6f29a19dc2e8 : 1943 + 0x8]
11:22:37 INFO - eip = 0xb414bebc esp = 0xbfd65140 ebp = 0xbfd65158 ebx = 0xb75563dc
11:22:37 INFO - esi = 0x8d24f970 edi = 0xbfd6526f
11:22:37 INFO - Found by: call frame info
11:22:37 INFO - 6 libxul.so!mozilla::dom::BlobChild::RemoteBlobImpl::Destroy() [Blob.cpp:6f29a19dc2e8 : 2190 + 0x8]
11:22:37 INFO - eip = 0xb4147434 esp = 0xbfd65160 ebp = 0xbfd65198 ebx = 0xb75563dc
11:22:37 INFO - esi = 0x8d24f970 edi = 0xbfd6526f
11:22:37 INFO - Found by: call frame info
11:22:37 INFO - 7 libxul.so!nsRunnableMethodImpl<void (mozilla::dom::BlobChild::RemoteBlobImpl::*)(), void, false>::Run() [nsThreadUtils.h:6f29a19dc2e8 : 388 + 0x7]
11:22:37 INFO - eip = 0xb4140c30 esp = 0xbfd651a0 ebp = 0xbfd651b8 ebx = 0xb75563dc
11:22:37 INFO - esi = 0xb1335c04 edi = 0xbfd6526f
11:22:37 INFO - Found by: call frame info
Flags: needinfo?(bent.mozilla)
Attached patch Patch, v1Splinter Review
Needs more cancelable.
Assignee: nobody → bent.mozilla
Status: NEW → ASSIGNED
Flags: needinfo?(bent.mozilla)
Attachment #8538083 - Flags: review?(khuey)
Comment on attachment 8538083 [details] [diff] [review]
Patch, v1

Review of attachment 8538083 [details] [diff] [review]:
-----------------------------------------------------------------

over-the-shoulder-r=khuey
Attachment #8538083 - Flags: review?(khuey) → review+
https://hg.mozilla.org/mozilla-central/rev/73cd5169ae6c
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
Target Milestone: --- → mozilla37
You need to log in before you can comment on or make changes to this bug.