{"action":"created","issue":{"url":"https://api.github.com/repos/hafriedlander/php-peg/issues/23","labels_url":"https://api.github.com/repos/hafriedlander/php-peg/issues/23/labels{/name}","comments_url":"https://api.github.com/repos/hafriedlander/php-peg/issues/23/comments","events_url":"https://api.github.com/repos/hafriedlander/php-peg/issues/23/events","html_url":"https://github.com/hafriedlander/php-peg/issues/23","id":10277571,"number":23,"title":"PHP Segmentation fault executeing cli.php","user":{"login":"xa72","id":3371369,"avatar_url":"https://avatars.githubusercontent.com/u/3371369?v=3","gravatar_id":"","url":"https://api.github.com/users/xa72","html_url":"https://github.com/xa72","followers_url":"https://api.github.com/users/xa72/followers","following_url":"https://api.github.com/users/xa72/following{/other_user}","gists_url":"https://api.github.com/users/xa72/gists{/gist_id}","starred_url":"https://api.github.com/users/xa72/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xa72/subscriptions","organizations_url":"https://api.github.com/users/xa72/orgs","repos_url":"https://api.github.com/users/xa72/repos","events_url":"https://api.github.com/users/xa72/events{/privacy}","received_events_url":"https://api.github.com/users/xa72/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2013-01-24T15:56:52Z","updated_at":"2015-01-29T14:44:11Z","closed_at":null,"body":"Hi, I got a php5-Segmentation fault when I run cli.php with the BooleanParser.peg.inc_new (https://gist.github.com/4623645), with BooleanParser.peg.inc (https://gist.github.com/4623616) everything works. Any Idea what this may be? The difference is really small and I'm unsure, if this is due to a wrong Syntax or a PHP-Error.\r\nAny help apreciated..."},"comment":{"url":"https://api.github.com/repos/hafriedlander/php-peg/issues/comments/72035658","html_url":"https://github.com/hafriedlander/php-peg/issues/23#issuecomment-72035658","issue_url":"https://api.github.com/repos/hafriedlander/php-peg/issues/23","id":72035658,"user":{"login":"MDomingues","id":580549,"avatar_url":"https://avatars.githubusercontent.com/u/580549?v=3","gravatar_id":"","url":"https://api.github.com/users/MDomingues","html_url":"https://github.com/MDomingues","followers_url":"https://api.github.com/users/MDomingues/followers","following_url":"https://api.github.com/users/MDomingues/following{/other_user}","gists_url":"https://api.github.com/users/MDomingues/gists{/gist_id}","starred_url":"https://api.github.com/users/MDomingues/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MDomingues/subscriptions","organizations_url":"https://api.github.com/users/MDomingues/orgs","repos_url":"https://api.github.com/users/MDomingues/repos","events_url":"https://api.github.com/users/MDomingues/events{/privacy}","received_events_url":"https://api.github.com/users/MDomingues/received_events","type":"User","site_admin":false},"created_at":"2015-01-29T14:44:11Z","updated_at":"2015-01-29T14:44:11Z","body":"Try this:\r\nini_set(\"pcre.recursion_limit\", \"524\");// PHP default is 100,000.\r\nWith me this worked flawlessly. I had the same problem, adding one more rule would make compilation throw aa segmentation fault. After adding that setting, the problem got fixed.\r\n\r\nCheck the following answer in stackoverflow for some more details: http://stackoverflow.com/a/7627962/4503525\r\n"}}