{"action":"created","issue":{"url":"https://api.github.com/repos/mldbai/mldb/issues/11","labels_url":"https://api.github.com/repos/mldbai/mldb/issues/11/labels{/name}","comments_url":"https://api.github.com/repos/mldbai/mldb/issues/11/comments","events_url":"https://api.github.com/repos/mldbai/mldb/issues/11/events","html_url":"https://github.com/mldbai/mldb/pull/11","id":122094599,"number":11,"title":"Mldb 1190 segfault sqlexpr jseval biz","user":{"login":"guyd","id":683788,"avatar_url":"https://avatars.githubusercontent.com/u/683788?v=3","gravatar_id":"","url":"https://api.github.com/users/guyd","html_url":"https://github.com/guyd","followers_url":"https://api.github.com/users/guyd/followers","following_url":"https://api.github.com/users/guyd/following{/other_user}","gists_url":"https://api.github.com/users/guyd/gists{/gist_id}","starred_url":"https://api.github.com/users/guyd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guyd/subscriptions","organizations_url":"https://api.github.com/users/guyd/orgs","repos_url":"https://api.github.com/users/guyd/repos","events_url":"https://api.github.com/users/guyd/events{/privacy}","received_events_url":"https://api.github.com/users/guyd/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-12-14T17:50:22Z","updated_at":"2015-12-16T15:28:00Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/mldbai/mldb/pulls/11","html_url":"https://github.com/mldbai/mldb/pull/11","diff_url":"https://github.com/mldbai/mldb/pull/11.diff","patch_url":"https://github.com/mldbai/mldb/pull/11.patch"},"body":"When running the jseval query below a seg fault was occurring after several calls.  The problem is that we were performing a const_cast on an object of the wrong type.  This happens when a function calls BoundSqlExpression.constantValue() on an SQL expression bound with a ReadThroughBindingContext.  This is the case of jseval and regexp functions."},"comment":{"url":"https://api.github.com/repos/mldbai/mldb/issues/comments/165142029","html_url":"https://github.com/mldbai/mldb/pull/11#issuecomment-165142029","issue_url":"https://api.github.com/repos/mldbai/mldb/issues/11","id":165142029,"user":{"login":"jeremybarnes","id":112556,"avatar_url":"https://avatars.githubusercontent.com/u/112556?v=3","gravatar_id":"","url":"https://api.github.com/users/jeremybarnes","html_url":"https://github.com/jeremybarnes","followers_url":"https://api.github.com/users/jeremybarnes/followers","following_url":"https://api.github.com/users/jeremybarnes/following{/other_user}","gists_url":"https://api.github.com/users/jeremybarnes/gists{/gist_id}","starred_url":"https://api.github.com/users/jeremybarnes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeremybarnes/subscriptions","organizations_url":"https://api.github.com/users/jeremybarnes/orgs","repos_url":"https://api.github.com/users/jeremybarnes/repos","events_url":"https://api.github.com/users/jeremybarnes/events{/privacy}","received_events_url":"https://api.github.com/users/jeremybarnes/received_events","type":"User","site_admin":false},"created_at":"2015-12-16T15:28:00Z","updated_at":"2015-12-16T15:28:00Z","body":"Hmmm, this smells like a design issue we're plastering over."}}