URGENT - EXC_BAD_ACCESS (SIGSEGV)

HI all

i keep getting this on an ad-hoc build, ive recycled almost everything,

i havent compressed my audio files, with music and sound effects i have a total of 10 mb

please help

dan

Comments

  • FirstDanFirstDan Member Posts: 208
    why isn't anyone helping?

    where can i go to for help, if im desperate?
  • SlickZeroSlickZero Houston, TexasMember, Sous Chef Posts: 2,870
    From the Apple Forums - "EXC_BAD_ACCESS generally means that you are sending a obj c message to an invalid memory address. Usually this happens because an object that you are using has been deallocated, while you weren't expecting it to be."

    does this happen every time you try to build a new Ad Hoc?
  • FirstDanFirstDan Member Posts: 208
    @slickzero - my game was supposed to be sent off to apple last week, but recently i have been getting crashes after playing, but i have checked through all interpolates and timers, and even recycled almost all major functions but i still gett crashes after 10 mins of play estimably...i have just compressed my audio and i am apply that now to see if that helps

  • FirstDanFirstDan Member Posts: 208
    what measures can i take to prevent this?
  • SlickZeroSlickZero Houston, TexasMember, Sous Chef Posts: 2,870
    I always try to simplify the logic. Use as little scripting as possible to achieve the desired effect.

    Make sure your images aren't sucking up too much memory.

    Make sure there are no redundancies in your scripting.

    Make sure you don't delete attributes that are still being referenced within the game.

    And you already know about the *31 Optimization Tips* thread. Those are good practices.

    There is a way to connect your iPhone to "Xcode" and use "Instruments" to get a detailed report of whats happening, but I understand that reading the report is like deciphering Egyptian Sandscript.



  • FirstDanFirstDan Member Posts: 208
    @slickzero - what do you mean by redundancies?

    Thanks for your help
  • SlickZeroSlickZero Houston, TexasMember, Sous Chef Posts: 2,870
    For example, if you have 2 objects colliding with each other, and the collision triggers an attribute to change...Don't have the collision rule in both actors, and don't have the rule that changes the attribute in both actors.

    I'm not saying that's what's happening to you, it's just something to take into consideration when scripting.
  • FirstDanFirstDan Member Posts: 208
    @slickzero thanks dude! It's not goin well for me, now my mac mini has crashed and I need to recover it from time machine! I'm in a world of hate!

    Soo much bad luck, but dude thanks for ur help
  • SlickZeroSlickZero Houston, TexasMember, Sous Chef Posts: 2,870
    My pleasure, and sorry for your Mac woes. From experience I can say that Time Machine is a God send. It works perfectly! :-bd
Sign In or Register to comment.