GS crashing? Don't know why

raze_struckraze_struck Member, PRO Posts: 141

Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000

Application Specific Information:
objc[3065]: garbage collection is ON
abort() called
*** error for object 0x7fd81c0e0400: incorrect checksum for freed object - object was probably modified after being freed.

Running on OS MAVERICKs

Its an inventory screen that allows you to equip 40 different weapons (still have added armor and such, kind of scared if its already crashing) Anyways basically you have an integer called whatsequipped;

IF (game.whatsequipped = 1)
{
change (game.attk, game.attk+5)
}
Else
{
change(game.attk, game.attk -5)
}

repeated 40 times, maybe eating the memory, inefficient ways?

Comments

  • tatiangtatiang Member, Sous Chef, PRO, Senior Sous-Chef Posts: 11,949

    Those rules shouldn't be a problem at all if that's all you're doing. There's something else using up the memory. Perhaps a loop or an invalid table call. You'll have to do some serious debugging now.

    New to GameSalad? (FAQs)   |   Tutorials   |   Templates   |   Greenleaf Games   |   Educator & Certified GameSalad User

  • raze_struckraze_struck Member, PRO Posts: 141

    @tatiang said:
    Those rules shouldn't be a problem at all if that's all you're doing. There's something else using up the memory. Perhaps a loop or an invalid table call. You'll have to do some serious debugging now.

    Damn, thanks i figured. What does this mean though;

    for object 0x7fd81c0e0400: incorrect checksum for freed object - object was probably modified after being freed.

  • tatiangtatiang Member, Sous Chef, PRO, Senior Sous-Chef Posts: 11,949

    I have NO IDEA. That's an OS X error not a Creator-specific error.

    New to GameSalad? (FAQs)   |   Tutorials   |   Templates   |   Greenleaf Games   |   Educator & Certified GameSalad User

  • raze_struckraze_struck Member, PRO Posts: 141

    damn

Sign In or Register to comment.