{"action":"created","issue":{"url":"https://api.github.com/repos/aerospike/aerospike-client-php/issues/109","repository_url":"https://api.github.com/repos/aerospike/aerospike-client-php","labels_url":"https://api.github.com/repos/aerospike/aerospike-client-php/issues/109/labels{/name}","comments_url":"https://api.github.com/repos/aerospike/aerospike-client-php/issues/109/comments","events_url":"https://api.github.com/repos/aerospike/aerospike-client-php/issues/109/events","html_url":"https://github.com/aerospike/aerospike-client-php/issues/109","id":174301488,"number":109,"title":"Segmentation Fault 11 incrementing Float Value","user":{"login":"cpats007","id":5278964,"avatar_url":"https://avatars.githubusercontent.com/u/5278964?v=3","gravatar_id":"","url":"https://api.github.com/users/cpats007","html_url":"https://github.com/cpats007","followers_url":"https://api.github.com/users/cpats007/followers","following_url":"https://api.github.com/users/cpats007/following{/other_user}","gists_url":"https://api.github.com/users/cpats007/gists{/gist_id}","starred_url":"https://api.github.com/users/cpats007/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cpats007/subscriptions","organizations_url":"https://api.github.com/users/cpats007/orgs","repos_url":"https://api.github.com/users/cpats007/repos","events_url":"https://api.github.com/users/cpats007/events{/privacy}","received_events_url":"https://api.github.com/users/cpats007/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-08-31T15:18:12Z","updated_at":"2016-09-08T20:06:35Z","closed_at":null,"body":"Hi. When trying to increment a float value, I get a Segmentation fault: 11 and it fails.\r\n\r\nTest code I'm using to recreate the issue:\r\n\r\n```php\r\n        $uid = uniqid('inc_');\r\n        $key = $this->getDb()->initKey(self::KEY_DB_NAME, 'xc_bids', $uid);\r\n\r\n        // store the key data with the record, rather than just its digest\r\n        $options = [\r\n            Aerospike::OPT_POLICY_KEY    => Aerospike::POLICY_KEY_SEND,\r\n        ];\r\n\r\n        $floatVal = 1.234;\r\n\r\n        $status = $this->getDb()->increment($key, 'float', $floatVal, $options);\r\n        echo $status . PHP_EOL;\r\n\r\n        // Check the outcome of the adding:\r\n        if ($status !== Aerospike::OK) {\r\n            $this->echoToConsole('Summink Went Wrong');\r\n        } else {\r\n            return true;\r\n        }\r\n\r\n        return false;\r\n```\r\n\r\nAerospike Client version: 3.4.9\r\nAerospike Server Version: 3.9.0.3\r\n\r\nPHP Info:\r\n\r\nPHP 5.6.22 (cli) (built: Jul 19 2016 13:23:48) \r\nCopyright (c) 1997-2016 The PHP Group\r\nZend Engine v2.6.0, Copyright (c) 1998-2016 Zend Technologies\r\n    with Xdebug v2.4.0, Copyright (c) 2002-2016, by Derick Rethans\r\n"},"comment":{"url":"https://api.github.com/repos/aerospike/aerospike-client-php/issues/comments/245723109","html_url":"https://github.com/aerospike/aerospike-client-php/issues/109#issuecomment-245723109","issue_url":"https://api.github.com/repos/aerospike/aerospike-client-php/issues/109","id":245723109,"user":{"login":"aminer","id":2181078,"avatar_url":"https://avatars.githubusercontent.com/u/2181078?v=3","gravatar_id":"","url":"https://api.github.com/users/aminer","html_url":"https://github.com/aminer","followers_url":"https://api.github.com/users/aminer/followers","following_url":"https://api.github.com/users/aminer/following{/other_user}","gists_url":"https://api.github.com/users/aminer/gists{/gist_id}","starred_url":"https://api.github.com/users/aminer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aminer/subscriptions","organizations_url":"https://api.github.com/users/aminer/orgs","repos_url":"https://api.github.com/users/aminer/repos","events_url":"https://api.github.com/users/aminer/events{/privacy}","received_events_url":"https://api.github.com/users/aminer/received_events","type":"User","site_admin":false},"created_at":"2016-09-08T20:06:35Z","updated_at":"2016-09-08T20:06:35Z","body":"Fixed in release 3.4.10."}}
{"actor":{"display_login":"aminer"}}