Closed Bug 818962 Opened 12 years ago Closed 12 years ago

crash in nsHttpConnectionMgr::ProcessPendingQForEntry

Categories

(Core :: Networking: HTTP, defect)

20 Branch
defect
Not set
critical

Tracking

()

VERIFIED FIXED
mozilla20
Tracking Status
firefox19 --- unaffected
firefox20 + verified

People

(Reporter: scoobidiver, Assigned: mcmanus)

References

Details

(Keywords: crash, regression, topcrash, Whiteboard: [native-crash])

Crash Data

Attachments

(1 file)

It started spiking in today's nightly and is #1 top crasher in this build. The regression range is: http://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=1942b4d64dc8&tochange=3c81e1c0d252 It's likely a regression from bug 792438. Signature memmove | nsTArray_base<nsTArrayDefaultAllocator>::ShiftData(unsigned int, unsigned int, unsigned int, unsigned int, unsigned int) | nsTArray<nsXPCWrappedJS*, nsTArrayDefaultAllocator>::RemoveElementsAt(unsigned int, unsigned int) | nsHttpConnectionMgr... More Reports Search UUID 35ba4fac-3d0e-4ca5-9334-3338f2121206 Date Processed 2012-12-06 18:01:34 Uptime 58 Last Crash 1.2 hours before submission Install Age 2.2 hours since version was first installed. Install Time 2012-12-06 15:52:13 Product Firefox Version 20.0a1 Build ID 20121206030737 Release Channel nightly OS Windows NT OS Version 6.1.7601 Service Pack 1 Build Architecture x86 Build Architecture Info GenuineIntel family 6 model 30 stepping 5 Crash Reason EXCEPTION_ACCESS_VIOLATION_WRITE Crash Address 0x67035000 App Notes AdapterVendorID: 0x1002, AdapterDeviceID: 0x68b8, AdapterSubsysID: 25431002, AdapterDriverVersion: 8.753.0.0 DWrite? DWrite+ EMCheckCompatibility False Adapter Vendor ID 0x1002 Adapter Device ID 0x68b8 Total Virtual Memory 4294836224 Available Virtual Memory 3106492416 System Memory Use Percentage 26 Available Page File 14091247616 Available Physical Memory 6292250624 Frame Module Signature Source 0 msvcr100.dll memmove f:\dd\vctools\crt_bld\SELF_X86\crt\src\Intel\MEMCPY.ASM:185 1 xul.dll nsTArray_base<nsTArrayDefaultAllocator>::ShiftData obj-firefox/dist/include/nsTArray-inl.h:245 2 xul.dll nsTArray<nsXPCWrappedJS*,nsTArrayDefaultAllocator>::RemoveElementsAt obj-firefox/dist/include/nsTArray.h:946 3 xul.dll nsHttpConnectionMgr::ProcessPendingQForEntry netwerk/protocol/http/nsHttpConnectionMgr.cpp:957 4 xul.dll nsHttpConnectionMgr::ProcessAllTransactionsCB netwerk/protocol/http/nsHttpConnectionMgr.cpp:747 5 xul.dll nsBaseHashtable<nsCStringHashKey,nsCOMPtr<mozIStorageAsyncStatement>,mozIStorage obj-firefox/dist/include/nsBaseHashtable.h:419 6 xul.dll PL_DHashTableEnumerate obj-firefox/xpcom/build/pldhash.cpp:717 7 xul.dll nsBaseHashtable<nsStringHashKey,nsRefPtr<gfxFontFamily>,gfxFontFamily*>::Enumera obj-firefox/dist/include/nsBaseHashtable.h:223 8 xul.dll nsHttpConnectionMgr::OnMsgProcessPendingQ netwerk/protocol/http/nsHttpConnectionMgr.cpp:2048 9 xul.dll nsHttpConnectionMgr::nsConnEvent::Run netwerk/protocol/http/nsHttpConnectionMgr.h:545 10 xul.dll nsThread::ProcessNextEvent xpcom/threads/nsThread.cpp:627 11 xul.dll nsSocketTransportService::Run netwerk/base/src/nsSocketTransportService2.cpp:653 12 xul.dll nsThread::ProcessNextEvent xpcom/threads/nsThread.cpp:627 13 xul.dll nsThread::ThreadFunc xpcom/threads/nsThread.cpp:265 14 nspr4.dll _PR_NativeRunThread nsprpub/pr/src/threads/combined/pruthr.c:395 15 nspr4.dll pr_root nsprpub/pr/src/md/windows/w95thred.c:90 16 msvcr100.dll _callthreadstartex f:\dd\vctools\crt_bld\self_x86\crt\src\threadex.c:314 17 msvcr100.dll _threadstartex f:\dd\vctools\crt_bld\self_x86\crt\src\threadex.c:292 18 kernel32.dll BaseThreadInitThunk 19 ntdll.dll __RtlUserThreadStart 20 ntdll.dll _RtlUserThreadStart More reports at: https://crash-stats.mozilla.com/report/list?signature=memmove+|+nsTArray_base%3CnsTArrayDefaultAllocator%3E%3A%3AShiftData%28unsigned+int%2C+unsigned+int%2C+unsigned+int%2C+unsigned+int%2C+unsigned+int%29+|+nsTArray%3CnsXPCWrappedJS*%2C+nsTArrayDefaultAllocator%3E%3A%3ARemoveElementsAt%28unsigned+int%2C+unsigned+int%29+|+nsHttpConnectionMgr... https://crash-stats.mozilla.com/report/list?signature=memcpy+|+nsTArray%3Cmozilla%3A%3Awidget%3A%3AGfxInfoCollectorBase*%2C+nsTArrayDefaultAllocator%3E%3A%3ARemoveElementsAt%28unsigned+int%2C+unsigned+int%29+|+nsHttpConnectionMgr%3A%3AProcessPendingQForEntry%28nsHttpConnectionMgr%3A%3AnsConnectionEntry*%2C+bool%29
always a good feeling to be the top crasher. I'm on it.
QA Contact: mcmanus
Assignee: nobody → mcmanus
QA Contact: mcmanus
Attached patch patch 0Splinter Review
This patch deals with any stack on TryToDispatchTransaction() that modifies mPendingQ .. that is what appears to be going on from the stack trace although exactly how is a bit of a mystery.
Attachment #689406 - Flags: review?(honzab.moz)
Comment on attachment 689406 [details] [diff] [review] patch 0 Review of attachment 689406 [details] [diff] [review]: ----------------------------------------------------------------- Hope there is no other hidden problem. Looks good. r=honzab.
Attachment #689406 - Flags: review?(honzab.moz) → review+
(In reply to Patrick McManus [:mcmanus] from comment #2) > just ~20 stacks can make you the top crasher.. wow. Currently there are 230 crashes in today's build (follow the links in comment 0 - add ... in the location bar at the end of the first link) with 165 ADUs so there are about 140 crashes/100 ADU while a normal nightly build has about 15 overall crashes/100 ADU. So yes it's a top crasher.
Crash Signature: unsigned int) | nsHttpConnectionMgr::ProcessPendingQForEntry(nsHttpConnectionMgr::nsConnectionEntry*, bool)] → unsigned int) | nsHttpConnectionMgr::ProcessPendingQForEntry(nsHttpConnectionMgr::nsConnectionEntry*, bool)] [@ nsTArray_base<nsTArrayDefaultAllocator>::ShiftData(unsigned int, unsigned int, unsigned int, unsigned int unsigned int) | nsTArray<nsHttpTrans…
OS: Windows 7 → All
Whiteboard: [native-crash]
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla20
Crash Signature: unsigned int) | nsTArray<nsHttpTransaction*, nsTArrayDefaultAllocator>::RemoveElementsAt(unsigned int, unsigned int) | nsHttpConnectionMgr::Proce...] → unsigned int) | nsTArray<nsHttpTransaction*, nsTArrayDefaultAllocator>::RemoveElementsAt(unsigned int, unsigned int) | nsHttpConnectionMgr::Proce...] [@ memmove | nsTArray_base<nsTArrayDefaultAllocator>::ShiftData(unsigned int, unsigned int unsigned int,…
No crashes on FF 20 checking the crashstats. Verified fixed.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: