Re: XForms for Firefox 3.5 - Segfault - stacktrace

classic Classic list List threaded Threaded
3 messages Options
bkc
Reply | Threaded
Open this post in threaded view
|

Re: XForms for Firefox 3.5 - Segfault - stacktrace

bkc
I finally had a chance to hg clone firefox and xforms extension tonight,
build on ubuntu and get a stack trace from segfault.

I'm not sure how useful this will be. I tried poking around a few
frames, but I don't have a .gdbinit file with any useful macros and
don't have any idea what I'm doing.

Where do I go from here?

fire:~/src/mozilla-hg/191src/extensions/xforms> hg parents
changeset:   735:0062f5e44b78
tag:         tip
user:        Alexander Surkov <[hidden email]>
date:        Sat Jun 20 14:17:43 2009 +0800
summary:     Bug 494848 - Support for the <case> child element of
<toggle>, patch=Dion Sole<[hidden email]>, r=olli.pettay, aaronr

fire:~/src/mozilla-hg/191src> hg parents
changeset:   26129:7a1e9c849dac
tag:         tip
user:        Blake Kaplan <[hidden email]>
date:        Thu Jul 02 17:00:20 2009 -0700
summary:     Bug 501577 - Add a missing call to Release in
nsXPCWrappedJS::GetNewOrUsed. r+sr=peterv a=ss


(gdb) where
#0  0x00007f3e1d0e36e1 in nanosleep () from /lib/libc.so.6
#1  0x00007f3e1d0e3507 in sleep () from /lib/libc.so.6
#2  0x00007f3e21aff174 in ah_crap_handler (signum=11)
    at /home/bkc/src/mozilla-hg/191src/toolkit/xre/nsSigHandlers.cpp:149
#3  0x00007f3e21b00339 in nsProfileLock::FatalSignalHandler (signo=11)
at nsProfileLock.cpp:216
#4  <signal handler called>
#5  0x00007f3e123bde36 in nsINode::GetNodeParent (this=0xa5a5a5a5a5a5a5a4)
    at ../../../dist/include/content/nsINode.h:548
#6  0x00007f3e12885511 in txXPathNode::RootOf (aNode=0x7f3e025222e0)
    at
/home/bkc/src/mozilla-hg/191src/content/xslt/src/xslt/../xpath/txXPathNode.h:104
#7  0x00007f3e12885540 in txXPathNode::Root (this=0x7f3e03c082c0)
    at
/home/bkc/src/mozilla-hg/191src/content/xslt/src/xslt/../xpath/txXPathNode.h:111
#8  0x00007f3e12884c63 in ~txXPathNode (this=0x7f3e03c082c0)
    at
/home/bkc/src/mozilla-hg/191src/content/xslt/src/xpath/txMozillaXPathTreeWalker.cpp:358
#9  0x00007f3e12877d4a in txNodeSet::destroyElements
(aStart=0x7f3e03c082c0, aEnd=0x7f3e03c082d0)
    at
/home/bkc/src/mozilla-hg/191src/content/xslt/src/xpath/txNodeSet.h:233
#10 0x00007f3e1287735d in txNodeSet::clear (this=0x7f3e01a5d420)
    at
/home/bkc/src/mozilla-hg/191src/content/xslt/src/xpath/txNodeSet.cpp:444
#11 0x00007f3e1287914b in txResultRecycler::getNodeSet
(this=0x7f3e01f19880, aResult=0x7fff2a155570)
    at
/home/bkc/src/mozilla-hg/191src/content/xslt/src/xpath/txResultRecycler.cpp:188
#12 0x00007f3e12870a19 in LocationStep::evaluate (this=0x7f3e01639920,
aContext=0x7fff2a1555f0,
    aResult=0x7fff2a155640)
    at
/home/bkc/src/mozilla-hg/191src/content/xslt/src/xpath/txLocationStep.cpp:67
#13 0x00007f3e1287282d in PathExpr::evaluate (this=0x7f3e01624560,
aContext=0x7fff2a1565a0,
    aResult=0x7fff2a155750)
    at
/home/bkc/src/mozilla-hg/191src/content/xslt/src/xpath/txPathExpr.cpp:125
#14 0x00007f3e12868d93 in Expr::evaluateToString (this=0x7f3e01624560,
aContext=0x7fff2a1565a0,
    aResult=@0x7fff2a155850) at
