Skip to main content
Known Participant
October 5, 2012
Question

iOS app hangs if left idle.

  • October 5, 2012
  • 2 replies
  • 1014 views

Hi, I'm getting this problem in the crash logs. The app just hangs after a few mins of being idle aka no one interacting with the app.

OS Version:      iPhone OS 5.1 (9B176)

Report Version:  104

Exception Type:  00000020

Exception Codes: 0x8badf00d

Highlighted Thread:  0

Application Specific Information:

Main[1303] has active assertions beyond permitted time:

{(

    <SBProcessAssertion: 0x4aedd0> identifier: Suspending process: Main[1303] permittedBackgroundDuration: 10.000000 reason: suspend owner pid:15 preventSuspend  preventThrottleDownCPU  preventThrottleDownUI

)}

This topic has been closed for replies.

2 replies

Inspiring
October 9, 2012

Did you ever find out why your apps hangs when idle ?

Inspiring
October 5, 2012

I ran in to this issue as well.  After weeks of trouble shooting I finally found a dirty fix.   For some reason one of the profiling classes I use for measuring my CPU usage stops the app from going in to a dead state that you are describing.

So I add my profiler to the stage but set its depth behind everything so it's never visible.  This fixes the issue and keeps my app running perfect at all times.