【相关文件】
W/MediaMetadataRetriever( 522): MediaMetadataRetriever server died!
I/ServiceManager( 106): service ‘media.audio_flinger‘ died
I/ServiceManager( 106): service ‘media.player‘ died
I/ServiceManager( 106): service ‘media.camera‘ died
I/ServiceManager( 106): service ‘media.audio_policy‘ died
W/IMediaDeathNotifier( 380): media server died
W/AudioSystem( 556): AudioFlinger server died!
W/AudioSystem( 1995): AudioFlinger server died!
W/IMediaDeathNotifier( 1995): media server died
W/AudioSystem( 556): AudioPolicyService server died!
E/MediaPlayer( 1995): error (100, 0)
I/BootReceiver( 380): Copying /data/tombstones/tombstone_06 to DropBox (SYSTEM_TOMBSTONE)
【得到系统的相关服务service】
media.audio_flinger, media.player, media.camera, media.audio_policy
media server, AudioSystem, AudioFlinger, AudioPolicyService
【相关so】
/libstagefright_wfd.so, libutils.so, libmediaplayerservice.so, libbinder.so, libutils.so
【重新启动的流程】
I/AudioFlinger( 2123): Using default 3000 mSec as standby time.
I/CameraService( 2123): CameraService started (pid=2123)
E/CameraHal_Module( 2123): /data/media_profiles.xml is exist, and camera device is same!
D/CameraHal_Module( 2123): meida_profiles_xml_control time (515)us
D/CameraHal_Module( 2123): camera_get_number_of_cameras(667): sys_graphic.cam_driver.ver:0.3.21
E/CameraHal_Module( 2123): Open /dev/video1 failed! strr: No such file or directory
D/CameraHal_Module( 2123): camera_get_number_of_cameras(735): Current board have 1 cameras attached.
I/AudioPolicyManagerBase( 2123): loadAudioPolicyConfig() loaded /system/etc/audio_policy.conf
I/AudioFlinger( 2123): loadHwModule() Loaded primary audio interface from LEGACY Audio HW HAL (audio) handle 1
I/AudioFlinger( 2123): HAL output buffer size 1024 frames, normal mix buffer size 1024 frames
I/AudioMixer( 2123): found effect "Multichannel Downmix To Stereo" from The Android Open Source Project
I/AudioFlinger( 2123): Using module 1 has the primary audio interface
D/AudioHardwareInterface( 2123): setMode(NORMAL)
I/AudioFlinger( 2123): AudioFlinger‘s thread 0x40030008 ready to run
D/AudioHardware( 2123): AudioStreamOutALSA::setParameters() routing=2
I/audio_a2dp_hw( 2123): adev_open: adev_open in A2dp_hw module
I/AudioFlinger( 2123): loadHwModule() Loaded a2dp audio interface from A2DP Audio HW HAL (audio) handle 3
I/AudioFlinger( 2123): loadHwModule() Loaded usb audio interface from USB audio HW HAL (audio) handle 4
E/r_submix( 2123): adev_open 1 (name=audio_hw_if)
I/r_submix( 2123): adev_init_check()
I/AudioFlinger( 2123): loadHwModule() Loaded r_submix audio interface from Wifi Display audio HAL (audio) handle 5
I/AudioPolicyService( 2123): Loaded audio policy from LEGACY Audio Policy HAL (audio_policy)
【remote submix 流程】
E/RemoteDisplay( 380): ### startRecording ###
I/RemoteDisplay( 380): ### nativeStartRecord ###
D/ScreenRecoderUtil( 1995): pause recoder 2
D/r_submix( 114): config->sample_rate 48000
E/MonoPipe( 114): Failed to fetch local time frequency when constructing a MonoPipe (res = -32). getNextWriteTimestamp calls will be non-functional
I/AudioFlinger( 114): HAL output buffer size 1024 frames, normal mix buffer size 1024 frames
I/AudioMixer( 114): found effect "Multichannel Downmix To Stereo" from The Android Open Source Project
I/AudioFlinger( 114): AudioFlinger‘s thread 0x41413008 ready to run
I/r_submix( 114): out_standby()
D/WifiDisplayController( 380): ### requestStartRecordScreen outfile: /mnt/sdcard/微课视频/1462784401409.ts ###
I/AudioFlinger( 114): HAL output buffer size 1024 frames, normal mix buffer size 1024 frames
I/AudioMixer( 114): found effect "Multichannel Downmix To Stereo" from The Android Open Source Project
I/AudioFlinger( 114): AudioFlinger‘s thread 0x411b1008 ready to run
D/AudioHardware( 114): AudioStreamOutALSA::setParameters() routing=0
D/AudioHardware( 114): AudioStreamOutALSA::setParameters() routing=0
E/RemoteDisplay( 380): ### pauseRecording ###
I/RemoteDisplay( 380): ### nativePauseRecord ###
I/RemoteDisplay( 380): ### pauseRecord 01 ###
I/RemoteDisplay( 380): ### pauseRecord 02 ###
D/WifiDisplayController( 380): ### requestPauseRecordScreen ###
E/RemoteDisplay( 380): ### resumeRecording ###
I/RemoteDisplay( 380): ### nativeResumeRecord ###
I/RemoteDisplay( 380): ### resumeRecord 01 ###
I/RemoteDisplay( 380): ### resumeRecord 02 ###
D/WifiDisplayController( 380): ### requestResumeRecordScreen ###
D/WifiDisplaySource( 114): ### 11111onSetupRequest m_Sink_w = 0 m_Sink_h = 0 ###
D/PlaybackSession( 114): 1111 PlaybackSession width 1280 height 720 orig w h -1036804056 -1039833388
D/PlaybackSession( 114): 22222 PlaybackSession width 1280 height 720 orig w h 1280 720
E/SurfaceMediaSource( 114): SurfaceMediaSource bufferWidth and bufferHeight: 1280x720
E/PlaybackSession( 114): 2048
E/PlaybackSession( 114): 1536
E/RepeaterSource( 114): width:2048 height:1536 rateHz:25.000000
I/Converter( 114): using audio bitrate of 128000 bps, video bitrate of 2097152 bps
D/ ( 114): StoreMetaDataInBuffers set to: true
D/ ( 114): mPrependSPSPPSToIDRFramesParams set to: true
E/ ( 114): Getting parameter 100663297 VideoPortFormat->nIndex 0
E/ ( 114): Getting parameter 100663297 VideoPortFormat->nIndex 1
E/ ( 114): Getting parameter 100663297 VideoPortFormat->nIndex 2
D/ ( 114): pVideoPortFormat->nPortIndex 0 pVideoPortFormat->eColorFormat 2130708361 eCompressionFormat 0
E/ ( 114): Getting parameter 100663297 VideoPortFormat->nIndex 0
D/ ( 114): pVideoPortFormat->nPortIndex 1 pVideoPortFormat->eColorFormat 0 eCompressionFormat 7
E/ ( 114): pVideoAvc->nPortIndex = 1
I/ACodec ( 114): setupVideoEncoder succeeded
E/OMXNodeInstance( 114): OMX_GetExtensionIndex failed
W/libc ( 114): pthread_create sched_setscheduler call failed: Operation not permitted
E/ ( 114): encparam.framerate = 25 outPort->sPortParam.format.video.xFramerate = 1638400 2097152
I/r_submix( 114): adev_open_input_stream()
D/r_submix( 114): config->sample_rate 48000
I/r_submix( 114): in_standby()
I/r_submix( 114): in_standby()
D/pv_avcenc_api( 114): cml->cabacintIdc 0 cml->enablaCabac 0 cml->intraPicRate 450
D/pv_avcenc_api( 114): init intraPeriodCnt 450
I/Converter( 114): using audio bitrate of 128000 bps, video bitrate of 2097152 bps
D/ACodec ( 114): MEDIA_MIMETYPE_AUDIO_AAC sampleRate 48000 wifidisplay_flag 0 info 44136e78
E/OMXNodeInstance( 114): OMX_GetExtensionIndex failed
E/WifiDisplaySource( 114): Received PLAY request.
E/PlaybackSession( 114): 2048
E/PlaybackSession( 114): 1536
I/RemoteDisplay( 380): #### onDisplayConnected width=2048, height=1536, flags = 0x00000000
E/SurfaceFlinger( 111): onHotplugReceived received event for an invalid display (id=2)
D/ ( 114): omx_vpuenc_component_BufferMgmtCallback rc_mode 1
D/ ( 114): sps copy 36
D/ ( 114): set OMX_BUFFERFLAG_EXTRADATA ret 0
D/AudioHardware( 114): AudioHardware pcm playback is going to standby.
D/AudioHardware( 114): closePcmOut_l() mPcmOpenCnt: 1
E/Sender ( 114): r
E/Sender ( 114): r
E/Sender ( 114): r
D/dalvikvm( 1522): GC_CONCURRENT freed 511K, 16% free 10536K/12452K, paused 5ms+2ms, total 29ms
E/Sender ( 114): r
E/Sender ( 114): r
E/Sender ( 114): r
E/Sender ( 114): r
E/Sender ( 114): r
D/ScreenRecoderUtil( 1995): stop recoder 2
E/RemoteDisplay( 380): ### stopRecording ###
I/RemoteDisplay( 380): ### nativeStopRecord ###
I/RemoteDisplay( 380): ### ~NativeRemoteDisplayEx 01 ###
I/RemoteDisplay( 380): ### ~NativeRemoteDisplayEx 02 ###
D/WifiDisplayController( 380): ### requestStopRecordScreen ###
I/WifiDisplaySource( 114): Received TEARDOWN request.
I/PlaybackSession( 114): destroyAsync
E/PlaybackSession( 114): mStarted == true
E/PlaybackSession( 114): mMediaPuller != NULL
E/PlaybackSession( 114): mStarted == true
E/PlaybackSession( 114): mMediaPuller != NULL
I/MediaPuller( 114): MediaPuller(audio/raw) stopping.
F/PlaybackSession( 114): frameworks/av/media/libstagefright/wifi-display/source/PlaybackSession.cpp:149 CHECK(!mStarted) failed.
F/libc ( 114): Fatal signal 11 (SIGSEGV) at 0xdeadbaad (code=1), thread 2118 (Binder_3)
I/r_submix( 114): shutdown
I/r_submix( 114): shutdown
I/r_submix( 114): out_standby()
D/AudioHardware( 114): AudioStreamOutALSA::setParameters() routing=0
D/RemoteDisplay( 380): onDisplayDisconnected
I/r_submix( 114): in_standby()
I/MediaPuller( 114): MediaPuller(audio/raw) stopped.
I/MediaPuller( 114): MediaPuller(video/raw) stopping.
【去掉audio.r_submix.default.so】
I/AudioPolicyManagerBase( 114): loadAudioPolicyConfig() loaded /system/etc/audio_policy.conf
I/AudioFlinger( 114): loadHwModule() Loaded primary audio interface from LEGACY Audio HW HAL (audio) handle 1
I/AudioFlinger( 114): HAL output buffer size 1024 frames, normal mix buffer size 1024 frames
I/AudioMixer( 114): found effect "Multichannel Downmix To Stereo" from The Android Open Source Project
I/AudioFlinger( 114): Using module 1 has the primary audio interface
D/AudioHardwareInterface( 114): setMode(NORMAL)
I/AudioFlinger( 114): AudioFlinger‘s thread 0x40053008 ready to run
W/AudioFlinger( 114): Thread AudioOut_2 cannot connect to the power manager service
W/AudioFlinger( 114): Thread AudioOut_2 cannot connect to the power manager service
D/AudioHardware( 114): AudioStreamOutALSA::setParameters() routing=2
I/audio_a2dp_hw( 114): adev_open: adev_open in A2dp_hw module
I/AudioFlinger( 114): loadHwModule() Loaded a2dp audio interface from A2DP Audio HW HAL (audio) handle 3
I/AudioFlinger( 114): loadHwModule() Loaded usb audio interface from USB audio HW HAL (audio) handle 4
E/AudioFlinger( 114): int android::load_audio_interface(char const*, audio_hw_device_t**) couldn‘t load audio hw module audio.r_submix (No such file or directory)
I/AudioFlinger( 114): loadHwModule() error -2 loading module r_submix
W/AudioPolicyManagerBase( 114): could not open HW module r_submix
I/AudioPolicyService( 114): Loaded audio policy from LEGACY Audio Policy HAL (audio_policy)
W/AudioPolicyManagerBase( 114): getInput() could not find profile for device 80000100, samplingRate 48000, format 1,channelMask 000c
E/AudioRecord( 114): Could not get audio input for record source 8
W/PlaybackSession( 114): Unable to instantiate audio source
D/pv_avcenc_api( 114): cml->cabacintIdc 0 cml->enablaCabac 0 cml->intraPicRate 450
D/pv_avcenc_api( 114): init intraPeriodCnt 450
D/AudioHardware( 114): AudioHardware pcm playback is going to standby.
D/AudioHardware( 114): closePcmOut_l() mPcmOpenCnt:
D/AudioHardware( 114): AudioHardware pcm playback is exiting standby.
D/AudioHardware( 114): openPcmOut_l() mPcmOpenCnt: 0
D/alsa_pcm( 114): pcm_open(0x0003f000)
D/alsa_pcm( 114): pcm_open() period sz multiplier 16
D/alsa_pcm( 114): pcm_open() period cnt 6
D/alsa_pcm( 114): pcm_open() period_cnt 6 period_sz 1024 channels 2
D/ScreenRecoderUtil( 1934): stop recoder 2
E/RemoteDisplay( 381): ### stopRecording ###
I/RemoteDisplay( 381): ### nativeStopRecord ###
I/RemoteDisplay( 381): ### ~NativeRemoteDisplayEx 01 ###
I/RemoteDisplay( 381): ### ~NativeRemoteDisplayEx 02 ###
I/WifiDisplaySource( 114): Received TEARDOWN request.
I/PlaybackSession( 114): destroyAsync
D/WifiDisplayController( 381): ### requestStopRecordScreen ###
E/PlaybackSession( 114): mStarted == true
E/PlaybackSession( 114): mMediaPuller != NULL
F/PlaybackSession( 114): frameworks/av/media/libstagefright/wifi-display/source/PlaybackSession.cpp:149 CHECK(!mStarted) failed.
F/libc ( 114): Fatal signal 11 (SIGSEGV) at 0xdeadbaad (code=1), thread 364 (Binder_1)
W/AudioPolicyManagerBase( 114): setDeviceConnectionState() device not connected: 8000
D/RemoteDisplay( 381): onDisplayDisconnected
I/MediaPuller( 114): MediaPuller(video/raw) stopping.
I/DEBUG ( 109): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
I/DEBUG ( 109): Build fingerprint: ‘rk30sdk/rk30sdk/rk30sdk:4.2.2/JDQ39/shuliwu.20160308.145636:eng/test-keys‘
I/DEBUG ( 109): Revision: ‘0‘
I/DEBUG ( 109): pid: 114, tid: 364, name: Binder_1 >>> /system/bin/mediaserver <<<
I/DEBUG ( 109): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr deadbaad
I/DEBUG ( 109): r0 00000027 r1 deadbaad r2 00001fb0 r3 00000000
I/DEBUG ( 109): r4 00000000 r5 41419964 r6 40f3ed1c r7 4000d8d0
I/DEBUG ( 109): r8 00000001 r9 4000d878 sl 00000001 fp 00000000
I/DEBUG ( 109): ip fffdb44c sp 41419960 lr 401ce093 pc 401cb742 cpsr 60000030
I/DEBUG ( 109): d0 632e6e6f69737365 d1 43203934313a7070
I/DEBUG ( 109): d2 536d21284b434548 d3 2029646574726174
I/DEBUG ( 109): d4 0000000000000000 d5 3ff0000000000000
I/DEBUG ( 109): d6 4208000040c00000 d7 0000000000000000
I/DEBUG ( 109): d8 0000000000000000 d9 0000000000000000
I/DEBUG ( 109): d10 0000000000000000 d11 0000000000000000
I/DEBUG ( 109): d12 0000000000000000 d13 0000000000000000
I/DEBUG ( 109): d14 0000000000000000 d15 0000000000000000
I/DEBUG ( 109): d16 0000000000000001 d17 0000000000000000
I/DEBUG ( 109): d18 4000000000000000 d19 bf66c16be38d5283
I/DEBUG ( 109): d20 3fc5555533bce6df d21 3e66376972bea4d0
I/DEBUG ( 109): d22 3fe009bb63fc01c8 d23 bf6376c7f8038f6c
I/DEBUG ( 109): d24 3ff009bb63fc01c8 d25 0000000000000000
I/DEBUG ( 109): d26 0000000000000000 d27 0000000000000000
I/DEBUG ( 109): d28 0000000000000000 d29 0000000000000000
I/DEBUG ( 109): d30 0000000000000000 d31 0000000000000000
I/DEBUG ( 109): scr 20000010
I/DEBUG ( 109):
I/DEBUG ( 109): backtrace:
I/DEBUG ( 109): #00 pc 0001a742 /system/lib/libc.so
I/DEBUG ( 109): #01 pc 000187b8 /system/lib/libc.so (abort+4)
I/DEBUG ( 109): #02 pc 00001425 /system/lib/liblog.so (__android_log_assert+88)
I/DEBUG ( 109): #03 pc 0001e7f7 /system/lib/libstagefright_wfd.so (android::WifiDisplaySource::PlaybackSession::Track::~Track()+34)
I/DEBUG ( 109): #04 pc 0001e865 /system/lib/libstagefright_wfd.so (android::WifiDisplaySource::PlaybackSession::Track::~Track()+4)
I/DEBUG ( 109): #05 pc 0000efe1 /system/lib/libutils.so (android::RefBase::decStrong(void const*) const+40)
I/DEBUG ( 109): #06 pc 00014e79 /system/lib/libstagefright_wfd.so (android::sp<android::MetaData>::~sp()+10)
I/DEBUG ( 109): #07 pc 00015eb5 /system/lib/libstagefright_wfd.so (android::SortedVector<android::key_value_pair_t<int, android::sp<android::ANetworkSession::Session> > >::do_destroy(void*, unsigned int) const+14)
I/DEBUG ( 109): #08 pc 00011e17 /system/lib/libutils.so
I/DEBUG ( 109): #09 pc 00011e37 /system/lib/libutils.so (android::VectorImpl::release_storage()+28)
I/DEBUG ( 109): #10 pc 00011e4b /system/lib/libutils.so (android::VectorImpl::finish_vector()+4)
I/DEBUG ( 109): #11 pc 0001de8f /system/lib/libstagefright_wfd.so
I/DEBUG ( 109): #12 pc 0001e753 /system/lib/libstagefright_wfd.so (android::WifiDisplaySource::PlaybackSession::~PlaybackSession()+14)
I/DEBUG ( 109): #13 pc 0001e7c5 /system/lib/libstagefright_wfd.so (android::WifiDisplaySource::PlaybackSession::~PlaybackSession()+4)
I/DEBUG ( 109): #14 pc 0000efe1 /system/lib/libutils.so (android::RefBase::decStrong(void const*) const+40)
I/DEBUG ( 109): #15 pc 00014e79 /system/lib/libstagefright_wfd.so (android::sp<android::MetaData>::~sp()+10)
I/DEBUG ( 109): #16 pc 000239f1 /system/lib/libstagefright_wfd.so (android::WifiDisplaySource::~WifiDisplaySource()+68)
I/DEBUG ( 109): #17 pc 00023a35 /system/lib/libstagefright_wfd.so (android::WifiDisplaySource::~WifiDisplaySource()+4)
I/DEBUG ( 109): #18 pc 0000efe1 /system/lib/libutils.so (android::RefBase::decStrong(void const*) const+40)
I/DEBUG ( 109): #19 pc 0003066d /system/lib/libmediaplayerservice.so (android::RemoteDisplay::~RemoteDisplay()+32)
I/DEBUG ( 109): #20 pc 000306dd /system/lib/libmediaplayerservice.so (android::RemoteDisplay::~RemoteDisplay()+4)
I/DEBUG ( 109): #21 pc 0000efe1 /system/lib/libutils.so (android::RefBase::decStrong(void const*) const+40)
I/DEBUG ( 109): #22 pc 00017351 /system/lib/libbinder.so (android::IPCThreadState::joinThreadPool(bool)+136)
I/DEBUG ( 109): #23 pc 0001b15d /system/lib/libbinder.so
I/DEBUG ( 109): #24 pc 00011267 /system/lib/libutils.so (android::Thread::_threadLoop(void*)+114)
I/DEBUG ( 109): #25 pc 00010dcd /system/lib/libutils.so
I/DEBUG ( 109): #26 pc 0000e3f8 /system/lib/libc.so (__thread_entry+72)
I/DEBUG ( 109): #27 pc 0000dae4 /system/lib/libc.so (pthread_create+160)
【】