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

Multiple ANR crashes #746

Closed
HBiSoft opened this issue Apr 24, 2019 · 2 comments
Closed

Multiple ANR crashes #746

HBiSoft opened this issue Apr 24, 2019 · 2 comments

Comments

@HBiSoft
Copy link

HBiSoft commented Apr 24, 2019

Description:

Here is a list of ANR's I get:

  • Broadcast of Intent { act=android.net.conn.CONNECTIVITY_CHANGE flg=0x4000010 cmp=com.package.name/io.presage.receiver.NetworkChangeReceiver (has extras) }
  • Broadcast of Intent { act=android.intent.action.SCREEN_OFF flg=0x50200010 }

I have seen similar questions, #239 - #237 In #237 you mentioned that this issue was fixed (#237 (comment))

But I'm still getting it, alot.

Environment

com.onesignal:OneSignal:3.10.1

Steps to Reproduce Issue:

I'm not sure as it happens to users. I wasn't able to reproduce it.

@rgomezp
Copy link
Contributor

rgomezp commented Apr 25, 2019

Hello,
Please include the entire stack trace so we can better assist you

@rgomezp rgomezp closed this as completed Apr 25, 2019
@charan15923
Copy link

Broadcast of Intent { act=android.intent.action.SCREEN_OFF flg=0x50000010 launchParam=MultiScreenLaunchParams { mDisplayId=0 mFlags=0 } (has extras) }

This is the stack trace for the ANR:

"Signal Catcher" daemon prio=5 tid=3 Runnable
| group="system" sCount=0 dsCount=0 obj=0x32c0a160 self=0x7622479a00
| sysTid=14020 nice=0 cgrp=default sched=0/0 handle=0x762f309450
| state=R schedstat=( 0 0 0 ) utm=5 stm=5 core=2 HZ=100
| stack=0x762f20f000-0x762f211000 stackSize=1005KB
| held mutexes= "mutator lock"(shared held)
#00 pc 0000000000478330 /system/lib64/libart.so (_ZN3art15DumpNativeStackERNSt3__113basic_ostreamIcNS0_11char_traitsIcEEEEiP12BacktraceMapPKcPNS_9ArtMethodEPv+220)
#1 pc 000000000047832c /system/lib64/libart.so (_ZN3art15DumpNativeStackERNSt3__113basic_ostreamIcNS0_11char_traitsIcEEEEiP12BacktraceMapPKcPNS_9ArtMethodEPv+216)
#2 pc 000000000044c8a0 /system/lib64/libart.so (_ZNK3art6Thread9DumpStackERNSt3__113basic_ostreamIcNS1_11char_traitsIcEEEEbP12BacktraceMap+472)
#3 pc 0000000000464298 /system/lib64/libart.so (_ZN3art14DumpCheckpoint3RunEPNS_6ThreadE+820)
#4 pc 000000000045c2a0 /system/lib64/libart.so (_ZN3art10ThreadList13RunCheckpointEPNS_7ClosureE+456)
#5 pc 000000000045beb0 /system/lib64/libart.so (_ZN3art10ThreadList4DumpERNSt3__113basic_ostreamIcNS1_11char_traitsIcEEEEb+288)
#6 pc 000000000045bd4c /system/lib64/libart.so (_ZN3art10ThreadList14DumpForSigQuitERNSt3__113basic_ostreamIcNS1_11char_traitsIcEEEE+804)
#7 pc 0000000000437d7c /system/lib64/libart.so (_ZN3art7Runtime14DumpForSigQuitERNSt3__113basic_ostreamIcNS1_11char_traitsIcEEEE+344)
#8 pc 000000000043e500 /system/lib64/libart.so (_ZN3art13SignalCatcher13HandleSigQuitEv+2240)
#9 pc 000000000043cfc0 /system/lib64/libart.so (_ZN3art13SignalCatcher3RunEPv+500)
#10 pc 0000000000068258 /system/lib64/libc.so (_ZL15__pthread_startPv+196)
#11 pc 000000000001dc00 /system/lib64/libc.so (__start_thread+16)

