{"action":"created","issue":{"url":"https://api.github.com/repos/krakjoe/apcu/issues/207","repository_url":"https://api.github.com/repos/krakjoe/apcu","labels_url":"https://api.github.com/repos/krakjoe/apcu/issues/207/labels{/name}","comments_url":"https://api.github.com/repos/krakjoe/apcu/issues/207/comments","events_url":"https://api.github.com/repos/krakjoe/apcu/issues/207/events","html_url":"https://github.com/krakjoe/apcu/issues/207","id":184826726,"number":207,"title":"Segmentation fault in `apc_sma_api_free()` for version 5.1.7","user":{"login":"tPl0ch","id":115348,"avatar_url":"https://avatars.githubusercontent.com/u/115348?v=3","gravatar_id":"","url":"https://api.github.com/users/tPl0ch","html_url":"https://github.com/tPl0ch","followers_url":"https://api.github.com/users/tPl0ch/followers","following_url":"https://api.github.com/users/tPl0ch/following{/other_user}","gists_url":"https://api.github.com/users/tPl0ch/gists{/gist_id}","starred_url":"https://api.github.com/users/tPl0ch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tPl0ch/subscriptions","organizations_url":"https://api.github.com/users/tPl0ch/orgs","repos_url":"https://api.github.com/users/tPl0ch/repos","events_url":"https://api.github.com/users/tPl0ch/events{/privacy}","received_events_url":"https://api.github.com/users/tPl0ch/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":11,"created_at":"2016-10-24T12:28:41Z","updated_at":"2016-11-17T20:17:49Z","closed_at":null,"body":"Hi,\n\nafter upgrading to apcu version 5.1.7 we have tried to call `apc_cache_info()` which was called through `php-fpm`. Shortly after that we got a SIGSEGV.\n\nScript:\n\n``` php\nvar_dump(apc_cache_info());\n```\n\n```\n$ php -v\nPHP 7.0.12-1~dotdeb+8.1 (cli) ( NTS )\nCopyright (c) 1997-2016 The PHP Group\nZend Engine v3.0.0, Copyright (c) 1998-2016 Zend Technologies\n    with Zend OPcache v7.0.12-1~dotdeb+8.1, Copyright (c) 1999-2016, by Zend Technologies\n\n# php -i -c /etc/php/7.0/fpm/php.ini | grep apc\n/etc/php/7.0/cli/conf.d/20-apcu.ini,\n/etc/php/7.0/cli/conf.d/20-apcu_bc.ini,\napc\napcu\napc.coredump_unmap => Off => Off\napc.enable_cli => Off => Off\napc.enabled => On => On\napc.entries_hint => 131072 => 131072\napc.gc_ttl => 3600 => 3600\napc.mmap_file_mask => /dev/zero => /dev/zero\napc.preload_path => no value => no value\napc.serializer => php => php\napc.shm_segments => 1 => 1\napc.shm_size => 1000M => 1000M\napc.slam_defense => Off => Off\napc.smart => 0 => 0\napc.ttl => 3600 => 3600\napc.use_request_time => On => On\napc.writable => /run => /run\n```\n\nAnd here is the backtrace:\nhttps://gist.github.com/tPl0ch/bee89b81b0caf8ebf2e8bec03948c7bc\n"},"comment":{"url":"https://api.github.com/repos/krakjoe/apcu/issues/comments/261357556","html_url":"https://github.com/krakjoe/apcu/issues/207#issuecomment-261357556","issue_url":"https://api.github.com/repos/krakjoe/apcu/issues/207","id":261357556,"user":{"login":"krakjoe","id":2236138,"avatar_url":"https://avatars.githubusercontent.com/u/2236138?v=3","gravatar_id":"","url":"https://api.github.com/users/krakjoe","html_url":"https://github.com/krakjoe","followers_url":"https://api.github.com/users/krakjoe/followers","following_url":"https://api.github.com/users/krakjoe/following{/other_user}","gists_url":"https://api.github.com/users/krakjoe/gists{/gist_id}","starred_url":"https://api.github.com/users/krakjoe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/krakjoe/subscriptions","organizations_url":"https://api.github.com/users/krakjoe/orgs","repos_url":"https://api.github.com/users/krakjoe/repos","events_url":"https://api.github.com/users/krakjoe/events{/privacy}","received_events_url":"https://api.github.com/users/krakjoe/received_events","type":"User","site_admin":false},"created_at":"2016-11-17T20:17:49Z","updated_at":"2016-11-17T20:17:49Z","body":"Why are you closing ```STDOUT``` ?\r\n\r\n```\r\nArray\r\n(\r\n    [num_slots] => 4099\r\n    [ttl] => 0\r\n    [num_hits] => 0\r\n    [num_misses] => 0\r\n    [num_inserts] => 8536\r\n    [num_entries] => 8536\r\n    [expunges] => 62\r\n    [start_time] => 1479413762\r\n    [mem_size] => 5599616\r\n    [memory_type] => mmap\r\n)\r\n```\r\n\r\nNot able to reproduce with that script ...\r\n\r\n```\r\nkrakjoe@fiji [7.0-zts-no-debug] /usr/src/php-src $ cat /proc/version\r\nLinux version 3.16.0-67-generic (buildd@lcy01-03) (gcc version 4.8.2 (Ubuntu 4.8.2-19ubuntu1) ) #87~14.04.1-Ubuntu SMP Fri Mar 11 00:26:02 UTC 2016\r\nkrakjoe@fiji [7.0-zts-no-debug] /usr/src/php-src $ php --version\r\nPHP 7.0.14-dev (cli) (built: Oct 28 2016 06:41:49) ( ZTS )\r\nCopyright (c) 1997-2016 The PHP Group\r\nZend Engine v3.0.0, Copyright (c) 1998-2016 Zend Technologies\r\n    with Zend OPcache v7.0.14-dev, Copyright (c) 1999-2016, by Zend Technologies\r\n```\r\n\r\nAlso tried without opcache ..."}}
{"actor":{"display_login":"krakjoe"}}