有时插上TYPE-C线,会闪退报错: java.lang.RuntimeException: StateMachin...

Completed

Comments

3 comments

  • DJI Developer Support
    没有遇到过这样的问题,这只是报了个exception,能不能把完整的报错日志给我们呢,报在哪个函数里。
    0
    Comment actions Permalink
  • Bear

    ===== Device Info =====
    manufacture:vivo
    product:PD1824
    model:V1824A
    version:RP1A.200720.012 release-keys
    android version:11
    build num:
    build name:
    sdk version:30
    ===== App Info =====
    versionCode:1
    versionName:1.0
    ===== Crash =====
    java.lang.RuntimeException: StateMachine.handleMessage: The start method not called, received msg: { id=2 when=-3d3h58m24s43ms what=-1 obj=java.lang.Object@5553101 target=dji.tools.sm.StateMachine$SmHandler }
    at dji.tools.sm.StateMachine$SmHandler.handleMessage(Unknown Source:141)
    at android.os.Handler.dispatchMessage(Handler.java:106)
    at android.os.Looper.loop(Looper.java:257)
    at android.os.HandlerThread.run(HandlerThread.java:67)

    =======Thread info======Crash name:java.lang.RuntimeException: StateMachine.handleMessage: The start method not called, received msg: { id=2 when=-3d3h58m24s43ms what=-1 obj=java.lang.Object@5553101 target=dji.tools.sm.StateMachine$SmHandler }
    Cause is:null
    Thread name is:MediaManager 55603
    Thread count is:165
    Fd count is:252

    Name: m.efuav.efdjimp
    Umask: 0077
    State: S (sleeping)
    Tgid: 20607
    Ngid: 0
    Pid: 20607
    PPid: 742
    TracerPid: 0
    Uid: 10412 10412 10412 10412
    Gid: 10412 10412 10412 10412
    FDSize: 512
    Groups: 3001 3002 3003 9997 20412 50412 99909997
    VmPeak: 9070068 kB
    VmSize: 9070068 kB
    VmLck: 40 kB
    VmPin: 0 kB
    VmHWM: 303612 kB
    VmRSS: 293488 kB
    RssAnon: 141520 kB
    RssFile: 147800 kB
    RssShmem: 4168 kB
    VmData: 1644792 kB
    VmStk: 8192 kB
    VmExe: 28 kB
    VmLib: 166216 kB
    VmPTE: 2260 kB
    VmPMD: 48 kB
    VmSwap: 13908 kB
    Threads: 212
    SigQ: 1/28733
    SigPnd: 0000000000000000
    ShdPnd: 0000000000000000
    SigBlk: 0000000080001204
    SigIgn: 0000000000000001
    SigCgt: 0000006e400086f8
    CapInh: 0000000000000000
    CapPrm: 0000000000000000
    CapEff: 0000000000000000
    CapBnd: 0000000000000000
    CapAmb: 0000000000000000
    NoNewPrivs: 0
    Seccomp: 2
    Speculation_Store_Bypass: unknown
    Cpus_allowed: ff
    Cpus_allowed_list: 0-7
    Mems_allowed: 1
    Mems_allowed_list: 0
    voluntary_ctxt_switches: 2446
    nonvoluntary_ctxt_switches: 978

    ============Start dump thread info============
    total =165
    线程号:55169 = Signal Catcher
    线程号:55171 = HeapTaskDaemon
    线程号:55172 = Jit thread pool worker thread 0
    线程号:55173 = ReferenceQueueDaemon
    线程号:55174 = FinalizerDaemon
    线程号:55175 = FinalizerWatchdogDaemon
    线程号:55180 = Profile Saver
    线程号:55228 = process reaper
    线程号:2 = main
    线程号:55176 = Binder:20607_1
    线程号:55177 = Binder:20607_2
    线程号:55178 = Binder:20607_3
    线程号:55179 = vivo.PerfThread
    线程号:55182 = GoogleApiHandler
    线程号:55183 = LocationSettingsChangeThread
    线程号:55185 = queued-work-looper
    线程号:55187 = RenderThread
    线程号:55190 = RxCachedWorkerPoolEvictor-1
    线程号:55191 = RxComputationThreadPool-1
    线程号:55192 = RxComputationThreadPool-2
    线程号:55195 = amap-global-threadPool-1
    线程号:55198 = Thread-4
    线程号:55199 = Thread-5
    线程号:55200 = pool-5-thread-1
    线程号:55204 = HwBinder:20607_1
    线程号:55205 = GLThread 55205
    线程号:55207 = amap-global-threadPool-2
    线程号:55208 = ConnectivityThread
    线程号:55209 = amapLocManagerThread
    线程号:55212 = amap-global-threadPool-1
    线程号:55215 = WifiManagerThread
    线程号:55216 = dji_background_thread
    线程号:55217 = DataBaseProcessor
    线程号:55218 = RxComputationThreadPool-3
    线程号:55219 = RxComputationThreadPool-4
    线程号:55220 = RxComputationThreadPool-5
    线程号:55221 = AMapGlRenderThread
    线程号:55222 = AsyncTask #1
    线程号:55224 = RxComputationThreadPool-6
    线程号:55225 = RxComputationThreadPool-7
    线程号:55226 = RxComputationThreadPool-8
    线程号:55230 = OkHttp ConnectionPool
    线程号:55231 = Okio Watchdog
    线程号:55232 = hwuiTask0
    线程号:55233 = hwuiTask1
    线程号:55237 = AMapThreadUtil-1
    线程号:55238 = AMapThreadUtil-2
    线程号:55239 = AMapThreadUtil-3
    线程号:55241 = amapLocCoreThread
    线程号:55243 = Binder:20607_4
    线程号:55246 = AMapThreadUtil-4
    线程号:55247 = amap-global-threadPool-3
    线程号:55255 = LogHandlerThread
    线程号:55256 = SingleBackgroundLooper
    线程号:55257 = UrgentThreadPool#1
    线程号:55258 = dji_sdk_callback_thread
    线程号:55262 = midware_background_thread
    线程号:55263 = ThreadPoolUtil:handlerThread
    线程号:55264 = DJIVideoPackManager-data-parser
    线程号:55265 = hgf-data-parser
    线程号:55266 = CommonThreadPool#1
    线程号:55267 = CommonThreadPool#2
    线程号:55275 = parse_package
    线程号:55276 = file_download_thread
    线程号:55277 = parse_package
    线程号:55278 = file_download_thread
    线程号:55284 = nbb-data-parser
    线程号:55292 = Thread-22
    线程号:55293 = Thread-23
    线程号:55294 = Thread-24
    线程号:55295 = Thread-25
    线程号:55296 = Thread-26
    线程号:55297 = Thread-27
    线程号:55298 = RxSchedulerPurge-1
    线程号:55299 = RxCachedWorkerPoolEvictor-1
    线程号:55300 = RxComputationThreadPool-1
    线程号:55301 = RxComputationThreadPool-2
    线程号:55302 = RxComputationThreadPool-3
    线程号:55303 = RxComputationThreadPool-4
    线程号:55304 = RxComputationThreadPool-5
    线程号:55305 = RxComputationThreadPool-6
    线程号:55306 = RxComputationThreadPool-7
    线程号:55307 = RefQueueWorker@org.apache.http.impl.conn.tsccm.ConnPoolByRoute@823734
    线程号:55308 = Binder:20607_5
    线程号:55309 = CommonThreadPool#3
    线程号:55310 = FinalHttp #1
    线程号:55311 = thread_link_mode
    线程号:55314 = FinalHttp #2
    线程号:55315 = CommonThreadPool#4
    线程号:55319 = CommonThreadPool#5
    线程号:55322 = OkHttp Dispatcher
    线程号:55323 = OkHttp Dispatcher
    线程号:55324 = RxCachedThreadScheduler-1
    线程号:55325 = RxCachedThreadScheduler-3
    线程号:55326 = RxCachedThreadScheduler-2
    线程号:55327 = battery validating thread
    线程号:55328 = FinalHttp #3
    线程号:55329 = OkHttp Dispatcher
    线程号:55331 = OkHttp Dispatcher
    线程号:55332 = FinalHttp #4
    线程号:55333 = OkHttp ConnectionPool
    线程号:55334 = Okio Watchdog
    线程号:55335 = FinalHttp #5
    线程号:55336 = OkHttp statistical-report.djiservice.org
    线程号:55337 = OkHttp ConnectionPool
    线程号:55338 = OkHttp statistical-report.djiservice.org Writer
    线程号:55339 = OkHttp Http2Connection
    线程号:55340 = DJI Log #1
    线程号:55341 = OkHttp account-api.dji.com
    线程号:55342 = OkHttp ConnectionPool
    线程号:55343 = OkHttp account-api.dji.com Writer
    线程号:55344 = RxCachedThreadScheduler-1
    线程号:55345 = OkHttp Dispatcher
    线程号:55346 = OkHttp Dispatcher
    线程号:55348 = OkHttp Dispatcher
    线程号:55349 = OkHttp Dispatcher
    线程号:55350 = geo-sync-file
    线程号:55351 = UrgentThreadPool#2
    线程号:55352 = UrgentThreadPool#3
    线程号:55353 = OkHttp flysafe-api.dji.com
    线程号:55354 = OkHttp ConnectionPool
    线程号:55355 = OkHttp flysafe-api.dji.com Writer
    线程号:55362 = CommonThreadPool#6
    线程号:55367 = CommonThreadPool#7
    线程号:55368 = pool-2-thread-1
    线程号:55369 = SDKAgentManager
    线程号:55371 = CommonThreadPool#8
    线程号:55374 = CommonThreadPool#9
    线程号:55376 = OkHttp Dispatcher
    线程号:55381 = pool-2-thread-2
    线程号:55382 = pool-2-thread-3
    线程号:55409 = OkHttp Dispatcher
    线程号:55411 = RxCachedThreadScheduler-4
    线程号:55419 = AreaCodeWorker
    线程号:55489 = FinalHttp #6
    线程号:55490 = DJI Log #2
    线程号:55491 = Thread-160
    线程号:55492 = Binder:20607_6
    线程号:55495 = DJI Log #3
    线程号:55497 = recvBufferThread
    线程号:55498 = parseVideoFromCamThread
    线程号:55499 = parseVideoFromFpvThread
    线程号:55500 = async_parser
    线程号:55525 = UrgentThreadPool#4
    线程号:55526 = UrgentThreadPool#5
    线程号:55530 = UrgentThreadPool#6
    线程号:55534 = UrgentThreadPool#7
    线程号:55547 = DJI Log #4
    线程号:55548 = UrgentThreadPool#8
    线程号:55549 = UrgentThreadPool#9
    线程号:55563 = Binder:20607_7
    线程号:55564 = Timer-4
    线程号:55569 = RxComputationThreadPool-8
    线程号:55574 = GLYUVSurfaceThread
    线程号:55575 = stream data observing thread
    线程号:55576 = DJIDecodeInoutHandlerThread
    线程号:55582 = DJI Log #5
    线程号:55600 = parse_package
    线程号:55601 = file_download_thread
    线程号:55603 = MediaManager
    线程号:55604 = parse_package
    线程号:55605 = file_download_thread
    线程号:55606 = fetch_media_task_scheduler_thread
    线程号:55607 = MediaManager
    线程号:55608 = DJI Log #6
    ============end of dump ==========

    0
    Comment actions Permalink
  • DJI Developer Support
    比较难定位,我们也无法复现,换根线试试。
    0
    Comment actions Permalink

Please sign in to leave a comment.