Strange Crash. on 5.1 not 4.2 Fences???

Discussion in 'iOS Programming' started by IDMah, May 9, 2012.

  1. IDMah macrumors 6502

    IDMah

    Joined:
    May 13, 2011
    #1
    I got this crash where the screen went black and then the home button wouldn't respond. Is there any chance I exited and removed from multitask bar too quickly so the save only partially wrote. Is there any way to check for that, or is it highly unlikely? Using 5.1 now 5.1.1 had to turn off to recover iphone.

    Maybe a memory problem funny but didn't run into it on 4.2.
    Sorry description is so vague.. but that's all I got. Also got Fences Error.. :confused:

    My inclination is that it might have something to do with memory management. but it seems to only happen every now and then..

    thanks
    Ian
     
  2. CodeBreaker macrumors 6502

    Joined:
    Nov 5, 2010
    Location:
    Sea of Tranquility
    #2
    Does it look like:
    Code:
    wait fences: failed to receive reply
    
    If not, then ignore my post. :)

    If yes, then it means some of your animation blocks are clashing. But I have never seen a non-jailbreak app bricking the phone.
     
  3. jnoxx macrumors 65816

    jnoxx

    Joined:
    Dec 29, 2010
    Location:
    Aartselaar // Antwerp // Belgium
    #3
    Also could be showing UIAlertViews too fast, having issues with UIWebviews etc.. All have the wait fences shizzle :)
     
  4. IDMah thread starter macrumors 6502

    IDMah

    Joined:
    May 13, 2011
    #4
    it might be rabbit it might be..

    Actually I am displaying an Alert and a webView so it might be that..

    So do I delay the Alert ??? or is it ok to ignore the Fences thing..

    thanks.
    Ian
     
  5. PhoneyDeveloper macrumors 68030

    PhoneyDeveloper

    Joined:
    Sep 2, 2008
    #5
    Ignore the fences thing. Nobody outside Apple knows what it means. I think it only happens in the debugger.

    If you have a crash then focus on that.
     

Share This Page