High Memory Consumption (3GB in 5 minutes)

RESOLVED WORKSFORME

Status

()

--
critical
RESOLVED WORKSFORME
6 years ago
3 years ago

People

(Reporter: kadamprashant, Assigned: mccr8)

Tracking

({crash})

Trunk
x86_64
Windows 7
crash
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: [MemShrink:P3][js:t][tbird crash], crash signature)

Attachments

(2 attachments)

(Reporter)

Description

6 years ago
Created attachment 659332 [details]
Memory Consumption

When visited to following URL, Firefox memory consumption raised to 3 GB within 5 minutes with 20 to 25 % processor usage for all the time.

URL :   http://www.tvproduction.ee/patronvvx.php?llinkFriend=f6ciy


Findings
- More than 3GB usage
- High processor usage

Expectation
- Should not have such exceptionally high memory usage
- Should not have such abnormal processor usage
- User should be warned for such URLs which make Firefox to use high memory/processor
In a recent provided Debug Build I get an Assertion (and Crash eventually) whilst Loading:

###!!! ASSERTION: nsHTMLDocument::Close(): Trying to remove nonexistent wyciwyg channel!: 'mWyciwygChannel', file e:/builds/moz2_slave/m-cen-w32-dbg/build/content/html/document/src/nsHTMLDocument.cpp, line 1643
Severity: major → normal
Component: Untriaged → General
Priority: P1 → --
Product: Firefox → Core
Target Milestone: Firefox 16 → ---
Version: 15 Branch → Trunk
Created attachment 659676 [details]
WinDbg Stack

by the Windbg Log there seems to be something JS related going on.

Btw, mentioned URL redirects to http://cnbc8news.com/?s=news
(Reporter)

Comment 3

