Last Comment Bug 771168 - Assertion failure: isScriptFrame(), at ../../vm/Stack.h:605 or Opt Crash [@ AssertJit]
: Assertion failure: isScriptFrame(), at ../../vm/Stack.h:605 or Opt Crash [@ A...
[js:t] [jsbugmon:]
: assertion, crash, testcase
Product: Core
Classification: Components
Component: JavaScript Engine (show other bugs)
: Trunk
: x86_64 Linux
-- critical (vote)
: mozilla18
Assigned To: general
: Jason Orendorff [:jorendorff]
Depends on:
Blocks: langfuzz
  Show dependency treegraph
Reported: 2012-07-05 08:47 PDT by Christian Holler (:decoder)
Modified: 2013-01-16 16:41 PST (History)
4 users (show)
choller: in‑testsuite-
See Also:
Crash Signature:
QA Whiteboard:
Iteration: ---
Points: ---
Has Regression Range: ---
Has STR: ---


Description User image Christian Holler (:decoder) 2012-07-05 08:47:43 PDT
The following test asserts/crashes on mozilla-central revision b6aa44d8f11f (options -m -a):


Opt-crash trace:

==14000== Invalid read of size 8
==14000==    at 0x40512A: AssertJit(JSContext*, unsigned int, JS::Value*) (jsscript.h:677)
==14000==    by 0x49B2EC: js::InvokeKernel(JSContext*, JS::CallArgs, js::MaybeConstruct) (jscntxtinlines.h:400)
==14000==    by 0x49B9EB: js::Invoke(JSContext*, JS::Value const&, JS::Value const&, unsigned int, JS::Value*, JS::Value*) (jsinterp.h:119)
==14000==    by 0x4DE744: js::IndirectProxyHandler::call(JSContext*, JSObject*, unsigned int, JS::Value*) (jsproxy.cpp:441)
==14000==    by 0x54AC94: js::DirectWrapper::call(JSContext*, JSObject*, unsigned int, JS::Value*) (jswrapper.cpp:303)
==14000==    by 0x54F9C5: js::CrossCompartmentWrapper::call(JSContext*, JSObject*, unsigned int, JS::Value*) (jswrapper.cpp:699)
==14000==    by 0x4DFD56: proxy_Call(JSContext*, unsigned int, JS::Value*) (jsproxy.cpp:1134)
==14000==    by 0x49B482: js::InvokeKernel(JSContext*, JS::CallArgs, js::MaybeConstruct) (jscntxtinlines.h:400)
==14000==    by 0x691B52: js::mjit::stubs::SlowCall(js::VMFrame&, unsigned int) (InvokeHelpers.cpp:133)
==14000==    by 0x67D677: js::mjit::ic::NativeCall(js::VMFrame&, js::mjit::ic::CallICInfo*) (MonoIC.cpp:1013)
==14000==    by 0x403257C: ???
==14000==    by 0x6030B0: js::mjit::JaegerShot(JSContext*, bool) (MethodJIT.cpp:1016)
==14000==  Address 0x50 is not stack'd, malloc'd or (recently) free'd

Could be just a problem with the assertJit function in the shell.
Comment 1 User image Christian Holler (:decoder) 2012-08-25 02:59:59 PDT
JSBugMon: The testcase found in this bug no longer reproduces (tried revision f077de66e52d).
Comment 2 User image Christian Holler (:decoder) 2012-08-25 03:44:21 PDT
JSBugMon: Fix Bisection requested, result:
autoBisect shows this is probably related to the following changeset:

The first good revision is:
changeset:   103262:986c07b3f3e6
user:        Luke Wagner
date:        Fri Aug 17 18:05:06 2012 -0700
summary:     Bug 625199 - kill dummy frames (r=mrbkap)
Comment 3 User image Luke Wagner [:luke] 2012-08-27 09:12:22 PDT
You're right, it is a test-only failure.  We should remove AssertJit sometime... with TI it has little meaning.
Comment 4 User image Ryan VanderMeulen [:RyanVM] 2012-08-27 19:19:57 PDT

Note You need to log in before you can comment on or make changes to this bug.