User Tag List

Results 1 to 5 of 5

Thread: INI crash

  1. #1
    Forum Moderator Fusion 2.5 DeveloperHTML5 Export ModuleiOS Export ModuleSWF Export Module
    DavidN's Avatar
    Join Date
    Jun 2006
    Location
    Boston, MA, USA
    Posts
    4,044
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    INI crash

    This is a bit of a tricky one as it doesn't always happen - I've found that if I start my application from XCode, it'll work fine, but when running it straight from the iPhone, it'll crash with:

    Exception Type: EXC_BAD_ACCESS (SIGSEGV)
    Exception Codes: KERN_INVALID_ADDRESS at 0x00255000

    0 runningfree 0x000049a8 -[CFile readUnsignedByte] (CFile.m:356)
    1 runningfree 0x00004604 -[CFile readAStringEOL] (CFile.m:250)
    2 runningfree 0x000b9468 -[CIni loadIni:] (CIni.m:92)
    3 runningfree 0x000b9962 -[CIni getPrivateProfileString:withParam1:andParam2:andPa ram3:] (CIni.m:193)
    4 runningfree 0x00081956 -[CRunkcini GetValueGroupItem] (CRunkcini.m:294)

    The INI is modified by the game as levels are completed, and it only seems to crash when it's in the state it's in now... this is the first time I've seen this problem. I'm unsure how to get access to the current state of the INI to do any further testing.

  2. #2
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export Module
    Francois's Avatar
    Join Date
    Jul 2006
    Location
    Montpellier, France
    Posts
    6,920
    Mentioned
    1 Post(s)
    Tagged
    1 Thread(s)
    First time I see this since the release of the iOS runtime.
    Can you reproduce it? If you can, can you please zip the xcode folder, add the mfa to the zip and send it to me?

  3. #3
    Forum Moderator Fusion 2.5 DeveloperHTML5 Export ModuleiOS Export ModuleSWF Export Module
    DavidN's Avatar
    Join Date
    Jun 2006
    Location
    Boston, MA, USA
    Posts
    4,044
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I'll do what I can - I've now separated the files into one with existing data that's only read and never written to by the game, and one exclusively for the save, which is the one that gets updated. That should make it easier to reproduce the contents of the save file, if it happens again.

  4. #4
    Clicker Fusion 2.5 DeveloperiOS Export ModuleSWF Export Module
    Shmuper's Avatar
    Join Date
    Mar 2010
    Location
    Japan
    Posts
    107
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I am experiencing the same problem ;_; Did you resolve this error on your end ? Heres the xcode paste. There is a small flaoting box that says [Thread 1:Program received signal ''EXC_BAD_ACCESS]


    // ----------------------------------------------------------------------------------
    // SAUTS AUX EXPRESSIONS
    // ----------------------------------------------------------------------------------
    [...]
    }
    void callExp_Systeme(CRun* rhPtr)
    {
    expSysteme[rhPtr->rh4ExpToken->expCode.expSCode.expNum+3](rhPtr); // Pour sauter les tokens expression negatifs
    >>>>>>>>>>>>>[Thread 1:Program received signal ''EXC_BAD_ACCESS]<<<<<<<<<<<<<<<<<<<<
    }
    void callExp_Operators(CRun* rhPtr)

    [...]

  5. #5
    Forum Moderator Fusion 2.5 DeveloperHTML5 Export ModuleiOS Export ModuleSWF Export Module
    DavidN's Avatar
    Join Date
    Jun 2006
    Location
    Boston, MA, USA
    Posts
    4,044
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I didn't really resolve it - I separated my INIs into a 'data' and a 'save' (instead of lumping them all into the same file), and the problem hasn't reappeared again.

Similar Threads

  1. [CRASH] Google Play Crash Report: java.lang.NullPointerException
    By tom79 in forum Android Export Module Version 2.0
    Replies: 1
    Last Post: 1st August 2013, 04:08 AM
  2. [CRASH] Memory Object Runtime Crash with Allocate(
    By LB in forum Extension Development
    Replies: 8
    Last Post: 4th September 2011, 09:04 AM
  3. [CRASH] ForEach object crash on recursive loop
    By LB in forum Extension Development
    Replies: 0
    Last Post: 1st May 2011, 01:23 AM

Posting Permissions

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