{"action":"created","issue":{"url":"https://api.github.com/repos/oerdnj/deb.sury.org/issues/128","labels_url":"https://api.github.com/repos/oerdnj/deb.sury.org/issues/128/labels{/name}","comments_url":"https://api.github.com/repos/oerdnj/deb.sury.org/issues/128/comments","events_url":"https://api.github.com/repos/oerdnj/deb.sury.org/issues/128/events","html_url":"https://github.com/oerdnj/deb.sury.org/issues/128","id":111950967,"number":128,"title":"PHP 7: zend_mm_heap corrupted","user":{"login":"jazzfog","id":3300853,"avatar_url":"https://avatars.githubusercontent.com/u/3300853?v=3","gravatar_id":"","url":"https://api.github.com/users/jazzfog","html_url":"https://github.com/jazzfog","followers_url":"https://api.github.com/users/jazzfog/followers","following_url":"https://api.github.com/users/jazzfog/following{/other_user}","gists_url":"https://api.github.com/users/jazzfog/gists{/gist_id}","starred_url":"https://api.github.com/users/jazzfog/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jazzfog/subscriptions","organizations_url":"https://api.github.com/users/jazzfog/orgs","repos_url":"https://api.github.com/users/jazzfog/repos","events_url":"https://api.github.com/users/jazzfog/events{/privacy}","received_events_url":"https://api.github.com/users/jazzfog/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-10-17T08:30:23Z","updated_at":"2015-10-17T16:32:51Z","closed_at":null,"body":"Tried to install PHP7 today and noticed new issue\r\n\r\nSome functions call lead to error \"zend_mm_heap corrupted\" (in my case visible in console and script I run through Nginx fails with error 502).\r\n\r\nHow to reproduce:\r\n- Install PHP\r\n```\r\nadd-apt-repository -y ppa:ondrej/php-7.0\r\napt-get update\r\napt-get install -y php7.0-fpm php7.0-cli php7.0\r\n```\r\n\r\n- then run in console `php -r \"echo date('Y');\"`\r\n\r\nIt reveals error message: `zend_mm_heap corrupted`\r\n\r\nIf I run this script through nginx - it returns error 502.\r\nIn Nginx error log I can see such records:\r\n`2015/10/17 03:23:24 [error] 3054#0: *1 readv() failed (104: Connection reset by peer) while reading upstream, client: 192.168.100.1, server: jstest1.local, request: \"GET / HTTP/1.1\", upstream: \"fastcgi://unix:/var/run/php/php7.0-fpm.sock:\", host: \"jstest1.local\"`\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/oerdnj/deb.sury.org/issues/comments/148929768","html_url":"https://github.com/oerdnj/deb.sury.org/issues/128#issuecomment-148929768","issue_url":"https://api.github.com/repos/oerdnj/deb.sury.org/issues/128","id":148929768,"user":{"login":"nikic","id":216080,"avatar_url":"https://avatars.githubusercontent.com/u/216080?v=3","gravatar_id":"","url":"https://api.github.com/users/nikic","html_url":"https://github.com/nikic","followers_url":"https://api.github.com/users/nikic/followers","following_url":"https://api.github.com/users/nikic/following{/other_user}","gists_url":"https://api.github.com/users/nikic/gists{/gist_id}","starred_url":"https://api.github.com/users/nikic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nikic/subscriptions","organizations_url":"https://api.github.com/users/nikic/orgs","repos_url":"https://api.github.com/users/nikic/repos","events_url":"https://api.github.com/users/nikic/events{/privacy}","received_events_url":"https://api.github.com/users/nikic/received_events","type":"User","site_admin":false},"created_at":"2015-10-17T16:32:51Z","updated_at":"2015-10-17T16:32:51Z","body":"Thanks, this sheds some light on the issue. As `timelib_builtin_db` calls other functions (which it does not do in the upstream implementation), I assume that there is some Debian patch changing this function. IIRC debian uses the system zoneinfo instead of the bundled tzinfo, so that's likely the relevant patch.\r\n\r\n@oerdnj Where can I find the list of patches that were applied for this build? I'm not really familiar with how PPAs work and couldn't find a patch list on launchpad."}}