Closed
Bug 778671
Opened 12 years ago
Closed 12 years ago
crash in anonymous namespace::TelemetryImpl::RecordChromeHang
Categories
(Toolkit :: Telemetry, defect)
Tracking
()
RESOLVED
FIXED
mozilla18
People
(Reporter: scoobidiver, Assigned: vladan)
Details
(Keywords: crash, regression)
Crash Data
Attachments
(1 file, 1 obsolete file)
1.82 KB,
patch
|
espindola
:
review+
vladan
:
checkin+
|
Details | Diff | Splinter Review |
It first appeared in 16.0a1/20120701. The regression range might be (low volume): http://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=f08d285b63b0&tochange=d9d61d199b11 Signature `anonymous namespace''::TelemetryImpl::RecordChromeHang(unsigned int, nsTArray<unsigned int, nsTArrayDefaultAllocator> const&, SharedLibraryInfo&) More Reports Search UUID c7eb2fbc-0014-4d4a-a25a-2be672120730 Date Processed 2012-07-30 07:16:27 Uptime 71 Last Crash 5.3 days before submission Install Age 6.0 hours since version was first installed. Install Time 2012-07-30 01:13:43 Product Firefox Version 17.0a1 Build ID 20120729030516 Release Channel nightly OS Windows NT OS Version 6.1.7601 Service Pack 1 Build Architecture x86 Build Architecture Info GenuineIntel family 6 model 42 stepping 7 Crash Reason EXCEPTION_ACCESS_VIOLATION_READ Crash Address 0x48 App Notes AdapterVendorID: 0x8086, AdapterDeviceID: 0x0116, AdapterSubsysID: 15821043, AdapterDriverVersion: 8.15.10.2696 D2D? D2D+ DWrite? DWrite+ D3D10 Layers? D3D10 Layers+ EMCheckCompatibility True Adapter Vendor ID 0x8086 Adapter Device ID 0x0116 Total Virtual Memory 4294836224 Available Virtual Memory 3869265920 System Memory Use Percentage 24 Available Page File 10979766272 Available Physical Memory 4792958976 Frame Module Signature Source 0 xul.dll `anonymous namespace'::TelemetryImpl::RecordChromeHang toolkit/components/telemetry/Telemetry.cpp:1300 1 xul.dll mozilla::HangMonitor::ThreadMain xpcom/threads/HangMonitor.cpp:242 2 nspr4.dll _PR_NativeRunThread nsprpub/pr/src/threads/combined/pruthr.c:395 3 nspr4.dll pr_root nsprpub/pr/src/md/windows/w95thred.c:90 4 msvcr100.dll _callthreadstartex f:\dd\vctools\crt_bld\self_x86\crt\src\threadex.c:314 5 msvcr100.dll _threadstartex f:\dd\vctools\crt_bld\self_x86\crt\src\threadex.c:292 6 kernel32.dll BaseThreadInitThunk 7 ntdll.dll __RtlUserThreadStart 8 ntdll.dll _RtlUserThreadStart More reports at: https://crash-stats.mozilla.com/report/list?signature=%60anonymous+namespace%27%27%3A%3ATelemetryImpl%3A%3ARecordChromeHang%28unsigned+int%2C+nsTArray%3Cunsigned+int%2C+nsTArrayDefaultAllocator%3E+const%26%2C+SharedLibraryInfo%26%29
Reporter | ||
Updated•12 years ago
|
Crash Signature: [@ `anonymous namespace''::TelemetryImpl::RecordChromeHang(unsigned int, nsTArray<unsigned int, nsTArrayDefaultAllocator> const&, SharedLibraryInfo&)] → [@ `anonymous namespace''::TelemetryImpl::RecordChromeHang(unsigned int, nsTArray<unsigned int, nsTArrayDefaultAllocator> const&, SharedLibraryInfo&)]
[@ `anonymous namespace''::TelemetryImpl::RecordChromeHang(unsigned int, nsTArray<unsigned __int64 nsTA…
Hardware: x86 → All
Assignee | ||
Updated•12 years ago
|
Assignee: nobody → vdjeric
Assignee | ||
Comment 1•12 years ago
|
||
Attachment #656553 -
Flags: review?(respindola)
Attachment #656553 -
Flags: review?(respindola) → review+
Assignee | ||
Comment 2•12 years ago
|
||
Fixes 2 sources of crashes
Attachment #656553 -
Attachment is obsolete: true
Attachment #656563 -
Flags: review?(respindola)
Comment on attachment 656563 [details] [diff] [review] Check bounds on every loop iteration + make sure Telemetry is initialized Review of attachment 656563 [details] [diff] [review]: ----------------------------------------------------------------- OK, but please add an explanation to the bug on how we get here with a NULL sTelemetry.
Attachment #656563 -
Flags: review?(respindola) → review+
Assignee | ||
Comment 4•12 years ago
|
||
(In reply to Rafael Ávila de Espíndola (:espindola) from comment #3) > OK, but please add an explanation to the bug on how we get here with a NULL > sTelemetry. I think it might be because we initialize HangMonitor before Telemetry in nsXPComInit.cpp. It would also explain why we only have crashes from sTelemetry being NULL in RecordChromeHang but never in RecordSlowStatement. I don't know how we ended up with multi-hour uptimes in the hang reports but it might be because of a hang on startup. I will also change the order of Hang Monitor and Telemetry initializations.
Assignee | ||
Comment 5•12 years ago
|
||
I think we hit sTelemetry = NULL after hours of uptime is because Telemetry is destructed before the HangMonitor. The new checks should fix this. https://hg.mozilla.org/integration/mozilla-inbound/rev/c9396aa559ea
Assignee | ||
Updated•12 years ago
|
Attachment #656563 -
Flags: checkin+
(In reply to Vladan Djeric (:vladan) from comment #5) > I think we hit sTelemetry = NULL after hours of uptime is because Telemetry > is destructed before the HangMonitor. The new checks should fix this. Should we change the order they are destructed in?
Comment 7•12 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/c9396aa559ea
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla18
You need to log in
before you can comment on or make changes to this bug.
Description
•