Closed Bug 409507 Opened 17 years ago Closed 17 years ago

JS_Assert, !rt->gcRunning

Categories

(Core :: General, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 407034

People

(Reporter: moco, Unassigned)

Details

I hit this JS_Assert() earlier today.

Not sure what I was doing at the time.  I think browser might have been in the background.

#0  0x9003d66c in kill ()
#1  0x9010e8cf in raise ()
#2  0x9010d422 in abort ()
#3  0x010df57f in JS_Assert (s=0x1102600 "!rt->gcRunning", file=0x1101d3c "/Users/sspitzer/Desktop/trunk/mozilla/js/src/jsgc.c", ln=1336) at /Users/sspitzer/Desktop/trunk/mozilla/js/src/jsutil.c:63
#4  0x0105ccf1 in js_NewGCThing (cx=0x365de610, flags=7, nbytes=8) at /Users/sspitzer/Desktop/trunk/mozilla/js/src/jsgc.c:1336
#5  0x010187c2 in JS_NewExternalString (cx=0x365de610, chars=0x3b3efb70, length=48, type=0) at /Users/sspitzer/Desktop/trunk/mozilla/js/src/jsapi.c:2527
#6  0x34dc0bbb in XPCConvert::NativeData2JS (ccx=@0xbfffd630, d=0xbfffd734, s=0xbfffd944, type=@0xbfffd7b9, iid=0xbfffd788, scope=0x385af2e0, pErr=0x0) at /Users/sspitzer/Desktop/trunk/mozilla/js/src/xpconnect/src/xpcconvert.cpp:409
#7  0x34ddbda2 in nsXPCWrappedJSClass::CallMethod (this=0x3b554ba0, wrapper=0x3b555170, methodIndex=6, info=0x208a238, nativeParams=0xbfffd944) at /Users/sspitzer/Desktop/trunk/mozilla/js/src/xpconnect/src/xpcwrappedjsclass.cpp:1341
#8  0x34dd49a9 in nsXPCWrappedJS::CallMethod (this=0x3b555170, methodIndex=6, info=0x208a238, params=0xbfffd944) at /Users/sspitzer/Desktop/trunk/mozilla/js/src/xpconnect/src/xpcwrappedjs.cpp:567
#9  0x0137ef16 in PrepareAndDispatch (self=0x3b178550, methodIndex=6, args=0xbfffda64) at /Users/sspitzer/Desktop/trunk/mozilla/xpcom/reflect/xptcall/src/md/unix/xptcstubs_unixish_x86.cpp:93
#10 0x0137f06a in nsXPTCStubBase::Stub6 (this=0x3b178550) at ../../../../../../dist/include/xpcom/xptcstubsdef.inc:8
#11 0x2ef025f9 in nsIOService::NewURI (this=0x2948b30, aSpec=@0xbfffdb8c, aCharset=0x3ef30f38 "UTF-8", aBaseURI=0x43974cf0, result=0xbfffdce4) at /Users/sspitzer/Desktop/trunk/mozilla/netwerk/base/src/nsIOService.cpp:500
#12 0x161b5d4c in NS_NewURI (result=0xbfffdce4, spec=@0xbfffdb8c, charset=0x3ef30f38 "UTF-8", baseURI=0x43974cf0, ioService=0x2948b30) at ../../dist/include/necko/nsNetUtil.h:127
#13 0x161e5737 in NS_NewURI (result=0xbfffdce4, spec=@0xbfffdc4c, charset=0x3ef30f38 "UTF-8", baseURI=0x43974cf0, ioService=0x2948b30) at ../../dist/include/xpcom/nsServiceManagerUtils.h:138
#14 0x15ce10bb in nsContentUtils::NewURIWithDocumentCharset (aResult=0xbfffdce4, aSpec=@0xbfffdc4c, aDocument=0x26a0400, aBaseURI=0x43974cf0) at /Users/sspitzer/Desktop/trunk/mozilla/content/base/src/nsContentUtils.cpp:1833
#15 0x15da53f9 in nsGenericHTMLElement::GetHrefURIForAnchors (this=0x435e1818, aURI=0xbfffdce4) at /Users/sspitzer/Desktop/trunk/mozilla/content/html/content/src/nsGenericHTMLElement.cpp:1315
#16 0x15da5494 in nsGenericHTMLElement::IsHTMLLink (this=0x435e1818, aURI=0xbfffdce4) at /Users/sspitzer/Desktop/trunk/mozilla/content/html/content/src/nsGenericHTMLElement.cpp:1292
#17 0x15dadfec in nsHTMLAnchorElement::IsLink (this=0x435e1818, aURI=0xbfffdce4) at /Users/sspitzer/Desktop/trunk/mozilla/content/html/content/src/nsHTMLAnchorElement.cpp:294
#18 0x15d045bb in nsDocument::ForgetLink (this=0x26a0400, aContent=0x435e1818) at /Users/sspitzer/Desktop/trunk/mozilla/content/base/src/nsDocument.cpp:5853
#19 0x15daed35 in nsHTMLAnchorElement::UnbindFromTree (this=0x435e1818, aDeep=1, aNullParent=0) at /Users/sspitzer/Desktop/trunk/mozilla/content/html/content/src/nsHTMLAnchorElement.cpp:204
#20 0x15d21590 in nsGenericElement::UnbindFromTree (this=0x435e17b0, aDeep=1, aNullParent=1) at /Users/sspitzer/Desktop/trunk/mozilla/content/base/src/nsGenericElement.cpp:2169
#21 0x15da260f in nsGenericHTMLElement::UnbindFromTree (this=0x435e17b0, aDeep=1, aNullParent=1) at /Users/sspitzer/Desktop/trunk/mozilla/content/html/content/src/nsGenericHTMLElement.cpp:1171
#22 0x15d24858 in nsGenericElement::cycleCollection::Unlink (this=0x163c2800, p=0x435e1560) at /Users/sspitzer/Desktop/trunk/mozilla/content/base/src/nsGenericElement.cpp:3403
#23 0x0137d463 in nsCycleCollector::CollectWhite (this=0x7ce000, graph=@0xbfffded0) at /Users/sspitzer/Desktop/trunk/mozilla/xpcom/base/nsCycleCollector.cpp:1510
#24 0x0137ddcb in nsCycleCollector::DoCollect (this=0x7ce000) at /Users/sspitzer/Desktop/trunk/mozilla/xpcom/base/nsCycleCollector.cpp:2217
#25 0x0137de64 in nsCycleCollector_doCollect () at /Users/sspitzer/Desktop/trunk/mozilla/xpcom/base/nsCycleCollector.cpp:2651
#26 0x34da704a in XPCCycleCollectGCCallback (cx=0x365de610, status=JSGC_MARK_END) at /Users/sspitzer/Desktop/trunk/mozilla/js/src/xpconnect/src/nsXPConnect.cpp:430
#27 0x0105fe88 in js_GC (cx=0x365de610, gckind=GC_NORMAL) at /Users/sspitzer/Desktop/trunk/mozilla/js/src/jsgc.c:2526
#28 0x010185ab in JS_GC (cx=0x365de610) at /Users/sspitzer/Desktop/trunk/mozilla/js/src/jsapi.c:2397
#29 0x34da372a in nsXPConnect::Collect (this=0x2946430) at /Users/sspitzer/Desktop/trunk/mozilla/js/src/xpconnect/src/nsXPConnect.cpp:516
#30 0x0137df4a in nsCycleCollector::Collect (this=0x7ce000, aTryCollections=1) at /Users/sspitzer/Desktop/trunk/mozilla/xpcom/base/nsCycleCollector.cpp:2094
#31 0x0137dfe4 in nsCycleCollector_collect () at /Users/sspitzer/Desktop/trunk/mozilla/xpcom/base/nsCycleCollector.cpp:2645
#32 0x15edef02 in nsJSContext::CC () at /Users/sspitzer/Desktop/trunk/mozilla/dom/src/base/nsJSEnvironment.cpp:3313
#33 0x15edefc3 in nsJSContext::MaybeCC (aHigherProbability=1) at /Users/sspitzer/Desktop/trunk/mozilla/dom/src/base/nsJSEnvironment.cpp:3335
#34 0x15edf014 in nsJSContext::CCIfUserInactive () at /Users/sspitzer/Desktop/trunk/mozilla/dom/src/base/nsJSEnvironment.cpp:3352
#35 0x15ee1361 in nsJSContext::Notify (this=0x3feadca0, timer=0x3b319290) at /Users/sspitzer/Desktop/trunk/mozilla/dom/src/base/nsJSEnvironment.cpp:3376
#36 0x01370fab in nsTimerImpl::Fire (this=0x3b319290) at /Users/sspitzer/Desktop/trunk/mozilla/xpcom/threads/nsTimerImpl.cpp:403
#37 0x013711af in nsTimerEvent::Run (this=0x439e3230) at /Users/sspitzer/Desktop/trunk/mozilla/xpcom/threads/nsTimerImpl.cpp:487
#38 0x0136ced7 in nsThread::ProcessNextEvent (this=0x29258c0, mayWait=0, result=0xbfffe414) at /Users/sspitzer/Desktop/trunk/mozilla/xpcom/threads/nsThread.cpp:510
#39 0x01312545 in NS_ProcessPendingEvents_P (thread=0x29258c0, timeout=20) at nsThreadUtils.cpp:180
#40 0x34314a5f in nsBaseAppShell::NativeEventCallback (this=0x2925f30) at /Users/sspitzer/Desktop/trunk/mozilla/widget/src/xpwidgets/nsBaseAppShell.cpp:112
#41 0x342f529f in nsAppShell::ProcessGeckoEvents (aInfo=0x2925f30) at /Users/sspitzer/Desktop/trunk/mozilla/widget/src/cocoa/nsAppShell.mm:294
#42 0x9082cf32 in CFRunLoopRunSpecific ()
#43 0x9082ca6e in CFRunLoopRunInMode ()
#44 0x92deb878 in RunCurrentEventLoopInMode ()
#45 0x92deaf82 in ReceiveNextEventCommon ()
#46 0x92deadd9 in BlockUntilNextEventMatchingListInMode ()
#47 0x93291485 in _DPSNextEvent ()
#48 0x93291076 in -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] ()
#49 0x9328adfb in -[NSApplication run] ()
#50 0x342f4652 in nsAppShell::Run (this=0x2925f30) at /Users/sspitzer/Desktop/trunk/mozilla/widget/src/cocoa/nsAppShell.mm:565
#51 0x33608ac1 in nsAppStartup::Run (this=0x2955d40) at /Users/sspitzer/Desktop/trunk/mozilla/toolkit/components/startup/src/nsAppStartup.cpp:181
#52 0x002115a2 in XRE_main (argc=1, argv=0xbffff830, aAppData=0x290b550) at /Users/sspitzer/Desktop/trunk/mozilla/toolkit/xre/nsAppRunner.cpp:3172
#53 0x00002798 in main (argc=1, argv=0xbffff830) at /Users/sspitzer/Desktop/trunk/mozilla/browser/app/nsBrowserApp.cpp:153
this was my own debug build, from where I did full checkout and build on Thu Dec 20 21:26:35 PST 2007
dupe of Bug 407034 or Bug 402966 ?
Yep, bug 407034 based on the stack.
Status: NEW → RESOLVED
Closed: 17 years ago
Product: Firefox → Core
QA Contact: general → general
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.