{"action":"created","issue":{"url":"https://api.github.com/repos/svaarala/duktape/issues/710","repository_url":"https://api.github.com/repos/svaarala/duktape","labels_url":"https://api.github.com/repos/svaarala/duktape/issues/710/labels{/name}","comments_url":"https://api.github.com/repos/svaarala/duktape/issues/710/comments","events_url":"https://api.github.com/repos/svaarala/duktape/issues/710/events","html_url":"https://github.com/svaarala/duktape/issues/710","id":151405997,"number":710,"title":"External memory addressing error","user":{"login":"vrz","id":8409104,"avatar_url":"https://avatars.githubusercontent.com/u/8409104?v=3","gravatar_id":"","url":"https://api.github.com/users/vrz","html_url":"https://github.com/vrz","followers_url":"https://api.github.com/users/vrz/followers","following_url":"https://api.github.com/users/vrz/following{/other_user}","gists_url":"https://api.github.com/users/vrz/gists{/gist_id}","starred_url":"https://api.github.com/users/vrz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vrz/subscriptions","organizations_url":"https://api.github.com/users/vrz/orgs","repos_url":"https://api.github.com/users/vrz/repos","events_url":"https://api.github.com/users/vrz/events{/privacy}","received_events_url":"https://api.github.com/users/vrz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":18,"created_at":"2016-04-27T14:52:24Z","updated_at":"2016-05-05T05:54:10Z","closed_at":null,"body":"Duktape 1.4.1\r\ncompiler: VisualDSP++ 5.0 update 10\r\n\r\nSometimes when my sytem use a lot of memory alloc/free(create, concatenate and print many strings from many different threads(Duktape.Thread)), I see hardware exception(\"External memory addressing error. An access was attempted to reserved or uninitialized memory.\"). Usually it happeneds in duk_replace(), sometimes in duk__js_execute_bytecode_inner()."},"comment":{"url":"https://api.github.com/repos/svaarala/duktape/issues/comments/217081408","html_url":"https://github.com/svaarala/duktape/issues/710#issuecomment-217081408","issue_url":"https://api.github.com/repos/svaarala/duktape/issues/710","id":217081408,"user":{"login":"fatcerberus","id":4097841,"avatar_url":"https://avatars.githubusercontent.com/u/4097841?v=3","gravatar_id":"","url":"https://api.github.com/users/fatcerberus","html_url":"https://github.com/fatcerberus","followers_url":"https://api.github.com/users/fatcerberus/followers","following_url":"https://api.github.com/users/fatcerberus/following{/other_user}","gists_url":"https://api.github.com/users/fatcerberus/gists{/gist_id}","starred_url":"https://api.github.com/users/fatcerberus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fatcerberus/subscriptions","organizations_url":"https://api.github.com/users/fatcerberus/orgs","repos_url":"https://api.github.com/users/fatcerberus/repos","events_url":"https://api.github.com/users/fatcerberus/events{/privacy}","received_events_url":"https://api.github.com/users/fatcerberus/received_events","type":"User","site_admin":false},"created_at":"2016-05-05T05:54:10Z","updated_at":"2016-05-05T05:54:10Z","body":"Hm, I was able to get the test code running, but I couldn't get it to crash on my x64 machine even with 9 threads.  Of course, I have 8GB RAM so that probably has something to do with it. ;-)\r\n\r\nI'm assuming this is some kind of embedded platform--are you running out of memory, perhaps?  If so that points to Duktape missing a malloc failure check somewhere since an out-of-memory situation should result in a fatal error, not a segfault."}}