Closed Bug 1379327 Opened 7 years ago Closed 7 years ago

Assertion failure: !IsNull() (Cannot compute with a null value), at /opt/moz/hg-inbound-2/_obj-browser-release-tb-fp-dbg/dist/include/mozilla/TimeStamp.h:496

Categories

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

defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: michal, Unassigned)

References

Details

(rr) bt
#0  0xffffffff in nsDOMNavigationTiming::GetTimeToNonBlankPaint() const (aOther=..., this=<synthetic pointer>)
    at /opt/moz/hg-inbound-2/_obj-browser-release-tb-fp-dbg/dist/include/mozilla/TimeStamp.h:497
#1  0xffffffff in nsDOMNavigationTiming::GetTimeToNonBlankPaint() const (aStamp=..., this=0xbe7025e0)
    at /opt/moz/hg-inbound-2/dom/base/nsDOMNavigationTiming.h:119
#2  0xffffffff in nsDOMNavigationTiming::GetTimeToNonBlankPaint() const (this=0xbe7025e0)
    at /opt/moz/hg-inbound-2/dom/base/nsDOMNavigationTiming.h:87
#3  0xffffffff in mozilla::dom::PerformanceTimingBinding::get_timeToNonBlankPaint(JSContext*, JS::Handle<JSObject*>, mozilla::dom::PerformanceTiming*, JSJitGetterCallArgs) (this=0xbcea5dc0)
    at /opt/moz/hg-inbound-2/_obj-browser-release-tb-fp-dbg/dist/include/mozilla/dom/PerformanceTiming.h:253
#4  0xffffffff in mozilla::dom::PerformanceTimingBinding::get_timeToNonBlankPaint(JSContext*, JS::Handle<JSObject*>, mozilla::dom::PerformanceTiming*, JSJitGetterCallArgs) (cx=0xf706a000, obj=..., self=0xbcea5dc0, args=...)
    at /opt/moz/hg-inbound-2/_obj-browser-release-tb-fp-dbg/dom/bindings/PerformanceTimingBinding.cpp:562
#5  0xffffffff in mozilla::dom::PerformanceTimingBinding::JsonifyAttributes(JSContext*, JS::Handle<JSObject*>, mozilla::dom::PerformanceTiming*, JS::Rooted<JSObject*>&) (aCx=0xf706a000, obj=..., self=0xbcea5dc0, aResult=...)
    at /opt/moz/hg-inbound-2/_obj-browser-release-tb-fp-dbg/dom/bindings/PerformanceTimingBinding.cpp:771
#6  0xffffffff in mozilla::dom::PerformanceTimingBinding::__jsonifier(JSContext*, JS::Handle<JSObject*>, mozilla::dom::PerformanceTiming*, JSJitMethodCallArgs const&) (cx=0xf706a000, obj=..., self=0xbcea5dc0, args=...)
    at /opt/moz/hg-inbound-2/_obj-browser-release-tb-fp-dbg/dom/bindings/PerformanceTimingBinding.cpp:788
#7  0xffffffff in mozilla::dom::GenericBindingMethod(JSContext*, unsigned int, JS::Value*) (cx=0xf706a000, argc=1, vp=0xffe1b540)
    at /opt/moz/hg-inbound-2/dom/bindings/BindingUtils.cpp:3028
#8  0xffffffff in js::CallJSNative(JSContext*, bool (*)(JSContext*, unsigned int, JS::Value*), JS::CallArgs const&) (cx=0xf706a000, native=0xeebc6980 <mozilla::dom::GenericBindingMethod(JSContext*, unsigned int, JS::Value*)>, args=...)
    at /opt/moz/hg-inbound-2/js/src/jscntxtinlines.h:293
#9  0xffffffff in js::InternalCallOrConstruct(JSContext*, JS::CallArgs const&, js::MaybeConstruct) (cx=0xf706a000, args=..., construct=js::NO_CONSTRUCT) at /opt/moz/hg-inbound-2/js/src/vm/Interpreter.cpp:470
#10 0xffffffff in InternalCall(JSContext*, js::AnyInvokeArgs const&) (cx=cx@entry=0xf706a000, args=...)
    at /opt/moz/hg-inbound-2/js/src/vm/Interpreter.cpp:515
