Comments (8)
Any update on this? I'm seeing this issue as well. Thanks.
from mixpanel-iphone.
@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.
We are seeing this consistently right now. What info can I get you to help?
from mixpanel-iphone.
Can you slim down your project to the smallest amount of code that reproduces the issue?
from mixpanel-iphone.
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.
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.
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:
- Open and close the app quickly a few times
- 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.
This should be solved in the last release
from mixpanel-iphone.
Related Issues (20)
- Mixpanel.h can not be found HOT 2
- Hope to improve
- K HOT 1
- Only tvOS Pre-Compiled Framework is Available via Github Release and Carthage HOT 2
- Crash on FlushRequest.sendRequest(_:type:useIP:completion:) HOT 1
- github "mixpanel/mixpanel-iphone"
- Import via SPM doesn't display the latest version: blocks the use of SPM integration HOT 1
- Add indexes and enable WAL mode on SQLite
- Event tracking doesn't work in App Extension HOT 1
- How to dynamically enable/disable the sdk? HOT 1
- Release v5.0.2
- 26575 (576×533)
- Support Privacy Manifest in Mixpanel objective C Library HOT 1
- v5.0.5 not have PrivacyInfo.xcprivacy HOT 4
- Remove automatic Integration event (has also been removed at the android library)
- Add
- Undocumented breaking change regarding "automaticPushTracking" HOT 1
- Crash on [MPVariantAction executeSelector:withArgs:onObjects:]. HOT 1
- Cannot build using Carthage on Xcode 14 beta 5 - schema confusion HOT 2
- MixPanel for watchOS HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mixpanel-iphone.