Projects > cpp > Issues > Bug #5032

We are migrating issue tracker of Cocos2d-x Project to Github, please create new issue there. Thanks.

Create Issue on Github

A potential crash bug of Lua binding

Bug #5032 [Closed]
samuele3hu 2014-05-07 02:00 . Updated about 5 years ago

When the Lua binding functions didn't push the value to the stack,but the return value is greater than zero, this situation may lead to potentail crash.For example:

int lua_cocos2dx_spine_SkeletonAnimation_setAnimation(lua_State* tolua_S)

When this Lua binding function called in Lua script on the Mac platform,it lead to crash.

dumganhar 2014-05-07 18:50
  • Status changed from New to Closed
  • % Done changed from 0 to 100

Applied in changeset commit:9fb38cb33213aad83e7111f5ac2d6a20f80ec068.

Atom PDF

Start date:2014-05-07
Due date:
% Done:


Target version:v3.1