#11 0xffffffff in js::Call(JSContext*, JS::Handle<JS::Value>, JS::Handle<JS::Value>, js::AnyInvokeArgs const&, JS::MutableHandle<JS::Value>) (cx=0xf706a000, fval=..., thisv=..., args=..., rval=...) at /opt/moz/hg-inbound-2/js/src/vm/Interpreter.cpp:534
#12 0xffffffff in js::Call(JSContext*, JS::Handle<JS::Value>, JS::Handle<JS::Value>, JS::Handle<JS::Value>, JS::MutableHandle<JS::Value>) (cx=0xf706a000, fval=..., thisv=..., arg0=..., rval=...) at /opt/moz/hg-inbound-2/js/src/vm/Interpreter.h:102
#13 0xffffffff in PreprocessValue<JS::Handle<jsid> >(JSContext*, JS::HandleObject, JS::Handle<jsid>, JS::MutableHandleValue, (anonymous namespace)::StringifyContext*) (cx=cx@entry=0xf706a000, holder=..., holder@entry=..., key=..., 
    key@entry=..., vp=..., scx=0xffe1b7e0) at /opt/moz/hg-inbound-2/js/src/json.cpp:240
#14 0xffffffff in js::Stringify(JSContext*, JS::MutableHandle<JS::Value>, JSObject*, JS::Value const&, js::StringBuffer&, js::StringifyBehavior) (cx=0xf706a000, vp=..., replacer_=0x0, space_=..., sb=..., stringifyBehavior=js::StringifyBehavior::Normal)
    at /opt/moz/hg-inbound-2/js/src/json.cpp:752
#15 0xffffffff in json_stringify(JSContext*, unsigned int, JS::Value*) (cx=0xf706a000, argc=1, vp=0xe6d47490)
    at /opt/moz/hg-inbound-2/js/src/json.cpp:944
#16 0xffffffff in js::CallJSNative(JSContext*, bool (*)(JSContext*, unsigned int, JS::Value*), JS::CallArgs const&) (cx=0xf706a000, native=0xf0c69090 <json_stringify(JSContext*, unsigned int, JS::Value*)>, args=...)
    at /opt/moz/hg-inbound-2/js/src/jscntxtinlines.h:293
#17 0xffffffff in js::InternalCallOrConstruct(JSContext*, JS::CallArgs const&, js::MaybeConstruct) (cx=0xf706a000, args=..., construct=js::NO_CONSTRUCT) at /opt/moz/hg-inbound-2/js/src/vm/Interpreter.cpp:470
#18 0xffffffff in InternalCall(JSContext*, js::AnyInvokeArgs const&) (cx=0xf706a000, args=...)
    at /opt/moz/hg-inbound-2/js/src/vm/Interpreter.cpp:515
#19 0xffffffff in Interpret(JSContext*, js::RunState&) (args=..., cx=<optimized out>)
    at /opt/moz/hg-inbound-2/js/src/vm/Interpreter.cpp:521
#20 0xffffffff in Interpret(JSContext*, js::RunState&) (cx=0xf706a000, state=...)
    at /opt/moz/hg-inbound-2/js/src/vm/Interpreter.cpp:3060
#21 0xffffffff in js::RunScript(JSContext*, js::RunState&) (cx=0xf706a000, state=...)
    at /opt/moz/hg-inbound-2/js/src/vm/Interpreter.cpp:410
#22 0xffffffff in js::InternalCallOrConstruct(JSContext*, JS::CallArgs const&, js::MaybeConstruct) (cx=0xf706a000, args=..., construct=js::NO_CONSTRUCT) at /opt/moz/hg-inbound-2/js/src/vm/Interpreter.cpp:488
#23 0xffffffff in InternalCall(JSContext*, js::AnyInvokeArgs const&) (cx=cx@entry=0xf706a000, args=...)
    at /opt/moz/hg-inbound-2/js/src/vm/Interpreter.cpp:515
