Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

killed by: active assertions beyond permitted time: [Mixpanel applicationDidEnterBackground:] #95

Closed
leeliu opened this issue Dec 20, 2013 · 8 comments
Labels

Comments

@leeliu
Copy link

leeliu commented Dec 20, 2013

I'm getting this in my console after backgrounding my app:

Dec 20 04:51:52 Lees-iPhone-5s backboardd[31] <Warning>: abiosapp[1101] has active assertions beyond permitted time: 
    {(
        <BKProcessAssertion: 0x170277f00> identifier: Called by abiosapp, from -[Mixpanel applicationDidEnterBackground:] process: abiosapp[1101] permittedBackgroundDuration: 180.000000 reason: finishTask owner pid:1101 preventSuspend  preventIdleSleep  preventSuspendOnSleep 
    )}
Dec 20 04:51:52 Lees-iPhone-5s backboardd[31] <Warning>: Forcing crash report of abiosapp[1101]...
Dec 20 04:51:53 Lees-iPhone-5s backboardd[31] <Warning>: Finished crash reporting.

The last item for my app exactly 3 minutes before this was the call to mixpanel /engage api.

@johnryan
Copy link

Any update on this? I'm seeing this issue as well. Thanks.

@malectro malectro added the bug label Feb 3, 2015
@samgreen
Copy link
Contributor

samgreen commented Jul 9, 2015

@johnryan @leeliu I'm unable to reproduce this issue, are you still experiencing this? Once I'm able to reproduce this I'm sure that it will be a quick fix.

@ajstiles
Copy link

We are seeing this consistently right now. What info can I get you to help?

@samgreen
Copy link
Contributor

Can you slim down your project to the smallest amount of code that reproduces the issue?

@samgreen
Copy link
Contributor

Closing this issue, since we can't repro on our end and we don't have a sample project. Please open another issue if you're able to help us track this down.

@A2K
Copy link

A2K commented Aug 20, 2015

I have a crash log from a user which seems to be caused by the same problem:

Application Specific Information:
<BKNewProcess: 0x157fa64d0; [app id was here] ; pid: 18964; hostpid: -1> has active assertions beyond permitted time: 
{(
    <BKProcessAssertion: 0x159027760> id: [long GUID was here] name: Called by Mixpanel, from -[Mixpanel applicationDidEnterBackground:] process: <BKNewProcess: 0x157fa64d0; [app id was here]; pid: 18964; hostpid: -1> permittedBackgroundDuration: 180.000000 reason: finishTask owner pid:18964 preventSuspend  preventIdleSleep  preventSuspendOnSleep 
)}

I could not reproduce it either, should I report if I receive more crash reports like this?

@ryanseams
Copy link
Contributor

I wanted to add some additional context here, and see if we can add some information which can assist in resolving this issue.

To reproduce this, you will need to:

  1. Open and close the app quickly a few times
  2. Be using interstitials (specifically OtherLevels in this case, this is not a confirmed step but would be nice to know if the other users with this issue use these as well or not)

This issue seems to be isolated to the fact there is a variable called taskId with the library. When the application enters the background as detailed here, there is the potential for the taskId to be overwritten when the app is opened and closed quickly since it is dispatched to be processed on a serial queue in the background.

This information was provided by a customer.

Please see the full crash log below:

assertiond[64] <Warning>: <BKNewProcess: 0x1465b0dc0; com.***.general; pid: 61936; hostpid: -1> has active assertions beyond permitted time: 
{( 
<BKProcessAssertion: 0x14670b080> id: [long GUID was here] name: Called by ***, from -[Mixpanel applicationDidEnterBackground:] process: <BKNewProcess: 0x1465b0dc0; com.***.general; pid: 61936; hostpid: -1> permittedBackgroundDuration: 180.000000 reason: finishTask owner pid:61936 preventSuspend preventIdleSleep preventSuspendOnSleep , 
<BKProcessAssertion: 0x14660e530> id: [long GUID was here] name: Called by ***, from __40-[OLLocation geoFeedAPIWithToken:retry:]_block_invoke process: <BKNewProcess: 0x1465b0dc0; com.***.general; pid: 61936; hostpid: -1> permittedBackgroundDuration: 180.000000 reason: finishTask owner pid:61936 preventSuspend preventIdleSleep preventSuspendOnSleep , 
<BKProcessAssertion: 0x14781a210> id: [long GUID was here] name: Called by ***, from __40-[OLLocation geoFeedAPIWithToken:retry:]_block_invoke process: <BKNewProcess: 0x1465b0dc0; com.***.general; pid: 61936; hostpid: -1> permittedBackgroundDuration: 180.000000 reason: finishTask owner pid:61936 preventSuspend preventIdleSleep preventSuspendOnSleep 
)}

@patedit
Copy link
Contributor

patedit commented Dec 16, 2015

This should be solved in the last release

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

8 participants