"main" prio=5 tid=1 Blocked
| group="main" sCount=1 dsCount=0 obj=0x764a3eb8 self=0x762fcc7a00
| sysTid=14014 nice=-4 cgrp=default sched=0/0 handle=0x763469ea98
| state=S schedstat=( 0 0 0 ) utm=9723 stm=3349 core=0 HZ=100
| stack=0x7fe7005000-0x7fe7007000 stackSize=8MB
| held mutexes=
at com.onesignal.LocationGMS.onFocusChange (LocationGMS.java:293)

  • waiting to lock <0x0c6ebeb1> (a com.onesignal.v$a) held by thread 61
    at com.onesignal.OneSignal.onAppFocus (OneSignal.java:1226)
    at com.onesignal.ActivityLifecycleHandler.handleFocus (ActivityLifecycleHandler.java:206)
    at com.onesignal.ActivityLifecycleHandler.onActivityResumed (ActivityLifecycleHandler.java:120)
    at com.onesignal.ActivityLifecycleListener.onActivityResumed (ActivityLifecycleListener.java:78)
    at android.app.Application.dispatchActivityResumed (Application.java:240)
    at android.app.Activity.onResume (Activity.java:1331)
    at androidx.fragment.app.FragmentActivity.onResume (FragmentActivity.java:514)
    at com.calldorado.android.ui.BaseActivity.onResume (BaseActivity.java:207)
    at com.calldorado.android.ui.CallerIdActivity.onResume (CallerIdActivity.java:3401)
    at android.app.Instrumentation.callActivityOnResume (Instrumentation.java:1277)
    at android.app.Activity.performResume (Activity.java:7088)
    at android.app.ActivityThread.performResumeActivity (ActivityThread.java:3768)
    at android.app.ActivityThread.handleResumeActivity (ActivityThread.java:3832)
    at android.app.ActivityThread.handleLaunchActivity (ActivityThread.java:2994)
    at android.app.ActivityThread.-wrap14 (ActivityThread.java)
    at android.app.ActivityThread$H.handleMessage (ActivityThread.java:1631)
    at android.os.Handler.dispatchMessage (Handler.java:102)
    at android.os.Looper.loop (Looper.java:154)
    at android.app.ActivityThread.main (ActivityThread.java:6682)
    at java.lang.reflect.Method.invoke! (Native method)
    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run (ZygoteInit.java:1534)
    at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1424)

"Jit thread pool worker thread 0" prio=5 tid=2 Native (still starting up)
| group="" sCount=1 dsCount=0 obj=0x0 self=0x762461a000
| sysTid=14019 nice=9 cgrp=default sched=0/0 handle=0x762f40a450
| state=S schedstat=( 0 0 0 ) utm=91 stm=14 core=6 HZ=100
| stack=0x762f30c000-0x762f30e000 stackSize=1021KB
| held mutexes=
#00 pc 000000000001bf6c /system/lib64/libc.so (syscall+28)
#1 pc 00000000000e725c /system/lib64/libart.so (_ZN3art17ConditionVariable16WaitHoldingLocksEPNS_6ThreadE+160)
#2 pc 000000000046600c /system/lib64/libart.so (_ZN3art10ThreadPool7GetTaskEPNS_6ThreadE+252)
#3 pc 00000000004654c8 /system/lib64/libart.so (_ZN3art16ThreadPoolWorker3RunEv+124)
#4 pc 0000000000464df8 /system/lib64/libart.so (_ZN3art16ThreadPoolWorker8CallbackEPv+116)
#5 pc 0000000000068258 /system/lib64/libc.so (_ZL15__pthread_startPv+196)
#6 pc 000000000001dc00 /system/lib64/libc.so (__start_thread+16)

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

No branches or pull requests

3 participants