为什么MSDK开发的时候,御2和M300的遥控器运行APP在飞行的UI界面会频繁的出现崩溃的情况,而且没有错误日志。...

Completed

Comments

10 comments

  • 闫善书
    #00 pc 000000000006bbc4 /system/lib64/libc.so (tgkill+8) [arm64-v8a::5212c31be0ca44ebc0b1b69ebd10f88f]
    2
    #01 pc 0000000000068fe4 /system/lib64/libc.so (pthread_kill+64) [arm64-v8a::5212c31be0ca44ebc0b1b69ebd10f88f]
    3
    #02 pc 0000000000023fd8 /system/lib64/libc.so (raise+24) [arm64-v8a::5212c31be0ca44ebc0b1b69ebd10f88f]
    4
    #03 pc 000000000001c890 /system/lib64/libc.so (abort+52) [arm64-v8a::5212c31be0ca44ebc0b1b69ebd10f88f]
    5
    #04 pc 0000000000010e8c /system/lib64/libcutils.so (__android_log_assert+224) [arm64-v8a::1345b1e803cb1ace0eb1202dda0197ad]
    6
    #05 pc 0000000000032b28 /system/lib64/libhwui.so [arm64-v8a::9b6cc64461e2194783609613cfa6bc26]
    7
    #06 pc 0000000000035260 /system/lib64/libhwui.so [arm64-v8a::9b6cc64461e2194783609613cfa6bc26]
    8
    #07 pc 000000000003ab30 /system/lib64/libhwui.so (android::uirenderer::renderthread::RenderThread::threadLoop()+152) [arm64-v8a::9b6cc64461e2194783609613cfa6bc26]
    9
    #08 pc 000000000001245c /system/lib64/libutils.so (android::Thread::_threadLoop(void*)+272) [arm64-v8a::cfd6d5bf9696c3bf18763687db9d3a13]
    10
    #09 pc 000000000009f440 /system/lib64/libandroid_runtime.so (android::AndroidRuntime::javaThreadShell(void*)+116) [arm64-v8a::19daa9e3e090ef3de68626dd60e80efe]
    11
    #10 pc 00000000000687cc /system/lib64/libc.so (__pthread_start(void*)+208) [arm64-v8a::5212c31be0ca44ebc0b1b69ebd10f88f]
    12
    #11 pc 000000000001dafc /system/lib64/libc.so (__start_thread+16) [arm64-v8a::5212c31be0ca44ebc0b1b69ebd10f88f]
    13
    java:
    14
    [Failed to get Java stack]
    0
    Comment actions Permalink
  • DJI Developer Support
    能不能这样,你打开遥控器一直用线连着Android Stuido,然后坐等复现,浮现后把全部日志导给我。
    0
    Comment actions Permalink
  • 闫善书

    不行,我之前还提过一个问题,就是这个御2 的遥控器没有办法连接电脑,我都是直接用U潘拷贝安装的,所有的日志都是bugly打印的

    0
    Comment actions Permalink
  • DJI Developer Support
    为什么御2的带屏遥控器不能连接电脑呢?我们都是直接Type-C连接调试的。实在不行你用Android Studio的WIFIADB插件,让遥控器和电脑连在同一WIFI下可以远程打印。
    0
    Comment actions Permalink
  • 闫善书
    No subscribers registered for event class org.greenrobot.eventbus.NoSubscriberEvent
    103-22 16:35:02.528 19235 19235 E libEGL : call to OpenGL ES API with no current context (logged once per thread)
    203-22 16:35:02.557 19235 19235 W art : Before Android 4.1, method void com.hfuav.firefighting.view.VerticalSeekBar.onStartTrackingTouch() would have incorrectly overridden the package-private method in android.widget.SeekBar
    303-22 16:35:02.557 19235 19235 W art : Before Android 4.1, method void com.hfuav.firefighting.view.VerticalSeekBar.onStopTrackingTouch() would have incorrectly overridden the package-private method in android.widget.SeekBar
    403-22 16:35:02.603 19235 19235 E mwj : null
    503-22 16:35:02.625 19235 19329 D EventBus: No subscribers registered for event class dji.common.flightcontroller.FlightControllerState
    603-22 16:35:02.625 19235 19329 D EventBus: No subscribers registered for event class org.greenrobot.eventbus.NoSubscriberEvent
    703-22 16:35:02.706 19235 19274 D mali_winsys: EGLint new_window_surface(egl_winsys_display*, void*, EGLSurface, EGLConfig, egl_winsys_surface**, egl_color_buffer_format*, EGLBoolean) returns 0x3000
    803-22 16:35:02.728 19235 19329 D EventBus: No subscribers registered for event class dji.common.flightcontroller.FlightControllerState
    903-22 16:35:02.728 19235 19329 D EventBus: No subscribers registered for event class org.greenrobot.eventbus.NoSubscriberEvent
    1003-22 16:35:02.734 19235 19274 D GRALLOC-ROCKCHIP: enter, w : 1080, h : 1920, format : 0x1, usage : 0xb00.
    1103-22 16:35:02.759 19235 19274 D GRALLOC-ROCKCHIP: enter, w : 1080, h : 1920, format : 0x1, usage : 0xb00.
    1203-22 16:35:02.918 19235 19329 D EventBus: No subscribers registered for event class dji.common.flightcontroller.FlightControllerState
    1303-22 16:35:02.918 19235 19329 D EventBus: No subscribers registered for event class org.greenrobot.eventbus.NoSubscriberEvent
    1403-22 16:35:03.010 19235 19329 D EventBus: No subscribers registered for event class dji.common.flightcontroller.FlightControllerState
    1503-22 16:35:03.010 19235 19329 D EventBus: No subscribers registered for event class org.greenrobot.eventbus.NoSubscriberEvent
    1603-22 16:35:03.111 19235 19329 D EventBus: No subscribers registered for event class dji.common.flightcontroller.FlightControllerState
    1703-22 16:35:03.111 19235 19329 D EventBus: No subscribers registered for event class org.greenrobot.eventbus.NoSubscriberEvent
    1803-22 16:35:03.231 19235 19329 D EventBus: No subscribers registered for event class dji.common.flightcontroller.FlightControllerState
    1903-22 16:35:03.231 19235 19329 D EventBus: No subscribers registered for event class org.greenrobot.eventbus.NoSubscriberEvent
    2003-22 16:35:03.373 19235 19329 D EventBus: No subscribers registered for event class dji.common.flightcontroller.FlightControllerState
    2103-22 16:35:03.373 19235 19329 D EventBus: No subscribers registered for event class org.greenrobot.eventbus.NoSubscriberEvent
    2203-22 16:35:03.505 19235 19329 D EventBus: No subscribers registered for event class dji.common.flightcontroller.FlightControllerState
    2303-22 16:35:03.505 19235 19329 D EventBus: No subscribers registered for event class org.greenrobot.eventbus.NoSubscriberEvent
    2403-22 16:35:03.634 19235 19329 D EventBus: No subscribers registered for event class dji.common.flightcontroller.FlightControllerState
    2503-22 16:35:03.634 19235 19329 D EventBus: No subscribers registered for event class org.greenrobot.eventbus.NoSubscriberEvent
    2603-22 16:35:03.806 19235 19329 D EventBus: No subscribers registered for event class dji.common.flightcontroller.FlightControllerState
    2703-22 16:35:03.806 19235 19329 D EventBus: No subscribers registered for event class org.greenrobot.eventbus.NoSubscriberEvent
    2803-22 16:35:03.909 19235 19329 D EventBus: No subscribers registered for event class dji.common.flightcontroller.FlightControllerState
    2903-22 16:35:03.909 19235 19329 D EventBus: No subscribers registered for event class org.greenrobot.eventbus.NoSubscriberEvent
    3003-22 16:35:04.010 19235 19329 D EventBus: No subscribers registered for event class dji.common.flightcontroller.FlightControllerState
    3103-22 16:35:04.010 19235 19329 D EventBus: No subscribers registered for event class org.greenrobot.eventbus.NoSubscriberEvent
    3203-22 16:35:04.142 19235 19329 D EventBus: No subscribers registered for event class dji.common.flightcontroller.FlightControllerState
    3303-22 16:35:04.142 19235 19329 D EventBus: No subscribers registered for event class org.greenrobot.eventbus.NoSubscriberEvent
    3403-22 16:35:04.244 19235 19329 D EventBus: No subscribers registered for event class dji.common.flightcontroller.FlightControllerState
    3503-22 16:35:04.244 19235 19329 D EventBus: No subscribers registered for event class org.greenrobot.eventbus.NoSubscriberEvent
    3603-22 16:35:04.380 19235 19329 D EventBus: No subscribers registered for event class dji.common.flightcontroller.FlightControllerState
    3703-22 16:35:04.380 19235 19329 D EventBus: No subscribers registered for event class org.greenrobot.eventbus.NoSubscriberEvent
    3803-22 16:35:04.537 19235 19329 D EventBus: No subscribers registered for event class dji.common.flightcontroller.FlightControllerState
    3903-22 16:35:04.537 19235 19329 D EventBus: No subscribers registered for event class org.greenrobot.eventbus.NoSubscriberEvent
    4003-22 16:35:04.691 19235 19329 D EventBus: No subscribers registered for event class dji.common.flightcontroller.FlightControllerState
    4103-22 16:35:04.691 19235 19329 D EventBus: No subscribers registered for event class org.greenrobot.eventbus.NoSubscriberEvent
    4203-22 16:35:04.806 19235 19329 D EventBus: No subscribers registered for event class dji.common.flightcontroller.FlightControllerState
    4303-22 16:35:04.806 19235 19329 D EventBus: No subscribers registered for event class org.greenrobot.eventbus.NoSubscriberEvent
    4403-22 16:35:04.871 19235 19245 I art : Background sticky concurrent mark sweep GC freed 66311(4MB) AllocSpace objects, 8(360KB) LOS objects, 3% free, 68MB/70MB, paused 5.308ms total 70.041ms
    4503-22 16:35:04.982 19235 19329 D EventBus: No subscribers registered for event class dji.common.flightcontroller.FlightControllerState
    4603-22 16:35:04.982 19235 19329 D EventBus: No subscribers registered for event class org.greenrobot.eventbus.NoSubscriberEvent
    4703-22 16:35:05.088 19235 19329 D EventBus: No subscribers registered for event class dji.common.flightcontroller.FlightControllerState
    4803-22 16:35:05.088 19235 19329 D EventBus: No subscribers registered for event class org.greenrobot.eventbus.NoSubscriberEvent
    4903-22 16:35:05.201 19235 19329 D EventBus: No subscribers registered for event class dji.common.flightcontroller.FlightControllerState
    5003-22 16:35:05.201 19235 19329 D EventBus: No subscribers registered for event class org.greenrobot.eventbus.NoSubscriberEvent
    5103-22 16:35:05.208 19235 19245 I art : Background partial concurrent mark sweep GC freed 33177(2MB) AllocSpace objects, 0(0B) LOS objects, 18% free, 70MB/86MB, paused 4.166ms total 119.982ms
    5203-22 16:35:05.404 19235 19329 D EventBus: No subscribers registered for event class dji.common.flightcontroller.FlightControllerState
    5303-22 16:35:05.404 19235 19329 D EventBus: No subscribers registered for event class org.greenrobot.eventbus.NoSubscriberEvent
    5403-22 16:35:05.504 19235 19329 D EventBus: No subscribers registered for event class dji.common.flightcontroller.FlightControllerState
    5503-22 16:35:05.504 19235 19329 D EventBus: No subscribers registered for event class org.greenrobot.eventbus.NoSubscriberEvent
    5603-22 16:35:05.617 19235 19329 D EventBus: No subscribers registered for event class dji.common.flightcontroller.FlightControllerState
    5703-22 16:35:05.617 19235 19329 D EventBus: No subscribers registered for event class org.greenrobot.eventbus.NoSubscriberEvent
    5803-22 16:35:05.738 19235 19521 E MainActivity: onOpen at time:Tue Mar 22 16:35:05 GMT+08:00 2022服务器状态:Switching Protocols
    5903-22 16:35:05.774 19235 19235 E WP_JNI : JNI_OnLoad
    6003-22 16:35:05.836 19235 19235 E mwj : 初始化
    6103-22 16:35:05.841 19235 19235 I Choreographer: Skipped 31 frames! The application may be doing too much work on its main thread.
    6203-22 16:35:05.915 19235 19517 D mali_winsys: EGLint new_window_surface(egl_winsys_display*, void*, EGLSurface, EGLConfig, egl_winsys_surface**, egl_color_buffer_format*, EGLBoolean) returns 0x3000
    6303-22 16:35:05.920 19235 19274 D mali_winsys: EGLint new_window_surface(egl_winsys_display*, void*, EGLSurface, EGLConfig, egl_winsys_surface**, egl_color_buffer_format*, EGLBoolean) returns 0x3000
    6403-22 16:35:05.987 19235 19517 D GRALLOC-ROCKCHIP: enter, w : 300, h : 450, format : 0x1, usage : 0xb00.
    6503-22 16:35:05.992 19235 19517 D GRALLOC-ROCKCHIP: enter, w : 300, h : 450, format : 0x1, usage : 0xb00.
    6603-22 16:35:05.992 19235 19235 D BufferQueueCore: mEnableSurfaceViewTrace=0
    6703-22 16:35:06.011 19235 19235 E BufferQueueProducer: [SurfaceTexture-0-19235-0] connect: already connected (cur=1 req=1)
    6803-22 16:35:06.012 19235 19235 D mali_winsys: EGLint new_window_surface(egl_winsys_display*, void*, EGLSurface, EGLConfig, egl_winsys_surface**, egl_color_buffer_format*, EGLBoolean) returns 0x3000
    6903-22 16:35:06.029 19235 19235 E mali_so : encounter the first gles_error : 0x0001; gles_state_error_info : <param> is not an accepted value (gles_texture_tex_parameteri at hardware/arm/maliT760/driver/product/gles/src/texture/mali_gles_texture_api.c:1777)
    7003-22 16:35:06.030 19235 19235 E Affinity: try to load DjiAffinity
    7103-22 16:35:06.032 19235 19235 E Affinity: Current Thread: GLYUVSurfaceThread, tid = 717
    7203-22 16:35:06.055 19235 19529 D BufferQueueCore: mEnableSurfaceViewTrace=0
    7303-22 16:35:06.122 19235 19274 D GRALLOC-ROCKCHIP: enter, w : 1080, h : 1920, format : 0x1, usage : 0xb00.
    7403-22 16:35:06.149 19235 19274 D GRALLOC-ROCKCHIP: enter, w : 1080, h : 1920, format : 0x1, usage : 0xb00.
    7503-22 16:35:06.170 19235 19274 D mali_winsys: EGLint new_window_surface(egl_winsys_display*, void*, EGLSurface, EGLConfig, egl_winsys_surface**, egl_color_buffer_format*, EGLBoolean) returns 0x3000
    7603-22 16:35:06.212 19235 19235 E GlobalThreadPools: ActiveCount=1
    7703-22 16:35:06.212 19235 19235 E GlobalThreadPools: PoolSize=1
    7803-22 16:35:06.212 19235 19235 E GlobalThreadPools: Queue=0
    7903-22 16:35:06.228 19235 19235 D MainActivity: [Airport{id=1, airportName='北京/首都', addressNameCode='ZBAA', airportHeight=35, trackNumber='18L/36R', radius=0, a1='116.52833333333334,40.22833333333333', a2='116.61333333333333,40.236666666666665', a3='116.66666666666667,39.916666666666664', a4='116.58166666666666,39.90833333333333', b1='116.51166666666667,40.08', b2='116.67833333333333,40.098333333333336', b3='116.685,40.06166666666667', b4='116.51666666666667,40.04666666666667', c1='116.55833333333334,40.14833333333333', c2='116.61,40.153333333333336', c3='116.63666666666667,39.99666666666667', c4='116.585,39.99166666666667', centerLatitude=0, centerLongitude=0, createTime=1646183791000, remark='null'}, Airport{id=2, airportName='北京/首都', addressNameCode='ZBAA', airportHeight=35, trackNumber='18R/36L', radius=0, a1='116.50333333333333,40.24333333333333', a2='116.58833333333334,40.251666666666665', a3='116.63833333333334,39.935', a4='116.55333333333333,39.92666666666667', b1='116.48666666666666,40.093333333333334', b2='116.65333333333334,40.108333333333334', b3='116.655,40.08', b4='116.49333333333334,40.068333333333335', c1='116.53333333333333,40.15833333333333', c2='116.585,40.163333333333334', c3='116.60833333333333,40.01833333333333', c4='116.55666666666667,40.01', centerLatitude=0, centerLongitude=0, createTime=1646183791000, remark='null'}, Airport{id=3, airportName='北京/首都', addressNameCode='ZBAA', airportHeight=35, trackNumber='01/19', radius=0, a1='116.54833333333333,40.235', a2='116.63333333333334,40.24', a3='116.685,39.92', a4='116.59666666666666,39.91', b1='116.52833333333334,40.086666666666666', b2='116.69333333333333,40.10166666666667', b3='116.70166666666667,40.068333333333335', b4='116.53666666666666,40.05', c1='116.57833333333333,40.151666666666664', c2='116.63,40.156666666666666', c3='116.65166666666667,40.0', c4='116.6,39.995', centerLatitude=0, centerLongitude=0, createTime=1646183791000, remark='null'}, Airport{id=4, airportName='北京/大兴', addressNameCode='ZBAD', airportHeight=25, trackNumber='01L/19R', radius=0, a1='116.495,39.33', a2='116.41333333333333,39.321666666666665', a3='116.36333333333333,39.64333333333333', a4='116.445,39.651666666666664', b1='116.51166666666667,39.47833333333333', b2='116.34833333333333,39.465', b3='116.34666666666666,39.49166666666667', b4='116.50666666666666,39.50833333333333', c1='116.465,39.415', c2='116.41666666666667,39.41', c3='116.39,39.55833333333333', c4='116.44166666666666,39.56333333333333', centerLatitude=0, centerLongitude=0, createTime=1646183791000, remark='null'}, Airport{id=5, airportName='北京/大兴', addressNameCode='ZBAD', airportHeight=25, trackNumber='17L/35R', radius=0, a1='116.465,39.345', a2='116.38333333333334,39.335', a3='116.33,39.66', a4='116.41666666666667,39.665', b1='116.48166666666667,39.49333333333333', b2='116.32166666666667,39.475', b3='116.31333333333333,39.51166666666666', b4='116.47666666666667,39.526666666666664', c1='116.43833333333333,39.425', c2='116.38666666666667,39.42', c3='116.36,39.57666666666667', c4='116.41166666666666,39.58166666666666', centerLatitude=0, centerLongitude=0, createTime=1646183791000, remark='null'}, Airport{id=6, airportName='北京/大兴', addressNameCode='ZBAD', airportHeight=25, trackNumber='17R/35L', radius=0, a1='116.45666666666666,39.34166666666667', a2='116.375,39.333333333333336', a3='116.32166666666667,39.656666666666666', a4='116.40833333333333,39.666666666666664', b1='116.47333333333333,39.49', b2='116.31,39.47666666666667', b3='116.305,39.50833333333333', b4='116.47,39.526666666666664', c1='116.42666666666666,39.42666666666667', c2='116.375,39.42', c3='116.35333333333334,39.57333333333333', c4='116.405,39.57833333333333', centerLatitude=0, centerLongitude=0, createTime=1646183791000, remark='null'}, Airport{id=7, airportName='北京/大兴', addressNameCode='ZBAD', airportHeight=25, trackNumber='11L/29R', radius=0, a1='116.66833333333334,39.50666666666667', a2='116.64833333333333,39.443333333333335', a3='116.32166666666667,39.656666666666666', a4='116.40833333333333,39.
    8003-22 16:35:06.281 19235 19531 D ACodec : ACodec:m_framerate is 30!
    8103-22 16:35:06.281 19235 19531 I MediaCodec: callingProcessName:com.hfuav.firefighting
    8203-22 16:35:06.284 19235 19534 I OMXClient: MuxOMX ctor
    8303-22 16:35:06.284 19235 19534 I ACodec : onAllocateComponent:7002 mSoftCodecPref:0 componentName:
    8403-22 16:35:06.286 19235 19534 I ACodec : onAllocateComponent:7033 mSoftCodecPref:0 componentName:OMX.rk.video_decoder.avc
    8503-22 16:35:06.292 19235 19531 D MediaCodec: configure:in!
    8603-22 16:35:06.292 19235 19533 I MediaCodec: msg kWhatConfigure in!
    8703-22 16:35:06.292 19235 19533 I MediaCodec: [OMX.rk.video_decoder.avc] setting surface generation to 19696641
    8803-22 16:35:06.292 19235 19533 I MediaCodec: msg kWhatConfigure out!
    8903-22 16:35:06.293 19235 19534 E ACodec : [OMX.rk.video_decoder.avc] storeMetaDataInBuffers failed w/ err -1010
    9003-22 16:35:06.297 19235 19534 W ACodec : [OMX.rk.video_decoder.avc] does not support color format 2130708361
    9103-22 16:35:06.302 19235 19531 D MediaCodec: configure:out!
    9203-22 16:35:06.303 19235 19533 I MediaCodec: MediaCodec will operate in async mode
    9303-22 16:35:06.308 19235 19534 E ACodec : setupNativeWindowSizeFormatAndUsage 1080 colorSpace = 0,eDyncRange = 0
    9403-22 16:35:06.308 19235 19534 D SurfaceUtils: set up nativeWindow 0x70e2b88a10 for 1280x720, color 0x15, rotation 0, usage 0x2900
    9503-22 16:35:06.312 19235 19534 D GRALLOC-ROCKCHIP: enter, w : 1280, h : 720, format : 0x15, usage : 0x2900.
    9603-22 16:35:06.318 19235 19534 D GRALLOC-ROCKCHIP: enter, w : 1280, h : 720, format : 0x15, usage : 0x2900.
    9703-22 16:35:06.323 19235 19534 D GRALLOC-ROCKCHIP: enter, w : 1280, h : 720, format : 0x15, usage : 0x2900.
    9803-22 16:35:06.328 19235 19534 D GRALLOC-ROCKCHIP: enter, w : 1280, h : 720, format : 0x15, usage : 0x2900.
    9903-22 16:35:06.333 19235 19534 D GRALLOC-ROCKCHIP: enter, w : 1280, h : 720, format : 0x15, usage : 0x2900.
    10003-22 16:35:06.338 19235 19534 D GRALLOC-ROCKCHIP: enter, w : 1280, h : 720, format : 0x15, usage : 0x2900.
    10103-22 16:35:06.343 19235 19534 D GRALLOC-ROCKCHIP: enter, w : 1280, h : 720, format : 0x15, usage : 0x2900.
    10203-22 16:35:06.347 19235 19534 D GRALLOC-ROCKCHIP: enter, w : 1280, h : 720, format : 0x15, usage : 0x2900.
    10303-22 16:35:06.354 19235 19534 D GRALLOC-ROCKCHIP: enter, w : 1280, h : 720, format : 0x15, usage : 0x2900.
    10403-22 16:35:06.358 19235 19534 D GRALLOC-ROCKCHIP: enter, w : 1280, h : 720, format : 0x15, usage : 0x2900.
    10503-22 16:35:06.363 19235 19534 D GRALLOC-ROCKCHIP: enter, w : 1280, h : 720, format : 0x15, usage : 0x2900.
    10603-22 16:35:06.368 19235 19534 D GRALLOC-ROCKCHIP: enter, w : 1280, h : 720, format : 0x15, usage : 0x2900.
    10703-22 16:35:06.374 19235 19534 D GRALLOC-ROCKCHIP: enter, w : 1280, h : 720, format : 0x15, usage : 0x2900.
    10803-22 16:35:06.380 19235 19534 D GRALLOC-ROCKCHIP: enter, w : 1280, h : 720, format : 0x15, usage : 0x2900.
    10903-22 16:35:06.385 19235 19534 D GRALLOC-ROCKCHIP: enter, w : 1280, h : 720, format : 0x15, usage : 0x2900.
    11003-22 16:35:06.391 19235 19534 D GRALLOC-ROCKCHIP: enter, w : 1280, h : 720, format : 0x15, usage : 0x2900.
    11103-22 16:35:06.398 19235 19534 D GRALLOC-ROCKCHIP: enter, w : 1280, h : 720, format : 0x15, usage : 0x2900.
    11203-22 16:35:06.414 19235 19534 D GRALLOC-ROCKCHIP: enter, w : 1280, h : 720, format : 0x15, usage : 0x2900.
    11303-22 16:35:06.420 19235 19534 D GRALLOC-ROCKCHIP: enter, w : 1280, h : 720, format : 0x15, usage : 0x2900.
    11403-22 16:35:06.425 19235 19534 D GRALLOC-ROCKCHIP: enter, w : 1280, h : 720, format : 0x15, usage : 0x2900.
    11503-22 16:35:06.429 19235 19534 D GRALLOC-ROCKCHIP: enter, w : 1280, h : 720, format : 0x15, usage : 0x2900.
    11603-22 16:35:06.433 19235 19534 D GRALLOC-ROCKCHIP: enter, w : 1280, h : 720, format : 0x15, usage : 0x2900.
    11703-22 16:35:06.438 19235 19534 D GRALLOC-ROCKCHIP: enter, w : 1280, h : 720, format : 0x15, usage : 0x2900.
    11803-22 16:35:06.443 19235 19534 D GRALLOC-ROCKCHIP: enter, w : 1280, h : 720, format : 0x15, usage : 0x2900.
    11903-22 16:35:06.449 19235 19534 D GRALLOC-ROCKCHIP: enter, w : 1280, h : 720, format : 0x15, usage : 0x2900.
    12003-22 16:35:06.479 19235 19533 D MediaCodec: msg kWhatGetOutputFormat in !
    12103-22 16:35:06.479 19235 19533 D MediaCodec: msg kWhatGetInputFormat/kWhatGetOutputFormat out !
    12203-22 16:35:06.479 19235 19531 D MediaCodec: getInputFormat:in!
    12303-22 16:35:06.479 19235 19533 D MediaCodec: msg kWhatGetInputFormat in !
    12403-22 16:35:06.479 19235 19533 D MediaCodec: msg kWhatGetInputFormat/kWhatGetOutputFormat out !
    12503-22 16:35:06.479 19235 19531 D MediaCodec: getInputFormat:out!
    12603-22 16:35:06.504 19235 19529 D GRALLOC-ROCKCHIP: enter, w : 1920, h : 1080, format : 0x1, usage : 0x300.
    12703-22 16:35:06.591 19235 19529 D GRALLOC-ROCKCHIP: enter, w : 1920, h : 1080, format : 0x1, usage : 0x300.
    12803-22 16:35:06.611 19235 19245 I art : Background sticky concurrent mark sweep GC freed 197603(8MB) AllocSpace objects, 20(1616KB) LOS objects, 11% free, 76MB/86MB, paused 4.251ms total 131.839ms
    12903-22 16:35:06.820 19235 19235 D com.hfuav.firefighting.activity.MainActivity: 创建飞行记录:361
    13003-22 16:35:06.827 19235 19235 E mwj : {"flightData":{"battery":"[{\"leftPercent\":1,\"voltage\":14408}]","controlSignal":"100%","createTime":0,"distance":"0.0","height":"0.0","levelSpeed":"0.0m/s","pitch":"3.2","recordId":361,"remoteElectric":"31%","roll":"-0.2","satellite":"0","verticalSpeed":"0.0m/s","videoSignal":"100%","yaw":"102.0"},"code":"1000"}
    13103-22 16:35:06.828 19235 19235 D AmapLocationUtils: 121.310393Latitude():31.27017
    13203-22 16:35:06.830 19235 19235 E koy$fdd : send to server success: Response{protocol=h2, code=200, message=, url=https://statistical-report.djiservice.org/api/report/web}
    13303-22 16:35:06.837 19235 19235 I Choreographer: Skipped 54 frames! The application may be doing too much work on its main thread.
    13403-22 16:35:06.870 19235 19274 E mali_so : encounter the first mali_error : 0x0002 : failed to allocate CPU memory (gles_fb_first_drawcall_cb at hardware/arm/maliT760/driver/product/gles/src/fb/mali_gles_fb_module_api.c:1282)
    13503-22 16:35:06.875 19235 19274 E OpenGLRenderer: GL error: Out of memory!
    13603-22 16:35:06.875 19235 19274 F OpenGLRenderer: GL errors! frameworks/base/libs/hwui/renderthread/CanvasContext.cpp:550

    这个bugly的日志是否可以,这个已经是实际打印的日志了

    0
    Comment actions Permalink
  • DJI Developer Support
    没有看到fatal, crash之类的字样,还是无法确认到底是哪个函数还是崩溃,不过在最后我看到了这个,你开始掉帧了,而且GL开始内存溢出。你在主线程做了太多的事情,需要优化你的app。OpenGLRenderer是做画面渲染的,内存溢出会导致闪退。 13303-22 16:35:06.837 19235 19235 I Choreographer: Skipped 54 frames! The application may be doing too much work on its main thread. 13403-22 16:35:06.870 19235 19274 E mali_so : encounter the first mali_error : 0x0002 : failed to allocate CPU memory (gles_fb_first_drawcall_cb at hardware/arm/maliT760/driver/product/gles/src/fb/mali_gles_fb_module_api.c:1282) 13503-22 16:35:06.875 19235 19274 E OpenGLRenderer: GL error: Out of memory! 13603-22 16:35:06.875 19235 19274 F OpenGLRenderer: GL errors! frameworks/base/libs/hwui/renderthread/CanvasContext.cpp:550
    0
    Comment actions Permalink
  • 闫善书

    是的,我也看到了,我也正在做这块的优化。你们自己的demo运行了吗,demo注册成功之后,运行完整UI界面多次测试也会崩溃

    0
    Comment actions Permalink
  • DJI Developer Support
    暂时还没测试,不过你也说了30分钟左右会崩溃个一二次,确实有这个问题。我们自己的testapp也经常崩溃,你换个好点的设备,硬件条件够强大可能就扛过去了,所以你会发现只有在带屏遥控器上特别容易崩溃。
    0
    Comment actions Permalink
  • 闫善书

    这点您说的对,硬件好的设备确实可以扛过去,也确实是只在带屏遥控器上面出现的崩溃,不过主要是现在使用带屏设备的人太多,如果不处理的话影响也不太好。

    0
    Comment actions Permalink

Please sign in to leave a comment.