Closed Bug 1335816 Opened 8 years ago Closed 8 years ago

Assertion failure: triggeringPrincipal (need a valid triggeringPrincipal to load from history)

Categories

(Core :: DOM: Security, defect)

x86_64
Linux
defect
Not set
critical

Tracking

()

RESOLVED DUPLICATE of bug 1334875
Tracking Status
firefox54 --- affected

People

(Reporter: MatsPalmgren_bugz, Unassigned)

Details

(Keywords: assertion, crash)

STR. 1. "Restore Session" (my previous run had crashed) 2. wait for a bunch of tabs to load 3. click on some of the tabs Recent m-c debug build on Linux: Assertion failure: triggeringPrincipal (need a valid triggeringPrincipal to load from history), at docshell/base/nsDocShell.cpp:12592 Thread 1 "firefox" received signal SIGSEGV, Segmentation fault. 0x00007fffe8aa4c7c in nsDocShell::LoadHistoryEntry (this=0x7fffc1714800, aEntry=0x7fffb1223d80, aLoadType=4) at docshell/base/nsDocShell.cpp:12591 12591 MOZ_ASSERT(triggeringPrincipal, (gdb) bt 24 #0 0x00007fffe8aa4c7c in nsDocShell::LoadHistoryEntry (this=0x7fffc1714800, aEntry=0x7fffb1223d80, aLoadType=4) at docshell/base/nsDocShell.cpp:12591 #1 0x00007fffe8aa3551 in nsDocShell::LoadURI (this=0x7fffc1714800, aURI=0x7fffb1452e00, aLoadInfo=0x7fffc14e5860, aLoadFlags=0, aFirstParty=false) at docshell/base/nsDocShell.cpp:1440 #2 0x00007fffe8b0c960 in nsSHistory::InitiateLoad (this=0x7fffc16bca10, aFrameEntry=0x7fffb1223d80, aFrameDS=0x7fffc17149a8, aLoadType=2) at docshell/shistory/nsSHistory.cpp:1900 #3 0x00007fffe8b0bf49 in nsSHistory::LoadEntry (this=0x7fffc16bca10, aIndex=0, aLoadType=2, aHistCmd=3) at docshell/shistory/nsSHistory.cpp:1758 #4 0x00007fffe8b0c66d in nsSHistory::ReloadCurrentEntry (this=0x7fffc16bca10) at docshell/shistory/nsSHistory.cpp:1030 #5 0x00007fffe4559866 in NS_InvokeByIndex () at xpcom/reflect/xptcall/md/unix/xptcinvoke_asm_x86_64_unix.S:115 #6 0x00007fffe558b9a4 in CallMethodHelper::Invoke (this=0x7fffffff0ee8) at js/xpconnect/src/XPCWrappedNative.cpp:2010 #7 0x00007fffe558405b in CallMethodHelper::Call (this=0x7fffffff0ee8) at js/xpconnect/src/XPCWrappedNative.cpp:1329 #8 0x00007fffe5569122 in XPCWrappedNative::CallMethod (ccx=..., mode=XPCWrappedNative::CALL_METHOD) at js/xpconnect/src/XPCWrappedNative.cpp:1296 #9 0x00007fffe556b0e5 in XPC_WN_CallMethod (cx=0x7fffdea46000, argc=0, vp=0x7fffd5ce42d0) at js/xpconnect/src/XPCWrappedNativeJSOps.cpp:983 #10 0x00007fffea1c181d in js::CallJSNative (cx=0x7fffdea46000, native=0x7fffe556adb0 <XPC_WN_CallMethod(JSContext*, unsigned int, JS::Value*)>, args=...) at js/src/jscntxtinlines.h:262 #11 0x00007fffea1b18d2 in js::InternalCallOrConstruct (cx=0x7fffdea46000, args=..., construct=js::NO_CONSTRUCT) at js/src/vm/Interpreter.cpp:460 #12 0x00007fffea1b1ccd in InternalCall (cx=0x7fffdea46000, args=...) at js/src/vm/Interpreter.cpp:505 #13 0x00007fffea1b1acd in js::CallFromStack (cx=0x7fffdea46000, args=...) at js/src/vm/Interpreter.cpp:511 #14 0x00007fffea1a6330 in Interpret (cx=0x7fffdea46000, state=...) at js/src/vm/Interpreter.cpp:2957 #15 0x00007fffea19b5a3 in js::RunScript (cx=0x7fffdea46000, state=...) at js/src/vm/Interpreter.cpp:406 #16 0x00007fffea1b19bc in js::InternalCallOrConstruct (cx=0x7fffdea46000, args=..., construct=js::NO_CONSTRUCT) at js/src/vm/Interpreter.cpp:478 #17 0x00007fffea1b1ccd in InternalCall (cx=0x7fffdea46000, args=...) at js/src/vm/Interpreter.cpp:505 #18 0x00007fffea1b1d46 in js::Call (cx=0x7fffdea46000, fval=..., thisv=..., args=..., rval=...) at js/src/vm/Interpreter.cpp:524 #19 0x00007fffea9485a6 in js::Wrapper::call (this=0x7fffed7b94f0 <js::CrossCompartmentWrapper::singleton>, cx=0x7fffdea46000, proxy=..., args=...) at js/src/proxy/Wrapper.cpp:165 #20 0x00007fffea932863 in js::CrossCompartmentWrapper::call (this=0x7fffed7b94f0 <js::CrossCompartmentWrapper::singleton>, cx=0x7fffdea46000, wrapper=..., args=...) at js/src/proxy/CrossCompartmentWrapper.cpp:349 #21 0x00007fffea937e85 in js::Proxy::call (cx=0x7fffdea46000, proxy=..., args=...) at js/src/proxy/Proxy.cpp:421 #22 0x00007fffea939097 in js::proxy_Call (cx=0x7fffdea46000, argc=3, vp=0x7fffd5ce4140) at js/src/proxy/Proxy.cpp:662 #23 0x00007fffea1c181d in js::CallJSNative (cx=0x7fffdea46000, native=0x7fffea938fc0 <js::proxy_Call(JSContext*, unsigned int, JS::Value*)>, args=...) at js/src/jscntxtinlines.h:262 (More stack frames follow...) (gdb)
This is a duplicate of bug 1334875.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.