User Tag List

Results 1 to 4 of 4

Thread: thread 1:exc_bad_access - crash when Jump To Frame

  1. #1
    Clicker Fusion 2.5 Developer

    Join Date
    Oct 2006
    Location
    Finland
    Posts
    65
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    thread 1:exc_bad_access - crash when Jump To Frame

    Hi!

    My app crashes in iOS in certain frame when I try to change frame. In Xcode I get this "thread 1:exc_bad_access code=1" in varying address. It doesn't crash on PC and it doesn't crash on any other frame.

    - Tomssuli

  2. #2
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Apr 2007
    Location
    Australia
    Posts
    1,151
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Did you happen to add a new extension between exporting the first xCode project and doing updates to the Application.cci? If so, you will need to rebuild the xCode project again so it can include the new extension code.

  3. #3
    Clicker Fusion 2.5 Developer

    Join Date
    Oct 2006
    Location
    Finland
    Posts
    65
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I actually build a new project every time I test my game. It was originally android game, but now I'm trying to get it work on iOS too.

    I'm changing things one at the time so it would work on iOS properly, but I haven't been able to get rid of this particular crash, as I don't have an idea what exactly causes it.

    Compared to the frames that do work (e.g. I can jump to other frames from them) there are many objects unique to that frame... such as physics engine, joints, physical objects, layer object, multi-touch, advanced direction object etc. Basically it's the game's actual playing frame as the other frames are menus and title screen.

    I have the most recent stable build of Fusion R285.6. and most recent macOS in the mac I build the game with. Also the iPhone5 - with latest updates - for a test device.

  4. #4
    Clicker Fusion 2.5 Developer

    Join Date
    Oct 2006
    Location
    Finland
    Posts
    65
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Okay, I pinpointed the exact problem. It took me hours and hours to realise it. It's deleting a physics joint object that crashes the game. I'll send an example file to bugbox.

Similar Threads

  1. [CRASH] Back button pressed --> Jump to frame
    By MJK in forum Android Export Module Version 2.0
    Replies: 11
    Last Post: 11th January 2013, 09:49 AM
  2. EXC_BAD_ACCESS in Thread 2
    By SolarB in forum iOS Export Module Version 2.0
    Replies: 1
    Last Post: 2nd October 2012, 06:30 AM
  3. EXC_BAD_ACCESS when accessing global Array after a frame change
    By smart_fr in forum iOS Export Module Version 2.0
    Replies: 6
    Last Post: 5th May 2012, 06:19 AM
  4. Beta 4 - EXC_BAD_ACCESS crash
    By Kisguri in forum iOS Export Module Version 2.0
    Replies: 6
    Last Post: 12th April 2012, 07:37 AM
  5. FIXED - Beta 3: Frame jump crash?
    By netninja in forum iOS Export Module Version 2.0
    Replies: 4
    Last Post: 27th October 2010, 12:46 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •