Projects > cpp > Issues > Bug #522

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

Create Issue on Github

CCSpriteFrameCache::addSpriteFramesWithFile(const char *pszPlist) crashed

Bug #522 [Closed]
zhangbin@cocos2d-x.org 2011-06-06 18:17 . Updated almost 13 years ago

It will be crashed if the parameter don’t have ‘/’.
Take a look at this topic in forum:
http://www.cocos2d-x.org/boards/6/topics/1758?r=1806\#message-1806

zhangbin@cocos2d-x.org 2011-06-30 02:46
  • Assignee set to zhangbin@cocos2d-x.org
zhangbin@cocos2d-x.org 2011-06-30 02:55

The bug will appeared in this case:
The parameter only have the plist file name(no path separated with ‘/’). And “textureFileName” have be specified in the plist file.

zhangxm 2011-06-30 19:03
  • Status changed from New to Resolved
  • % Done changed from 0 to 100

Applied in changeset commit:d0c068370fc7bf4ea2b6a839b94eaa6bcfbd09bc.

zhangbin@cocos2d-x.org 2011-06-30 19:03

Applied in changeset commit:5223793117a1cc6abca99154380843fbf589c96f.

walzer@cocos2d-x.org 2011-07-11 18:49
  • Status changed from Resolved to Closed
walzer@cocos2d-x.org 2012-05-25 08:12
  • Project changed from cocos2d-x to cpp
  • Category deleted (5)
  • Target version deleted (cocos2d-1.0.0-x-0.9.0)

Atom PDF

Status:Closed
Start date:2011-06-06
Priority:Normal
Due date:
Assignee:zhangbin@cocos2d-x.org
% Done:

100%

Category:-
Target version:-