-
Notifications
You must be signed in to change notification settings - Fork 50
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
ANR - Reason: executing service com.onesignal.SyncJobService #284
Comments
@Dipannita20 Thanks for the logcat, I found the following entries which shows some detail about he ANR detected.
We haven't been able to reproduce the issue yet. Could you also share the log from |
@jkasten2 sorry I don't have that day anr log, it has been overwritten by latest, but it is same issue, I get ANR only on com.onesignal.SyncJobService |
@Dipannita20 Thanks for getting us the log, I wasn't able to find what the root cause of the issue is from it. It seems to be missing a number of details, is this the full log? Normally it is closer to 10,000 lines long. I was expected a number of entries like this with more Java related details: AsyncTask #2" prio=5 tid=18 Runnable
| group="main" sCount=0 dsCount=0 obj=0x12c333a0 self=0x94c87100
| sysTid=25287 nice=10 cgrp=default sched=0/0 handle=0x94b80920
| state=R schedstat=( 0 0 0 ) utm=757 stm=0 core=3 HZ=100
| stack=0x94a7e000-0x94a80000 stackSize=1038KB
| held mutexes= "mutator lock"(shared held)
at com.android.developer.anrsample.BubbleSort.sort(BubbleSort.java:8)
at com.android.developer.anrsample.MainActivity$LockTask.doInBackground(MainActivity.java:147)
- locked <0x083105ee> (a java.lang.Boolean)
at com.android.developer.anrsample.MainActivity$LockTask.doInBackground(MainActivity.java:135)
at android.os.AsyncTask$2.call(AsyncTask.java:305)
at java.util.concurrent.FutureTask.run(FutureTask.java:237)
at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:243)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607)
at java.lang.Thread.run(Thread.java:761) ANR example from: https://developer.android.com/topic/performance/vitals/anr#lock_contention If this was the full log, what version of Android and device model did you capture if from? Can you try getting the ANR from another device? |
@jkasten2 please find adb bugreport import |
@Dipannita20 Thanks, but the file seems to be exactly the same as the old one above. If you didn't change the file in anyway after you extracted it from the device can you try a different device to get a log like I noted above? |
Description:
I am seeing consistent ANR on tap of push when app is in closed state. In every 2nd/3rd push tap ANR is thrown
Environment
OneSginal Xamarin SDK to 4.0.0-beta 4 and Visual Studio to 2022
OneSginal Xamarin SDK to 3.10.6 and Visual Studio to 2019
Configuration details for OneSginal Xamarin SDK to 3.10.6 and Visual Studio to 2019
minSdkVersion 23
targetSdkVersion 30
Xamarin Forms: 5.0.0.2401
Found Java SDK version 1.8.0.
Found Java SDK version 1.8.0.
Dex Fast Deployment Enabled: False
MonoAndroid Tools: C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\Android
Android Platform API level: 30
TargetFrameworkVersion: v11.0
Android NDK: C:\Users\xxxxx\AppData\Local\Android\Sdk
dk-bundle
Android SDK: C:\Users\xxxxx\AppData\Local\Android\Sdk
Android SDK Build Tools: C:\Users\xxxxx\AppData\Local\Android\Sdk\build-tools\30.0.2
Testing Device: Pixel 3XL (Android 12)
Steps to Reproduce Issue:
Anything else:
(crash stacktraces, as well as any other information here)
OneSginal Xamarin SDK to 3.10.6 and Visual Studio to 2019
logcat_3.10.6_fail.txt
OneSginal Xamarin SDK to 4.0.0-beta 4 and Visual Studio to 2022 configuration details and stacktraces can be found here. #247
Please let me know if you need any more information.
The text was updated successfully, but these errors were encountered: