Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6555491
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T12:49:36+00:00 2026-05-25T12:49:36+00:00

I seem to be getting a crash right after doing [[CCDirector sharedDirector] popScene]. I

  • 0

I seem to be getting a crash right after doing [[CCDirector sharedDirector] popScene]. I am not really sure why. Any clues would help, thanks!

Crashlog:

#0  0x99e5ef84 in objc_msgSend ()
#1  0x302d543a in __NSFastEnumerationMutationHandler ()
#2  0x00046b46 in -[CCScheduler tick:] (self=0x1919ac0, _cmd=0x7b682, dt=0.0333320014) at /Users/Sup3rpanda/Dev/My Projects/Puzzle/libs/cocos2d/CCScheduler.m:211
#3  0x0001fb52 in -[CCDirector mainLoop] (self=0xf10a30, _cmd=0x76272) at /Users/Sup3rpanda/Dev/My Projects/Puzzle/libs/cocos2d/CCDirector.m:208
#4  0x305355cd in __NSFireTimer ()
#5  0x302454a0 in CFRunLoopRunSpecific ()
#6  0x30244628 in CFRunLoopRunInMode ()
#7  0x32044c31 in GSEventRunModal ()
#8  0x32044cf6 in GSEventRun ()
#9  0x309021ee in UIApplicationMain ()
#10 0x00002e94 in main (argc=1, argv=0xbfffef60) at /Users/Sup3rpanda/Dev/My Projects/Puzzle/main.m:13

Scheduled timer:

tGridTimer = [[CCTimer alloc] initWithTarget: self selector: @selector(gridSlideUpForced2:) interval: sGridSpeed];
[[CCScheduler sharedScheduler] scheduleTimer:tGridTimer];

Bit of CoCos 2d code that appears to be related to crashing:

-(void) tick: (ccTime) dt
{
    if( timeScale_ != 1.0f )
        dt *= timeScale_;

    for( id k in methodsToRemove )
        [scheduledMethods removeObject:k];

    [methodsToRemove removeAllObjects];

    for( id k in methodsToAdd )
        [scheduledMethods addObject:k];
    [methodsToAdd removeAllObjects];

    for( CCTimer *t in scheduledMethods )
        impMethod(t, fireSelector, dt);
        [[CCScheduler sharedScheduler] scheduleTimer:tGridTimer];
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T12:49:36+00:00Added an answer on May 25, 2026 at 12:49 pm

    Are you cleaning up your timers in onExit or dealloc in your scene class? Could be the scene still thinks some of the schedulers are still running

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I seem to be getting application crashes at: parent.findViewById(R.id.a_1).setVisibility(View.VISIBLE); not sure what im doing
I seem to be getting a Caught NoReverseMatch error. I am not so sure
I seem to be getting a crash after a long period of time on
I am getting an interesting crash that I can never seem to replicate on
not seem to getting the outputs from exec() command in PHP, OS: Windows XP
I seem to be getting an error I can't really understand. Hopefully this doesn't
I seem to be getting this particular always when i am trying to receive
I seem to be getting the above error when trying to make a callable
I've been coding for a while now but seem to be getting this issue
I seem to have a problem with getting MVC to fill in my custom

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.