6 years ago
Addition to bug info provided,here are my some finding 
After 5 minutes ( when memory consumption is above 3GB) if it is tried to switch the tab ( by clicking on tab bar) Firefox crashes ( crash report submitted to https://crash-stats.mozilla.com/report/index/5fd0be52-e714-4146-92c3-302cc2120907, however it seems report itself is corrupted)
(In reply to XtC4UaLL [:xtc4uall] from comment #2)

The Windbg's Stack is also on Crashstats: https://crash-stats.mozilla.com/query/query?product=Firefox&product=Thunderbird&version=ALL%3AALL&range_value=1&range_unit=weeks&query_search=signature&query_type=contains&query=NukeCrossCompartmentWrappers&reason=&build_id=&process_type=browser&hang_type=crash&do_query=1

Example ID: bp-50334d4a-158c-4631-b577-67ef32120910

(In reply to kadamprashant from comment #3)
Try https://developer.mozilla.org/en-US/docs/How_to_get_a_stacktrace_with_WinDbg to see if you get the same Stack as me in Comment 2.
Assignee: nobody → general
Status: UNCONFIRMED → NEW
Crash Signature: [@ js::NukeCrossCompartmentWrappers(JSContext*, js::CompartmentFilter const&, js::CompartmentFilter const&, js::NukeReferencesToWindow) ]
Component: General → JavaScript Engine
Ever confirmed: true
Keywords: crash
First, http://www.tvproduction.ee/patronvvx.php?llinkFriend=f6ciy asks me for a user name and password.  As per comment 2, http://cnbc8news.com/?s=news is the right URL.

I can reproduce this on Linux.  about:memory tells me that memory consumption steadily rises.  I've included a snapshot below.  Note that for many of the measurements there are hundreds or even thousands of them, and those numbers steadily rise.  The page just seems to be steadily creating many new windows and never releasing them.  Having said that, I couldn't reproduce the problem in Opera or Chrome, so it does seem to be a Firefox bug.



Main Process

Explicit Allocations
2,257.94 MB (100.0%) -- explicit
├──1,899.73 MB (84.14%) -- window-objects
│  ├──1,883.00 MB (83.39%) -- top(http://cnbc8news.com/?s=news, id=24)/active
│  │  ├──1,128.82 MB (49.99%) -- window(http://cnbc8news.com/)
│  │  │  ├────564.56 MB (25.00%) -- js
│  │  │  │    ├──307.16 MB (13.60%) -- compartment(http://cnbc8news.com/)
│  │  │  │    │  ├──163.05 MB (07.22%) -- gc-heap
│  │  │  │    │  │  ├───44.38 MB (01.97%) ── unused-gc-things [285]
│  │  │  │    │  │  ├───43.62 MB (01.93%) -- objects
│  │  │  │    │  │  │   ├──35.15 MB (01.56%) ── function [285]
│  │  │  │    │  │  │   └───8.47 MB (00.37%) ── non-function [276]
│  │  │  │    │  │  ├───40.61 MB (01.80%) ++ shapes
│  │  │  │    │  │  ├───24.35 MB (01.08%) ── scripts [276]
│  │  │  │    │  │  └───10.09 MB (00.45%) ++ (4 tiny)
│  │  │  │    │  ├───66.23 MB (02.93%) ── script-data [276]
│  │  │  │    │  ├───47.21 MB (02.09%) ++ (6 tiny)
│  │  │  │    │  └───30.66 MB (01.36%) ── analysis-temporary [285]
│  │  │  │    └──257.41 MB (11.40%) -- compartment(http://cnbc8news.com/, about:blank)
│  │  │  │       ├──137.79 MB (06.10%) ── analysis-temporary [1104]
│  │  │  │       ├───96.13 MB (04.26%) -- gc-heap
│  │  │  │       │   ├──51.37 MB (02.27%) ── unused-gc-things [1104]
│  │  │  │       │   └──44.77 MB (01.98%) ++ (3 tiny)
│  │  │  │       └───23.48 MB (01.04%) ++ (2 tiny)
│  │  │  ├────372.53 MB (16.50%) ── style-sheets [285]
│  │  │  └────191.72 MB (08.49%) -- dom
│  │  │       ├──138.18 MB (06.12%) ── element-nodes [1389]
│  │  │       ├───38.18 MB (01.69%) ── text-nodes [1389]
│  │  │       └───15.36 MB (00.68%) ++ (2 tiny)
│  │  ├────581.36 MB (25.75%) -- window(http://cnbc8news.com/file_img/recommendations.htm)
│  │  │    ├──528.31 MB (23.40%) -- js
│  │  │    │  ├──518.36 MB (22.96%) -- compartment(http://cnbc8news.com/file_img/recommendations.htm)
│  │  │    │  │  ├──262.48 MB (11.62%) -- gc-heap
│  │  │    │  │  │  ├───71.55 MB (03.17%) -- objects
│  │  │    │  │  │  │   ├──50.69 MB (02.25%) ── function [273]
│  │  │    │  │  │  │   └──20.86 MB (00.92%) ── non-function [273]
│  │  │    │  │  │  ├───68.33 MB (03.03%) ── unused-gc-things [273]
│  │  │    │  │  │  ├───52.85 MB (02.34%) -- shapes
│  │  │    │  │  │  │   ├──28.46 MB (01.26%) ── tree [273]
│  │  │    │  │  │  │   └──24.39 MB (01.08%) ++ (2 tiny)
│  │  │    │  │  │  ├───52.20 MB (02.31%) ── scripts [273]
│  │  │    │  │  │  └───17.55 MB (00.78%) ++ (4 tiny)
│  │  │    │  │  ├──111.50 MB (04.94%) ── script-data [273]
│  │  │    │  │  ├───64.30 MB (02.85%) ── analysis-temporary [273]
│  │  │    │  │  ├───50.38 MB (02.23%) -- shapes-extra
│  │  │    │  │  │   ├──32.20 MB (01.43%) ── tree-tables [273]
│  │  │    │  │  │   └──18.17 MB (00.80%) ++ (3 tiny)
│  │  │    │  │  └───29.71 MB (01.32%) ++ (5 tiny)
│  │  │    │  └────9.95 MB (00.44%) ++ compartment(http://cnbc8news.com/file_img/recommendations.htm, about:blank)
│  │  │    ├───36.68 MB (01.62%) ── style-sheets [277]
│  │  │    └───16.36 MB (00.72%) ++ (2 tiny)
│  │  ├────166.02 MB (07.35%) -- window(about:blank)
│  │  │    ├──161.29 MB (07.14%) -- js/compartment(http://cnbc8news.com/, about:blank)
│  │  │    │  ├──102.00 MB (04.52%) ── analysis-temporary [823]
│  │  │    │  ├───48.22 MB (02.14%) -- gc-heap
│  │  │    │  │   ├──30.11 MB (01.33%) ── unused-gc-things [823]
│  │  │    │  │   └──18.12 MB (00.80%) ++ (2 tiny)
│  │  │    │  └───11.08 MB (00.49%) ── other-sundries [823]
│  │  │    └────4.72 MB (00.21%) ++ dom
│  │  └──────6.81 MB (00.30%) ++ (2 tiny)
│  └─────16.73 MB (00.74%) ++ (5 tiny)
├────172.29 MB (07.63%) -- js-non-window
│    ├───91.33 MB (04.04%) -- runtime
│    │   ├──75.07 MB (03.32%) ── script-sources
│    │   └──16.27 MB (00.72%) ++ (13 tiny)
│    ├───43.14 MB (01.91%) -- compartments
│    │   ├──39.98 MB (01.77%) ++ non-window-global
│    │   └───3.16 MB (00.14%) ++ no-global
│    └───37.82 MB (01.67%) -- gc-heap
│        ├──24.79 MB (01.10%) ── unused-arenas
│        └──13.03 MB (00.58%) ++ (3 tiny)
├────154.05 MB (06.82%) ── heap-unclassified
└─────31.87 MB (01.41%) ++ (13 tiny)

Other Measurements
2,753 (100.0%) -- js-compartments
├──2,614 (94.95%) ── user
└────139 (05.05%) ── system

1,439.44 MB (100.0%) -- js-main-runtime
├──1,310.29 MB (91.03%) -- compartments
│  ├────607.18 MB (42.18%) -- gc-heap
│  │    ├──202.53 MB (14.07%) ── unused-gc-things
│  │    ├──148.52 MB (10.32%) -- objects
│  │    │  ├──110.31 MB (07.66%) ── function
│  │    │  └───38.21 MB (02.65%) ── non-function
│  │    ├──138.20 MB (09.60%) -- shapes
│  │    │  ├───55.45 MB (03.85%) ── tree
│  │    │  ├───51.77 MB (03.60%) ── dict
│  │    │  └───30.98 MB (02.15%) ── base
│  │    ├───79.71 MB (05.54%) ── scripts
│  │    ├───23.42 MB (01.63%) ── type-objects
│  │    └───14.80 MB (01.03%) ++ (3 tiny)
│  ├────341.58 MB (23.73%) ── analysis-temporary
│  ├────183.58 MB (12.75%) ── script-data
│  ├────104.56 MB (07.26%) -- shapes-extra
│  │    ├───40.25 MB (02.80%) ── tree-tables
│  │    ├───31.43 MB (02.18%) ── compartment-tables
│  │    ├───26.43 MB (01.84%) ── dict-tables
│  │    └────6.44 MB (00.45%) ── tree-shape-kids
│  ├─────33.92 MB (02.36%) -- type-inference
│  │     ├──17.93 MB (01.25%) ++ (2 tiny)
│  │     └──15.99 MB (01.11%) ── script-main
│  ├─────28.40 MB (01.97%) -- objects
│  │     ├──26.83 MB (01.86%) ── slots
│  │     └───1.57 MB (00.11%) ++ (2 tiny)
│  └─────11.07 MB (00.77%) ++ (3 tiny)
├─────91.33 MB (06.34%) ── runtime
└─────37.82 MB (02.63%) -- gc-heap
      ├──24.79 MB (01.72%) ── unused-arenas
      └──13.03 MB (00.91%) ++ (3 tiny)

645.00 MB (100.0%) -- js-main-runtime-gc-heap-committed
├──414.68 MB (64.29%) -- used
│  ├──395.82 MB (61.37%) ── gc-things
│  ├───10.03 MB (01.56%) ── chunk-admin
│  └────8.83 MB (01.37%) ── arena-admin
└──230.32 MB (35.71%) -- unused
   ├──202.53 MB (31.40%) ── gc-things
   ├───24.79 MB (03.84%) ── arenas
   └────3.00 MB (00.47%) ── chunks

632.57 MB (100.0%) -- window-objects
├──411.01 MB (64.97%) ── style-sheets
├──217.15 MB (34.33%) -- dom
│  ├──147.36 MB (23.30%) ── element-nodes
│  ├───44.64 MB (07.06%) ── text-nodes
│  ├───21.77 MB (03.44%) ── other
│  └────3.38 MB (00.53%) ++ (3 tiny)
└────4.42 MB (00.70%) ++ (2 tiny)

2,257.88 MB ── explicit
    0.05 MB ── gfx-surface-image
    1.94 MB ── gfx-surface-xlib
          0 ── ghost-windows
1,605.43 MB ── heap-allocated
1,669.71 MB ── heap-committed
   64.26 MB ── heap-committed-unused
      4.00% ── heap-committed-unused-ratio
    3.88 MB ── heap-dirty
  437.56 MB ── heap-unused
    0.00 MB ── images-content-used-uncompressed
  645.00 MB ── js-gc-heap
          6 ── page-faults-hard
  1,294,000 ── page-faults-soft
2,041.77 MB ── resident
    7.30 MB ── storage-sqlite
3,383.25 MB ── vsize
Whiteboard: [MemShrink]
Assignee: general → continuation
Whiteboard: [MemShrink] → [MemShrink:P3]
FWIW, the URLs are gone, the Crashes mentioned in Comment 4 still happen though per Crashstats.
Whiteboard: [MemShrink:P3] → [MemShrink:P3][js:t]

Comment 7

6 years ago
(In reply to XtC4UaLL [:xtc4uall] from comment #6)
> FWIW, the URLs are gone, the Crashes mentioned in Comment 4 still happen
> though per Crashstats.

through the magic of wayback ... http://web.archive.org/web/20120902220322/http://cnbc8news.com/?s=news ... minus the flash adds of course.  In the form available from wayback the behavior may be changed - it is constantly loading eventually OOMs at about 1,692MB of memory, with errors 

[JavaScript Error: "ReferenceError: cnbc_commentCountMapObj is not defined" {file: "http://web.archive.org/web/20120920041633/http://cnbc8news.com/" line: 426}]
[JavaScript Error: "ReferenceError: cnbc_loadTabs is not defined" {file: "http://web.archive.org/web/20120920041633/http://cnbc8news.com/" line: 434}]

Crash reporter comes up empty bp-c19ec640-c8c6-4a46-bdde-b27692130314 but windbg stack is ...

mozalloc!mozalloc_abort+0x2d:
73881999 cc              int     3
0:006> ~* kp;!analyze -f;lm

   0  Id: ae3d0.ae9a8 Suspend: 1 Teb: 7ffdf000 Unfrozen
ChildEBP RetAddr  
0024cd70 69456af2 MSVCR100!_alldiv(void)+0x55 [f:\dd\vctools\crt_bld\SELF_X86\crt\src\INTEL\lldiv.asm @ 125]
0024cda4 69469e3f MSVCR100!_gmtime64_s(struct tm * ptm = 0x0024ce14, int64 * timp = 0x0024cdc0)+0x18c [f:\dd\vctools\crt_bld\self_x86\crt\src\gmtime64.c @ 102]
0024cdd4 6949a797 MSVCR100!_localtime64_s(struct tm * ptm = 0x0024ce14, int64 * ptime = 0x0024ce0c)+0x11f [f:\dd\vctools\crt_bld\self_x86\crt\src\loctim64.c @ 106]
0024ce3c 6949a81f MSVCR100!_make__time64_t(struct tm * tb = 0x0024ce94, int ultflag = 0n1)+0x236 [f:\dd\vctools\crt_bld\self_x86\crt\src\mktime64.c @ 239]
*** WARNING: Unable to verify checksum for C:\Program Files\mozilla.org\FF 22.0a1 2012-03-13\mozjs.dll
0024ce48 64e17e8d MSVCR100!_mktime64(struct tm * tb = 0x0024ce94)+0xf [f:\dd\vctools\crt_bld\self_x86\crt\src\mktime64.c @ 58]
0024cebc 64e17f39 mozjs!UTCToLocalStandardOffsetSeconds(void)+0x6d [e:\builds\moz2_slave\m-cen-w32-ntly-000000000000000\build\js\src\vm\datetime.cpp @ 96]
0024cec8 64e2a1ef mozjs!js::DateTimeInfo::updateTimeZoneAdjustment(void)+0x9 [e:\builds\moz2_slave\m-cen-w32-ntly-000000000000000\build\js\src\vm\datetime.cpp @ 134]
0024d000 64e2a3a8 mozjs!JSCompartment::init(struct JSContext * cx = 0x00015180)+0x2f [e:\builds\moz2_slave\m-cen-w32-ntly-000000000000000\build\js\src\jscompartment.cpp @ 123]
0024d018 64e2a444 mozjs!js::gc::NewCompartment(struct JSContext * cx = 0x6a8d2700, struct JSPrincipals * principals = 0x6450f984)+0x48 [e:\builds\moz2_slave\m-cen-w32-ntly-000000000000000\build\js\src\jsgc.cpp @ 4626]
*** WARNING: Unable to verify checksum for C:\Program Files\mozilla.org\FF 22.0a1 2012-03-13\xul.dll
0024d03c 5b6b2c52 mozjs!JS_NewGlobalObject(struct JSContext * cx = 0x6a8d2700, struct JSClass * clasp = 0x080dbb54, struct JSPrincipals * principals = 0x6450f984)+0x14 [e:\builds\moz2_slave\m-cen-w32-ntly-000000000000000\build\js\src\jsapi.cpp @ 3289]
0024d074 5b58b1c0 xul!xpc::CreateGlobalObject(struct JSContext * cx = 0x00015180, struct JSClass * clasp = 0x080dbb54, class nsIPrincipal * principal = 0x00000048)+0x22 [e:\builds\moz2_slave\m-cen-w32-ntly-000000000000000\build\js\xpconnect\src\nsxpconnect.cpp @ 1041]
0024d0ec 5b66d826 xul!XPCWrappedNative::WrapNewGlobal(class XPCCallContext * ccx = 0x0024d134, class xpcObjectHelper * nativeHelper = 0x0024d124, class nsIPrincipal * principal = 0x6450f980, bool initStandardClasses = false, class XPCWrappedNative ** wrappedGlobal = 0x0024d114)+0xc0 [e:\builds\moz2_slave\m-cen-w32-ntly-000000000000000\build\js\xpconnect\src\xpcwrappednative.cpp @ 316]
0024d1a0 5b54cf60 xul!nsXPConnect::InitClassesWithNewWrappedGlobal(struct JSContext * aJSContext = 0x6a8d2700, class nsISupports * aCOMObj = 0x639ae100, class nsIPrincipal * aPrincipal = 0x6450f980, unsigned int aFlags = 0, class nsIXPConnectJSObjectHolder ** _retval = 0x0024d1c4)+0x86 [e:\builds\moz2_slave\m-cen-w32-ntly-000000000000000\build\js\xpconnect\src\nsxpconnect.cpp @ 1097]
0024d1c8 5b6721d3 xul!CreateNativeGlobalForInner(struct JSContext * aCx = 0x6a8d2700, class nsGlobalWindow * aNewInner = 0x639ae100, class nsIURI * aURI = 0x7fdd0bf0, class nsIPrincipal * aPrincipal = 0x6450f980, class JSObject ** aNativeGlobal = 0x639ae264, class nsIXPConnectJSObjectHolder ** aHolder = 0x639ae048)+0x23 [e:\builds\moz2_slave\m-cen-w32-ntly-000000000000000\build\dom\base\nsglobalwindow.cpp @ 1958]
0024d244 5b69f370 xul!nsGlobalWindow::SetNewDocument(class nsIDocument * aDocument = 0x7f9b2800, class nsISupports * aState = 0x00000000, bool aForceReuseInnerWindow = false)+0x263 [e:\builds\moz2_slave\m-cen-w32-ntly-000000000000000\build\dom\base\nsglobalwindow.cpp @ 2167]
0024d294 5b5094f6 xul!nsDocumentViewer::InitInternal(class nsIWidget * aParentWidget = 0x00000000, class nsISupports * aState = 0x00000000, struct nsIntRect * aBounds = 0x0024d2d8, bool aDoCreation = true, bool aNeedMakeCX = true, bool aForceSetNewDocument = true)+0x240 [e:\builds\moz2_slave\m-cen-w32-ntly-000000000000000\build\layout\base\nsdocumentviewer.cpp @ 940]
0024d2b8 5b690ae3 xul!nsDocumentViewer::Init(class nsIWidget * aParentWidget = 0x00000000, struct nsIntRect * aBounds = 0x0024d2d8)+0x1a [e:\builds\moz2_slave\m-cen-w32-ntly-000000000000000\build\layout\base\nsdocumentviewer.cpp @ 683]
0024d48c 5b545cc7 xul!nsDocShell::SetupNewViewer(class nsIContentViewer * aNewViewer = 0x3d045c40)+0x483 [e:\builds\moz2_slave\m-cen-w32-ntly-000000000000000\build\docshell\base\nsdocshell.cpp @ 8297]
0024d4a4 5b5035f2 xul!nsDocShell::Embed(class nsIContentViewer * aContentViewer = 0x3d045c40, char * aCommand = 0x5c5c6abf "", class nsISupports * aExtraInfo = 0x00000000)+0x1d [e:\builds\moz2_slave\m-cen-w32-ntly-000000000000000\build\docshell\base\nsdocshell.cpp @ 6363]
0024d4ec 5b5b86da xul!nsDocShell::CreateAboutBlankContentViewer(class nsIPrincipal * aPrincipal = 0x6450f980, class nsIURI * aBaseURI = 0x3512d710, bool aTryToSaveOldPresentation = true)+0x127 [e:\builds\moz2_slave\m-cen-w32-ntly-000000000000000\build\docshell\base\nsdocshell.cpp @ 7094]
0024d524 5b5a54d6 xul!nsDocShell::EnsureContentViewer(void)+0x7a [e:\builds\moz2_slave\m-cen-w32-ntly-000000000000000\build\docshell\base\nsdocshell.cpp @ 6975]
0024d54c 5b5ba258 xul!nsDocShell::GetInterface(struct nsID * aIID = 0x5c4ee8f0, void ** aSink = 0x0024d58c)+0x296 [e:\builds\moz2_slave\m-cen-w32-ntly-000000000000000\build\docshell\base\nsdocshell.cpp @ 950]
0024d570 5b5d9e34 xul!nsGetInterface::operator()(struct nsID * aIID = 0x0000e978, void ** aInstancePtr = 0x7fdd4018)+0x58 [e:\builds\moz2_slave\m-cen-w32-ntly-000000000000000\build\obj-firefox\xpcom\build\nsiinterfacerequestorutils.cpp @ 19]
0024d584 5b4a2070 xul!nsCOMPtr_base::assign_from_helper(class nsCOMPtr_helper * helper = 0x0000e978, struct nsID * iid = 0x00000000)+0x44 [e:\builds\moz2_slave\m-cen-w32-ntly-000000000000000\build\obj-firefox\xpcom\build\nscomptr.cpp @ 111]
0024d594 5b6f33d0 xul!nsCOMPtr<nsIDocument>::nsCOMPtr<nsIDocument>(class nsCOMPtr_helper * helper = 0x0024d5a0)+0x16 [e:\builds\moz2_slave\m-cen-w32-ntly-000000000000000\build\obj-firefox\dist\include\nscomptr.h @ 607]
0024d5b0 5bd59b06 xul!nsPIDOMWindow::MaybeCreateDoc(void)+0x29 [e:\builds\moz2_slave\m-cen-w32-ntly-000000000000000\build\dom\base\nsglobalwindow.cpp @ 3076]
0024d5bc 5bf194bf xul!nsPIDOMWindow::GetDoc(void)+0x14 [e:\builds\moz2_slave\m-cen-w32-ntly-000000000000000\build\dom\base\nspidomwindow.h @ 191]
0024d5d0 5bf194cf xul!nsGenericHTMLFrameElement::GetContentDocument(void)+0x39 [e:\builds\moz2_slave\m-cen-w32-ntly-000000000000000\build\content\html\content\src\nsgenerichtmlframeelement.cpp @ 67]
0024d5e0 5bf1c76d xul!nsGenericHTMLFrameElement::GetContentDocument(class nsIDOMDocument ** aContentDocument = 0x0024d60c)+0xc [e:\builds\moz2_slave\m-cen-w32-ntly-000000000000000\build\content\html\content\src\nsgenerichtmlframeelement.cpp @ 54]
0024d5f0 5c0d4413 xul!mozilla::dom::HTMLIFrameElement::GetContentDocument(class nsIDOMDocument ** aContentDocument = 0x0024d60c)+0x12 [e:\builds\moz2_slave\m-cen-w32-ntly-000000000000000\build\content\html\content\src\htmliframeelement.cpp @ 78]
0024d6d0 64e88e21 xul!nsIDOMHTMLIFrameElement_GetContentDocument(struct JSContext * cx = 0x30553100, class JS::Handle<JSObject *> obj = class JS::Handle<JSObject *>, class JS::Handle<int> id = class JS::Handle<int>, class JS::MutableHandle<JS::Value> vp_ = class JS::MutableHandle<JS::Value>)+0xb5 [e:\builds\moz2_slave\m-cen-w32-ntly-000000000000000\build\obj-firefox\js\xpconnect\src\dom_quickstubs.cpp @ 3779]
0024d7ec 64e7f219 mozjs!js::GetPropertyOperation(struct JSContext * cx = 0x30553100, class JSScript * script = 0x0024e198, unsigned char * pc = 0x00000048 "--- memory read error at address 0x00000048 ---", class JS::MutableHandle<JS::Value> lval = class JS::MutableHandle<JS::Value>, class JS::MutableHandle<JS::Value> vp = class JS::MutableHandle<JS::Value>)+0xe51 [e:\builds\moz2_slave\m-cen-w32-ntly-000000000000000\build\js\src\jsinterpinlines.h @ 295]
0024e198 64e8cb78 mozjs!js::Interpret(struct JSContext * cx = 0x00015180, class js::StackFrame * entryFrame = 0x06e30028, js::InterpMode interpMode = JSINTERP_NORMAL (0n0))+0x6a9 [e:\builds\moz2_slave\m-cen-w32-ntly-000000000000000\build\js\src\jsinterp.cpp @ 2211]
0024e308 64ea9a30 mozjs!js::RunScript(struct JSContext * cx = 0x30553100, class js::StackFrame * fp = 0x06e30028)+0xb8 [e:\builds\moz2_slave\m-cen-w32-ntly-000000000000000\build\js\src\jsinterp.cpp @ 340]
0024e35c 64e32113 mozjs!js::ExecuteKernel(struct JSContext * cx = 0x30553100, class JS::Handle<JSScript *> script = class JS::Handle<JSScript *>, class JSObject * scopeChainArg = 0x00000048, class JS::Value * thisv = 0x0024e380, js::ExecuteType type = EXECUTE_GLOBAL (0n1), class js::AbstractFramePtr evalInFrame = class js::AbstractFramePtr, class JS::Value * result = 0x00000000)+0x160 [e:\builds\moz2_slave\m-cen-w32-ntly-000000000000000\build\js\src\jsinterp.cpp @ 534]
0024e388 64e3293d mozjs!js::Execute(struct JSContext * cx = 0x00015180, class JS::Handle<JSScript *> script = class JS::Handle<JSScript *>, class JSObject * scopeChainArg = 0x00000048, class JS::Value * rval = 0x00000000)+0x83 [e:\builds\moz2_slave\m-cen-w32-ntly-000000000000000\build\js\src\jsinterp.cpp @ 570]
0024e404 5b676390 mozjs!JS::Evaluate(struct JSContext * cx = 0x30553100, class JS::Handle<JSObject *> obj = class JS::Handle<JSObject *>, struct JS::CompileOptions options = struct JS::CompileOptions, wchar_t * chars = 0x7f8eed48 ".                dapMgr.enableACB("USNews728",false);.                dapMgr.renderAd("USNews728","&PG=CNBGE7&AP=1390&PN=CNBC",728,90);.              ", unsigned int length = 0x96, class JS::Value * rval = 0x00000000)+0x10d [e:\builds\moz2_slave\m-cen-w32-ntly-000000000000000\build\js\src\jsapi.cpp @ 5530]
0024e484 64ed9f57 xul!nsJSContext::EvaluateString(class nsAString_internal * aScript = 0x0024e598, class JSObject * aScopeObject = 0x6f4e5040, struct JS::CompileOptions * aOptions = 0x0024e4e0, bool aCoerceToString = false, class JS::Value * aRetValue = 0x00000000)+0x1e0 [e:\builds\moz2_slave\m-cen-w32-ntly-000000000000000\build\dom\base\nsjsenvironment.cpp @ 1290]
0024e520 5b5c1e92 mozjs!JS::CompileOptions::CompileOptions(struct JSContext * cx = 0x00000000)+0x27 [e:\builds\moz2_slave\m-cen-w32-ntly-000000000000000\build\js\src\jsapi.cpp @ 5147]
0024e53c 7fdcd2b0 xul!nsQueryReferent::operator()(struct nsID * aIID = 0x0000e978, void ** answer = 0x00000000)+0x32 [e:\builds\moz2_slave\m-cen-w32-ntly-000000000000000\build\obj-firefox\xpcom\build\nsweakreference.cpp @ 56]
WARNING: Frame IP not in any known module. Following frames may be wrong.
0024e548 5b6384ce 0x7fdcd2b0
0024e550 5b50cfe3 xul!nsRefPtr<mozilla::dom::Element>::~nsRefPtr<mozilla::dom::Element>(void)+0xe [e:\builds\moz2_slave\m-cen-w32-ntly-000000000000000\build\obj-firefox\dist\include\nsautoptr.h @ 881]
0024e568 0024e598 xul!nsIScriptElement::BeginEvaluating(void)+0x3f [e:\builds\moz2_slave\m-cen-w32-ntly-000000000000000\build\obj-firefox\dist\include\nsiscriptelement.h @ 188]
0024e5b0 5b65e99c 0x24e598
0024e620 5b5d9bd3 xul!mozilla::dom::Element::GetAttr(int aNameSpaceID = 0n0, class nsIAtom * aName = 0x008a0044, class nsAString_internal * aResult = 0x7fdcd2b0)+0x3c [e:\builds\moz2_slave\m-cen-w32-ntly-000000000000000\build\content\base\src\element.cpp @ 1947]
0024e644 5b6384ce xul!nsCOMPtr_base::assign_with_AddRef(class nsISupports * rawPtr = 0x0000e978)+0x23 [e:\builds\moz2_slave\m-cen-w32-ntly-000000000000000\build\obj-firefox\xpcom\build\nscomptr.cpp @ 49]
0024e64c 5b56b3d5 xul!nsRefPtr<mozilla::dom::Element>::~nsRefPtr<mozilla::dom::Element>(void)+0xe [e:\builds\moz2_slave\m-cen-w32-ntly-000000000000000\build\obj-firefox\dist\include\nsautoptr.h @ 881]
0024e8cc 5b6cb47a xul!nsDataDocumentContentPolicy::ShouldLoad(unsigned int aContentType = 0x4da72010, class nsIURI * aContentLocation = 0x69667404, class nsIURI * aRequestingLocation = 0x00000000, class nsISupports * aRequestingContext = 0x60520120, class nsACString_internal * aMimeGuess = 0x4da72080, class nsISupports * aExtra = 0x5877d800, class nsIPrincipal * aRequestPrincipal = 0x696673c0, short * aDecision = 0x0024e90c)+0x85 [e:\builds\moz2_slave\m-cen-w32-ntly-000000000000000\build\content\base\src\nsdatadocumentcontentpolicy.cpp @ 118]
0024e8f4 5b5501f6 xul!nsScriptElement::MaybeProcessScript(void)+0xe6 [e:\builds\moz2_slave\m-cen-w32-ntly-000000000000000\build\content\base\src\nsscriptelement.cpp @ 139]
0024e90c 5b5ad5aa xul!nsHtml5TreeOpExecutor::RunScript(class nsIContent * aScriptElement = 0x696673c0)+0x60 [e:\builds\moz2_slave\m-cen-w32-ntly-000000000000000\build\parser\html\nshtml5treeopexecutor.cpp @ 789]
0024e93c 5c0c8b0d xul!nsHtml5TreeOpExecutor::RunFlushLoop(void)+0x31a [e:\builds\moz2_slave\m-cen-w32-ntly-000000000000000\build\parser\html\nshtml5treeopexecutor.cpp @ 596]
0024e950 5b5ac626 xul!FlushTimerCallback(class nsITimer * aTimer = 0x1a792500, void * aClosure = 0x00000000)+0x1f [e:\builds\moz2_slave\m-cen-w32-ntly-000000000000000\build\parser\html\nshtml5treeopexecutor.cpp @ 308]
0024ea38 5b5a5210 xul!nsTimerImpl::Fire(void)+0x1e6 [e:\builds\moz2_slave\m-cen-w32-ntly-000000000000000\build\xpcom\threads\nstimerimpl.cpp @ 498]
0024ea44 5b5c75b9 xul!nsTimerEvent::Run(void)+0x20 [e:\builds\moz2_slave\m-cen-w32-ntly-000000000000000\build\xpcom\threads\nstimerimpl.cpp @ 591]
0024eab8 5b5a17cd xul!nsThread::ProcessNextEvent(bool mayWait = false, bool * result = 0x0024ead7)+0x329 [e:\builds\moz2_slave\m-cen-w32-ntly-000000000000000\build\xpcom\threads\nsthread.cpp @ 627]
0024eacc 5b8fdcfe xul!NS_ProcessNextEvent_P(class nsIThread * thread = 0x0101d280, bool mayWait = false)+0x2d [e:\builds\moz2_slave\m-cen-w32-ntly-000000000000000\build\obj-firefox\xpcom\build\nsthreadutils.cpp @ 238]
0024eaf8 5b97a55b xul!mozilla::ipc::MessagePump::Run(class base::MessagePump::Delegate * aDelegate = 0x010370e0)+0x46 [e:\builds\moz2_slave\m-cen-w32-ntly-000000000000000\build\ipc\glue\messagepump.cpp @ 82]
0024eb30 5b97a60f xul!MessageLoop::RunHandler(void)+0x51 [e:\builds\moz2_slave\m-cen-w32-ntly-000000000000000\build\ipc\chromium\src\base\message_loop.cc @ 210]
0024eb50 5b72162f xul!MessageLoop::Run(void)+0x19 [e:\builds\moz2_slave\m-cen-w32-ntly-000000000000000\build\ipc\chromium\src\base\message_loop.cc @ 184]
0024eb60 5b72165a xul!nsBaseAppShell::Run(void)+0x2e [e:\builds\moz2_slave\m-cen-w32-ntly-000000000000000\build\widget\xpwidgets\nsbaseappshell.cpp @ 165]

Updated

5 years ago
Severity: normal → critical

Comment 8

5 years ago
 kadamprashant, xtc, can you still reproduce when using version 26 or 27?
Flags: needinfo?(xtc4uall)
Flags: needinfo?(kadamprashant)
Whiteboard: [MemShrink:P3][js:t] → [MemShrink:P3][js:t][tbird crash]

Comment 9

5 years ago
I no longer can reproduce the high memory usage when using http://web.archive.org/web/20120902220322/http://cnbc8news.com/?s=news
I never could since the original Site went down.
Per Crashstats there's still Volume there though.
Maybe other Examples should be pulled off crashstats?
And/or a Dev shold decide if this is actionable and/or should be closed?!
Flags: needinfo?(xtc4uall)
I just had the archived version of the site open in a trunk build for over an hour, and memory consumption was flat and reasonable:

│   ├───9.49 MB (04.77%) -- top(http://web.archive.org/web/20120902220322/http://cnbc8news.com/?s=news, id=8)/active
│   │   ├──6.62 MB (03.33%) -- window(http://web.archive.org/web/20120902220322/http://cnbc8news.com/?s=news)
│   │   │  ├──4.17 MB (02.10%) ++ (5 tiny)
│   │   │  └──2.45 MB (01.23%) ++ layout
│   │   └──2.87 MB (01.44%) ++ (2 tiny)

Good enough for me.
Status: NEW → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → WORKSFORME
(Reporter)

Updated

3 years ago
Flags: needinfo?(kadamprashant)
You need to log in before you can comment on or make changes to this bug.