Open
Bug 413075
Opened 17 years ago
Updated 17 years ago
Typeahead find's GetBloatEntry() call records bad size
Categories
(SeaMonkey :: Find In Page, defect)
Tracking
(Not tracked)
NEW
People
(Reporter: matt, Unassigned)
Details
(Keywords: assertion)
I get this assertion frequently:
###!!! ASSERTION: bad size recorded: 'aInstanceSize == 0 || entry->GetClassSize() == aInstanceSize', file nsTraceRefcntImpl.cpp, line 430
I can't get a JS stack trace because DumpJSStack() hangs while trying to get a lock on a mutex. The C/C++ stack trace is:
#0 NS_DebugBreak_P (aSeverity=1, aStr=0xb7e69857 "bad size recorded",
aExpr=0xb7e6981a "aInstanceSize == 0 || entry->GetClassSize() == aInstanceSize", aFile=0xb7e692cc "../../../xpcom/base/nsTraceRefcntImpl.cpp", aLine=430)
at ../../../xpcom/base/nsDebugImpl.cpp:261
#1 0xb7e3f8f3 in GetBloatEntry (aTypeName=0xb68ebe71 "nsTypeAheadFind",
aInstanceSize=124) at ../../../xpcom/base/nsTraceRefcntImpl.cpp:428
#2 0xb7e402ef in NS_LogAddRef_P (aPtr=0x8b93600, aRefcnt=1,
aClazz=0xb68ebe71 "nsTypeAheadFind", classSize=124)
at ../../../xpcom/base/nsTraceRefcntImpl.cpp:921
#3 0xb68e2de7 in nsTypeAheadFind::AddRef (this=0x8b93600)
at ../../../../../toolkit/components/typeaheadfind/src/nsTypeAheadFind.cpp:107
#4 0xb68b48e7 in nsTypeAheadFindConstructor (aOuter=0x0, aIID=@0x81c4180,
aResult=0xbfbacf64)
at ../../../../toolkit/components/build/nsToolkitCompsModule.cpp:86
#5 0xb7ddb4b0 in nsGenericFactory::CreateInstance (this=0x83d4108,
aOuter=0x0, aIID=@0x81c4180, aResult=0xbfbacf64) at nsGenericFactory.cpp:80
#6 0xb7e24d32 in nsComponentManagerImpl::CreateInstance (this=0x8090268,
aClass=@0x8a8029c, aDelegate=0x0, aIID=@0x81c4180, aResult=0xbfbacf64)
at ../../../xpcom/components/nsComponentManager.cpp:1670
#7 0xb6845cf8 in nsJSCID::CreateInstance (this=0x8a80280, _retval=0xbfbad124)
at ../../../../../js/src/xpconnect/src/xpcjsid.cpp:821
#8 0xb7e44665 in NS_InvokeByIndex_P ()
at ../../../../../xpcom/reflect/xptinfo/src/xptiInterfaceInfo.cpp:73
#9 0xb685d879 in XPCWrappedNative::CallMethod (ccx=@0xbfbad260,
mode=XPCWrappedNative::CALL_METHOD)
at ../../../../../js/src/xpconnect/src/xpcwrappednative.cpp:2344
#10 0xb6868951 in XPC_WN_CallMethod (cx=0x888c050, obj=0xb41b5c80, argc=1,
argv=0x8b86380, vp=0xbfbad39c)
at ../../../../../js/src/xpconnect/src/xpcwrappednativejsops.cpp:1480
#11 0xb7ebfeb4 in js_Invoke (cx=0x888c050, argc=1, vp=0x8b86378, flags=2048)
at ../../../js/src/jsinterp.c:1023
#12 0xb7ec9b42 in js_Interpret (cx=0x888c050, pc=0x8b8cb61 ":",
result=0xbfbad6b8) at ../../../js/src/jsinterp.c:3858
#13 0xb7ebff1e in js_Invoke (cx=0x888c050, argc=0, vp=0x8b8635c, flags=2050)
at ../../../js/src/jsinterp.c:1040
#14 0xb7ed168e in js_InternalInvoke (cx=0x888c050, obj=0xb13d6160,
fval=-1321378400, flags=2, argc=0, argv=0x0, rval=0xbfbad9cc)
at ../../../js/src/jsinterp.c:1096
#15 0xb7ed17f7 in js_InternalGetOrSet (cx=0x888c050, obj=0xb13d6160,
id=-1321346188, fval=-1321378400, mode=JSACC_READ, argc=0, argv=0x0,
rval=0xbfbad9cc) at ../../../js/src/jsinterp.c:1159
#16 0xb7ed9bbd in js_NativeGet (cx=0x888c050, obj=0xb13d6160, pobj=0xb13d54c0,
sprop=0x8bd5938, vp=0xbfbad9cc) at ../../../js/src/jsobj.c:3523
#17 0xb7edb714 in js_GetProperty (cx=0x888c050, obj=0xb13d6160,
id=-1321346188, vp=0xbfbad9cc) at ../../../js/src/jsobj.c:3666
#18 0xb7ec8917 in js_Interpret (cx=0x888c050, pc=0x8c1123d "5",
result=0xbfbadac8) at ../../../js/src/jsinterp.c:3508
#19 0xb7ebff1e in js_Invoke (cx=0x888c050, argc=1, vp=0x8b86320, flags=2050)
at ../../../js/src/jsinterp.c:1040
#20 0xb7ed168e in js_InternalInvoke (cx=0x888c050, obj=0xb13cdb80,
fval=-1321420896, flags=2, argc=1, argv=0xbfbaddac, rval=0xbfbaddac)
at ../../../js/src/jsinterp.c:1096
#21 0xb7ed17f7 in js_InternalGetOrSet (cx=0x888c050, obj=0xb13cdb80,
id=-1272824828, fval=-1321420896, mode=JSACC_WRITE, argc=1,
argv=0xbfbaddac, rval=0xbfbaddac) at ../../../js/src/jsinterp.c:1159
#22 0xb7edb0c2 in js_SetProperty (cx=0x888c050, obj=0xb13cdb80,
id=-1272824828, vp=0xbfbaddac) at ../../../js/src/jsobj.c:3765
#23 0xb7ec8e52 in js_Interpret (cx=0x888c050, pc=0x8bfa35c "6",
result=0xbfbadea8) at ../../../js/src/jsinterp.c:3589
#24 0xb7ebff1e in js_Invoke (cx=0x888c050, argc=2, vp=0x8b862f8, flags=2050)
at ../../../js/src/jsinterp.c:1040
#25 0xb7ed168e in js_InternalInvoke (cx=0x888c050, obj=0xb2fccd60,
fval=-1272911584, flags=2, argc=2, argv=0x89239c0, rval=0xbfbadfdc)
at ../../../js/src/jsinterp.c:1096
#26 0xb7e892bb in JS_CallFunctionValue (cx=0x888c050, obj=0xb2fccd60,
fval=-1272911584, argc=2, argv=0x89239c0, rval=0xbfbadfdc)
at ../../../js/src/jsapi.c:4940
#27 0xb63a3eab in nsJSContext::CallEventHandler (this=0x888c010,
aTarget=0x88ca6b8, aScope=0xb2fccd60, aHandler=0xb420e920,
aargv=0x83a207c, arv=0xbfbae0f4)
at ../../../../dom/src/base/nsJSEnvironment.cpp:1967
#28 0xb63c56ca in nsGlobalWindow::RunTimeout (this=0x88ca6b8,
aTimeout=0x83ff4b8) at ../../../../dom/src/base/nsGlobalWindow.cpp:7425
#29 0xb63c5bf3 in nsGlobalWindow::TimerCallback (aTimer=0x83fd100,
aClosure=0x83ff4b8) at ../../../../dom/src/base/nsGlobalWindow.cpp:7756
#30 0xb7e345a9 in nsTimerImpl::Fire (this=0x83fd100)
at ../../../xpcom/threads/nsTimerImpl.cpp:400
#31 0xb7e34813 in nsTimerEvent::Run (this=0x83eadf0)
at ../../../xpcom/threads/nsTimerImpl.cpp:487
#32 0xb7e2f700 in nsThread::ProcessNextEvent (this=0x8087ef0, mayWait=1,
result=0xbfbae230) at ../../../xpcom/threads/nsThread.cpp:510
#33 0xb7dd76fd in NS_ProcessNextEvent_P (thread=0x8087ef0, mayWait=1)
at nsThreadUtils.cpp:227
#34 0xb5af53a6 in nsBaseAppShell::Run (this=0x84251b0)
at ../../../../widget/src/xpwidgets/nsBaseAppShell.cpp:154
#35 0xb68b5f08 in nsAppStartup::Run (this=0x8442890)
at ../../../../../toolkit/components/startup/src/nsAppStartup.cpp:181
#36 0xb7f5407a in XRE_main (argc=4, argv=0xbfbae814, aAppData=0x8051108)
at ../../../toolkit/xre/nsAppRunner.cpp:3207
#37 0x08048c08 in main (argc=4, argv=0xc)
at ../../../browser/app/nsBrowserApp.cpp:158
Assignee | ||
Updated•17 years ago
|
Product: Core → SeaMonkey
You need to log in
before you can comment on or make changes to this bug.
Description
•