/home/bkc/src/mozilla-hg/191src/content/xslt/src/xpath/txExpr.cpp:58
#15 0x00007f3e128664d2 in txCoreFunctionCall::evaluate
(this=0x7f3e016398a0,
    aContext=0x7fff2a1565a0, aResult=0x7fff2a155db0)
    at
/home/bkc/src/mozilla-hg/191src/content/xslt/src/xpath/txCoreFunctionCall.cpp:371
#16 0x00007f3e12870307 in FunctionCall::evaluateToNumber
(aExpr=0x7f3e016398a0,
    aContext=0x7fff2a1565a0)
    at
/home/bkc/src/mozilla-hg/191src/content/xslt/src/xpath/txFunctionCall.cpp:59
#17 0x00007f3e128668ff in txCoreFunctionCall::evaluate
(this=0x7f3e01639800,
    aContext=0x7fff2a1565a0, aResult=0x7fff2a156420)
    at
/home/bkc/src/mozilla-hg/191src/content/xslt/src/xpath/txCoreFunctionCall.cpp:406
#18 0x00007f3e12874d2c in RelationalExpr::evaluate (this=0x7f3e01639880,
aContext=0x7fff2a1565a0,
    aResult=0x7fff2a1564c0)
    at
/home/bkc/src/mozilla-hg/191src/content/xslt/src/xpath/txRelationalExpr.cpp:189
#19 0x00007f3e12868e87 in Expr::evaluateToBool (this=0x7f3e01639880,
aContext=0x7fff2a1565a0,
    aResult=@0x7fff2a156544) at
/home/bkc/src/mozilla-hg/191src/content/xslt/src/xpath/txExpr.cpp:46
#20 0x00007f3e1286420c in BooleanExpr::evaluate (this=0x7f3e01639a20,
aContext=0x7fff2a1565a0,
    aResult=0x7fff2a1565e0)
    at
/home/bkc/src/mozilla-hg/191src/content/xslt/src/xpath/txBooleanExpr.cpp:61
#21 0x00007f3e12873f06 in PredicateList::evaluatePredicates
(this=0x7f3e01639768,
    nodes=0x7f3e01a55b50, aContext=0x7fff2a156710)
    at
/home/bkc/src/mozilla-hg/191src/content/xslt/src/xpath/txPredicateList.cpp:68
#22 0x00007f3e12871213 in LocationStep::evaluate (this=0x7f3e01639760,
aContext=0x7fff2a156710,
    aResult=0x7fff2a156760)
    at
/home/bkc/src/mozilla-hg/191src/content/xslt/src/xpath/txLocationStep.cpp:231
#23 0x00007f3e1287282d in PathExpr::evaluate (this=0x7f3e016244f0,
aContext=0x7fff2a156880,
    aResult=0x7fff2a1568d0)
    at
/home/bkc/src/mozilla-hg/191src/content/xslt/src/xpath/txPathExpr.cpp:125
#24 0x00007f3e1287e01b in nsXPathExpression::EvaluateWithContext
(this=0x7f3e01a57c00,
    aContextNode=0x7f3e018ebe10, aContextPosition=1, aContextSize=1,
aType=7, aInResult=0x0,
    aResult=0x7fff2a156ee0)
    at
/home/bkc/src/mozilla-hg/191src/content/xslt/src/xpath/nsXPathExpression.cpp:149
#25 0x00007f3e094f824b in nsXFormsUtils::EvaluateXPath
(aExpression=@0x7fff2a1570e0,
    aContextNode=0x7f3e018ebe10, aResolverNode=0x7f3e03b668f0,
aResultType=7,
    aResult=0x7fff2a157200, aContextPosition=1, aContextSize=1,
aSet=0x7f3e03b641d0,
    aIndexesUsed=0x7fff2a1573d0)
    at
/home/bkc/src/mozilla-hg/191src/extensions/xforms/nsXFormsUtils.cpp:596
#26 0x00007f3e094f8d1f in nsXFormsUtils::EvaluateNodeBinding
(aElement=0x7f3e03b668f0,
    aElementFlags=1, aBindingAttr=@0x7fff2a157490,
aDefaultRef=@0x7fff2a157330, aResultType=7,
    aModel=0x7f3e03b641d8, aResult=0x7fff2a1576a0,
aUsesModelBind=0x7fff2a1573f8,
    aParentControl=0x7fff2a1573b0, aDeps=0x7f3e03b641d0,
aIndexesUsed=0x7fff2a1573d0)
    at
