Your workflow is unique 👨💻 - tell us how you use Dropbox here.
Forum Discussion
Caram
11 years agoNew member | Level 1
DBDatastoreManager updateBackgroundTask crash
I had the following crash on a device. Should I be worrying?
Exception Type: 00000020
Exception Codes: 0x000000008badf00d
Highlighted Thread: 5
Application Specific Information:
<BKNewProcess: 0x176971e0; com.bronze.ubibase2; pid: 9735; hostpid: -1> has active assertions beyond permitted time:
{(
<BKProcessAssertion: 0x1758a0f0> id: 9735-0168FB30-901C-4F77-93B7-3B590192CF1A name: Called by App, from -[DBDatastoreManager updateBackgroundTask] process: <BKNewProcess: 0x176971e0; com.test.app; pid: 9735; hostpid: -1> permittedBackgroundDuration: 180.000000 reason: finishTask owner pid:9735 preventSuspend preventIdleSleep preventSuspendOnSleep
)}
Elapsed total CPU time (seconds): 85.970 (user 85.970, system 0.000), 24% CPU
Elapsed application CPU time (seconds): 0.043, 0% CPU
4 Replies
Replies have been turned off for this discussion
- Greg-DB11 years ago
Dropbox Community Moderator
Thanks for the report. Are you able to reproduce this?
- Caram11 years agoNew member | Level 1
Not specifically but there were 2 other occurrences this morning on the same device. I noticed in the log other apps occasionally get the same issue on the same device.
- Greg-DB11 years ago
Dropbox Community Moderator
Thanks. To clarify though, do you mean other apps that do or don't use the Dropbox Sync/Datastore SDK? The SDK does use the iOS background task API to do some syncing in the background when necessary, and I believe this exception means it ran out of limited time the OS allows for this. I'm not sure offhand if there's something additional we need to do handle this more gracefully but we can look into it.
- Caram11 years agoNew member | Level 1
Other apps that (probably) don't use the SDK. They are standard apps from the AppStore, difficult to know the underlying machinery.
At first glance, it looks like you would want to time your operations so as not to get caught by the OS.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.
If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X, Facebook or Instagram.
For more info on available support options for your Dropbox plan, see this article.
If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!