{"action":"created","issue":{"url":"https://api.github.com/repos/barrysteyn/node-scrypt/issues/62","labels_url":"https://api.github.com/repos/barrysteyn/node-scrypt/issues/62/labels{/name}","comments_url":"https://api.github.com/repos/barrysteyn/node-scrypt/issues/62/comments","events_url":"https://api.github.com/repos/barrysteyn/node-scrypt/issues/62/events","html_url":"https://github.com/barrysteyn/node-scrypt/issues/62","id":60255779,"number":62,"title":"4.x version needs AVX instruction set?","user":{"login":"erlichmen","id":691823,"avatar_url":"https://avatars.githubusercontent.com/u/691823?v=3","gravatar_id":"","url":"https://api.github.com/users/erlichmen","html_url":"https://github.com/erlichmen","followers_url":"https://api.github.com/users/erlichmen/followers","following_url":"https://api.github.com/users/erlichmen/following{/other_user}","gists_url":"https://api.github.com/users/erlichmen/gists{/gist_id}","starred_url":"https://api.github.com/users/erlichmen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erlichmen/subscriptions","organizations_url":"https://api.github.com/users/erlichmen/orgs","repos_url":"https://api.github.com/users/erlichmen/repos","events_url":"https://api.github.com/users/erlichmen/events{/privacy}","received_events_url":"https://api.github.com/users/erlichmen/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2015-03-08T13:06:04Z","updated_at":"2015-03-08T17:47:25Z","closed_at":"2015-03-08T17:47:25Z","body":"I just update to the latest version of scrypt (4.x.x) which changed the way the SSE is detected.\r\nThe application that use this module crashes when running on Google Cloud Platform with \"Illegal Instruction\" exception.  \r\n\r\nHere is the instructions bytes that crashes the app (I used valgrind to find them):  0xC5 0xF9 0x57 0xC0 0xE8 0x6B 0xE1 0xFF\r\n\r\nUsing disassembly those instructions are:\r\nc5f957c0\tvxorpd xmm0,xmm0,xmm0\r\ne8\t       .byte 0xe8\r\n6be1ff\timul   esp,ecx,0xffffffff\r\n\r\nvxorpd is an AVX instruction which indeed isn't supported by the CPU.\r\nI have no idea where in the code such instruction is needed or how to proceed from here.\r\nMaybe one of the intrinsics in crypto_scrypt-sse.c got translated into the above code?"},"comment":{"url":"https://api.github.com/repos/barrysteyn/node-scrypt/issues/comments/77763930","html_url":"https://github.com/barrysteyn/node-scrypt/issues/62#issuecomment-77763930","issue_url":"https://api.github.com/repos/barrysteyn/node-scrypt/issues/62","id":77763930,"user":{"login":"barrysteyn","id":1537348,"avatar_url":"https://avatars.githubusercontent.com/u/1537348?v=3","gravatar_id":"","url":"https://api.github.com/users/barrysteyn","html_url":"https://github.com/barrysteyn","followers_url":"https://api.github.com/users/barrysteyn/followers","following_url":"https://api.github.com/users/barrysteyn/following{/other_user}","gists_url":"https://api.github.com/users/barrysteyn/gists{/gist_id}","starred_url":"https://api.github.com/users/barrysteyn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/barrysteyn/subscriptions","organizations_url":"https://api.github.com/users/barrysteyn/orgs","repos_url":"https://api.github.com/users/barrysteyn/repos","events_url":"https://api.github.com/users/barrysteyn/events{/privacy}","received_events_url":"https://api.github.com/users/barrysteyn/received_events","type":"User","site_admin":false},"created_at":"2015-03-08T17:47:25Z","updated_at":"2015-03-08T17:47:25Z","body":"This issue is resolved in 3332f85c9fee5f11d352e83102a538b139d2a715"}}