{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/ChakraCore/issues/2270","repository_url":"https://api.github.com/repos/Microsoft/ChakraCore","labels_url":"https://api.github.com/repos/Microsoft/ChakraCore/issues/2270/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/ChakraCore/issues/2270/comments","events_url":"https://api.github.com/repos/Microsoft/ChakraCore/issues/2270/events","html_url":"https://github.com/Microsoft/ChakraCore/issues/2270","id":197113851,"number":2270,"title":"Crash [@ Ident::GetPropertyId] involving \"use asm\"","user":{"login":"nth10sd","id":488630,"avatar_url":"https://avatars.githubusercontent.com/u/488630?v=3","gravatar_id":"","url":"https://api.github.com/users/nth10sd","html_url":"https://github.com/nth10sd","followers_url":"https://api.github.com/users/nth10sd/followers","following_url":"https://api.github.com/users/nth10sd/following{/other_user}","gists_url":"https://api.github.com/users/nth10sd/gists{/gist_id}","starred_url":"https://api.github.com/users/nth10sd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nth10sd/subscriptions","organizations_url":"https://api.github.com/users/nth10sd/orgs","repos_url":"https://api.github.com/users/nth10sd/repos","events_url":"https://api.github.com/users/nth10sd/events{/privacy}","received_events_url":"https://api.github.com/users/nth10sd/received_events","type":"User","site_admin":false},"labels":[{"id":307793022,"url":"https://api.github.com/repos/Microsoft/ChakraCore/labels/Bug","name":"Bug","color":"fc2929","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-12-22T07:46:32Z","updated_at":"2016-12-23T16:09:44Z","closed_at":"2016-12-23T16:09:44Z","body":"```\r\n(function() {\r\n    \"use asm\";\r\n    (function(){});\r\n})();\r\n```\r\n\r\n$ /home/skywinlinvm/chakracore/BuildLinux/Debug/ch test.js \r\nSegmentation fault (core dumped)\r\n\r\n$ file /home/skywinlinvm/chakracore/BuildLinux/Debug/ch\r\n/home/skywinlinvm/chakracore/BuildLinux/Debug/ch: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 2.6.32\r\n\r\nGit hash: 3769053\r\nOS: Ubuntu Linux 16.04.1 LTS\r\nArch: x86_64\r\n\r\n```\r\nThread 1 \"ch\" received signal SIGSEGV, Segmentation fault.\r\nIdent::GetPropertyId (this=0x0) at /home/skywinlinvm/chakracore/lib/Runtime/../Parser/Hash.h:296\r\n296\t    Js::PropertyId GetPropertyId() const { return m_propertyId; }\r\n(gdb) bt\r\n#0  Ident::GetPropertyId (this=0x0) at /home/skywinlinvm/chakracore/lib/Runtime/../Parser/Hash.h:296\r\n#1  0x00007ffff52a4564 in ByteCodeGenerator::AssignPropertyId (this=0x7fffffffc5d0, pid=0x0) at /home/skywinlinvm/chakracore/lib/Runtime/ByteCode/ByteCodeGenerator.cpp:1113\r\n#2  0x00007ffff54c51bb in Js::AsmJsModuleCompiler::CreateNewFunctionEntry (this=0x7fffffffbb68, pnodeFnc=0x7ff7f16a57c0) at /home/skywinlinvm/chakracore/lib/Runtime/Language/AsmJsModule.cpp:1083\r\n#3  0x00007ffff547e5ef in Js::AsmJSCompiler::CheckFunction (m=..., fncNode=0x7ff7f16a57c0) at /home/skywinlinvm/chakracore/lib/Runtime/Language/AsmJs.cpp:834\r\n#4  0x00007ffff547e716 in Js::AsmJSCompiler::CheckFunctionsSequential (m=...) at /home/skywinlinvm/chakracore/lib/Runtime/Language/AsmJs.cpp:852\r\n#5  0x00007ffff547f4f7 in Js::AsmJSCompiler::CheckModule (cx=0x7fffffffc198, parser=@0x7fffffffc0d8: 0x7ff7f16a5c40, stmtList=0x0) at /home/skywinlinvm/chakracore/lib/Runtime/Language/AsmJs.cpp:1161\r\n#6  0x00007ffff547f7a8 in Js::AsmJSCompiler::Compile (cx=0x7fffffffc198, parser=0x7ff7f16a5c40, stmtList=0x0) at /home/skywinlinvm/chakracore/lib/Runtime/Language/AsmJs.cpp:1212\r\n#7  0x00007ffff52734f0 in ByteCodeGenerator::EmitScopeList (this=0x7fffffffc5d0, pnode=0x7ff7f16a5210, breakOnBodyScopeNode=0x0) at /home/skywinlinvm/chakracore/lib/Runtime/ByteCode/ByteCodeEmitter.cpp:3616\r\n#8  0x00007ffff52737e3 in ByteCodeGenerator::EmitScopeList (this=0x7fffffffc5d0, pnode=0x7ff7f16a5160, breakOnBodyScopeNode=0x0) at /home/skywinlinvm/chakracore/lib/Runtime/ByteCode/ByteCodeEmitter.cpp:3679\r\n#9  0x00007ffff527369f in ByteCodeGenerator::EmitScopeList (this=0x7fffffffc5d0, pnode=0x7ff7f16a5030, breakOnBodyScopeNode=0x0) at /home/skywinlinvm/chakracore/lib/Runtime/ByteCode/ByteCodeEmitter.cpp:3665\r\n#10 0x00007ffff52733df in ByteCodeGenerator::EmitProgram (this=0x7fffffffc5d0, pnodeProg=0x7ff7f16a5030) at /home/skywinlinvm/chakracore/lib/Runtime/ByteCode/ByteCodeEmitter.cpp:2759\r\n#11 0x00007ffff52a7f85 in ByteCodeGenerator::Generate (pnode=0x7ff7f16a5030, grfscr=4096, byteCodeGenerator=0x7fffffffc5d0, ppRootFunc=0x7fffffffc880, sourceIndex=0, forceNoNative=false, parser=0x7fffffffca00, functionRef=0x0) at /home/skywinlinvm/chakracore/lib/Runtime/ByteCode/ByteCodeGenerator.cpp:1883\r\n#12 0x00007ffff52abba1 in GenerateByteCode (pnode=0x7ff7f16a5030, grfscr=4096, scriptContext=0x55555590b440, ppRootFunc=0x7fffffffc880, sourceIndex=0, forceNoNative=false, parser=0x7fffffffca00, pse=0x7fffffffd1a0, parentScopeInfo=0x0, functionRef=0x0) at /home/skywinlinvm/chakracore/lib/Runtime/ByteCode/ByteCodeGenerator.cpp:2068\r\n#13 0x00007ffff51a5939 in Js::ScriptContext::GenerateRootFunction (this=0x55555590b440, parseTree=0x7ff7f16a5030, sourceIndex=0, parser=0x7fffffffca00, grfscr=4096, pse=0x7fffffffd1a0, rootDisplayName=0x7ffff5e8d2f0 <Js::Constants::GlobalCode> u\"Global code\") at /home/skywinlinvm/chakracore/lib/Runtime/Base/ScriptContext.cpp:1943\r\n#14 0x00007ffff51a5429 in Js::ScriptContext::LoadScript (this=0x55555590b440, script=0x5555558b87d0 \"(function() {\\n    \\\"use asm\\\";\\n    (function(){});\\n})();\", cb=54, pSrcInfo=0x7fffffffce60, pse=0x7fffffffd1a0, ppSourceInfo=0x7fffffffce58, rootDisplayName=0x7ffff5e8d2f0 <Js::Constants::GlobalCode> u\"Global code\", loadScriptFlag=(LoadScriptFlag_Utf8Source | LoadScriptFlag_ExternalArrayBuffer), scriptSource=0x7ff7f1f30050) at /home/skywinlinvm/chakracore/lib/Runtime/Base/ScriptContext.cpp:1897\r\n#15 0x00007ffff4bd02d5 in RunScriptCore(void*, unsigned char const*, unsigned long, LoadScriptFlag, unsigned long, char16_t const*, bool, _JsParseScriptAttributes, bool, void**)::$_73::operator()(Js::ScriptContext*, TTD::TTDJsRTActionResultAutoRecorder&) const (this=0x7fffffffd0a0, scriptContext=0x55555590b440, _actionEntryPopper=...) at /home/skywinlinvm/chakracore/lib/Jsrt/Jsrt.cpp:2928\r\n#16 0x00007ffff4bcffc7 in _JsErrorCode ContextAPINoScriptWrapper<RunScriptCore(void*, unsigned char const*, unsigned long, LoadScriptFlag, unsigned long, char16_t const*, bool, _JsParseScriptAttributes, bool, void**)::$_73>(RunScriptCore(void*, unsigned char const*, unsigned long, LoadScriptFlag, unsigned long, char16_t const*, bool, _JsParseScriptAttributes, bool, void**)::$_73, bool, bool)::{lambda(Js::ScriptContext*)#1}::operator()(Js::ScriptContext*) const (this=0x7fffffffd028, scriptContext=0x55555590b440) at /home/skywinlinvm/chakracore/lib/Jsrt/JsrtInternal.h:293\r\n#17 0x00007ffff4bcf8cd in ContextAPINoScriptWrapper_Core<_JsErrorCode ContextAPINoScriptWrapper<RunScriptCore(void*, unsigned char const*, unsigned long, LoadScriptFlag, unsigned long, char16_t const*, bool, _JsParseScriptAttributes, bool, void**)::$_73>(RunScriptCore(void*, unsigned char const*, unsigned long, LoadScriptFlag, unsigned long, char16_t const*, bool, _JsParseScriptAttributes, bool, void**)::$_73, bool, bool)::{lambda(Js::ScriptContext*)#1}>(_JsErrorCode ContextAPINoScriptWrapper<RunScriptCore(void*, unsigned char const*, unsigned long, LoadScriptFlag, unsigned long, char16_t const*, bool, _JsParseScriptAttributes, bool, void**)::$_73>(RunScriptCore(void*, unsigned char const*, unsigned long, LoadScriptFlag, unsigned long, char16_t const*, bool, _JsParseScriptAttributes, bool, void**)::$_73, bool, bool)::{lambda(Js::ScriptContext*)#1}, bool, bool) (fn=..., allowInObjectBeforeCollectCallback=false, scriptExceptionAllowed=false) at /home/skywinlinvm/chakracore/lib/Jsrt/JsrtInternal.h:254\r\n#18 0x00007ffff4ba47d8 in ContextAPINoScriptWrapper<RunScriptCore(void*, unsigned char const*, unsigned long, LoadScriptFlag, unsigned long, char16_t const*, bool, _JsParseScriptAttributes, bool, void**)::$_73>(RunScriptCore(void*, unsigned char const*, unsigned long, LoadScriptFlag, unsigned long, char16_t const*, bool, _JsParseScriptAttributes, bool, void**)::$_73, bool, bool) (fn=..., allowInObjectBeforeCollectCallback=false, scriptExceptionAllowed=false) at /home/skywinlinvm/chakracore/lib/Jsrt/JsrtInternal.h:291\r\n#19 0x00007ffff4ba4689 in RunScriptCore (scriptSource=0x7ff7f1f30050, script=0x5555558b87d0 \"(function() {\\n    \\\"use asm\\\";\\n    (function(){});\\n})();\", cb=54, loadScriptFlag=(LoadScriptFlag_Utf8Source | LoadScriptFlag_ExternalArrayBuffer), sourceContext=0, sourceUrl=0x7ff7f16a0000 u\"/home/skywinlinvm/chakracoretest/bb19.js\", parseOnly=false, parseAttributes=JsParseScriptAttributeNone, isSourceModule=false, result=0x0) at /home/skywinlinvm/chakracore/lib/Jsrt/Jsrt.cpp:2877\r\n#20 0x00007ffff4ba72ce in CompileRun (scriptVal=0x7ff7f1f30050, sourceContext=0, sourceUrl=0x7ff7f1f09020, parseAttributes=JsParseScriptAttributeNone, result=0x0, parseOnly=false) at /home/skywinlinvm/chakracore/lib/Jsrt/Jsrt.cpp:4336\r\n#21 JsRun (scriptVal=0x7ff7f1f30050, sourceContext=0, sourceUrl=0x7ff7f1f09020, parseAttributes=JsParseScriptAttributeNone, result=0x0) at /home/skywinlinvm/chakracore/lib/Jsrt/Jsrt.cpp:4358\r\n#22 0x000055555555eafe in ChakraRTInterface::JsRun (script=0x7ff7f1f30050, sourceContext=0, sourceUrl=0x7ff7f1f09020, parseAttributes=JsParseScriptAttributeNone, result=0x0) at /home/skywinlinvm/chakracore/bin/ch/ChakraRtInterface.h:367\r\n#23 0x000055555555ca92 in RunScript (fileName=0x5555558d5e90 \"bb19.js\", fileContents=0x5555558b87d0 \"(function() {\\n    \\\"use asm\\\";\\n    (function(){});\\n})();\", bufferValue=0x0, fullPath=0x7fffffffd990 \"/home/skywinlinvm/chakracoretest/bb19.js\") at /home/skywinlinvm/chakracore/bin/ch/ch.cpp:321\r\n#24 0x000055555555deb0 in ExecuteTest (fileName=0x5555558d5e90 \"bb19.js\") at /home/skywinlinvm/chakracore/bin/ch/ch.cpp:594\r\n#25 0x000055555555dfb0 in ExecuteTestWithMemoryCheck (fileName=0x5555558d5e90 \"bb19.js\") at /home/skywinlinvm/chakracore/bin/ch/ch.cpp:642\r\n#26 0x000055555555e4f0 in main (argc=2, c_argv=0x7fffffffdd08) at /home/skywinlinvm/chakracore/bin/ch/ch.cpp:869\r\n(gdb)\r\n```"},"comment":{"url":"https://api.github.com/repos/Microsoft/ChakraCore/issues/comments/269011554","html_url":"https://github.com/Microsoft/ChakraCore/issues/2270#issuecomment-269011554","issue_url":"https://api.github.com/repos/Microsoft/ChakraCore/issues/2270","id":269011554,"user":{"login":"obastemur","id":4390745,"avatar_url":"https://avatars.githubusercontent.com/u/4390745?v=3","gravatar_id":"","url":"https://api.github.com/users/obastemur","html_url":"https://github.com/obastemur","followers_url":"https://api.github.com/users/obastemur/followers","following_url":"https://api.github.com/users/obastemur/following{/other_user}","gists_url":"https://api.github.com/users/obastemur/gists{/gist_id}","starred_url":"https://api.github.com/users/obastemur/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/obastemur/subscriptions","organizations_url":"https://api.github.com/users/obastemur/orgs","repos_url":"https://api.github.com/users/obastemur/repos","events_url":"https://api.github.com/users/obastemur/events{/privacy}","received_events_url":"https://api.github.com/users/obastemur/received_events","type":"User","site_admin":false},"created_at":"2016-12-23T16:09:44Z","updated_at":"2016-12-23T16:09:44Z","body":"Fix merged to master. Closing."}}
{"actor":{"display_login":"obastemur"}}