/home/bkc/src/mozilla-hg/191src/extensions/xforms/nsXFormsUtils.cpp:788
#27 0x00007f3e0956a0d4 in nsXFormsControlStub::ProcessNodeBinding
(this=0x7f3e03b64190,
    aBindingAttr=@0x7fff2a157490, aResultType=7, aResult=0x7fff2a1576a0,
aModel=0x7fff2a1576b0)
    at
/home/bkc/src/mozilla-hg/191src/extensions/xforms/nsXFormsControlStub.cpp:400
#28 0x00007f3e09565337 in nsXFormsItemSetElement::Refresh
(this=0x7f3e03b64190)
    at
/home/bkc/src/mozilla-hg/191src/extensions/xforms/nsXFormsItemSetElement.cpp:292
#29 0x00007f3e095065e8 in nsXFormsModelElement::RefreshSubTree
(this=0x7f3e03fee850,
    aCurrent=0x7f3e03c09430, aForceRebind=1)
    at
/home/bkc/src/mozilla-hg/191src/extensions/xforms/nsXFormsModelElement.cpp:1425
#30 0x00007f3e0950660d in nsXFormsModelElement::RefreshSubTree
(this=0x7f3e03fee850,
    aCurrent=0x7f3e03c093d0, aForceRebind=1)
    at
/home/bkc/src/mozilla-hg/191src/extensions/xforms/nsXFormsModelElement.cpp:1435
#31 0x00007f3e0950660d in nsXFormsModelElement::RefreshSubTree
(this=0x7f3e03fee850,
    aCurrent=0x7f3e01f92520, aForceRebind=0)
    at
/home/bkc/src/mozilla-hg/191src/extensions/xforms/nsXFormsModelElement.cpp:1435
#32 0x00007f3e0950660d in nsXFormsModelElement::RefreshSubTree
(this=0x7f3e03fee850,
    aCurrent=0x7f3e01f92250, aForceRebind=0)
    at
/home/bkc/src/mozilla-hg/191src/extensions/xforms/nsXFormsModelElement.cpp:1435
#33 0x00007f3e0950e5cb in nsXFormsModelElement::Refresh
(this=0x7f3e03fee850)
    at
/home/bkc/src/mozilla-hg/191src/extensions/xforms/nsXFormsModelElement.cpp:1468
#34 0x00007f3e095123d6 in nsXFormsModelElement::HandleDefault
(this=0x7f3e03fee850,
    aEvent=0x7f3e018ec260, aHandled=0x7fff2a157b70)
    at
/home/bkc/src/mozilla-hg/191src/extensions/xforms/nsXFormsModelElement.cpp:964
#35 0x00007f3e12b72cfd in nsXTFElementWrapper::PostHandleEvent
(this=0x7f3e02f97160,
    aVisitor=@0x7fff2a157d30)
    at
/home/bkc/src/mozilla-hg/191src/content/xtf/src/nsXTFElementWrapper.cpp:904
#36 0x00007f3e12791577 in nsEventTargetChainItem::PostHandleEvent
(this=0x7f3e0259e690,
    aVisitor=@0x7fff2a157d30)
    at
/home/bkc/src/mozilla-hg/191src/content/events/src/nsEventDispatcher.cpp:248
#37 0x00007f3e1279181f in nsEventTargetChainItem::HandleEventTargetChain
(this=0x7f3e0259e9d8,
    aVisitor=@0x7fff2a157d30, aFlags=518, aCallback=0x0,
aMayHaveNewListenerManagers=0)
    at
/home/bkc/src/mozilla-hg/191src/content/events/src/nsEventDispatcher.cpp:303
#38 0x00007f3e127919fd in nsEventTargetChainItem::HandleEventTargetChain
(this=0x7f3e0259e9d8,
    aVisitor=@0x7fff2a157d30, aFlags=6, aCallback=0x0,
aMayHaveNewListenerManagers=1)
    at
/home/bkc/src/mozilla-hg/191src/content/events/src/nsEventDispatcher.cpp:354
#39 0x00007f3e12791fff in nsEventDispatcher::Dispatch
(aTarget=0x7f3e02f97160,
    aPresContext=0x7f3e0429f400, aEvent=0x7f3e017439c0,
aDOMEvent=0x7f3e018ec260,
    aEventStatus=0x7fff2a157e8c, aCallback=0x0)
    at
/home/bkc/src/mozilla-hg/191src/content/events/src/nsEventDispatcher.cpp:514
#40 0x00007f3e12792345 in nsEventDispatcher::DispatchDOMEvent
(aTarget=0x7f3e02f97160, aEvent=0x0,
    aDOMEvent=0x7f3e018ec260, aPresContext=0x7f3e0429f400,
aEventStatus=0x7fff2a157e8c)
    at
/home/bkc/src/mozilla-hg/191src/content/events/src/nsEventDispatcher.cpp:576
#41 0x00007f3e1275d700 in nsEventListenerManager::DispatchEvent
(this=0x7f3e025f47f0,
    aEvent=0x7f3e018ec260, _retval=0x7fff2a15801c)
    at
/home/bkc/src/mozilla-hg/191src/content/events/src/nsEventListenerManager.cpp:1331
#42 0x00007f3e126e3e05 in nsDOMEventRTTearoff::DispatchEvent
(this=0x7f3e03e3eb80,
    aEvt=0x7f3e018ec260, _retval=0x7fff2a15801c)
    at
/home/bkc/src/mozilla-hg/191src/content/base/src/nsGenericElement.cpp:1659
#43 0x00007f3e094f5297 in DispatchXFormsEvent (aTarget=0x7f3e02f971a0,
aEvent=eEvent_Refresh,
    aDefaultActionEnabled=0x0, aContextInfo=0x0)
    at
/home/bkc/src/mozilla-hg/191src/extensions/xforms/nsXFormsUtils.cpp:1030
#44 0x00007f3e094f5a07 in nsXFormsUtils::DispatchEvent
(aTarget=0x7f3e02f971a0,
    aEvent=eEvent_Refresh, aDefaultActionEnabled=0x0, aSrcElement=0x0,
aContextInfo=0x0)
    at
/home/bkc/src/mozilla-hg/191src/extensions/xforms/nsXFormsUtils.cpp:1247
#45 0x00007f3e0950a999 in nsXFormsModelElement::RequestUpdateEvent
(this=0x7f3e03fee850,
    aEvent=eEvent_Refresh)
    at
/home/bkc/src/mozilla-hg/191src/extensions/xforms/nsXFormsModelElement.cpp:2072
#46 0x00007f3e0950ac06 in nsXFormsModelElement::RequestRefresh
(this=0x7f3e03fee850)
    at
/home/bkc/src/mozilla-hg/191src/extensions/xforms/nsXFormsModelElement.cpp:2119
#47 0x00007f3e212a8e53 in NS_InvokeByIndex_P (that=0x7f3e03fee870,
methodIndex=28, paramCount=0,
    params=0x0)
    at
/home/bkc/src/mozilla-hg/191src/xpcom/reflect/xptcall/src/md/unix/xptcinvoke_x86_64_linux.cpp:208
#48 0x00007f3e12b76054 in nsXTFInterfaceAggregator::CallMethod
(this=0x7f3e018ea580, methodIndex=28,
    info=0x7f3e04ad72e0, params=0x7fff2a1583a0)
    at
/home/bkc/src/mozilla-hg/191src/content/xtf/src/nsXTFInterfaceAggregator.cpp:183
#49 0x00007f3e212a9e45 in PrepareAndDispatch (self=0x7f3e018e8600,
methodIndex=28,
    args=0x7fff2a158510, gpregs=0x7fff2a158490, fpregs=0x7fff2a1584c0)
    at
/home/bkc/src/mozilla-hg/191src/xpcom/reflect/xptcall/src/md/unix/xptcstubs_x86_64_linux.cpp:151
#50 0x00007f3e212a8efb in SharedStub () from
./objdir-ff-debug/dist/bin/libxpcom_core.so
#51 0x00007f3e09545e2b in DoDeferredActions (aModel=0x7f3e02f97160,
aDeferred=15, data=0x0)
    at
/home/bkc/src/mozilla-hg/191src/extensions/xforms/nsXFormsActionElement.cpp:152
#52 0x00007f3e095469e4 in nsBaseHashtable<nsISupportsHashKey, unsigned
int, unsigned int>::s_EnumReadStub (table=0x7f3e02fc2520,
hdr=0x7f3e03dcb4d0, number=0, arg=0x7fff2a158650)
    at ../../dist/include/xpcom/nsBaseHashtable.h:327
#53 0x00007f3e0957be40 in PL_DHashTableEnumerate (table=0x7f3e02fc2520,
    etor=0x7f3e0954698c <nsBaseHashtable<nsISupportsHashKey, unsigned
