App crashes while app is going into background and when iPad gets auto-locked
<p>I am facing a weird issue in my application when my app goes into Background mode and when iPad gets locked. Till then its working fine but while I am unlocking the device and opening the app from background, its crashing. </p>

<p>This is the Crash log, I am getting from device</p>

<pre><code>Exception Type:  00000020
Exception Codes: 0x000000008badf00d
Exception Note:  SIMULATED (this is NOT a crash)
Highlighted by Thread:  8

Application Specific Information:
&lt;BKNewProcess: 0x12cd18cb0; com.apps-factory; pid: 540; hostpid: -1&gt; has active assertions beyond permitted time: 
{(
    &lt;BKProcessAssertion: 0x12cd1e3b0&gt; id: 540-72C6AF6C-F674-40E8-BA89-EFE4BF52F8D6 name: Called by UIKit, from &lt;redacted&gt; process: &lt;BKNewProcess: 0x12cd18cb0; com.apps-factory; pid: 540; hostpid: -1&gt; permittedBackgroundDuration: 180.000000 reason: finishTask owner pid:540 preventSuspend  preventIdleSleep  preventSuspendOnSleep 
)}

Elapsed total CPU time (seconds): 82.430 (user 82.430, system 0.000), 23% CPU 
Elapsed application CPU time (seconds): 77.475, 21% CPU

Filtered syslog:
None found
</code></pre>

<p>My app has continuous dot animation on screen like rainfall effect based on data from DB which is being synced with Server.</p>

<p>Any help will be highly appreciated.
Thanks in advance!!</p>