Closed Bug 308339 Opened 19 years ago Closed 5 years ago

null principals [@ nsHTMLDocument::GetCookie]

Categories

(Core :: DOM: Core & HTML, defect)

x86
Windows XP
defect
Not set
critical

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: timeless, Assigned: timeless)

References

()

Details

(Keywords: crash)

Crash Data

Attachments

(1 file)

steps:
use venkman and some very strange breakpoints (while venkman is loading the 
window in question) and then inspect window.document using the watch window, 
which implicitly tries to evaluate window.document.cookie which crashes:

NS_IMETHODIMP
nsHTMLDocument::GetCookie(nsAString& aCookie)
{
  aCookie.Truncate(); // clear current cookie in case service fails;
                      // no cookie isn't an error condition.

  // not having a cookie service isn't an error
  nsCOMPtr<nsICookieService> service = do_GetService(kCookieServiceCID);
  if (service) {
    // Get a URI from the document principal. We use the original
    // codebase in case the codebase was changed by SetDomain
    nsCOMPtr<nsIURI> codebaseURI;
    mPrincipal->GetURI(getter_AddRefs(codebaseURI));


0:000> dv
         cookie = class nsXPIDLCString
    codebaseURI = class nsCOMPtr<nsIURI>
           this = 0x34cc7d88
        aCookie = 0x00125ac8
        service = class nsCOMPtr<nsICookieService>
0:000> dt -b nsHTMLDocument 0x34cc7d88
   +0x000 __VFN_table : 0x01761dc0 
   +0x004 mDocumentTitle   : 
      +0x000 mVTable          : 0x00998d68 
      +0x004 mData            : 0x00998d64  ""
      +0x008 mLength          : 0
      +0x00c mFlags           : 3
   +0x014 mDocumentURI     : nsCOMPtr<nsIURI>
      +0x000 mRawPtr          : 0x34dd3220 
   +0x018 mDocumentBaseURI : nsCOMPtr<nsIURI>
      +0x000 mRawPtr          : 0x34dd3220 
   +0x01c mDocumentLoadGroup : nsCOMPtr<nsIWeakReference>
      +0x000 mRawPtr          : 0x34dd34f0 
   +0x020 mDocumentContainer : nsCOMPtr<nsIWeakReference>
      +0x000 mRawPtr          : 0x349b1a60 
   +0x024 mCharacterSet    : nsCString
      +0x000 mVTable          : 0x00998e38 
      +0x004 mData            : 0x34cc8028  "ISO-8859-1"
      +0x008 mLength          : 0xa
      +0x00c mFlags           : 5
   +0x034 mCharacterSetSource : 0
   +0x038 mParentDocument  : (null) 
   +0x03c mRootContent     : 0x34dd2ed0 
   +0x040 mNextContentID   : 0x2711
   +0x044 mBindingManager  : nsCOMPtr<nsIBindingManager>
      +0x000 mRawPtr          : 0x34dd2ab8 
   +0x048 mNodeInfoManager : 0x34cc8150 
   +0x04c mCSSLoader       : 0x34dd2be0 
   +0x050 mPropertyTable   : nsPropertyTable
      +0x000 mPropertyList    : (null) 
   +0x054 mBidiEnabled     : 0
   +0x058 mContentLanguage : nsXPIDLCString
      +0x000 mVTable          : 0x00998e38 
      +0x004 mData            : 0x00998d64  ""
      +0x008 mLength          : 0
      +0x00c mFlags           : 1
   +0x068 mContentType     : nsCString
      +0x000 mVTable          : 0x00998e38 
      +0x004 mData            : 0x34dd2e58  "text/html"
      +0x008 mLength          : 9
      +0x00c mFlags           : 5
   +0x078 mSecurityInfo    : nsCOMPtr<nsISupports>
      +0x000 mRawPtr          : (null) 
   +0x07c mPartID          : 0
   +0x080 __VFN_table : 0x01761cf8 
   +0x084 __VFN_table : 0x01761cc0 
   +0x088 __VFN_table : 0x01761cb0 
   +0x08c __VFN_table : 0x01761ca0 
   +0x090 __VFN_table : 0x01761c8c 
   +0x094 __VFN_table : 0x01761c7c 
   +0x098 __VFN_table : 0x01761c6c 
   +0x09c __VFN_table : 0x01761c58 
   +0x0a0 __VFN_table : 0x01761c34 
   +0x0a4 __VFN_table : 0x01761bc0 
   +0x0a8 __VFN_table : 0x01761bac 
   +0x0ac mProxy           : 0x154e19d8 
   +0x0b0 __VFN_table : 0x01761b80 
   +0x0b4 __VFN_table : 0x01761b64 
   +0x0b8 __VFN_table : 0x01761b54 
   +0x0bc __VFN_table : 0x01761b44 
   +0x0c0 __VFN_table : 0x01761b1c 
   +0x0c4 mRefCnt          : 
      +0x000 mValue           : 0xa
   +0x0c8 mReferrer        : nsCString
      +0x000 mVTable          : 0x00998e38 
      +0x004 mData            : 0x00998d64  ""
      +0x008 mLength          : 0
      +0x00c mFlags           : 1
   +0x0d8 mLastModified    : nsString
      +0x000 mVTable          : 0x00998d68 
      +0x004 mData            : 0x00998d64  ""
      +0x008 mLength          : 0
      +0x00c mFlags           : 1
   +0x0e8 mPrincipal       : nsCOMPtr<nsIPrincipal>
      +0x000 mRawPtr          : (null) 
   +0x0ec mCharSetObservers : nsVoidArray
      +0x000 __VFN_table : 0x00992998 
      +0x004 mImpl            : 0x34fbe740 
   +0x0f4 mSubDocuments    : (null) 
   +0x0f8 mPresShells      : nsSmallVoidArray
      +0x000 mChildren        : 0x34fbe3d1 
   +0x0fc mChildren        : nsCOMArray<nsIContent>
      +0x000 mArray           : nsVoidArray
         +0x000 __VFN_table : 0x00992998 
         +0x004 mImpl            : 0x34c60618 
   +0x104 mParser          : nsCOMPtr<nsIParser>
      +0x000 mRawPtr          : (null) 
   +0x108 mStyleSheets     : nsCOMArray<nsIStyleSheet>
      +0x000 mArray           : nsVoidArray
         +0x000 __VFN_table : 0x00992998 
         +0x004 mImpl            : (null) 
   +0x110 mCatalogSheets   : nsCOMArray<nsIStyleSheet>
      +0x000 mArray           : nsVoidArray
         +0x000 __VFN_table : 0x00992998 
         +0x004 mImpl            : (null) 
   +0x118 mObservers       : nsAutoVoidArray
      +0x000 __VFN_table : 0x009929ac 
      +0x004 mImpl            : 0x34cc7ea8 
      +0x008 mAutoBuf         :  "???"
       [00] 8 ''
       [01] 0 ''
       [02] 0 ''
       [03] 0 ''
       [04] 8 ''
       [05] 0 ''
       [06] 0 ''
       [07] 0 ''
       [08] -64 ''
       [09] 42 '*'
       [10] -35 ''
       [11] 52 '4'
       [12] 76 'L'
       [13] -28 ''
       [14] -5 ''
       [15] 52 '4'
       [16] -76 ''
       [17] 33 '!'
       [18] -95 ''
       [19] 2 ''
       [20] 60 '<'
       [21] -16 ''
       [22] -61 ''
       [23] 3 ''
       [24] 76 'L'
       [25] -20 ''
       [26] -128 ''
       [27] 3 ''
       [28] 12 ''
       [29] -63 ''
       [30] 103 'g'
       [31] 21 ''
       [32] -28 ''
       [33] 40 '('
       [34] -59 ''
       [35] 52 '4'
       [36] -92 ''
       [37] 88 'X'
       [38] -121 ''
       [39] 22 ''
   +0x148 mScriptGlobalObject : nsCOMPtr<nsIScriptGlobalObject>
      +0x000 mRawPtr          : 0x34cc7bd0 
   +0x14c mListenerManager : nsCOMPtr<nsIEventListenerManager>
      +0x000 mRawPtr          : 0x16846a80 
   +0x150 mDOMStyleSheets  : nsCOMPtr<nsIDOMStyleSheetList>
      +0x000 mRawPtr          : 0x02a121b0 
   +0x154 mScriptLoader    : nsCOMPtr<nsIScriptLoader>
      +0x000 mRawPtr          : (null) 
   +0x158 mHeaderData      : (null) 
   +0x15c mChildNodes      : nsRefPtr<nsDocumentChildNodes>
      +0x000 mRawPtr          : 0x162678b0 
   +0x160 mRadioGroups     : nsHashtable
      +0x000 __VFN_table : 0x00990530 
      +0x004 mLock            : (null) 
      +0x008 mHashtable       : PLDHashTable
         +0x000 ops              : 0x00992800 
         +0x004 data             : (null) 
         +0x008 hashShift        : 0x1c
         +0x00a maxAlphaFrac     : 0xc0 ''
         +0x00b minAlphaFrac     : 0x40 '@'
         +0x00c entrySize        : 0xc
         +0x010 entryCount       : 0
         +0x014 removedCount     : 0
         +0x018 generation       : 0
         +0x01c entryStore       : 0x34cc8060  ""
      +0x028 mEnumerating     : 0
   +0x18c mIsGoingAway     : 0y0
   +0x18c mInDestructor    : 0y0
   +0x18c mVisible         : 0y1
   +0x18d mXMLDeclarationBits : 0 ''
   +0x18e mDefaultElementType : 0x3 ''
   +0x190 mBoxObjectTable  : (null) 
   +0x194 mChannel         : nsCOMPtr<nsIChannel>
      +0x000 mRawPtr          : (null) 
   +0x198 mAttrStyleSheet  : nsRefPtr<nsHTMLStyleSheet>
      +0x000 mRawPtr          : 0x34dd3308 
   +0x19c mStyleAttrStyleSheet : nsCOMPtr<nsIHTMLCSSStyleSheet>
      +0x000 mRawPtr          : 0x34dd34a8 
   +0x1a0 mXMLEventsManager : nsRefPtr<nsXMLEventsManager>
      +0x000 mRawPtr          : (null) 
   +0x1a4 mScriptEventManager : nsCOMPtr<nsIScriptEventManager>
      +0x000 mRawPtr          : (null) 
   +0x1a8 mBaseTarget      : nsString
      +0x000 mVTable          : 0x00998d68 
      +0x004 mData            : 0x00998d64  ""
      +0x008 mLength          : 0
      +0x00c mFlags           : 1
   +0x1b8 mXPathDocument   : 0x16341f58 
   +0x1bc mLayoutHistoryState : nsCOMPtr<nsILayoutHistoryState>
      +0x000 mRawPtr          : (null) 
   +0x1c0 mOnloadBlockCount : 0
   +0x1c4 mOnloadBlocker   : nsCOMPtr<nsIRequest>
      +0x000 mRawPtr          : 0x34f6c8c0 
   +0x1c8 mLinkMap         : nsTHashtable<nsUint32ToContentHashEntry>
      +0x000 mTable           : PLDHashTable
         +0x000 ops              : 0x017977e8 
         +0x004 data             : (null) 
         +0x008 hashShift        : 0x1c
         +0x00a maxAlphaFrac     : 0xc0 ''
         +0x00b minAlphaFrac     : 0x40 '@'
         +0x00c entrySize        : 0xc
         +0x010 entryCount       : 0
         +0x014 removedCount     : 0
         +0x018 generation       : 0
         +0x01c entryStore       : 0x34dd29c8  ""
   +0x1e8 mVisitednessChangedURIs : nsCOMArray<nsIURI>
      +0x000 mArray           : nsVoidArray
         +0x000 __VFN_table : 0x00992998 
         +0x004 mImpl            : (null) 
   +0x1f0 __VFN_table : 0x01761ad8 
   +0x1f4 __VFN_table : 0x017619d8 
   +0x1f8 __VFN_table : 0x01761940 
   +0x1fc mCompatMode      : 3 ( eCompatibility_NavQuirks )
   +0x200 mImageMaps       : nsCOMArray<nsIDOMHTMLMapElement>
      +0x000 mArray           : nsVoidArray
         +0x000 __VFN_table : 0x00992998 
         +0x004 mImpl            : (null) 
   +0x208 mImages          : nsCOMPtr<nsIDOMHTMLCollection>
      +0x000 mRawPtr          : 0x03c3f038 
   +0x20c mApplets         : nsCOMPtr<nsIDOMHTMLCollection>
      +0x000 mRawPtr          : 0x0380ec48 
   +0x210 mEmbeds          : nsCOMPtr<nsIDOMHTMLCollection>

00 gklayout!nsHTMLDocument::GetCookie(class nsAString_internal * aCookie = 
0x00125ac8)+0x74 (FPO: [Non-Fpo]) (CONV: stdcall) 
[r:\mozilla\content\html\document\src\nshtmldocument.cpp @ 1783]
01 xpcom_core!XPTC_InvokeByIndex(class nsISupports * that = 0x34cc7f7c, 
unsigned int methodIndex = 0x39, unsigned int paramCount = 1, struct 
nsXPTCVariant * params = 0x00125a10)+0x27 (CONV: cdecl) 
[r:\mozilla\xpcom\reflect\xptcall\src\md\win32\xptcinvoke.cpp @ 102]
02 xpc3250!XPCWrappedNative::CallMethod(class XPCCallContext * ccx = 
0x00125bd0, XPCWrappedNative::CallMode mode = CALL_GETTER (1))+0xd76 (FPO: [Non-
Fpo]) (CONV: cdecl) [r:\mozilla\js\src\xpconnect\src\xpcwrappednative.cpp @ 
2142]
03 xpc3250!XPCWrappedNative::GetAttribute(class XPCCallContext * ccx = 
0x00125bd0)+0xe (FPO: [Non-Fpo]) (CONV: cdecl) 
[r:\mozilla\js\src\xpconnect\src\xpcprivate.h @ 1924]
04 xpc3250!XPC_WN_GetterSetter(struct JSContext * cx = 0x044243f8, struct 
JSObject * obj = 0x05ee4b60, unsigned int argc = 0, long * argv = 0x34cf559c, 
long * vp = 0x00125cd0)+0x19f (FPO: [Non-Fpo]) (CONV: cdecl) 
[r:\mozilla\js\src\xpconnect\src\xpcwrappednativejsops.cpp @ 1461]
05 js3250!js_Invoke(struct JSContext * cx = 0x044243f8, unsigned int argc = 0, 
unsigned int flags = 2)+0x9cb (FPO: [Non-Fpo]) (CONV: cdecl) 
[r:\mozilla\js\src\jsinterp.c @ 1163]
06 js3250!js_InternalInvoke(struct JSContext * cx = 0x044243f8, struct JSObject 
* obj = 0x05ee4b60, long fval = 0x6bf5898, unsigned int flags = 0, unsigned int 
argc = 0, long * argv = 0x00000000, long * rval = 0x00126654)+0xe1 (FPO: [Non-
Fpo]) (CONV: cdecl) [r:\mozilla\js\src\jsinterp.c @ 1260]
07 js3250!js_InternalGetOrSet(struct JSContext * cx = 0x044243f8, struct 
JSObject * obj = 0x05ee4b60, long id = 0x11c0e68, long fval = 0x6bf5898, 
JSAccessMode mode = JSACC_READ (4), unsigned int argc = 0, long * argv = 
0x00000000, long * rval = 0x00126654)+0x167 (FPO: [Non-Fpo]) (CONV: cdecl) 
[r:\mozilla\js\src\jsinterp.c @ 1303]
08 js3250!js_GetProperty(struct JSContext * cx = 0x044243f8, struct JSObject * 
obj = 0x05ee4b60, long id = 0x11c0e68, long * vp = 0x00126654)+0x41f (FPO: [Non-
Fpo]) (CONV: cdecl) [r:\mozilla\js\src\jsobj.c @ 2843]
09 js3250!js_Interpret(struct JSContext * cx = 0x044243f8, unsigned char * pc = 
0x046a2f96 "7:", long * result = 0x00126784)+0x9c80 (FPO: [Non-Fpo]) (CONV: 
cdecl) [r:\mozilla\js\src\jsinterp.c @ 3302]
0a js3250!js_Invoke(struct JSContext * cx = 0x044243f8, unsigned int argc = 1, 
unsigned int flags = 2)+0xa24 (FPO: [Non-Fpo]) (CONV: cdecl) 
[r:\mozilla\js\src\jsinterp.c @ 1183]
0b xpc3250!nsXPCWrappedJSClass::CallMethod(class nsXPCWrappedJS * wrapper = 
0x057ca390, unsigned short methodIndex = 0x18, class nsXPTMethodInfo * info = 
0x01112c68, struct nsXPTCMiniVariant * nativeParams = 0x00126a90)+0xcc9 (FPO: 
[Non-Fpo]) (CONV: stdcall) 
[r:\mozilla\js\src\xpconnect\src\xpcwrappedjsclass.cpp @ 1471]
0c xpc3250!nsXPCWrappedJS::CallMethod(unsigned short methodIndex = 0x18, class 
nsXPTMethodInfo * info = 0x01112c68, struct nsXPTCMiniVariant * params = 
0x00126a90)+0x3f (FPO: [Non-Fpo]) (CONV: stdcall) 
[r:\mozilla\js\src\xpconnect\src\xpcwrappedjs.cpp @ 515]
0d xpcom_core!PrepareAndDispatch(class nsXPTCStubBase * self = 0x057ca390, 
unsigned int methodIndex = 0x18, unsigned int * args = 0x00126b58, unsigned int 
* stackBytesToPop = 0x00126b48)+0x2a5 (FPO: [Non-Fpo]) (CONV: stdcall) 
[r:\mozilla\xpcom\reflect\xptcall\src\md\win32\xptcstubs.cpp @ 117]
0e xpcom_core!SharedStub(void)+0x16 (CONV: cdecl) 
[r:\mozilla\xpcom\reflect\xptcall\src\md\win32\xptcstubs.cpp @ 147]
0f xpcom_core!XPTC_InvokeByIndex(class nsISupports * that = 0x057ca390, 
unsigned int methodIndex = 0x18, unsigned int paramCount = 1, struct 
nsXPTCVariant * params = 0x00126c94)+0x27 (CONV: cdecl) 
[r:\mozilla\xpcom\reflect\xptcall\src\md\win32\xptcinvoke.cpp @ 102]
10 xpc3250!XPCWrappedNative::CallMethod(class XPCCallContext * ccx = 
0x00126e40, XPCWrappedNative::CallMode mode = CALL_METHOD (0))+0xd76 (FPO: [Non-
Fpo]) (CONV: cdecl) [r:\mozilla\js\src\xpconnect\src\xpcwrappednative.cpp @ 
2142]
11 xpc3250!XPC_WN_CallMethod(struct JSContext * cx = 0x044243f8, struct 
JSObject * obj = 0x08031d38, unsigned int argc = 1, long * argv = 0x34cf5344, 
long * vp = 0x00126f40)+0x12b (FPO: [Non-Fpo]) (CONV: cdecl) 
[r:\mozilla\js\src\xpconnect\src\xpcwrappednativejsops.cpp @ 1429]
12 js3250!js_Invoke(struct JSContext * cx = 0x044243f8, unsigned int argc = 1, 
unsigned int flags = 0)+0x9cb (FPO: [Non-Fpo]) (CONV: cdecl) 
[r:\mozilla\js\src\jsinterp.c @ 1163]
13 js3250!js_Interpret(struct JSContext * cx = 0x044243f8, unsigned char * pc = 
0x02725594 ":", long * result = 0x00127890)+0xa9db (FPO: [Non-Fpo]) (CONV: 
cdecl) [r:\mozilla\js\src\jsinterp.c @ 3461]
14 js3250!js_Invoke(struct JSContext * cx = 0x044243f8, unsigned int argc = 1, 
unsigned int flags = 2)+0xa24 (FPO: [Non-Fpo]) (CONV: cdecl) 
[r:\mozilla\js\src\jsinterp.c @ 1183]
15 js3250!js_InternalInvoke(struct JSContext * cx = 0x044243f8, struct JSObject 
* obj = 0x05331fb8, long fval = 0x6bf5378, unsigned int flags = 0, unsigned int 
argc = 1, long * argv = 0x00127b9c, long * rval = 0x00127ba0)+0xe1 (FPO: [Non-
Fpo]) (CONV: cdecl) [r:\mozilla\js\src\jsinterp.c @ 1260]
16 js3250!JS_CallFunctionValue(struct JSContext * cx = 0x044243f8, struct 
JSObject * obj = 0x05331fb8, long fval = 0x6bf5378, unsigned int argc = 1, long 
* argv = 0x00127b9c, long * rval = 0x00127ba0)+0x47 (FPO: [Non-Fpo]) (CONV: 
cdecl) [r:\mozilla\js\src\jsapi.c @ 4059]
17 gklayout!nsJSContext::CallEventHandler(struct JSObject * aTarget = 
0x05331fb8, struct JSObject * aHandler = 0x06bf5378, unsigned int argc = 1, 
long * argv = 0x00127b9c, long * rval = 0x00127ba0)+0x116 (FPO: [Non-Fpo]) 
(CONV: thiscall) [r:\mozilla\dom\src\base\nsjsenvironment.cpp @ 1431]
18 gklayout!nsJSEventListener::HandleEvent(class nsIDOMEvent * aEvent = 
0x34a692c0)+0x4ba (FPO: [Non-Fpo]) (CONV: stdcall) 
[r:\mozilla\dom\src\events\nsjseventlistener.cpp @ 209]
19 gklayout!nsXBLPrototypeHandler::ExecuteHandler(class nsIDOMEventReceiver * 
aReceiver = 0x34e3e260, class nsIDOMEvent * aEvent = 0x34a692c0)+0x16b1 (FPO: 
[Non-Fpo]) (CONV: thiscall) 
[r:\mozilla\content\xbl\src\nsxblprototypehandler.cpp @ 502]
1a gklayout!nsXBLKeyEventHandler::HandleEvent(class nsIDOMEvent * aEvent = 
0x34a692c0)+0x16a (FPO: [Non-Fpo]) (CONV: stdcall) 
[r:\mozilla\content\xbl\src\nsxbleventhandler.cpp @ 153]
1b gklayout!nsEventListenerManager::HandleEventSubType(struct nsListenerStruct 
* aListenerStruct = 0x05775370, class nsIDOMEvent * aDOMEvent = 0x34a692c0, 
class nsIDOMEventTarget * aCurrentTarget = 0x34e3e260, unsigned int aSubType = 
4, unsigned int aPhaseFlags = 7)+0x241 (FPO: [Non-Fpo]) (CONV: thiscall) 
[r:\mozilla\content\events\src\nseventlistenermanager.cpp @ 1702]
1c gklayout!nsEventListenerManager::HandleEvent(class nsPresContext * 
aPresContext = 0x04311bf0, class nsEvent * aEvent = 0x001289d4, class 
nsIDOMEvent ** aDOMEvent = 0x00128684, class nsIDOMEventTarget * aCurrentTarget 
= 0x34e3e260, unsigned int aFlags = 7, nsEventStatus * aEventStatus = 
0x00128808)+0x31c (FPO: [Non-Fpo]) (CONV: stdcall) 
[r:\mozilla\content\events\src\nseventlistenermanager.cpp @ 1806]
1d gklayout!nsXULElement::HandleDOMEvent(class nsPresContext * aPresContext = 
0x04311bf0, class nsEvent * aEvent = 0x001289d4, class nsIDOMEvent ** aDOMEvent 
= 0x00128684, unsigned int aFlags = 7, nsEventStatus * aEventStatus = 
0x00128808)+0xc0b (FPO: [Non-Fpo]) (CONV: thiscall) 
[r:\mozilla\content\xul\content\src\nsxulelement.cpp @ 2201]
1e gklayout!PresShell::HandleEventInternal(class nsEvent * aEvent = 0x001289d4, 
class nsIView * aView = 0x0435db28, unsigned int aFlags = 1, nsEventStatus * 
aStatus = 0x00128808)+0x1c6 (FPO: [Non-Fpo]) (CONV: thiscall) 
[r:\mozilla\layout\base\nspresshell.cpp @ 6210]
1f gklayout!PresShell::HandleEvent(class nsIView * aView = 0x0435db28, class 
nsGUIEvent * aEvent = 0x001289d4, nsEventStatus * aEventStatus = 0x00128808, 
int aForceHandle = 1, int * aHandled = 0x00128804)+0x70b (FPO: [Non-Fpo]) 
(CONV: stdcall) [r:\mozilla\layout\base\nspresshell.cpp @ 6046]
20 gklayout!nsViewManager::HandleEvent(class nsView * aView = 0x0435db28, 
struct nsPoint aPoint = struct nsPoint, class nsGUIEvent * aEvent = 0x001289d4, 
int aCaptured = 0)+0x12b (FPO: [Non-Fpo]) (CONV: thiscall) 
[r:\mozilla\view\src\nsviewmanager.cpp @ 2512]
21 gklayout!nsViewManager::DispatchEvent(class nsGUIEvent * aEvent = 
0x001289d4, nsEventStatus * aStatus = 0x00128988)+0xb4e (FPO: [Non-Fpo]) (CONV: 
stdcall) [r:\mozilla\view\src\nsviewmanager.cpp @ 2245]
22 gklayout!HandleEvent(class nsGUIEvent * aEvent = 0x001289d4)+0x44 (FPO: [Non-
Fpo]) (CONV: cdecl) [r:\mozilla\view\src\nsview.cpp @ 173]
23 gkwidget!nsWindow::DispatchEvent(class nsGUIEvent * event = 0x001289d4, 
nsEventStatus * aStatus = 0x001289b4)+0x44 (FPO: [Non-Fpo]) (CONV: stdcall) 
[r:\mozilla\widget\src\windows\nswindow.cpp @ 1061]
24 gkwidget!nsWindow::DispatchWindowEvent(class nsGUIEvent * event = 0x001289d4)
+0x24 (FPO: [Non-Fpo]) (CONV: thiscall) 
[r:\mozilla\widget\src\windows\nswindow.cpp @ 1082]
25 gkwidget!nsWindow::DispatchKeyEvent(unsigned int aEventType = 0x83, unsigned 
short aCharCode = 0, unsigned int aVirtualCharCode = 0x27, long aKeyData = 
0x14d0001, unsigned int aFlags = 0)+0xdc (FPO: [Non-Fpo]) (CONV: thiscall) 
[r:\mozilla\widget\src\windows\nswindow.cpp @ 3263]
26 gkwidget!nsWindow::OnKeyDown(unsigned int aVirtualKeyCode = 0x27, unsigned 
int aScanCode = 0x14d, long aKeyData = 0x14d0001)+0x3f8 (FPO: [Non-Fpo]) (CONV: 
thiscall) [r:\mozilla\widget\src\windows\nswindow.cpp @ 3401]
27 gkwidget!nsWindow::ProcessMessage(unsigned int msg = 0x100, unsigned int 
wParam = 0x27, long lParam = 0x14d0001, long * aRetValue = 0x00128edc)+0x84d 
(FPO: [Non-Fpo]) (CONV: thiscall) [r:\mozilla\widget\src\windows\nswindow.cpp @ 
4302]
28 gkwidget!nsWindow::WindowProc(struct HWND__ * hWnd = 0x0167065a, unsigned 
int msg = 0x100, unsigned int wParam = 0x27, long lParam = 0x14d0001)+0x111 
(FPO: [Non-Fpo]) (CONV: stdcall) [r:\mozilla\widget\src\windows\nswindow.cpp @ 
1250]
WARNING: Stack unwind information not available. Following frames may be wrong.
29 USER32!GetDC+0x6d
2a USER32!GetDC+0x14f
2b USER32!GetWindowLongW+0x127
2c USER32!DispatchMessageW+0xf
2d gkwidget!nsAppShell::DispatchNativeEvent(int aRealEvent = 1, void * aEvent = 
0x018f7750)+0xd (FPO: [Non-Fpo]) (CONV: stdcall) 
[r:\mozilla\widget\src\windows\nsappshell.cpp @ 221]
2e jsd3250!jsdService::EnterNestedEventLoop(class jsdINestCallback * callback = 
0x34abeba8, unsigned int * _rval = 0x001291f0)+0x22d (FPO: [Non-Fpo]) (CONV: 
stdcall) [r:\mozilla\js\jsd\jsd_xpc.cpp @ 3036]
2f xpcom_core!XPTC_InvokeByIndex(class nsISupports * that = 0x00b76880, 
unsigned int methodIndex = 0x31, unsigned int paramCount = 2, struct 
nsXPTCVariant * params = 0x001291e0)+0x27 (CONV: cdecl) 
[r:\mozilla\xpcom\reflect\xptcall\src\md\win32\xptcinvoke.cpp @ 102]
30 xpc3250!XPCWrappedNative::CallMethod(class XPCCallContext * ccx = 
0x0012938c, XPCWrappedNative::CallMode mode = CALL_METHOD (0))+0xd76 (FPO: [Non-
Fpo]) (CONV: cdecl) [r:\mozilla\js\src\xpconnect\src\xpcwrappednative.cpp @ 
2142]
31 xpc3250!XPC_WN_CallMethod(struct JSContext * cx = 0x044243f8, struct 
JSObject * obj = 0x04a05b70, unsigned int argc = 1, long * argv = 0x34cf5264, 
long * vp = 0x0012948c)+0x12b (FPO: [Non-Fpo]) (CONV: cdecl) 
[r:\mozilla\js\src\xpconnect\src\xpcwrappednativejsops.cpp @ 1429]
32 js3250!js_Invoke(struct JSContext * cx = 0x044243f8, unsigned int argc = 1, 
unsigned int flags = 0)+0x9cb (FPO: [Non-Fpo]) (CONV: cdecl) 
[r:\mozilla\js\src\jsinterp.c @ 1163]
33 js3250!js_Interpret(struct JSContext * cx = 0x044243f8, unsigned char * pc = 
0x0459a09f ":", long * result = 0x00129ddc)+0xa9db (FPO: [Non-Fpo]) (CONV: 
cdecl) [r:\mozilla\js\src\jsinterp.c @ 3461]
34 js3250!js_Invoke(struct JSContext * cx = 0x044243f8, unsigned int argc = 3, 
unsigned int flags = 2)+0xa24 (FPO: [Non-Fpo]) (CONV: cdecl) 
[r:\mozilla\js\src\jsinterp.c @ 1183]
35 xpc3250!nsXPCWrappedJSClass::CallMethod(class nsXPCWrappedJS * wrapper = 
0x04333428, unsigned short methodIndex = 3, class nsXPTMethodInfo * info = 
0x045a4050, struct nsXPTCMiniVariant * nativeParams = 0x0012a0e8)+0xcc9 (FPO: 
[Non-Fpo]) (CONV: stdcall) 
[r:\mozilla\js\src\xpconnect\src\xpcwrappedjsclass.cpp @ 1471]
36 xpc3250!nsXPCWrappedJS::CallMethod(unsigned short methodIndex = 3, class 
nsXPTMethodInfo * info = 0x045a4050, struct nsXPTCMiniVariant * params = 
0x0012a0e8)+0x3f (FPO: [Non-Fpo]) (CONV: stdcall) 
[r:\mozilla\js\src\xpconnect\src\xpcwrappedjs.cpp @ 515]
37 xpcom_core!PrepareAndDispatch(class nsXPTCStubBase * self = 0x04333428, 
unsigned int methodIndex = 3, unsigned int * args = 0x0012a1b0, unsigned int * 
stackBytesToPop = 0x0012a1a0)+0x2a5 (FPO: [Non-Fpo]) (CONV: stdcall) 
[r:\mozilla\xpcom\reflect\xptcall\src\md\win32\xptcstubs.cpp @ 117]
38 xpcom_core!SharedStub(void)+0x16 (CONV: cdecl) 
[r:\mozilla\xpcom\reflect\xptcall\src\md\win32\xptcstubs.cpp @ 147]
39 jsd3250!jsds_ExecutionHookProc(struct JSDContext * jsdc = 0x00b768f0, struct 
JSDThreadState * jsdthreadstate = 0x34be1680, unsigned int type = 1, void * 
callerdata = 0x00000001, long * rval = 0x0012aa30)+0x27c (FPO: [Non-Fpo]) 
(CONV: cdecl) [r:\mozilla\js\jsd\jsd_xpc.cpp @ 683]
3a jsd3250!jsd_CallExecutionHook(struct JSDContext * jsdc = 0x00b768f0, struct 
JSContext * cx = 0x044243f8, unsigned int type = 1, <function> * hook = 
0x00ffb580, void * hookData = 0x00000001, long * rval = 0x0012aa30)+0x71 (FPO: 
[Non-Fpo]) (CONV: cdecl) [r:\mozilla\js\jsd\jsd_hook.c @ 177]
3b jsd3250!jsd_TrapHandler(struct JSContext * cx = 0x044243f8, struct JSScript 
* script = 0x01201978, unsigned char * pc = 0x012019b3 "ST", long * rval = 
0x0012aa30, void * closure = 0x1530f5f9)+0x1b2 (FPO: [Non-Fpo]) (CONV: cdecl) 
[r:\mozilla\js\jsd\jsd_scpt.c @ 743]
3c js3250!JS_HandleTrap(struct JSContext * cx = 0x044243f8, struct JSScript * 
script = 0x01201978, unsigned char * pc = 0x012019b3 "ST", long * rval = 
0x0012aa30)+0x67 (FPO: [Non-Fpo]) (CONV: cdecl) [r:\mozilla\js\src\jsdbgapi.c @ 
217]
3d js3250!js_Interpret(struct JSContext * cx = 0x044243f8, unsigned char * pc = 
0x012019b3 "ST", long * result = 0x0012ab60)+0xca08 (FPO: [Non-Fpo]) (CONV: 
cdecl) [r:\mozilla\js\src\jsinterp.c @ 4041]
3e js3250!js_Invoke(struct JSContext * cx = 0x044243f8, unsigned int argc = 2, 
unsigned int flags = 2)+0xa24 (FPO: [Non-Fpo]) (CONV: cdecl) 
[r:\mozilla\js\src\jsinterp.c @ 1183]
3f xpc3250!nsXPCWrappedJSClass::CallMethod(class nsXPCWrappedJS * wrapper = 
0x34be1530, unsigned short methodIndex = 4, class nsXPTMethodInfo * info = 
0x00b79e00, struct nsXPTCMiniVariant * nativeParams = 0x0012ae6c)+0xcc9 (FPO: 
[Non-Fpo]) (CONV: stdcall) 
[r:\mozilla\js\src\xpconnect\src\xpcwrappedjsclass.cpp @ 1471]
40 xpc3250!nsXPCWrappedJS::CallMethod(unsigned short methodIndex = 4, class 
nsXPTMethodInfo * info = 0x00b79e00, struct nsXPTCMiniVariant * params = 
0x0012ae6c)+0x3f (FPO: [Non-Fpo]) (CONV: stdcall) 
[r:\mozilla\js\src\xpconnect\src\xpcwrappedjs.cpp @ 515]
41 xpcom_core!PrepareAndDispatch(class nsXPTCStubBase * self = 0x34be1530, 
unsigned int methodIndex = 4, unsigned int * args = 0x0012af34, unsigned int * 
stackBytesToPop = 0x0012af24)+0x2a5 (FPO: [Non-Fpo]) (CONV: stdcall) 
[r:\mozilla\xpcom\reflect\xptcall\src\md\win32\xptcstubs.cpp @ 117]
42 xpcom_core!SharedStub(void)+0x16 (CONV: cdecl) 
[r:\mozilla\xpcom\reflect\xptcall\src\md\win32\xptcstubs.cpp @ 147]
43 gklayout!nsWindowSH::GlobalResolve(class nsGlobalWindow * aWin = 0x3507d028, 
struct JSContext * cx = 0x044243f8, struct JSObject * obj = 0x153753a0, struct 
JSString * str = 0x00ad7530, unsigned int flags = 1, int * did_resolve = 
0x0012b2f0)+0x13d5 (FPO: [Non-Fpo]) (CONV: cdecl) 
[r:\mozilla\dom\src\base\nsdomclassinfo.cpp @ 5368]
44 gklayout!nsWindowSH::NewResolve(class nsIXPConnectWrappedNative * wrapper = 
0x34ca0c90, struct JSContext * cx = 0x044243f8, struct JSObject * obj = 
0x153753a0, long id = 0xad7534, unsigned int flags = 1, struct JSObject ** objp 
= 0x0012b44c, int * _retval = 0x0012b3d0)+0x608 (FPO: [Non-Fpo]) (CONV: 
stdcall) [r:\mozilla\dom\src\base\nsdomclassinfo.cpp @ 5657]
45 xpc3250!XPC_WN_Helper_NewResolve(struct JSContext * cx = 0x044243f8, struct 
JSObject * obj = 0x153753a0, long idval = 0xad7534, unsigned int flags = 1, 
struct JSObject ** objp = 0x0012b4c4)+0x184 (FPO: [Non-Fpo]) (CONV: cdecl) 
[r:\mozilla\js\src\xpconnect\src\xpcwrappednativejsops.cpp @ 1047]
46 js3250!js_LookupPropertyWithFlags(struct JSContext * cx = 0x044243f8, struct 
JSObject * obj = 0x153753a0, long id = 0xb71000, unsigned int flags = 1, struct 
JSObject ** objp = 0x0012b584, struct JSProperty ** propp = 0x0012b574)+0x31f 
(FPO: [Non-Fpo]) (CONV: cdecl) [r:\mozilla\js\src\jsobj.c @ 2580]
47 js3250!js_LookupProperty(struct JSContext * cx = 0x044243f8, struct JSObject 
* obj = 0x153753a0, long id = 0xb71000, struct JSObject ** objp = 0x0012b584, 
struct JSProperty ** propp = 0x0012b574)+0x1e (FPO: [Non-Fpo]) (CONV: cdecl) 
[r:\mozilla\js\src\jsobj.c @ 2485]
48 js3250!js_GetProperty(struct JSContext * cx = 0x044243f8, struct JSObject * 
obj = 0x153753a0, long id = 0xb71000, long * vp = 0x0012bd1c)+0xbb (FPO: [Non-
Fpo]) (CONV: cdecl) [r:\mozilla\js\src\jsobj.c @ 2770]
49 js3250!js_Interpret(struct JSContext * cx = 0x044243f8, unsigned char * pc = 
0x0453f062 "5", long * result = 0x0012be4c)+0x90d8 (FPO: [Non-Fpo]) (CONV: 
cdecl) [r:\mozilla\js\src\jsinterp.c @ 3285]
4a js3250!js_Invoke(struct JSContext * cx = 0x044243f8, unsigned int argc = 3, 
unsigned int flags = 2)+0xa24 (FPO: [Non-Fpo]) (CONV: cdecl) 
[r:\mozilla\js\src\jsinterp.c @ 1183]
4b xpc3250!nsXPCWrappedJSClass::CallMethod(class nsXPCWrappedJS * wrapper = 
0x04b36550, unsigned short methodIndex = 3, class nsXPTMethodInfo * info = 
0x00b7c020, struct nsXPTCMiniVariant * nativeParams = 0x0012c158)+0xcc9 (FPO: 
[Non-Fpo]) (CONV: stdcall) 
[r:\mozilla\js\src\xpconnect\src\xpcwrappedjsclass.cpp @ 1471]
4c xpc3250!nsXPCWrappedJS::CallMethod(unsigned short methodIndex = 3, class 
nsXPTMethodInfo * info = 0x00b7c020, struct nsXPTCMiniVariant * params = 
0x0012c158)+0x3f (FPO: [Non-Fpo]) (CONV: stdcall) 
[r:\mozilla\js\src\xpconnect\src\xpcwrappedjs.cpp @ 515]
4d xpcom_core!PrepareAndDispatch(class nsXPTCStubBase * self = 0x04b36550, 
unsigned int methodIndex = 3, unsigned int * args = 0x0012c220, unsigned int * 
stackBytesToPop = 0x0012c210)+0x2a5 (FPO: [Non-Fpo]) (CONV: stdcall) 
[r:\mozilla\xpcom\reflect\xptcall\src\md\win32\xptcstubs.cpp @ 117]
4e xpcom_core!SharedStub(void)+0x16 (CONV: cdecl) 
[r:\mozilla\xpcom\reflect\xptcall\src\md\win32\xptcstubs.cpp @ 147]
4f xpcom_core!nsObserverService::NotifyObservers(class nsISupports * aSubject = 
0x3507d050, char * aTopic = 0x0125cda8 "domwindowopened", unsigned short * 
someData = 0x00000000 "")+0x195 (FPO: [Non-Fpo]) (CONV: stdcall) 
[r:\mozilla\xpcom\ds\nsobserverservice.cpp @ 235]
50 embedcomponents!nsWindowWatcher::AddWindow(class nsIDOMWindow * aWindow = 
0x3507d028, class nsIWebBrowserChrome * aChrome = 0x00000000)+0x1c1 (FPO: [Non-
Fpo]) (CONV: stdcall) 
[r:\mozilla\embedding\components\windowwatcher\src\nswindowwatcher.cpp @ 980]
51 appshell!nsAppShellService::RegisterTopLevelWindow(class nsIXULWindow * 
aWindow = 0x347e2bb8)+0x10b (FPO: [Non-Fpo]) (CONV: stdcall) 
[r:\mozilla\xpfe\appshell\src\nsappshellservice.cpp @ 475]
52 appshell!nsAppShellService::CreateTopLevelWindow(class nsIXULWindow * 
aParent = 0x00000000, class nsIURI * aUrl = 0x00000000, unsigned int 
aChromeMask = 0xc0000c1e, int aInitialWidth = 0xffffffff, int aInitialHeight = 
0xffffffff, class nsIAppShell * aAppShell = 0x00bad038, class nsIXULWindow ** 
aResult = 0x0012c3a0)+0x73 (FPO: [Non-Fpo]) (CONV: stdcall) 
[r:\mozilla\xpfe\appshell\src\nsappshellservice.cpp @ 240]
53 appshell!nsXULWindow::CreateNewChromeWindow(int aChromeFlags = 0xc0000c1e, 
class nsIAppShell * aAppShell = 0x00bad038, class nsIXULWindow ** _retval = 
0x0012c410)+0xd2 (FPO: [Non-Fpo]) (CONV: stdcall) 
[r:\mozilla\xpfe\appshell\src\nsxulwindow.cpp @ 1711]
54 appshell!nsXULWindow::CreateNewWindow(int aChromeFlags = 0xc0000c1e, class 
nsIAppShell * aAppShell = 0x00bad038, class nsIXULWindow ** _retval = 
0x0012c410)+0x42 (FPO: [Non-Fpo]) (CONV: stdcall) 
[r:\mozilla\xpfe\appshell\src\nsxulwindow.cpp @ 1688]
55 appcomps!nsAppStartup::CreateChromeWindow2(class nsIWebBrowserChrome * 
aParent = 0x03c8d504, unsigned int aChromeFlags = 0xc0000c1e, unsigned int 
aContextFlags = 0, class nsIURI * aURI = 0x347e2a50, int * aCancel = 
0x0012c5d4, class nsIWebBrowserChrome ** _retval = 0x0012c5d8)+0xc0 (FPO: [Non-
Fpo]) (CONV: stdcall) [r:\mozilla\xpfe\components\startup\src\nsappstartup.cpp 
@ 884]
56 embedcomponents!nsWindowWatcher::OpenWindowJS(class nsIDOMWindow * aParent = 
0x03498cb8, char * aUrl = 0x347e2890 "chrome://venkman/content/venkman-
bpprops.xul", char * aName = 0x00000000 "", char * aFeatures = 
0x0012c898 "chrome,extrachrome,menubar,resizable", int aDialog = 1, unsigned 
int argc = 1, long * argv = 0x34cf5044, class nsIDOMWindow ** _retval = 
0x0012c93c)+0x850 (FPO: [Non-Fpo]) (CONV: stdcall) 
[r:\mozilla\embedding\components\windowwatcher\src\nswindowwatcher.cpp @ 658]
57 gklayout!nsGlobalWindow::OpenInternal(class nsAString_internal * aUrl = 
0x0012c998, class nsAString_internal * aName = 0x0012ca38, class 
nsAString_internal * aOptions = 0x0012cad0, int aDialog = 1, long * argv = 
0x34cf5038, unsigned int argc = 4, class nsISupports * aExtraArgument = 
0x00000000, class nsIDOMWindow ** aReturn = 0x0012ccc0)+0x711 (FPO: [Non-Fpo]) 
(CONV: stdcall) [r:\mozilla\dom\src\base\nsglobalwindow.cpp @ 5812]
58 gklayout!nsGlobalWindow::OpenDialog(class nsIDOMWindow ** _retval = 
0x0012ccc0)+0x27e (FPO: [Non-Fpo]) (CONV: stdcall) 
[r:\mozilla\dom\src\base\nsglobalwindow.cpp @ 4327]
59 xpcom_core!XPTC_InvokeByIndex(class nsISupports * that = 0x03498ce4, 
unsigned int methodIndex = 0x10, unsigned int paramCount = 1, struct 
nsXPTCVariant * params = 0x0012ccc0)+0x27 (CONV: cdecl) 
[r:\mozilla\xpcom\reflect\xptcall\src\md\win32\xptcinvoke.cpp @ 102]
5a xpc3250!XPCWrappedNative::CallMethod(class XPCCallContext * ccx = 
0x0012ce6c, XPCWrappedNative::CallMode mode = CALL_METHOD (0))+0xd76 (FPO: [Non-
Fpo]) (CONV: cdecl) [r:\mozilla\js\src\xpconnect\src\xpcwrappednative.cpp @ 
2142]
5b xpc3250!XPC_WN_CallMethod(struct JSContext * cx = 0x044243f8, struct 
JSObject * obj = 0x03ecada8, unsigned int argc = 4, long * argv = 0x34cf5038, 
long * vp = 0x0012cf6c)+0x12b (FPO: [Non-Fpo]) (CONV: cdecl) 
[r:\mozilla\js\src\xpconnect\src\xpcwrappednativejsops.cpp @ 1429]
5c js3250!js_Invoke(struct JSContext * cx = 0x044243f8, unsigned int argc = 4, 
unsigned int flags = 0)+0x9cb (FPO: [Non-Fpo]) (CONV: cdecl) 
[r:\mozilla\js\src\jsinterp.c @ 1163]
5d js3250!js_Interpret(struct JSContext * cx = 0x044243f8, unsigned char * pc = 
0x04575ee1 ":", long * result = 0x0012d8bc)+0xa9db (FPO: [Non-Fpo]) (CONV: 
cdecl) [r:\mozilla\js\src\jsinterp.c @ 3461]
5e js3250!js_Invoke(struct JSContext * cx = 0x044243f8, unsigned int argc = 3, 
unsigned int flags = 0)+0xa24 (FPO: [Non-Fpo]) (CONV: cdecl) 
[r:\mozilla\js\src\jsinterp.c @ 1183]
5f js3250!js_Interpret(struct JSContext * cx = 0x044243f8, unsigned char * pc = 
0x044ebec0 ":", long * result = 0x0012e188)+0xa9db (FPO: [Non-Fpo]) (CONV: 
cdecl) [r:\mozilla\js\src\jsinterp.c @ 3461]
60 js3250!js_Invoke(struct JSContext * cx = 0x044243f8, unsigned int argc = 2, 
unsigned int flags = 0)+0xa24 (FPO: [Non-Fpo]) (CONV: cdecl) 
[r:\mozilla\js\src\jsinterp.c @ 1183]
61 js3250!js_Interpret(struct JSContext * cx = 0x044243f8, unsigned char * pc = 
0x04527643 ":", long * result = 0x0012ea54)+0xa9db (FPO: [Non-Fpo]) (CONV: 
cdecl) [r:\mozilla\js\src\jsinterp.c @ 3461]
62 js3250!js_Invoke(struct JSContext * cx = 0x044243f8, unsigned int argc = 1, 
unsigned int flags = 2)+0xa24 (FPO: [Non-Fpo]) (CONV: cdecl) 
[r:\mozilla\js\src\jsinterp.c @ 1183]
63 js3250!js_InternalInvoke(struct JSContext * cx = 0x044243f8, struct JSObject 
* obj = 0x0547ccc8, long fval = 0x4de08b8, unsigned int flags = 0, unsigned int 
argc = 1, long * argv = 0x0012ed60, long * rval = 0x0012ed64)+0xe1 (FPO: [Non-
Fpo]) (CONV: cdecl) [r:\mozilla\js\src\jsinterp.c @ 1260]
64 js3250!JS_CallFunctionValue(struct JSContext * cx = 0x044243f8, struct 
JSObject * obj = 0x0547ccc8, long fval = 0x4de08b8, unsigned int argc = 1, long 
* argv = 0x0012ed60, long * rval = 0x0012ed64)+0x47 (FPO: [Non-Fpo]) (CONV: 
cdecl) [r:\mozilla\js\src\jsapi.c @ 4059]
65 gklayout!nsJSContext::CallEventHandler(struct JSObject * aTarget = 
0x0547ccc8, struct JSObject * aHandler = 0x04de08b8, unsigned int argc = 1, 
long * argv = 0x0012ed60, long * rval = 0x0012ed64)+0x116 (FPO: [Non-Fpo]) 
(CONV: thiscall) [r:\mozilla\dom\src\base\nsjsenvironment.cpp @ 1431]
66 gklayout!nsJSEventListener::HandleEvent(class nsIDOMEvent * aEvent = 
0x3500fad8)+0x4ba (FPO: [Non-Fpo]) (CONV: stdcall) 
[r:\mozilla\dom\src\events\nsjseventlistener.cpp @ 209]
67 gklayout!nsEventListenerManager::HandleEventSubType(struct nsListenerStruct 
* aListenerStruct = 0x0584da90, class nsIDOMEvent * aDOMEvent = 0x3500fad8, 
class nsIDOMEventTarget * aCurrentTarget = 0x3500f3d8, unsigned int aSubType = 
8, unsigned int aPhaseFlags = 7)+0x241 (FPO: [Non-Fpo]) (CONV: thiscall) 
[r:\mozilla\content\events\src\nseventlistenermanager.cpp @ 1702]
68 gklayout!nsEventListenerManager::HandleEvent(class nsPresContext * 
aPresContext = 0x04311bf0, class nsEvent * aEvent = 0x0012f310, class 
nsIDOMEvent ** aDOMEvent = 0x0012f200, class nsIDOMEventTarget * aCurrentTarget 
= 0x3500f3d8, unsigned int aFlags = 7, nsEventStatus * aEventStatus = 
0x0012f30c)+0x31c (FPO: [Non-Fpo]) (CONV: stdcall) 
[r:\mozilla\content\events\src\nseventlistenermanager.cpp @ 1806]
69 gklayout!nsXULElement::HandleDOMEvent(class nsPresContext * aPresContext = 
0x04311bf0, class nsEvent * aEvent = 0x0012f310, class nsIDOMEvent ** aDOMEvent 
= 0x0012f200, unsigned int aFlags = 7, nsEventStatus * aEventStatus = 
0x0012f30c)+0xc0b (FPO: [Non-Fpo]) (CONV: thiscall) 
[r:\mozilla\content\xul\content\src\nsxulelement.cpp @ 2201]
6a gklayout!PresShell::HandleDOMEventWithTarget(class nsIContent * 
aTargetContent = 0x0584d1e8, class nsEvent * aEvent = 0x0012f310, nsEventStatus 
* aStatus = 0x0012f30c)+0x56 (FPO: [Non-Fpo]) (CONV: stdcall) 
[r:\mozilla\layout\base\nspresshell.cpp @ 6290]
6b gklayout!nsMenuFrame::Execute(class nsGUIEvent * aEvent = 0x0012f784)+0x2a2 
(FPO: [Non-Fpo]) (CONV: thiscall) 
[r:\mozilla\layout\xul\base\src\nsmenuframe.cpp @ 1697]
6c gklayout!nsMenuFrame::HandleEvent(class nsPresContext * aPresContext = 
0x04311bf0, class nsGUIEvent * aEvent = 0x0012f784, nsEventStatus * 
aEventStatus = 0x0012f558)+0x247 (FPO: [Non-Fpo]) (CONV: stdcall) 
[r:\mozilla\layout\xul\base\src\nsmenuframe.cpp @ 523]
6d gklayout!PresShell::HandleEventInternal(class nsEvent * aEvent = 0x0012f784, 
class nsIView * aView = 0x351e65b8, unsigned int aFlags = 1, nsEventStatus * 
aStatus = 0x0012f558)+0x2c4 (FPO: [Non-Fpo]) (CONV: thiscall) 
[r:\mozilla\layout\base\nspresshell.cpp @ 6235]
6e gklayout!PresShell::HandleEvent(class nsIView * aView = 0x351e65b8, class 
nsGUIEvent * aEvent = 0x0012f784, nsEventStatus * aEventStatus = 0x0012f558, 
int aForceHandle = 0, int * aHandled = 0x0012f528)+0x70b (FPO: [Non-Fpo]) 
(CONV: stdcall) [r:\mozilla\layout\base\nspresshell.cpp @ 6046]
6f gklayout!nsViewManager::HandleEvent(class nsView * aView = 0x351e60e8, 
struct nsPoint aPoint = struct nsPoint, class nsGUIEvent * aEvent = 0x0012f784, 
int aCaptured = 0)+0x2fa (FPO: [Non-Fpo]) (CONV: thiscall) 
[r:\mozilla\view\src\nsviewmanager.cpp @ 2553]
70 gklayout!nsViewManager::DispatchEvent(class nsGUIEvent * aEvent = 
0x0012f784, nsEventStatus * aStatus = 0x0012f6cc)+0xb4e (FPO: [Non-Fpo]) (CONV: 
stdcall) [r:\mozilla\view\src\nsviewmanager.cpp @ 2245]
71 gklayout!HandleEvent(class nsGUIEvent * aEvent = 0x0012f784)+0x44 (FPO: [Non-
Fpo]) (CONV: cdecl) [r:\mozilla\view\src\nsview.cpp @ 173]
72 gkwidget!nsWindow::DispatchEvent(class nsGUIEvent * event = 0x0012f784, 
nsEventStatus * aStatus = 0x0012f6f8)+0x44 (FPO: [Non-Fpo]) (CONV: stdcall) 
[r:\mozilla\widget\src\windows\nswindow.cpp @ 1061]
73 gkwidget!nsWindow::DispatchWindowEvent(class nsGUIEvent * event = 0x0012f784)
+0x24 (FPO: [Non-Fpo]) (CONV: thiscall) 
[r:\mozilla\widget\src\windows\nswindow.cpp @ 1082]
74 gkwidget!nsWindow::DispatchMouseEvent(unsigned int aEventType = 0x12d, 
unsigned int wParam = 0, struct nsPoint * aPoint = 0x00000000)+0x42e (FPO: [Non-
Fpo]) (CONV: thiscall) [r:\mozilla\widget\src\windows\nswindow.cpp @ 5806]
75 gkwidget!ChildWindow::DispatchMouseEvent(unsigned int aEventType = 0x12d, 
unsigned int wParam = 0, struct nsPoint * aPoint = 0x00000000)+0x8f (FPO: [Non-
Fpo]) (CONV: thiscall) [r:\mozilla\widget\src\windows\nswindow.cpp @ 6060]
76 gkwidget!nsWindow::ProcessMessage(unsigned int msg = 0x202, unsigned int 
wParam = 0, long lParam = 0x122003c, long * aRetValue = 0x0012fc20)+0xa2f (FPO: 
[Non-Fpo]) (CONV: thiscall) [r:\mozilla\widget\src\windows\nswindow.cpp @ 4393]
77 gkwidget!nsWindow::WindowProc(struct HWND__ * hWnd = 0x00620430, unsigned 
int msg = 0x202, unsigned int wParam = 0, long lParam = 0x122003c)+0x111 (FPO: 
[Non-Fpo]) (CONV: stdcall) [r:\mozilla\widget\src\windows\nswindow.cpp @ 1250]
78 USER32!GetDC+0x6d
79 USER32!GetDC+0x14f
7a USER32!GetWindowLongW+0x127
7b USER32!DispatchMessageW+0xf
7c gkwidget!nsAppShell::Run(void)+0x108 (FPO: [Non-Fpo]) (CONV: stdcall) 
[r:\mozilla\widget\src\windows\nsappshell.cpp @ 135]
7d appcomps!nsAppStartup::Run(void)+0x1e (FPO: [Non-Fpo]) (CONV: stdcall) 
[r:\mozilla\xpfe\components\startup\src\nsappstartup.cpp @ 208]
7e seamonkey!main1(int argc = 2, char ** argv = 0x00344f90, class nsISupports * 
nativeApp = 0x00b621c0)+0x8e7 (FPO: [Non-Fpo]) (CONV: cdecl) 
[r:\mozilla\xpfe\bootstrap\nsapprunner.cpp @ 1249]
7f seamonkey!main(int argc = 2, char ** argv = 0x00344f90)+0x142 (FPO: [Non-
Fpo]) (CONV: cdecl) [r:\mozilla\xpfe\bootstrap\nsapprunner.cpp @ 1752]
80 seamonkey!WinMain(struct HINSTANCE__ * __formal = 0x00400000, struct 
HINSTANCE__ * __formal = 0x00000000, char * args = 0x0015232e "-console", int 
__formal = 0xa)+0x1a (FPO: [Non-Fpo]) (CONV: stdcall) 
[r:\mozilla\xpfe\bootstrap\nsapprunner.cpp @ 1776]
81 seamonkey!WinMainCRTStartup(void)+0x1f2 (FPO: [Non-Fpo]) (CONV: cdecl) 
[f:\vs70builds\3077\vc\crtbld\crt\src\crtexe.c @ 390]
82 kernel32!RegisterWaitForInputIdle+0x49
Attached patch init principalsSplinter Review
Assignee: general → timeless
Status: NEW → ASSIGNED
Attachment #195920 - Flags: superreview?(bzbarsky)
Attachment #195920 - Flags: review?(bzbarsky)
Comment on attachment 195920 [details] [diff] [review]
init principals

I'd prefer this method just do:

nsIPrincipal* principal = GetPrincipal();
NS_ENSURE_TRUE(principal, NS_ERROR_OUT_OF_MEMORY);

And not use mPrincipal at all.
Attachment #195920 - Flags: superreview?(bzbarsky)
Attachment #195920 - Flags: superreview-
Attachment #195920 - Flags: review?(bzbarsky)
Attachment #195920 - Flags: review-
Depends on: 327246
QA Contact: ian → general
Crash Signature: [@ nsHTMLDocument::GetCookie]

Closing because no crashes reported for 12 weeks.

Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: