MSDK版本4.16,飞机M300、H20T镜头,LiveStreamManager.startStream开启直播推流,出现空指针异常闪退
已完成MSDK版本4.16,飞机M300、H20T镜头,LiveStreamManager.startStream开启直播推流,出现空指针异常闪退,使用您们的sample测试也是一样,可以在sample上直接复现的问题
===== Device Info =====
manufacture:DJI
product:pm430
model:pm430
version:V03.00.01.04 release-keys
android version:7.1.2
build num:
build name:
sdk version:25
===== App Info =====
versionCode:1
versionName:null
===== Crash =====
java.lang.NullPointerException: Attempt to invoke virtual method 'dji.midware.media.opengl.fdd$fdd dji.midware.media.opengl.fdd.dgh(java.lang.String)' on a null object reference
at dji.midware.media.opengl.ddf.nhf.fdd(Unknown Source)
at dji.midware.media.DJIVideoDecoder.setSecondaryOutputInterval(Unknown Source)
at dji.midware.media.transcode.fullframe.FullFrameHardwareTranscoder.gfd(Unknown Source)
at dji.sdk.sdkmanager.LiveStreamManager.fetchSpsPps(Unknown Source)
at dji.sdk.sdkmanager.LiveStreamManager.startStream(Unknown Source)
at com.dji.sdk.sample.demo.camera.LiveStreamView$3.run(:198)
=======Thread info======Crash name:java.lang.NullPointerException: Attempt to invoke virtual method 'dji.midware.media.opengl.fdd$fdd dji.midware.media.opengl.fdd.dgh(java.lang.String)' on a null object reference
Cause is:null
Thread name is:Thread-1595 1847
Thread count is:104
Fd count is:289
Name: .dji.sdk.sample
State: S (sleeping)
Tgid: 4626
Ngid: 0
Pid: 4626
PPid: 303
TracerPid: 0
Uid: 10056 10056 10056 10056
Gid: 10056 10056 10056 10056
FDSize: 512
Groups: 3001 3002 3003 9997 50056
VmPeak: 2621916 kB
VmSize: 2621900 kB
VmLck: 48 kB
VmPin: 0 kB
VmHWM: 420016 kB
VmRSS: 411256 kB
VmData: 444192 kB
VmStk: 8192 kB
VmExe: 16 kB
VmLib: 167540 kB
VmPTE: 1980 kB
VmPMD: 24 kB
VmSwap: 0 kB
Threads: 188
SigQ: 0/15346
SigPnd: 0000000000000000
ShdPnd: 0000000000000000
SigBlk: 0000000000001204
SigIgn: 0000000000000000
SigCgt: 20000002000086f8
CapInh: 0000000000000000
CapPrm: 0000000000000000
CapEff: 0000000000000000
CapBnd: 0000000000000000
CapAmb: 0000000000000000
Seccomp: 0
Cpus_allowed: 37
Cpus_allowed_list: 0-2,4-5
Mems_allowed: 1
Mems_allowed_list: 0
voluntary_ctxt_switches: 3048
nonvoluntary_ctxt_switches: 4518
============Start dump thread info============
total =104
线程号:144 = ReferenceQueueDaemon
线程号:145 = FinalizerDaemon
线程号:146 = FinalizerWatchdogDaemon
线程号:147 = HeapTaskDaemon
线程号:275 = process reaper
线程号:154 = RxCachedWorkerPoolEvictor-1
线程号:155 = RxComputationThreadPool-1
线程号:156 = RxComputationThreadPool-2
线程号:157 = dji_background_thread
线程号:153 = Bluetooth
线程号:161 = AsyncTask #1
线程号:162 = LogHandlerThread
线程号:163 = SingleBackgroundLooper
线程号:164 = UrgentThreadPool#1
线程号:165 = dji_sdk_callback_thread
线程号:167 = UrgentThreadPool#2
线程号:168 = CommonThreadPool#1
线程号:169 = midware_background_thread
线程号:170 = DataBaseProcessor
线程号:171 = ThreadPoolUtil:handlerThread
线程号:172 = DJIVideoPackManager-data-parser
线程号:173 = xss-data-parser
线程号:174 = parse_package
线程号:175 = file_download_thread
线程号:176 = parse_package
线程号:177 = file_download_thread
线程号:181 = Timer-0
线程号:186 = dpadCmd-disruptor
线程号:190 = DJIStreamLocalSocketTimer
线程号:191 = fdd-Socket
线程号:192 = RxComputationThreadPool-3
线程号:193 = RxComputationThreadPool-4
线程号:194 = RxComputationThreadPool-5
线程号:195 = RxComputationThreadPool-6
线程号:196 = UrgentThreadPool#3
线程号:197 = pool-1-thread-1
线程号:198 = pool-1-thread-2
线程号:199 = pool-1-thread-3
线程号:200 = UrgentThreadPool#4
线程号:201 = RxSchedulerPurge-1
线程号:202 = RxCachedWorkerPoolEvictor-1
线程号:203 = RxComputationThreadPool-1
线程号:204 = RxComputationThreadPool-2
线程号:205 = RxComputationThreadPool-3
线程号:206 = RxComputationThreadPool-4
线程号:207 = RxComputationThreadPool-5
线程号:208 = RxComputationThreadPool-6
线程号:209 = pool-2-thread-1
线程号:210 = UrgentThreadPool#5
线程号:211 = UrgentThreadPool#6
线程号:212 = RefQueueWorker@org.apache.http.impl.conn.tsccm.ConnPoolByRoute@62983b8
线程号:213 = CommonThreadPool#2
线程号:214 = CommonThreadPool#3
线程号:215 = UrgentThreadPool#7
线程号:216 = thread_link_mode
线程号:220 = CommonThreadPool#4
线程号:224 = CommonThreadPool#5
线程号:227 = OkHttp Dispatcher
线程号:228 = OkHttp Dispatcher
线程号:230 = RxCachedThreadScheduler-1
线程号:232 = RxCachedThreadScheduler-3
线程号:231 = RxCachedThreadScheduler-2
线程号:233 = CommonThreadPool#6
线程号:234 = battery validating thread
线程号:235 = OkHttp Dispatcher
线程号:236 = AreaCodeWorker
线程号:237 = CommonThreadPool#7
线程号:238 = OkHttp ConnectionPool
线程号:239 = Okio Watchdog
线程号:240 = DJI Log #1
线程号:242 = OkHttp Dispatcher
线程号:243 = OkHttp statistical-report.djiservice.org
线程号:244 = OkHttp ConnectionPool
线程号:245 = OkHttp Dispatcher
线程号:246 = OkHttp Dispatcher
线程号:254 = OkHttp Dispatcher
线程号:259 = geo-sync-file
线程号:260 = OkHttp Dispatcher
线程号:263 = OkHttp statistical-report.djiservice.org Writer
线程号:264 = OkHttp Http2Connection
线程号:266 = OkHttp flysafe-api.dji.com
线程号:268 = OkHttp ConnectionPool
线程号:274 = OkHttp flysafe-api.dji.com Writer
线程号:278 = RxCachedThreadScheduler-4
线程号:292 = writeFlycLog
线程号:297 = SDKAgentManager
线程号:304 = pool-4-thread-1
线程号:310 = pool-1-thread-4
线程号:314 = OkHttp Dispatcher
线程号:378 = DJI Log #2
线程号:382 = stream data observing thread
线程号:384 = Okio Watchdog
线程号:385 = RxCachedThreadScheduler-1
线程号:514 = OkHttp ConnectionPool
线程号:560 = diagnostics check compass thread
线程号:657 = LocalSockerStartRecv
线程号:670 = dji_fpv-disruptor
线程号:671 = async_parser
线程号:680 = DJI Log #3
线程号:705 = OkHttp Dispatcher
线程号:765 = pool-1-thread-5
线程号:1697 = DJIDecodeInoutHandlerThread
线程号:1701 = DJIDecodeInoutHandlerThread
线程号:1847 = Thread-1595
============end of dump ==========
请先登录再写评论。
评论
2 条评论