#24 0xffffffff in js::Call(JSContext*, JS::Handle<JS::Value>, JS::Handle<JS::Value>, js::AnyInvokeArgs const&, JS::MutableHandle<JS::Value>) (cx=0xf706a000, fval=..., thisv=..., args=..., rval=...) at /opt/moz/hg-inbound-2/js/src/vm/Interpreter.cpp:534
#25 0xffffffff in JS::Call(JSContext*, JS::Handle<JS::Value>, JS::Handle<JS::Value>, JS::HandleValueArray const&, JS::MutableHandle<JS::Value>) (cx=0xf706a000, thisv=..., fval=..., args=..., rval=...) at /opt/moz/hg-inbound-2/js/src/jsapi.cpp:2948
#26 0xffffffff in mozilla::dom::EventListener::HandleEvent(JSContext*, JS::Handle<JS::Value>, mozilla::dom::Event&, mozilla::ErrorResult&) (this=0xcafb8720, cx=0xf706a000, aThisVal=..., event=..., aRv=...)
    at /opt/moz/hg-inbound-2/_obj-browser-release-tb-fp-dbg/dom/bindings/EventListenerBinding.cpp:47
#27 0xffffffff in mozilla::EventListenerManager::HandleEventSubType(mozilla::EventListenerManager::Listener*, nsIDOMEvent*, mozilla::dom::EventTarget*) (aCompartment=0x0, aExceptionHandling=mozilla::dom::CallbackObject::eReportExceptions, aExecutionReason=0xf171a23d "EventListener.handleEvent", aRv=..., event=..., thisVal=<synthetic pointer>, this=0xcafb8720)
    at /opt/moz/hg-inbound-2/_obj-browser-release-tb-fp-dbg/dist/include/mozilla/dom/EventListenerBinding.h:65
#28 0xffffffff in mozilla::EventListenerManager::HandleEventSubType(mozilla::EventListenerManager::Listener*, nsIDOMEvent*, mozilla::dom::EventTarget*) (this=0xaf0db5e0, aListener=<optimized out>, aDOMEvent=0xa54ed460, aCurrentTarget=0xb1e78c00)
    at /opt/moz/hg-inbound-2/dom/events/EventListenerManager.cpp:1138
#29 0xffffffff in mozilla::EventListenerManager::HandleEventInternal(nsPresContext*, mozilla::WidgetEvent*, nsIDOMEvent**, mozilla::dom::EventTarget*, nsEventStatus*) (this=0xaf0db5e0, aPresContext=0xb1e78800, aEvent=0xffe1c580, aDOMEvent=0xffe1c4b4, aCurrentTarget=0xb1e78c00, aEventStatus=0xffe1c4b8) at /opt/moz/hg-inbound-2/dom/events/EventListenerManager.cpp:1311
#30 0xffffffff in mozilla::EventTargetChainItem::HandleEvent(mozilla::EventChainPostVisitor&, mozilla::ELMCreationDetector&) (aEventStatus=0xffe1c4b8, aCurrentTarget=0xb1e78c00, aDOMEvent=0xffe1c4b4, aEvent=0xffe1c580, aPresContext=0xb1e78800, this=<optimized out>)
    at /opt/moz/hg-inbound-2/_obj-browser-release-tb-fp-dbg/dist/include/mozilla/EventListenerManager.h:376
#31 0xffffffff in mozilla::EventTargetChainItem::HandleEvent(mozilla::EventChainPostVisitor&, mozilla::ELMCreationDetector&) (this=0xd9231008, aVisitor=..., aCd=...) at /opt/moz/hg-inbound-2/dom/events/EventDispatcher.cpp:318
#32 0xffffffff in mozilla::EventTargetChainItem::HandleEventTargetChain(nsTArray<mozilla::EventTargetChainItem>&, mozilla::EventChainPostVisitor&, mozilla::EventDispatchingCallback*, mozilla::ELMCreationDetector&) (aChain=..., aVisitor=..., aCallback=0x0, aCd=...)
    at /opt/moz/hg-inbound-2/dom/events/EventDispatcher.cpp:464
#33 0xffffffff in mozilla::EventDispatcher::Dispatch(nsISupports*, nsPresContext*, mozilla::WidgetEvent*, nsIDOMEvent*, nsEventStatus*, mozilla::EventDispatchingCallback*, nsTArray<mozilla::dom::EventTarget*>*) (aTarget=0xd6fe4810, aPresContext=0xb1e78800, aEvent=0xffe1c580, aDOMEvent=0x0, aEventStatus=0xffe1c568, aCallback=0x0, aTargets=0x0)
    at /opt/moz/hg-inbound-2/dom/events/EventDispatcher.cpp:825
