Skip to content

Instantly share code, notes, and snippets.

@syg
Created March 13, 2013 20:11
Show Gist options
  • Save syg/5155713 to your computer and use it in GitHub Desktop.
Save syg/5155713 to your computer and use it in GitHub Desktop.
(lldb) process launch -- -e 'var libdir="./"; var MODE="compare";' nbody.js
Process 3226 launched: '/Users/shu/moz/iontrail/js/src/Debug/shell/js' (x86_64)
Warming up sequential runs
.
Measuring sequential runs
Measuring parallel runs
Assertion failure: hasParallelIonScript(), at ../jsscript.h:621
Process 3226 stopped
* thread #1: tid = 0x1c03, 0x0000000100967a95 js`JSScript::parallelIonScript() const + 133 at jsscript.h:621, stop reason = EXC_BAD_ACCESS (code=1, address=0x0)
frame #0: 0x0000000100967a95 js`JSScript::parallelIonScript() const + 133 at jsscript.h:621
618 }
619
620 js::ion::IonScript *parallelIonScript() const {
-> 621 JS_ASSERT(hasParallelIonScript());
622 return parallelIon;
623 }
624
(lldb) bt
* thread #1: tid = 0x1c03, 0x0000000100967a95 js`JSScript::parallelIonScript() const + 133 at jsscript.h:621, stop reason = EXC_BAD_ACCESS (code=1, address=0x0)
frame #0: 0x0000000100967a95 js`JSScript::parallelIonScript() const + 133 at jsscript.h:621
frame #1: 0x00000001006574b1 js`ParallelDo::hasScript(js::Vector<js::types::RecompileInfo, 0ul, js::TempAllocPolicy>&, JSScript*) + 81 at ParallelDo.cpp:662
frame #2: 0x000000010065632b js`ParallelDo::invalidateBailedOutScripts() + 491 at ParallelDo.cpp:579
frame #3: 0x0000000100654428 js`ParallelDo::apply() + 632 at ParallelDo.cpp:489
frame #4: 0x0000000100651f5e js`js::parallel::Do(JSContext*, JS::CallArgs&) + 1966 at ParallelDo.cpp:677
frame #5: 0x00000001006bbc0d js`intrinsic_ParallelDo + 93 at SelfHosting.cpp:265
frame #6: 0x00000001002a07c6 js`js::InvokeKernel(JSContext*, JS::CallArgs, js::MaybeConstruct) [inlined] js::CallJSNative(JSContext*, int (*)(JSContext*, unsigned int, JS::Value*), JS::CallArgs const&) + 171 at jscntxtinlines.h:327
frame #7: 0x00000001002a071b js`js::InvokeKernel(JSContext*, JS::CallArgs, js::MaybeConstruct) + 2283 at jsinterp.cpp:384
frame #8: 0x00000001002937aa js`js::Interpret(JSContext*, js::StackFrame*, js::InterpMode) + 120698 at jsinterp.cpp:2362
frame #9: 0x0000000100275f66 js`js::RunScript(JSContext*, js::StackFrame*) + 1478 at jsinterp.cpp:341
frame #10: 0x00000001002a09a0 js`js::InvokeKernel(JSContext*, JS::CallArgs, js::MaybeConstruct) + 2928 at jsinterp.cpp:398
frame #11: 0x00000001002937aa js`js::Interpret(JSContext*, js::StackFrame*, js::InterpMode) + 120698 at jsinterp.cpp:2362
frame #12: 0x0000000100275f66 js`js::RunScript(JSContext*, js::StackFrame*) + 1478 at jsinterp.cpp:341
frame #13: 0x00000001002a09a0 js`js::InvokeKernel(JSContext*, JS::CallArgs, js::MaybeConstruct) + 2928 at jsinterp.cpp:398
frame #14: 0x0000000100108b13 js`js::Invoke(JSContext*, js::InvokeArgsGuard&, js::MaybeConstruct) + 99 at jsinterp.h:135
frame #15: 0x000000010065964c js`js::ParallelArrayObject::constructHelper(JSContext*, JS::MutableHandle<JSFunction*>, JS::CallArgs&) + 1212 at ParallelArray.cpp:186
frame #16: 0x0000000100658f64 js`js::ParallelArrayObject::construct(JSContext*, unsigned int, JS::Value*) + 244 at ParallelArray.cpp:107
frame #17: 0x00000001002a20c0 js`js::InvokeConstructorKernel(JSContext*, JS::CallArgs) [inlined] js::CallJSNative(JSContext*, int (*)(JSContext*, unsigned int, JS::Value*), JS::CallArgs const&) + 201 at jscntxtinlines.h:327
frame #18: 0x00000001002a1ff7 js`js::InvokeConstructorKernel(JSContext*, JS::CallArgs) [inlined] js::CallJSNativeConstructor(JSContext*, int (*)(JSContext*, unsigned int, JS::Value*), JS::CallArgs const&) + 315 at jscntxtinlines.h:360
frame #19: 0x00000001002a1ebc js`js::InvokeConstructorKernel(JSContext*, JS::CallArgs) + 764 at jsinterp.cpp:454
frame #20: 0x000000010029373d js`js::Interpret(JSContext*, js::StackFrame*, js::InterpMode) + 120589 at jsinterp.cpp:2359
frame #21: 0x0000000100275f66 js`js::RunScript(JSContext*, js::StackFrame*) + 1478 at jsinterp.cpp:341
frame #22: 0x00000001002a34e6 js`js::ExecuteKernel(JSContext*, JS::Handle<JSScript*>, JSObject&, JS::Value const&, js::ExecuteType, js::AbstractFramePtr, JS::Value*) + 966 at jsinterp.cpp:531
frame #23: 0x00000001002a3838 js`js::Execute(JSContext*, JS::Handle<JSScript*>, JSObject&, JS::Value*) + 680 at jsinterp.cpp:570
frame #24: 0x00000001000b27eb js`JS_ExecuteScript(JSContext*, JSObject*, JSScript*, JS::Value*) + 763 at jsapi.cpp:5491
frame #25: 0x000000010001c56f js`Process + 1295 at js.cpp:467
frame #26: 0x000000010001a5da js`ProcessArgs + 3322 at js.cpp:5023
frame #27: 0x00000001000191e9 js`Shell(JSContext*, js::cli::OptionParser*, char**) + 425 at js.cpp:5060
frame #28: 0x000000010001b12c js`main + 2668 at js.cpp:5283
frame #29: 0x00000001000013a4 js`start + 52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment