正在上传图片(0/1)

M300遥控器上安装app,出现系统重启

 0
手机看帖 3 1490
使用msdk开发的app安装在大疆M300遥控器上,在使用时总是出现系统重启的问题(在手机上安装使用不会出现问题),抓取的日志如下:
2020-11-09 14:54:11.087 30629-30653/? A/libc: Fatal signal 7 (SIGBUS), code 2, fault addr 0x73b58007f8 in tid 30653 (surfaceflinger)
2020-11-09 14:54:11.099 853-853/? A/DEBUG: *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
2020-11-09 14:54:11.100 853-853/? A/DEBUG: Build fingerprint: 'DJI/pm430/pm430:7.1.2/V02.00.01.24/2000124:user/release-keys'
2020-11-09 14:54:11.100 853-853/? A/DEBUG: Revision: '0'
2020-11-09 14:54:11.100 853-853/? A/DEBUG: ABI: 'arm64'
2020-11-09 14:54:11.100 853-853/? A/DEBUG: pid: 30629, tid: 30653, name: surfaceflinger  >>> /system/bin/surfaceflinger <<<
2020-11-09 14:54:11.100 853-853/? A/DEBUG: signal 7 (SIGBUS), code 2 (BUS_ADRERR), fault addr 0x73b58007f8
2020-11-09 14:54:11.100 853-853/? A/DEBUG:     x0   0000000000000000  x1   00000073c3a1a790  x2   0000000000000000  x3   00000000000003fc
2020-11-09 14:54:11.100 853-853/? A/DEBUG:     x4   0000000000000780  x5   0000000000000002  x6   0000000000000001  x7   00000073c472a0e8
2020-11-09 14:54:11.100 853-853/? A/DEBUG:     x8   00000073b5440000  x9   00000000001e03fc  x10  00000000003c07f8  x11  0000000000000000
2020-11-09 14:54:11.100 853-853/? A/DEBUG:     x12  0000000000000000  x13  ffffffffffffffff  x14  ff00000000000000  x15  ffffffffffffffff
2020-11-09 14:54:11.100 853-853/? A/DEBUG:     x16  00000073c7e36f28  x17  00000073c81ba4fc  x18  0000000000000000  x19  00000073c3dba020
2020-11-09 14:54:11.100 853-853/? A/DEBUG:     x20  0000000000000000  x21  00000073c361f000  x22  00000073c361f000  x23  00000073c361f000
2020-11-09 14:54:11.100 853-853/? A/DEBUG:     x24  00000073c361f110  x25  0000000000000168  x26  00000073c78e3800  x27  00000000000000ff
2020-11-09 14:54:11.100 853-853/? A/DEBUG:     x28  00000073c3aa8400  x29  00000073c472a310  x30  00000073c7292670
2020-11-09 14:54:11.100 853-853/? A/DEBUG:     sp   00000073c4729ed0  pc   00000073c72926c8  pstate 0000000080000000
2020-11-09 14:54:11.103 853-853/? A/DEBUG: backtrace:
2020-11-09 14:54:11.103 853-853/? A/DEBUG:     #00 pc 00000000000346c8  /system/lib64/hw/hwcomposer.rk30board.so (_ZN7android20DrmDisplayCompositor11CommitFrameEPNS_21DrmDisplayCompositionEb+2700)
2020-11-09 14:54:11.103 853-853/? A/DEBUG:     #01 pc 00000000000323b0  /system/lib64/hw/hwcomposer.rk30board.so (_ZN7android20DrmDisplayCompositor10ApplyFrameENSt3__110unique_ptrINS_21DrmDisplayCompositionENS1_14default_deleteIS3_EEEEi+40)
2020-11-09 14:54:11.103 853-853/? A/DEBUG:     #02 pc 0000000000032284  /system/lib64/hw/hwcomposer.rk30board.so (_ZN7android20DrmDisplayCompositor11FrameWorker7RoutineEv+296)
2020-11-09 14:54:11.103 853-853/? A/DEBUG:     #03 pc 000000000004f318  /system/lib64/hw/hwcomposer.rk30board.so (_ZN7android6Worker15InternalRoutineEPv+160)
2020-11-09 14:54:11.103 853-853/? A/DEBUG:     #04 pc 00000000000687cc  /system/lib64/libc.so (_ZL15__pthread_startPv+208)
2020-11-09 14:54:11.103 853-853/? A/DEBUG:     #05 pc 000000000001dafc  /system/lib64/libc.so (__start_thread+16)
2020-11-09 14:54:11.273 31048-31380/? E/DisplayEventDispatcher: Display event receiver pipe was closed or an error occurred.  events=0x9
2020-11-09 14:54:11.273 31048-31048/? E/DisplayEventDispatcher: Display event receiver pipe was closed or an error occurred.  events=0x9
2020-11-09 14:54:11.273 31048-31285/? E/OpenGLRenderer: Display event receiver pipe was closed or an error occurred.  events=0x9


查看app路径下的日志,发现有如下crash信息:
=====        Device Info        =====
manufactureJI
product:pm430
model:pm430
version:V02.00.01.24 release-keys
android version:7.1.2
build num:
build name:
sdk version:25
=====        App Info        =====
versionCode:1
versionName:1.0
=====        Crash        =====
java.lang.NullPointerException: Attempt to invoke virtual method 'long java.lang.Thread.getId()' on a null object reference
        at dji.publics.DJIObject.DJICrashHandler.fdd()
        at dji.publics.DJIObject.DJICrashHandler.nhf()
        at dji.publics.DJIObject.DJICrashHandler.uncaughtException()
        at com.amap.api.mapcore.util.hn.uncaughtException(SDKLogHandler.java:200)
        at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:1068)
        at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:1063)
        at dji.thirdparty.rx.internal.schedulers.ScheduledAction.run(ScheduledAction.java:66)
        at android.os.Handler.handleCallback(Handler.java:755)
        at android.os.Handler.dispatchMessage(Handler.java:95)
        at android.os.Looper.loop(Looper.java:167)
        at android.app.ActivityThread.main(ActivityThread.java:6240)
        at java.lang.reflect.Method.invoke(Native Method)
        at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:996)
        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:864)



请帮忙看下是什么原因导致的,谢谢
评论
上传
你需要登录之后才能回帖    登录 | 注册
一品甜梦   2020-11-9 3#
你这是系统重启还是软件重启?
kv886   2020-11-9 4#
官方的意思,M300的遥控未进行过适配,不建议在上面运行SDK程序,需要外接设备运行
楼主   2020-11-9 5#
一品甜梦11-9 11:45
你这是系统重启还是软件重启?
会导致遥控器系统重启
收藏 点赞 评论
分享至:
回复:
上传
取消 评论
快速回复 返回顶部 返回列表