#34 0xffffffff in nsDocumentViewer::LoadComplete(nsresult) (this=0xb1fe8710, aStatus=nsresult::NS_OK)
    at /opt/moz/hg-inbound-2/layout/base/nsDocumentViewer.cpp:1104
#35 0xffffffff in nsDocShell::EndPageLoad(nsIWebProgress*, nsIChannel*, nsresult) (this=0xd6fe4400, aChannel=<optimized out>, aStatus=<optimized out>, aProgress=<optimized out>) at /opt/moz/hg-inbound-2/docshell/base/nsDocShell.cpp:7698
#36 0xffffffff in nsDocShell::OnStateChange(nsIWebProgress*, nsIRequest*, unsigned int, nsresult) (this=0xd6fe4400, aProgress=0xd6fe4414, aRequest=0xbeb38038, aStateFlags=131088, aStatus=nsresult::NS_OK) at /opt/moz/hg-inbound-2/docshell/base/nsDocShell.cpp:7496
#37 0xffffffff in nsDocLoader::DoFireOnStateChange(nsIWebProgress*, nsIRequest*, int&, nsresult) (this=0xd6fe4400, aProgress=0xd6fe4414, aRequest=0xbeb38038, aStateFlags=@0xffe1cb1c: 131088, aStatus=nsresult::NS_OK)
    at /opt/moz/hg-inbound-2/uriloader/base/nsDocLoader.cpp:1299
#38 0xffffffff in nsDocLoader::doStopDocumentLoad(nsIRequest*, nsresult) (this=0xd6fe4400, request=0xbeb38038, aStatus=nsresult::NS_OK) at /opt/moz/hg-inbound-2/uriloader/base/nsDocLoader.cpp:860
#39 0xffffffff in nsDocLoader::DocLoaderIsEmpty(bool) (this=0xd6fe4400, aFlushLayout=true)
    at /opt/moz/hg-inbound-2/uriloader/base/nsDocLoader.cpp:749
#40 0xffffffff in nsDocLoader::DocLoaderIsEmpty(bool) (aChild=0xb249dc00, this=0xd6fe4400)
    at /opt/moz/hg-inbound-2/uriloader/base/nsDocLoader.h:201
#41 0xffffffff in nsDocLoader::DocLoaderIsEmpty(bool) (this=0xb249dc00, aFlushLayout=true)
    at /opt/moz/hg-inbound-2/uriloader/base/nsDocLoader.cpp:752
#42 0xffffffff in nsDocLoader::OnStopRequest(nsIRequest*, nsISupports*, nsresult) (this=0xb249dc00, aRequest=0xce6935c0, aCtxt=0x0, aStatus=nsresult::NS_OK) at /opt/moz/hg-inbound-2/uriloader/base/nsDocLoader.cpp:631
#43 0xffffffff in mozilla::net::nsLoadGroup::RemoveRequest(nsIRequest*, nsISupports*, nsresult) (this=0xa56087c0, request=0xce6935c0, ctxt=0x0, aStatus=nsresult::NS_OK) at /opt/moz/hg-inbound-2/netwerk/base/nsLoadGroup.cpp:629
#44 0xffffffff in nsDocument::DoUnblockOnload() (this=0xbe47e000) at /opt/moz/hg-inbound-2/dom/base/nsDocument.cpp:8922
#45 0xffffffff in nsDocument::UnblockOnload(bool) (this=0xbe47e000, aFireSync=true)
    at /opt/moz/hg-inbound-2/dom/base/nsDocument.cpp:8844
#46 0xffffffff in nsBindingManager::DoProcessAttachedQueue() (this=0x9e043bb0)
    at /opt/moz/hg-inbound-2/dom/xbl/nsBindingManager.cpp:417
#47 0xffffffff in mozilla::detail::RunnableMethodImpl<nsBindingManager*, void (nsBindingManager::*)(), true, (mozilla::RunnableKind)0>::Run() (args=..., m=<optimized out>, o=<optimized out>)
    at /opt/moz/hg-inbound-2/_obj-browser-release-tb-fp-dbg/dist/include/nsThreadUtils.h:1138
#48 0xffffffff in mozilla::detail::RunnableMethodImpl<nsBindingManager*, void (nsBindingManager::*)(), true, (mozilla::RunnableKind)0>::Run() (m=<optimized out>, o=<optimized out>, this=0x9fbf0f30)
    at /opt/moz/hg-inbound-2/_obj-browser-release-tb-fp-dbg/dist/include/nsThreadUtils.h:1145
