{"action":"created","issue":{"url":"https://api.github.com/repos/cocos2d/cocos2d-js/issues/1402","labels_url":"https://api.github.com/repos/cocos2d/cocos2d-js/issues/1402/labels{/name}","comments_url":"https://api.github.com/repos/cocos2d/cocos2d-js/issues/1402/comments","events_url":"https://api.github.com/repos/cocos2d/cocos2d-js/issues/1402/events","html_url":"https://github.com/cocos2d/cocos2d-js/issues/1402","id":55474617,"number":1402,"title":"JS-Binding: Cloning actions that have nested repeatForever's leads to app crash","user":{"login":"Heishe","id":2046189,"avatar_url":"https://avatars.githubusercontent.com/u/2046189?v=3","gravatar_id":"","url":"https://api.github.com/users/Heishe","html_url":"https://github.com/Heishe","followers_url":"https://api.github.com/users/Heishe/followers","following_url":"https://api.github.com/users/Heishe/following{/other_user}","gists_url":"https://api.github.com/users/Heishe/gists{/gist_id}","starred_url":"https://api.github.com/users/Heishe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Heishe/subscriptions","organizations_url":"https://api.github.com/users/Heishe/orgs","repos_url":"https://api.github.com/users/Heishe/repos","events_url":"https://api.github.com/users/Heishe/events{/privacy}","received_events_url":"https://api.github.com/users/Heishe/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/cocos2d/cocos2d-js/labels/toBeTested","name":"toBeTested","color":"fbca04"}],"state":"open","locked":false,"assignee":{"login":"pandamicro","id":632460,"avatar_url":"https://avatars.githubusercontent.com/u/632460?v=3","gravatar_id":"","url":"https://api.github.com/users/pandamicro","html_url":"https://github.com/pandamicro","followers_url":"https://api.github.com/users/pandamicro/followers","following_url":"https://api.github.com/users/pandamicro/following{/other_user}","gists_url":"https://api.github.com/users/pandamicro/gists{/gist_id}","starred_url":"https://api.github.com/users/pandamicro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pandamicro/subscriptions","organizations_url":"https://api.github.com/users/pandamicro/orgs","repos_url":"https://api.github.com/users/pandamicro/repos","events_url":"https://api.github.com/users/pandamicro/events{/privacy}","received_events_url":"https://api.github.com/users/pandamicro/received_events","type":"User","site_admin":false},"milestone":null,"comments":3,"created_at":"2015-01-26T11:59:15Z","updated_at":"2015-02-04T09:44:14Z","closed_at":null,"body":"I'm not sure if this is intended behavior, but the following code consistently crashes on my system (Win32):\r\n\r\n   >var a = cc.speed(cc.repeatForever(cc.moveTo(5,cc.p(3,3))), 2.5);\r\n>\r\n  > var b = cc.speed(cc.repeatForever(anim), 2.5);\r\n>\r\n  > var cloned = b.clone();\r\n\r\nThe cc.moveTo action can be any action of any type, it will always crash in the b.clone() function call"},"comment":{"url":"https://api.github.com/repos/cocos2d/cocos2d-js/issues/comments/72826128","html_url":"https://github.com/cocos2d/cocos2d-js/issues/1402#issuecomment-72826128","issue_url":"https://api.github.com/repos/cocos2d/cocos2d-js/issues/1402","id":72826128,"user":{"login":"pandamicro","id":632460,"avatar_url":"https://avatars.githubusercontent.com/u/632460?v=3","gravatar_id":"","url":"https://api.github.com/users/pandamicro","html_url":"https://github.com/pandamicro","followers_url":"https://api.github.com/users/pandamicro/followers","following_url":"https://api.github.com/users/pandamicro/following{/other_user}","gists_url":"https://api.github.com/users/pandamicro/gists{/gist_id}","starred_url":"https://api.github.com/users/pandamicro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pandamicro/subscriptions","organizations_url":"https://api.github.com/users/pandamicro/orgs","repos_url":"https://api.github.com/users/pandamicro/repos","events_url":"https://api.github.com/users/pandamicro/events{/privacy}","received_events_url":"https://api.github.com/users/pandamicro/received_events","type":"User","site_admin":false},"created_at":"2015-02-04T09:44:14Z","updated_at":"2015-02-04T09:44:14Z","body":"Hi, @Heishe\r\n\r\nI tested with the following code\r\n\r\n```\r\nvar a = cc.speed(cc.repeatForever(cc.moveTo(5,cc.p(3,3))), 2.5);\r\nvar cloned = a.clone();\r\n```\r\n\r\nand it worked correctly, how can I reproduce the issue you described ?"}}