Android P 极光推送 报ANR

jpush
标签: #<Tag:0x00007fca618982e8>

(Jocerly) #1

Broadcast of Intent { act=cn.jpush.android.intent.REGISTRATION cat=[com.dealmoon.android] flg=0x10 pkg=com.dealmoon.android cmp=com.dealmoon.android/com.north.expressnews.push.jpush.MyReceiver (has extras) }
“main” tid=1 Native
“main” prio=5 tid=1 Native
| group=“main” sCount=1 dsCount=0 flags=1 obj=0x755cca78 self=0x784d614c00
| sysTid=26516 nice=0 cgrp=default sched=0/0 handle=0x78d31c7548
| state=S schedstat=( 191653601 84330621 563 ) utm=10 stm=7 core=1 HZ=100
| stack=0x7ff5beb000-0x7ff5bed000 stackSize=8MB
| held mutexes=
#00 pc 000000000006f74c /system/lib64/libc.so (__ioctl+4)
#01 pc 0000000000029168 /system/lib64/libc.so (ioctl+136)
#02 pc 000000000005a844 /system/lib64/libbinder.so (android::IPCThreadState::talkWithDriver(bool)+260)
#03 pc 000000000005b5ec /system/lib64/libbinder.so (android::IPCThreadState::waitForResponse(android::Parcel*, int*)+60)
#04 pc 000000000005b438 /system/lib64/libbinder.so (android::IPCThreadState::transact(int, unsigned int, android::Parcel const&, android::Parcel*, unsigned int)+176)
#05 pc 00000000000513e8 /system/lib64/libbinder.so (android::BpBinder::transact(unsigned int, android::Parcel const&, android::Parcel*, unsigned int)+72)
#06 pc 00000000001308b0 /system/lib64/libandroid_runtime.so (android_os_BinderProxy_transact(_JNIEnv*, _jobject*, int, _jobject*, _jobject*, int)+152)
at android.os.BinderProxy.transactNative (Native method)
at android.os.BinderProxy.transact (Binder.java:1127)
at android.app.IActivityManager$Stub$Proxy.getProviderMimeType (IActivityManager.java:6065)
at android.content.ContentResolver.getType (ContentResolver.java:629)
at cn.jiguang.g.b.d.a (unavailable)
at cn.jiguang.d.a.a.q (unavailable)
at cn.jiguang.d.a.a.a (unavailable)
at cn.jiguang.d.a.a.p (unavailable)
at cn.jiguang.b.e.e (unavailable)
at cn.jiguang.d.d.aa.a (unavailable)
at cn.jiguang.d.i.e.b (unavailable)
at cn.jiguang.d.i.e.a (unavailable)
at cn.jpush.android.service.DaemonService.a (unavailable)
at cn.jpush.android.service.DaemonService.onBind (unavailable)
at android.app.ActivityThread.handleBindService (ActivityThread.java:3597)
at android.app.ActivityThread.access$1400 (ActivityThread.java:200)
at android.app.ActivityThread$H.handleMessage (ActivityThread.java:1677)
at android.os.Handler.dispatchMessage (Handler.java:106)
at android.os.Looper.loop (Looper.java:193)
at android.app.ActivityThread.main (ActivityThread.java:6718)
at java.lang.reflect.Method.invoke (Native method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:493)
at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:858)

以上是报异常抓到的日志。


#2

你使用的SDK版本多少?如果不是最新版本,更新后再尝试
https://docs.jiguang.cn/jpush/updates/#jpush-android-sdk-v318

在什么情况下出现,是否可以复现,提供一下 ANR 的/data/anr/trace.txt信息


(Jocerly) #3

上面的日志是crash抓包抓到的,还有就是 app退出推送服务没关闭,过一段时间就直接报推送服务crash。


#4

这种 情况的crash 日志有吗


(Jocerly) #6

sdk版本:27,jpush使用的是google_play版本,3.1.7+so为126的


#7

该问题经过分析,是系统内存紧张时被拉起了导致的。这个在之后的版本会有相应的优化,年后会发布一个新版本。