Projects > cpp > Issues > Bug #634

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

Create Issue on Github

require "xxx.lua" in lua script file raise "buffer too small" error on win32

Bug #634 [Rejected] 2011-07-26 02:59 . Updated over 4 years ago

steps to reproduce:
# create a empty lua file, e.g. “a.lua” in HelloWorld/Resource/ folder
# add

require "a.lua"

in helloworld.lua
# build and run, the program crashes with “buffer too small” msgbox. 2011-09-01 01:55
  • Status changed from New to Rejected

Error usage.


require “a”

instead of

require “a.lua” 2012-05-25 08:06
  • Project changed from cocos2d-x to cpp
  • Category deleted (4)
  • Target version deleted (cocos2d-1.0.1-x-0.9.2)

Atom PDF

Start date:2011-07-26
Due date:
% Done:


Target version:-

Sign up for our newsletter to keep up with the latest developments, releases and updates for Cocos2d-x.