{"action":"created","issue":{"url":"https://api.github.com/repos/phalcon/cphalcon/issues/9935","labels_url":"https://api.github.com/repos/phalcon/cphalcon/issues/9935/labels{/name}","comments_url":"https://api.github.com/repos/phalcon/cphalcon/issues/9935/comments","events_url":"https://api.github.com/repos/phalcon/cphalcon/issues/9935/events","html_url":"https://github.com/phalcon/cphalcon/issues/9935","id":62282657,"number":9935,"title":"About changes in phalcon 1.3.x sources","user":{"login":"Sweet-Bob","id":6426483,"avatar_url":"https://avatars.githubusercontent.com/u/6426483?v=3","gravatar_id":"","url":"https://api.github.com/users/Sweet-Bob","html_url":"https://github.com/Sweet-Bob","followers_url":"https://api.github.com/users/Sweet-Bob/followers","following_url":"https://api.github.com/users/Sweet-Bob/following{/other_user}","gists_url":"https://api.github.com/users/Sweet-Bob/gists{/gist_id}","starred_url":"https://api.github.com/users/Sweet-Bob/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sweet-Bob/subscriptions","organizations_url":"https://api.github.com/users/Sweet-Bob/orgs","repos_url":"https://api.github.com/users/Sweet-Bob/repos","events_url":"https://api.github.com/users/Sweet-Bob/events{/privacy}","received_events_url":"https://api.github.com/users/Sweet-Bob/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-03-17T04:16:48Z","updated_at":"2015-03-17T04:53:27Z","closed_at":null,"body":"Hi, i try add new function, but don't understand, why it working on macos, but on ubuntu it calls segmentation fault?\r\n\r\nrouter.c (and added declaration in header):\r\n``` c\r\nPHP_METHOD(Phalcon_Mvc_Router, getPrefix) {\r\n\tzval *route, *router_prefix = NULL;\r\n\tPHALCON_MM_GROW();\r\n\tPHALCON_CALL_METHOD(&route, this_ptr, \"getmatchedroute\");\r\n\tPHALCON_CALL_METHOD(&router_prefix, route, \"getprefix\");\r\n\tRETURN_CTOR(router_prefix);\r\n}\r\n```\r\n\r\nThanx for any help."},"comment":{"url":"https://api.github.com/repos/phalcon/cphalcon/issues/comments/82105040","html_url":"https://github.com/phalcon/cphalcon/issues/9935#issuecomment-82105040","issue_url":"https://api.github.com/repos/phalcon/cphalcon/issues/9935","id":82105040,"user":{"login":"Sweet-Bob","id":6426483,"avatar_url":"https://avatars.githubusercontent.com/u/6426483?v=3","gravatar_id":"","url":"https://api.github.com/users/Sweet-Bob","html_url":"https://github.com/Sweet-Bob","followers_url":"https://api.github.com/users/Sweet-Bob/followers","following_url":"https://api.github.com/users/Sweet-Bob/following{/other_user}","gists_url":"https://api.github.com/users/Sweet-Bob/gists{/gist_id}","starred_url":"https://api.github.com/users/Sweet-Bob/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sweet-Bob/subscriptions","organizations_url":"https://api.github.com/users/Sweet-Bob/orgs","repos_url":"https://api.github.com/users/Sweet-Bob/repos","events_url":"https://api.github.com/users/Sweet-Bob/events{/privacy}","received_events_url":"https://api.github.com/users/Sweet-Bob/received_events","type":"User","site_admin":false},"created_at":"2015-03-17T04:53:27Z","updated_at":"2015-03-17T04:53:27Z","body":"Thank you. Now i rebuild, and run it, but segm still remain.\r\n\r\nWhether ubuntu has special properties what can call problem (what need consider in development)?\r\n"}}