{"action":"created","issue":{"url":"https://api.github.com/repos/facebook/hhvm/issues/4880","labels_url":"https://api.github.com/repos/facebook/hhvm/issues/4880/labels{/name}","comments_url":"https://api.github.com/repos/facebook/hhvm/issues/4880/comments","events_url":"https://api.github.com/repos/facebook/hhvm/issues/4880/events","html_url":"https://github.com/facebook/hhvm/issues/4880","id":58548456,"number":4880,"title":"mysql_query without DB connection makes crash","user":{"login":"canasta","id":4537910,"avatar_url":"https://avatars.githubusercontent.com/u/4537910?v=3","gravatar_id":"","url":"https://api.github.com/users/canasta","html_url":"https://github.com/canasta","followers_url":"https://api.github.com/users/canasta/followers","following_url":"https://api.github.com/users/canasta/following{/other_user}","gists_url":"https://api.github.com/users/canasta/gists{/gist_id}","starred_url":"https://api.github.com/users/canasta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/canasta/subscriptions","organizations_url":"https://api.github.com/users/canasta/orgs","repos_url":"https://api.github.com/users/canasta/repos","events_url":"https://api.github.com/users/canasta/events{/privacy}","received_events_url":"https://api.github.com/users/canasta/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/facebook/hhvm/labels/crash","name":"crash","color":"e63737"},{"url":"https://api.github.com/repos/facebook/hhvm/labels/needs%20more%20info","name":"needs more info","color":"f7c6c7"},{"url":"https://api.github.com/repos/facebook/hhvm/labels/no%20isolated%20repro","name":"no isolated repro","color":"d4c5f9"}],"state":"open","locked":false,"assignee":{"login":"DmitrySoshnikov","id":244010,"avatar_url":"https://avatars.githubusercontent.com/u/244010?v=3","gravatar_id":"","url":"https://api.github.com/users/DmitrySoshnikov","html_url":"https://github.com/DmitrySoshnikov","followers_url":"https://api.github.com/users/DmitrySoshnikov/followers","following_url":"https://api.github.com/users/DmitrySoshnikov/following{/other_user}","gists_url":"https://api.github.com/users/DmitrySoshnikov/gists{/gist_id}","starred_url":"https://api.github.com/users/DmitrySoshnikov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DmitrySoshnikov/subscriptions","organizations_url":"https://api.github.com/users/DmitrySoshnikov/orgs","repos_url":"https://api.github.com/users/DmitrySoshnikov/repos","events_url":"https://api.github.com/users/DmitrySoshnikov/events{/privacy}","received_events_url":"https://api.github.com/users/DmitrySoshnikov/received_events","type":"User","site_admin":false},"milestone":null,"comments":2,"created_at":"2015-02-23T06:40:42Z","updated_at":"2015-02-25T19:17:08Z","closed_at":null,"body":"When I use mysql_query() without mysql_connect() and mysql_select_db(), it makes crash.\r\n\r\nin /var/log/hhvm/error.log\r\n```\r\nNotice: Undefined variable: connect in /***/www/test.php on line 9\r\nCore dumped: Segmentation fault\r\nStack trace in /tmp/stacktrace.6059.log\r\n```\r\n\r\nhhvm --version\r\nHipHop VM 3.5.0 (rel)\r\n"},"comment":{"url":"https://api.github.com/repos/facebook/hhvm/issues/comments/76034316","html_url":"https://github.com/facebook/hhvm/issues/4880#issuecomment-76034316","issue_url":"https://api.github.com/repos/facebook/hhvm/issues/4880","id":76034316,"user":{"login":"paulbiss","id":1039792,"avatar_url":"https://avatars.githubusercontent.com/u/1039792?v=3","gravatar_id":"","url":"https://api.github.com/users/paulbiss","html_url":"https://github.com/paulbiss","followers_url":"https://api.github.com/users/paulbiss/followers","following_url":"https://api.github.com/users/paulbiss/following{/other_user}","gists_url":"https://api.github.com/users/paulbiss/gists{/gist_id}","starred_url":"https://api.github.com/users/paulbiss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paulbiss/subscriptions","organizations_url":"https://api.github.com/users/paulbiss/orgs","repos_url":"https://api.github.com/users/paulbiss/repos","events_url":"https://api.github.com/users/paulbiss/events{/privacy}","received_events_url":"https://api.github.com/users/paulbiss/received_events","type":"User","site_admin":false},"created_at":"2015-02-25T19:17:08Z","updated_at":"2015-02-25T19:17:08Z","body":"Please try this with the nightly to see if it's been fixed by d6577daf89598be8bdaa42d7489950b7fd8da265"}}