Coder Social home page Coder Social logo

Comments (8)

johnryan avatar johnryan commented on July 22, 2024

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

from mixpanel-iphone.

samgreen avatar samgreen commented on July 22, 2024

@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.

from mixpanel-iphone.

ajstiles avatar ajstiles commented on July 22, 2024

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

from mixpanel-iphone.

samgreen avatar samgreen commented on July 22, 2024

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

from mixpanel-iphone.

samgreen avatar samgreen commented on July 22, 2024

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.

from mixpanel-iphone.

A2K avatar A2K commented on July 22, 2024

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?

from mixpanel-iphone.

ryanseams avatar ryanseams commented on July 22, 2024

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 
)}

from mixpanel-iphone.

patedit avatar patedit commented on July 22, 2024

This should be solved in the last release

from mixpanel-iphone.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.