int, unsigned int>::s_EnumReadStub(PLDHashTable*, PLDHashEntryHdr*,
unsigned int, void*)>, arg=0x7fff2a158650)
    at /home/bkc/src/mozilla-hg/191src/xpcom/glue/pldhash.c:735
#54 0x00007f3e09546eff in nsBaseHashtable<nsISupportsHashKey, unsigned
int, unsigned int>::EnumerateRead (this=0x7f3e02fc2520,
enumFunc=0x7f3e09545d5e <DoDeferredActions>, userArg=0x0)
    at ../../dist/include/xpcom/nsBaseHashtable.h:188
#55 0x00007f3e09545d25 in nsXFormsActionElement::HandleSingleAction
(this=0x7f3e02fc24c0,
    aEvent=0x7f3e018ec140, aParentAction=0x0)
    at
/home/bkc/src/mozilla-hg/191src/extensions/xforms/nsXFormsActionElement.cpp:194
#56 0x00007f3e09547a2e in nsXFormsActionModuleBase::DoHandleAction
(aXFormsAction=0x7f3e02fc24f8,
    aEvent=0x7f3e018ec140, aParentAction=0x0)
    at
/home/bkc/src/mozilla-hg/191src/extensions/xforms/nsXFormsActionModuleBase.cpp:172
#57 0x00007f3e09545e6b in nsXFormsActionElement::HandleAction
(this=0x7f3e02fc24c0,
    aEvent=0x7f3e018ec140, aParentAction=0x0)
    at
/home/bkc/src/mozilla-hg/191src/extensions/xforms/nsXFormsActionElement.cpp:161
#58 0x00007f3e09545ee4 in nsXFormsActionElement::HandleEvent
(this=0x7f3e02fc24c0,
    aEvent=0x7f3e018ec140)
    at
/home/bkc/src/mozilla-hg/191src/extensions/xforms/nsXFormsActionElement.cpp:135
#59 0x00007f3e212a8e53 in NS_InvokeByIndex_P (that=0x7f3e02fc24f0,
methodIndex=3, paramCount=1,
    params=0x7f3e018e85e0)
    at
/home/bkc/src/mozilla-hg/191src/xpcom/reflect/xptcall/src/md/unix/xptcinvoke_x86_64_linux.cpp:208
#60 0x00007f3e12b76054 in nsXTFInterfaceAggregator::CallMethod
(this=0x7f3e018ea540, methodIndex=3,
    info=0x7f3e08b91060, params=0x7fff2a1589c0)
    at
/home/bkc/src/mozilla-hg/191src/content/xtf/src/nsXTFInterfaceAggregator.cpp:183
#61 0x00007f3e212a9e45 in PrepareAndDispatch (self=0x7f3e018e85c0,
methodIndex=3,
    args=0x7fff2a158b30, gpregs=0x7fff2a158ab0, fpregs=0x7fff2a158ae0)
    at
/home/bkc/src/mozilla-hg/191src/xpcom/reflect/xptcall/src/md/unix/xptcstubs_x86_64_linux.cpp:151
#62 0x00007f3e212a8efb in SharedStub () from
./objdir-ff-debug/dist/bin/libxpcom_core.so
#63 0x00007f3e1278ddd4 in nsXMLEventsListener::HandleEvent
(this=0x7f3e025e95c0,
    aEvent=0x7f3e018ec140)
    at
/home/bkc/src/mozilla-hg/191src/content/events/src/nsXMLEventsManager.cpp:239
#64 0x00007f3e1275e177 in nsEventListenerManager::HandleEventSubType
(this=0x7f3e025f47f0,
    aListenerStruct=0x7f3e025f4838, aListener=0x7f3e025e95c0,
aDOMEvent=0x7f3e018ec140,
    aCurrentTarget=0x7f3e02f97160, aPhaseFlags=6)
    at
/home/bkc/src/mozilla-hg/191src/content/events/src/nsEventListenerManager.cpp:1098
#65 0x00007f3e1275e6e6 in nsEventListenerManager::HandleEvent
(this=0x7f3e025f47f0,
    aPresContext=0x7f3e0429f400, aEvent=0x7f3e018ea500,
aDOMEvent=0x7fff2a158fa0,
    aCurrentTarget=0x7f3e02f97160, aFlags=6, aEventStatus=0x7fff2a158fa8)
    at
/home/bkc/src/mozilla-hg/191src/content/events/src/nsEventListenerManager.cpp:1206
#66 0x00007f3e127914fc in nsEventTargetChainItem::HandleEvent
(this=0x7f3e0259e310,
    aVisitor=@0x7fff2a158f90, aFlags=6, aMayHaveNewListenerManagers=1)
    at
/home/bkc/src/mozilla-hg/191src/content/events/src/nsEventDispatcher.cpp:236
#67 0x00007f3e12791806 in nsEventTargetChainItem::HandleEventTargetChain
(this=0x7f3e0259e658,
    aVisitor=@0x7fff2a158f90, aFlags=6, aCallback=0x0,
aMayHaveNewListenerManagers=1)
    at
/home/bkc/src/mozilla-hg/191src/content/events/src/nsEventDispatcher.cpp:300
#68 0x00007f3e12791fff in nsEventDispatcher::Dispatch
(aTarget=0x7f3e02f97160,
    aPresContext=0x7f3e0429f400, aEvent=0x7f3e018ea500,
aDOMEvent=0x7f3e018ec140,
    aEventStatus=0x7fff2a1590ec, aCallback=0x0)
    at
/home/bkc/src/mozilla-hg/191src/content/events/src/nsEventDispatcher.cpp:514
#69 0x00007f3e12792345 in nsEventDispatcher::DispatchDOMEvent
(aTarget=0x7f3e02f97160, aEvent=0x0,
    aDOMEvent=0x7f3e018ec140, aPresContext=0x7f3e0429f400,
aEventStatus=0x7fff2a1590ec)
    at
/home/bkc/src/mozilla-hg/191src/content/events/src/nsEventDispatcher.cpp:576
#70 0x00007f3e1275d700 in nsEventListenerManager::DispatchEvent
(this=0x7f3e025f47f0,
    aEvent=0x7f3e018ec140, _retval=0x7fff2a15927c)
    at
/home/bkc/src/mozilla-hg/191src/content/events/src/nsEventListenerManager.cpp:1331
#71 0x00007f3e126e3e05 in nsDOMEventRTTearoff::DispatchEvent
(this=0x7f3e03e947f0,
    aEvt=0x7f3e018ec140, _retval=0x7fff2a15927c)
    at
/home/bkc/src/mozilla-hg/191src/content/base/src/nsGenericElement.cpp:1659
#72 0x00007f3e094f5297 in DispatchXFormsEvent (aTarget=0x7f3e02f971a0,
aEvent=eEvent_Ready,
    aDefaultActionEnabled=0x0, aContextInfo=0x0)
    at
/home/bkc/src/mozilla-hg/191src/extensions/xforms/nsXFormsUtils.cpp:1030
#73 0x00007f3e094f5a07 in nsXFormsUtils::DispatchEvent
(aTarget=0x7f3e02f971a0, aEvent=eEvent_Ready,
    aDefaultActionEnabled=0x0, aSrcElement=0x0, aContextInfo=0x0)
    at
/home/bkc/src/mozilla-hg/191src/extensions/xforms/nsXFormsUtils.cpp:1247
#74 0x00007f3e0950c6ee in nsXFormsModelElement::MaybeNotifyCompletion
(this=0x7f3e03fee850)
    at
/home/bkc/src/mozilla-hg/191src/extensions/xforms/nsXFormsModelElement.cpp:2510
#75 0x00007f3e095110ab in nsXFormsModelElement::HandleLoad
(this=0x7f3e03fee850,
    aEvent=0x7f3e01e0e240)
    at
/home/bkc/src/mozilla-hg/191src/extensions/xforms/nsXFormsModelElement.cpp:3590
#76 0x00007f3e09511158 in nsXFormsModelElement::HandleEvent
(this=0x7f3e03fee850,     aEvent=0x7f3e01e0e240)
    at
/home/bkc/src/mozilla-hg/191src/extensions/xforms/nsXFormsModelElement.cpp:1522
#77 0x00007f3e1275e177 in nsEventListenerManager::HandleEventSubType
(this=0x7f3e03ed7c10,
    aListenerStruct=0x7f3e0240f8e0, aListener=0x7f3e03fee888,
aDOMEvent=0x7f3e01e0e240,
    aCurrentTarget=0x7f3e03fb7000, aPhaseFlags=6)
    at
/home/bkc/src/mozilla-hg/191src/content/events/src/nsEventListenerManager.cpp:1098
#78 0x00007f3e1275e6e6 in nsEventListenerManager::HandleEvent
(this=0x7f3e03ed7c10,
    aPresContext=0x7f3e0429f400, aEvent=0x7f3e01e42d80,
aDOMEvent=0x7fff2a159980,
    aCurrentTarget=0x7f3e03fb7000, aFlags=6, aEventStatus=0x7fff2a159988)
    at