#49 0xffffffff in mozilla::detail::RunnableMethodImpl<nsBindingManager*, void (nsBindingManager::*)(), true, (mozilla::RunnableKind)0>::Run() (this=0x9fbf0f10) at /opt/moz/hg-inbound-2/_obj-browser-release-tb-fp-dbg/dist/include/nsThreadUtils.h:1187
#50 0xffffffff in nsThread::ProcessNextEvent(bool, bool*) (this=0xf70eb290, aMayWait=<optimized out>, aResult=0xffe1d01f)
    at /opt/moz/hg-inbound-2/xpcom/threads/nsThread.cpp:1437
#51 0xffffffff in NS_ProcessNextEvent(nsIThread*, bool) (aThread=0xf70eb290, aMayWait=false)
    at /opt/moz/hg-inbound-2/xpcom/threads/nsThreadUtils.cpp:489
#52 0xffffffff in mozilla::ipc::MessagePump::Run(base::MessagePump::Delegate*) (this=0xf34023a0, aDelegate=0xf702b210)
    at /opt/moz/hg-inbound-2/ipc/glue/MessagePump.cpp:97
#53 0xffffffff in MessageLoop::RunInternal() (this=0xf702b210) at /opt/moz/hg-inbound-2/ipc/chromium/src/base/message_loop.cc:320
#54 0xffffffff in MessageLoop::Run() (this=0xf702b210) at /opt/moz/hg-inbound-2/ipc/chromium/src/base/message_loop.cc:313
#55 0xffffffff in MessageLoop::Run() (this=0xf702b210) at /opt/moz/hg-inbound-2/ipc/chromium/src/base/message_loop.cc:293
#56 0xffffffff in nsBaseAppShell::Run() (this=0xe6c36330) at /opt/moz/hg-inbound-2/widget/nsBaseAppShell.cpp:156
#57 0xffffffff in nsAppStartup::Run() (this=0xe6f964f0) at /opt/moz/hg-inbound-2/toolkit/components/startup/nsAppStartup.cpp:287
#58 0xffffffff in XREMain::XRE_mainRun() (this=0xffe1d2d4) at /opt/moz/hg-inbound-2/toolkit/xre/nsAppRunner.cpp:4589
#59 0xffffffff in XREMain::XRE_main(int, char**, mozilla::BootstrapConfig const&) (this=0xffe1d2d4, argc=3, argv=0xffe1e544, aConfig=...) at /opt/moz/hg-inbound-2/toolkit/xre/nsAppRunner.cpp:4772
#60 0xffffffff in XRE_main(int, char**, mozilla::BootstrapConfig const&) (argc=3, argv=0xffe1e544, aConfig=...)
    at /opt/moz/hg-inbound-2/toolkit/xre/nsAppRunner.cpp:4867
#61 0x0804cf7c in do_main(int, char**, char**) (argc=argc@entry=3, argv=argv@entry=0xffe1e544, envp=envp@entry=0xffe1e554)
    at /opt/moz/hg-inbound-2/browser/app/nsBrowserApp.cpp:237
#62 0x0804c9a2 in main(int, char**, char**) (argc=3, argv=0xffe1e544, envp=0xffe1e554)
    at /opt/moz/hg-inbound-2/browser/app/nsBrowserApp.cpp:310


(rr) f 1
#1  TimeStampToDOMHighRes (aStamp=..., this=0xbe7025e0) at /opt/moz/hg-inbound-2/dom/base/nsDOMNavigationTiming.h:119
119	    mozilla::TimeDuration duration = aStamp - mNavigationStartTimeStamp;
(rr) p aStamp
$6 = {mValue = 0}
(rr) f 2
#2  nsDOMNavigationTiming::GetTimeToNonBlankPaint (this=0xbe7025e0) at /opt/moz/hg-inbound-2/dom/base/nsDOMNavigationTiming.h:87
87	    return TimeStampToDOMHighRes(mNonBlankPaintTimeStamp);
(rr) p mNonBlankPaintTimeStamp
$7 = {mValue = 0}
Blocks: 1377251
This got resolved by backing out the original patch
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → WORKSFORME
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.