Projects > cpp > Issues > Bug #624

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

Create Issue on Github

CCLabelTTF::setString("\n\n\n") crashes on android

Bug #624 [Closed] 2011-07-21 08:26 . Updated about 9 years ago

report at
I have reproduced this bug on DesireS by

    CCLabelTTF* pLabel = new CCLabelTTF;
    pLabel->initWithString("", "Arial", 34);

If I replace “” to “abc”, it works normally

zhangxm 2011-07-24 19:13
  • Status changed from New to Resolved
  • % Done changed from 0 to 100

Applied in changeset commit:698551eb8963730ca6f656cd631e93e91dd6235c. 2011-07-31 19:26
  • Status changed from Resolved to Closed 2012-05-25 08:06
  • Project changed from cocos2d-x to cpp
  • Category deleted (2)
  • Target version deleted (cocos2d-1.0.1-x-0.9.1)
ionliga 2014-11-28 14:49

The optimization introduces a bug where the priority and Touch Mode will not get changed if the list is locked.
The most straight forward fix is to merge the pHandlersToAdd and pHandlersToRemove into a queue and process through all of them in the order they are received Agen Texas Poker dan Domino Online Indonesia Terpercaya | Agen Bola | Taruhan Bola | Agen Bola | Agen Judi Bola Online, Agen Judi Casino Online Indonesia Terpercaya | Jasa SEO | Agen Sbobet

Atom PDF

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


Target version:-