/home/bkc/src/mozilla-hg/191src/content/events/src/nsEventListenerManager.cpp:1206
#79 0x00007f3e127914fc in nsEventTargetChainItem::HandleEvent
(this=0x7f3e0259e038,
    aVisitor=@0x7fff2a159970, aFlags=6, aMayHaveNewListenerManagers=1)
    at
/home/bkc/src/mozilla-hg/191src/content/events/src/nsEventDispatcher.cpp:236
#80 0x00007f3e12791806 in nsEventTargetChainItem::HandleEventTargetChain
(this=0x7f3e0259e2d8,
    aVisitor=@0x7fff2a159970, aFlags=6, aCallback=0x0,
aMayHaveNewListenerManagers=1)
    at
/home/bkc/src/mozilla-hg/191src/content/events/src/nsEventDispatcher.cpp:300
#81 0x00007f3e12791fff in nsEventDispatcher::Dispatch
(aTarget=0x7f3e03fb7000,
    aPresContext=0x7f3e0429f400, aEvent=0x7f3e01e42d80,
aDOMEvent=0x7f3e01e0e240,
    aEventStatus=0x7fff2a159abc, aCallback=0x0)
    at
/home/bkc/src/mozilla-hg/191src/content/events/src/nsEventDispatcher.cpp:514
#82 0x00007f3e12792345 in nsEventDispatcher::DispatchDOMEvent
(aTarget=0x7f3e03fb7000, aEvent=0x0,
    aDOMEvent=0x7f3e01e0e240, aPresContext=0x7f3e0429f400,
aEventStatus=0x7fff2a159abc)
    at
/home/bkc/src/mozilla-hg/191src/content/events/src/nsEventDispatcher.cpp:576
#83 0x00007f3e126aefbc in nsDocument::DispatchEvent
(this=0x7f3e03fb7000, aEvent=0x7f3e01e0e240,    
    _retval=0x7fff2a159b9c) at
/home/bkc/src/mozilla-hg/191src/content/base/src/nsDocument.cpp:6178
#84 0x00007f3e126809da in nsContentUtils::DispatchTrustedEvent
(aDoc=0x7f3e03fb7000,
    aTarget=0x7f3e03fb7000, aEventName=@0x7fff2a159c20, aCanBubble=1,
aCancelable=1,
    aDefaultAction=0x0) at
/home/bkc/src/mozilla-hg/191src/content/base/src/nsContentUtils.cpp:3115
#85 0x00007f3e126b4f9d in nsDocument::DispatchContentLoadedEvents
(this=0x7f3e03fb7000)
    at /home/bkc/src/mozilla-hg/191src/content/base/src/nsDocument.cpp:3925
#86 0x00007f3e126c3d16 in nsRunnableMethod<nsDocument>::Run
(this=0x7f3e01ef7700)
    at ../../../dist/include/xpcom/nsThreadUtils.h:264
#87 0x00007f3e2128d196 in nsThread::ProcessNextEvent
(this=0x7f3e193281f0, mayWait=1,
    result=0x7fff2a159dec) at
/home/bkc/src/mozilla-hg/191src/xpcom/threads/nsThread.cpp:510
#88 0x00007f3e2121ceb2 in NS_ProcessNextEvent_P (thread=0x7f3e193281f0,
mayWait=1)
    at nsThreadUtils.cpp:227
#89 0x00007f3e147a32ac in nsBaseAppShell::Run (this=0x7f3e09029ac0)
    at
/home/bkc/src/mozilla-hg/191src/widget/src/xpwidgets/nsBaseAppShell.cpp:170
#90 0x00007f3e1364fae0 in nsAppStartup::Run (this=0x7f3e09091740)
    at
/home/bkc/src/mozilla-hg/191src/toolkit/components/startup/src/nsAppStartup.cpp:193
#91 0x00007f3e21aefceb in XRE_main (argc=1, argv=0x7fff2a15a6e8,
aAppData=0x7f3e1931f080)
    at /home/bkc/src/mozilla-hg/191src/toolkit/xre/nsAppRunner.cpp:3321
#92 0x0000000000402138 in main (argc=1, argv=0x7fff2a15a6e8)
    at /home/bkc/src/mozilla-hg/191src/browser/app/nsBrowserApp.cpp:156


and (partial) stdout::

WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80040111: file
/home/bkc/src/mozilla-hg/191src/extensions/xforms/nsXFormsModelElement.cpp,
line 1587
WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80040111: file
/home/bkc/src/mozilla-hg/191src/extensions/xforms/nsXFormsControlStub.cpp,
line 1010
WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80040111: file
/home/bkc/src/mozilla-hg/191src/extensions/xforms/nsXFormsModelElement.cpp,
line 1587
WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80040111: file
/home/bkc/src/mozilla-hg/191src/extensions/xforms/nsXFormsModelElement.cpp,
line 1587
WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80040111: file
/home/bkc/src/mozilla-hg/191src/extensions/xforms/nsXFormsModelElement.cpp,
line 1587
WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80040111: file
/home/bkc/src/mozilla-hg/191src/extensions/xforms/nsXFormsControlStub.cpp,
line 1010
WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80040111: file
/home/bkc/src/mozilla-hg/191src/extensions/xforms/nsXFormsModelElement.cpp,
line 1587
WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80040111: file
/home/bkc/src/mozilla-hg/191src/extensions/xforms/nsXFormsModelElement.cpp,
line 1587
WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80040111: file
/home/bkc/src/mozilla-hg/191src/extensions/xforms/nsXFormsModelElement.cpp,
line 1587
WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80040111: file
/home/bkc/src/mozilla-hg/191src/extensions/xforms/nsXFormsControlStub.cpp,
line 1010
WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80040111: file
/home/bkc/src/mozilla-hg/191src/extensions/xforms/nsXFormsModelElement.cpp,
line 1587
WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80040111: file
/home/bkc/src/mozilla-hg/191src/extensions/xforms/nsXFormsModelElement.cpp,
line 1587
WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80040111: file
/home/bkc/src/mozilla-hg/191src/extensions/xforms/nsXFormsModelElement.cpp,
line 1587
WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80040111: file
/home/bkc/src/mozilla-hg/191src/extensions/xforms/nsXFormsControlStub.cpp,
line 1010
WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80040111: file
/home/bkc/src/mozilla-hg/191src/extensions/xforms/nsXFormsModelElement.cpp,
line 1587
WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80040111: file
/home/bkc/src/mozilla-hg/191src/extensions/xforms/nsXFormsModelElement.cpp,
line 1587
WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80040111: file
/home/bkc/src/mozilla-hg/191src/extensions/xforms/nsXFormsControlStub.cpp,
line 1010

Program ./objdir-ff-debug/dist/bin/firefox-bin (pid = 12219) received
signal 11.


--
Brad Clements,                [hidden email]    (315)268-1000
http://www.murkworks.com                         
AOL-IM: BKClements

_______________________________________________
dev-tech-xforms mailing list
[hidden email]
https://lists.mozilla.org/listinfo/dev-tech-xforms
Reply | Threaded
Open this post in threaded view
|

Re: XForms for Firefox 3.5 - Segfault - stacktrace

Dion Sole
On Jul 24, 2:25 pm, Brad Clements <[hidden email]> wrote:

> I finally had a chance to hg clone firefox and xforms extension tonight,
> build on ubuntu and get a stack trace from segfault.
>
> I'm not sure how useful this will be. I tried poking around a few
> frames, but I don't have a .gdbinit file with any useful macros and
> don't have any idea what I'm doing.
>
> Where do I go from here?
> --
> Brad Clements,                [hidden email]    (315)268-1000http://www.murkworks.com                         
> AOL-IM: BKClements

This sounds a lot like the crash in https://bugzilla.mozilla.org/show_bug.cgi?id=469717
.
I wasn't able to understand the code there well enough to figure it
out though...
_______________________________________________
dev-tech-xforms mailing list
[hidden email]
https://lists.mozilla.org/listinfo/dev-tech-xforms
bkc
Reply | Threaded
Open this post in threaded view
|

Re: XForms for Firefox 3.5 - Segfault - stacktrace

bkc
In reply to this post by bkc
I don't think these are quite the same.

My crash happens just loading the page, before I can even interact with
it, boom!


> This sounds a lot like the crash in https://bugzilla.mozilla.org/show_bug.cgi?id=469717
> .
> I wasn't able to understand the code there well enough to figure it
> out though...
>  

--
Brad Clements,                [hidden email]    (315)268-1000
http://www.murkworks.com                         
AOL-IM: BKClements

_______________________________________________
dev-tech-xforms mailing list
[hidden email]
https://lists.mozilla.org/listinfo/dev-tech-xforms