Steps to repro
git clone https://github.com/nodejs/node-chakracore nctest
- patch with chakracore master
cd nctest
rm -rf deps/chakrashim/core
cd deps/chakrashim
git clone https://github.com/microsoft/chakracore core
- patch with chakracore master node-chakracore fixes
cd core
git remote add obastemur https://github.com/obastemur/ChakraCore
git fetch obastemur
git cherry-pick 58527f139b3087c3c4fdf2d9d2e6f3603af8072f
git cherry-pick 80c857bbddb5d669156b0f250b3390d196a955a5
cd ../../../
./configure
make -j4
./node tools/eslint/bin/eslint.js --cache --rulesdir=tools/eslint-rules --ext=.js,.mjs,.md benchmark doc lib test tools
Running JS linter...
make[2]: *** [lint-js] Segmentation fault: 11
* thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=EXC_I386_GPFLT)
frame #0: 0x0000000100a5978f node`Js::JavascriptString::Is(void*) + 47
node`Js::JavascriptString::Is:
-> 0x100a5978f <+47>: cmpl $0x7, (%rax)
0x100a59792 <+50>: sete %al
0x100a59795 <+53>: popq %rbp
0x100a59796 <+54>: retq
Target 0: (node) stopped.
(lldb) bt
* thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=EXC_I386_GPFLT)
* frame #0: 0x0000000100a5978f node`Js::JavascriptString::Is(void*) + 47
frame #1: 0x00000001008f28a6 node`Js::IntlEngineInterfaceExtensionObject::EntryIntl_CompareString(Js::RecyclableObject*, Js::CallInfo, ...) + 118
frame #2: 0x0000000100a5bcd5 node`Js::JavascriptString::EntryLocaleCompare(Js::RecyclableObject*, Js::CallInfo, ...) + 261
p.s.: went back to 9f1bcd577854ac7dcda7f9aa499a629f181d4183 in the history but still the same. Due to build breaks one ncc, it's hard to track down.
Steps to repro
p.s.: went back to
9f1bcd577854ac7dcda7f9aa499a629f181d4183in the history but still the same. Due to build breaks one ncc, it's hard to track down.