{"action":"created","issue":{"url":"https://api.github.com/repos/svaarala/duktape/issues/287","labels_url":"https://api.github.com/repos/svaarala/duktape/issues/287/labels{/name}","comments_url":"https://api.github.com/repos/svaarala/duktape/issues/287/comments","events_url":"https://api.github.com/repos/svaarala/duktape/issues/287/events","html_url":"https://github.com/svaarala/duktape/issues/287","id":102159492,"number":287,"title":"Error thrown in try/finally with no catch causes internal error","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},"labels":[{"url":"https://api.github.com/repos/svaarala/duktape/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/svaarala/duktape/milestones/9","html_url":"https://github.com/svaarala/duktape/milestones/v1.3.0","labels_url":"https://api.github.com/repos/svaarala/duktape/milestones/9/labels","id":1037290,"number":9,"title":"v1.3.0","description":"Buffer bindings, duk_config.h, bytecode dump/load","creator":{"login":"svaarala","id":6377415,"avatar_url":"https://avatars.githubusercontent.com/u/6377415?v=3","gravatar_id":"","url":"https://api.github.com/users/svaarala","html_url":"https://github.com/svaarala","followers_url":"https://api.github.com/users/svaarala/followers","following_url":"https://api.github.com/users/svaarala/following{/other_user}","gists_url":"https://api.github.com/users/svaarala/gists{/gist_id}","starred_url":"https://api.github.com/users/svaarala/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/svaarala/subscriptions","organizations_url":"https://api.github.com/users/svaarala/orgs","repos_url":"https://api.github.com/users/svaarala/repos","events_url":"https://api.github.com/users/svaarala/events{/privacy}","received_events_url":"https://api.github.com/users/svaarala/received_events","type":"User","site_admin":false},"open_issues":16,"closed_issues":50,"state":"open","created_at":"2015-03-24T22:16:58Z","updated_at":"2015-08-20T20:07:15Z","due_on":null,"closed_at":null},"comments":2,"created_at":"2015-08-20T15:00:12Z","updated_at":"2015-08-20T20:20:48Z","closed_at":null,"body":"```javascript\r\ntry { throw new Error(\"A pig ate everyone at 8:12\"); }\r\nfinally { print(\"*munch*\"); }\r\n```\r\n\r\nThe `finally` runs, but leads to \"internal error in bytecode executor longjmp handler\".  What's odd is that I can't always reproduce it.  Depending on the surrounding lines, it sometimes works correctly."},"comment":{"url":"https://api.github.com/repos/svaarala/duktape/issues/comments/133159594","html_url":"https://github.com/svaarala/duktape/issues/287#issuecomment-133159594","issue_url":"https://api.github.com/repos/svaarala/duktape/issues/287","id":133159594,"user":{"login":"svaarala","id":6377415,"avatar_url":"https://avatars.githubusercontent.com/u/6377415?v=3","gravatar_id":"","url":"https://api.github.com/users/svaarala","html_url":"https://github.com/svaarala","followers_url":"https://api.github.com/users/svaarala/followers","following_url":"https://api.github.com/users/svaarala/following{/other_user}","gists_url":"https://api.github.com/users/svaarala/gists{/gist_id}","starred_url":"https://api.github.com/users/svaarala/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/svaarala/subscriptions","organizations_url":"https://api.github.com/users/svaarala/orgs","repos_url":"https://api.github.com/users/svaarala/repos","events_url":"https://api.github.com/users/svaarala/events{/privacy}","received_events_url":"https://api.github.com/users/svaarala/received_events","type":"User","site_admin":false},"created_at":"2015-08-20T20:20:48Z","updated_at":"2015-08-20T20:20:48Z","body":"I can't reproduce this in master with the example code (with assertions enabled and valgrind):\r\n\r\n```\r\n$ ./duk test.js\r\n*munch*\r\nError: A pig ate everyone at 8:12\r\n\tglobal test.js:1 preventsyield\r\nerror in executing file test.js\r\n```"}}