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 7602941
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T23:32:29+00:00 2026-05-30T23:32:29+00:00

I have the newest cocos2d, Xcode4 and iOS5 SDK. I am testing my app

  • 0

I have the newest cocos2d, Xcode4 and iOS5 SDK. I am testing my app on my iPhone 4 (5.0.1). No crashes occur on the simulator – only on devices.

On first run, my app crashes before entering the first scene, which it does by CCTransitionFade. It crashes in CCLayer at the line:

        glDrawArrays(GL_TRIANGLE_STRIP, 0, 4);

If i load the app again, it boots fine – no crashes.

I removed the CCTransition and made the first scene boot up without a transition, and i received no crash on first run (great!). However, during the game there is a point where i put a colorlayer over the top of the gamescene and fade the opacity of the color layer down to 50% or so. The game crashes here.

These crashes ONLY occur if the app is being run for the first time. Both crashes have opacity fading in common. Both crashes fail at the same line, in CCLayer.

This crash occurs on iPhone 4 (iOS 5.0.1) and iPad (iOS 5.0.1), but NOT iPhone 4 (iOS 4.2.1).

Does anyone have any thoughts, ideas or suggestions? I’m at a complete loss!

debug version running on device via xcode, crash at start:

Mar 6 23:36:53 unknown Boco[10699] : cocos2d: surface size: 640×960

Mar 6 23:37:08 unknown securityd[10702] : MS:Notice: Installing: (null) [securityd] (675.00)

Mar 6 23:37:08 unknown ReportCrash[10700] : MS:Notice: Installing: (null) [ReportCrash] (675.00)

Mar 6 23:37:09 unknown ReportCrash[10700] : Formulating crash report for process Boco[10699]

Mar 6 23:37:09 unknown com.apple.launchd[1] : (UIKitApplication:com.sunlight.boco[0x79a]) Bug: launchd_core_logic.c:3730 (25147):3

Mar 6 23:37:09 unknown com.apple.launchd[1] : (UIKitApplication:com.sunlight.boco[0x79a]) Assuming job exited: : 10: No child processes

Mar 6 23:37:09 unknown com.apple.launchd[1] : (UIKitApplication:com.sunlight.boco[0x79a]) Job appears to have crashed: Segmentation fault: 11

Mar 6 23:37:09 unknown SpringBoard[10505] : Application ‘boco’ exited abnormally with signal 11: Segmentation fault: 11

Mar 6 23:37:09 unknown ReportCrash[10700] : Saved crashreport to /var/mobile/Library/Logs/CrashReporter/Boco_2012-03-06-233708_James-iPhone.plist using uid: 0 gid: 0, synthetic_euid: 501 egid: 0

release version running on device ad hoc, crashing at color layer opacity change

Mar 6 23:57:40 unknown ReportCrash[343] : MS:Notice: Installing: (null) [ReportCrash] (675.00)

Mar 6 23:57:41 unknown ReportCrash[343] : Formulating crash report for process Boco[338]

Mar 6 23:57:41 unknown com.apple.launchd[1] : (UIKitApplication:com.sunlight.boco[0xe5d6]) Job appears to have crashed: Bus error: 10

Mar 6 23:57:41 unknown SpringBoard[28] : Application ‘boco’ exited abnormally with signal 10: Bus error: 10

Mar 6 23:57:41 unknown ReportCrash[343] : Saved crashreport to /var/mobile/Library/Logs/CrashReporter/Boco_2012-03-06-235740_James-iPhone.plist using uid: 0 gid: 0, synthetic_euid: 501 egid: 0

  • 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-30T23:32:31+00:00Added an answer on May 30, 2026 at 11:32 pm

    Didn’t find a solution to this problem (see http://www.cocos2d-iphone.org/forum/topic/29958?replies=10#post-147371), so I created a new xcode project and ported all my code over. Solved the problem!

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

Sidebar

Related Questions

I have a mysql table that I need to only contain 20 newest records
I have the newest wordpress installed in example.com. If I create the folder example.com/my-app/
I have just downloaded the Newest Google Chrome to test my gwt app... And,
After upgrading to the newest GWT/Google app engine I have problems opening my workspace
I have an array of Ruby Date objects. How can I find the newest
Have just started using Visual Studio Professional's built-in unit testing features, which as I
Have had to write my first proper multithreaded coded recently, and realised just how
I have the newest XCode (4D199) installed and in terminal when I type new-host-2:
I have this html structure: <div id=home> <div class=section_header> <h1 class=left data-target=newest><?=lang('home_newest');?></h1> ... </div>
Ok so I have this html code: <h1 class=left data-target=newest>Newest</h1> ............ <h1 class=left data-target=topRated>Top

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.