回复itatoo

AndroidQ | AudioPolicy AudioPolicyService是负责音频策略的制定,AudioFlinger负责音频策略的具体执行,两个模块各司其职。 阅读详情

####################################10.22#################################################################

一些新的疑问及思路:

1.我在你的Log里发现

 

我的源码里找不到这个文件,也没报这个错误。还有你看607,sensors.oem.so 建议你排查一下,看你那个问题就是 chanel被关闭了,不清楚会不会因为这些库啥的出问题导致一些chanel 被关闭。

 

2.关于bug位置,

对,你说的没错,messagechannel.cpp那里只是获得的一个结果,died掉的那几个服务也只是结果,原因在于你的Compositor线程获取了一个错误地址。直接原因是,某chanel被关闭了。谁被关闭了,为什么关闭?https://my.oschina.net/ibuwai/blog/653345

 

 

 

 

3.一个可能最省力的办法,换2.5的源码。我用的2.5的。关于源码的版本,2.6是最新的,似乎有很多bug.没修复项目就die了。所以建议使用2.5的源码。

 

PS:有进展欢迎跟我分享,我也学习一下。

 

最近在分析ing APP启动过程,技术菜,但还没搞清,你可以随便看看是否有点启发。

https://blog.csdn.net/hunter___/article/details/82910601

 

 

附我的正常系统Log,

我自己的无关log你自己忽略。

--------- beginning of /dev/log/system
I/Vold    (  166): Vold 2.1 (the revenge) firing up
--------- beginning of /dev/log/main
I/GeckoConsole(  178): Could not read chrome manifest 'file:///system/b2g/chrome.manifest'.
D/MDnsDS  (  169): MDnsSdListener::Hander starting up
D/MDnsDS  (  169): MDnsSdListener starting to monitor
D/MDnsDS  (  169): Going to poll with pollCount 1
I/kickstart-qcks(  168): EFS Prepend
I/kickstart-qcks(  168): File:'/firmware/image/efs1.mbn' is available for reading
I/kickstart-qcks(  168): File:'/firmware/image/efs2.mbn' is available for reading
I/kickstart-qcks(  168): File:'/dev/block/platform/msm_sdcc.1/by-name/m9kefs1' is available for reading
I/kickstart-qcks(  168): File:'/dev/block/platform/msm_sdcc.1/by-name/m9kefs2' is available for reading
I/kickstart-qcks(  168): File:'/firmware/image/acdb.mbn' is available for reading
I/kickstart-qcks(  168): File:'/firmware/image/mdm_acdb.img' is available for reading
I/kickstart-qcks(  168): Reading RAW EFS1 partition
I/kickstart-qcks(  168): Running dd if=/dev/block/platform/msm_sdcc.1/by-name/m9kefs1 of=/data/qcks/temp.dump bs=1024 count=3072
I/kickstart-qcks(  168): Combining Header1 with RAW EFS1 partition
I/kickstart-qcks(  168): Running cat /firmware/image/efs1.mbn /data/qcks/temp.dump > /data/qcks/efs1.bin
I/kickstart-qcks(  168): Reading RAW EFS2 partition
I/kickstart-qcks(  168): Running dd if=/dev/block/platform/msm_sdcc.1/by-name/m9kefs2 of=/data/qcks/temp.dump bs=1024 count=3072
I/kickstart-qcks(  168): Combining Header2 with RAW EFS2 partition
I/kickstart-qcks(  168): Running cat /firmware/image/efs2.mbn /data/qcks/temp.dump > /data/qcks/efs2.bin
I/kickstart-qcks(  168): Reading RAW EFS3 partition
I/kickstart-qcks(  168): Running dd if=/dev/block/platform/msm_sdcc.1/by-name/m9kefs3 of=/data/qcks/temp.dump bs=1024 count=3072
I/kickstart-qcks(  168): Combining Header3 with RAW EFS3 partition
I/kickstart-qcks(  168): Running cat /firmware/image/efs3.mbn /data/qcks/temp.dump > /data/qcks/efs3.bin
I/kickstart-qcks(  168): Combining ACDB Header with ACDB binary
I/kickstart-qcks(  168): Running cat /firmware/image/acdb.mbn /firmware/image/mdm_acdb.img > /data/qcks/acdb.bin
I/kickstart-qcks(  168): Loading Sahara images
I/kickstart-qcks(  168): Testing if port "/dev/ks_hsic_bridge" exists
E/kickstart-qcks(  168): RUNNING:	/system/bin/ks  -w /data/tombstones/mdm/ -p /dev/ks_hsic_bridge -r 21 -s 2:/firmware/image/amss.mbn -s 6:/firmware/image/apps.mbn -s 8:/firmware/image/dsp1.mbn -s 11:/firmware/image/osbl.mbn -s 12:/firmware/image/dsp2.mbn -s 21:/firmware/image/sbl1.mbn -s 22:/firmware/image/sbl2.mbn -s 23:/firmware/image/rpm.mbn -s 28:/firmware/image/dsp3.mbn -s 16:/data/qcks/efs1.bin -s 17:/data/qcks/efs2.bin -s 20:/data/qcks/efs3.bin -s 29:/data/qcks/acdb.bin
E/kickstart(  600): Wrote to /sys/power/wake_lock
E/kickstart(  600): Requested ID 21, file "/firmware/image/sbl1.mbn"
E/kickstart(  600): 117700 bytes transferred in 0.132s (0.85 MBps)
E/kickstart(  600): Wrote to /sys/power/wake_unlock
E/kickstart(  600): Wrote to /sys/power/wake_lock
E/kickstart(  600): Requested ID 23, file "/firmware/image/rpm.mbn"
E/kickstart(  600): 105696 bytes transferred in 0.020s (5.09 MBps)
E/kickstart(  600): Wrote to /sys/power/wake_unlock
E/kickstart(  600): Wrote to /sys/power/wake_lock
E/kickstart(  600): Requested ID 22, file "/firmware/image/sbl2.mbn"
E/kickstart(  600): 242376 bytes transferred in 0.032s (7.28 MBps)
E/kickstart(  600): Wrote to /sys/power/wake_unlock
E/kickstart(  600): Wrote to /sys/power/wake_lock
E/kickstart(  600): Requested ID 12, file "/firmware/image/dsp2.mbn"
E/ServiceManager(  165): add_service('android.security.keystore',0xc) uid=0 - ALREADY REGISTERED, OVERRIDE
I/ServiceManager(  165): service 'android.security.keystore' died
I/VolumeManager(  178): changing state from 'Uninitialized' to 'Starting'
I/VolumeManager(  178): Connected to vold
I/VolumeManager(  178): Volume sdcard (1): changing state from Init to Mounted @ '/mnt/shell/emulated/0' (1 observers) mountGeneration = 1, locked = 0
I/VolumeManager(  178): READY: Volume: sdcard (1) is Mounted and inserted @ /mnt/shell/emulated/0 gen 1 locked 0
I/VolumeManager(  178): READY:   Sharing x Mounting n Formating n Unmounting n
I/VolumeManager(  178): changing state from 'Starting' to 'Volumes Ready'
I/AutoMounter(  178): UpdateState: ums:A0C0E0 mtp:A1C0E0 mode:0 usb:1 tryToShare:0 state:IDLE
I/AutoMounter(  178): UpdateState: Volume sdcard is Mounted and inserted @ /mnt/shell/emulated/0 gen 1 locked 0 sharing x
I/ServiceManager(  178): Waiting for service media.audio_policy...
I/ServiceManager(  178): Waiting for service media.audio_policy...
I/ServiceManager(  178): Waiting for service media.audio_policy...
I/ServiceManager(  178): Waiting for service media.audio_policy...
E/kickstart(  600): 32137174 bytes transferred in 3.412s (8.98 MBps)
E/kickstart(  600): Wrote to /sys/power/wake_unlock
E/kickstart(  600): Wrote to /sys/power/wake_lock
E/kickstart(  600): Requested ID 28, file "/firmware/image/dsp3.mbn"
I/ServiceManager(  178): Waiting for service media.audio_policy...
E/kickstart(  600): 6334186 bytes transferred in 0.655s (9.22 MBps)
E/kickstart(  600): Wrote to /sys/power/wake_unlock
E/kickstart(  600): Wrote to /sys/power/wake_lock
E/kickstart(  600): Requested ID 8, file "/firmware/image/dsp1.mbn"
E/kickstart(  600): 2688527 bytes transferred in 0.320s (8.02 MBps)
E/kickstart(  600): Wrote to /sys/power/wake_unlock
E/kickstart(  600): Wrote to /sys/power/wake_lock
E/kickstart(  600): Requested ID 16, file "/data/qcks/efs1.bin"
E/kickstart(  600): 786472 bytes transferred in 0.076s (9.83 MBps)
E/kickstart(  600): Wrote to /sys/power/wake_unlock
E/kickstart(  600): Wrote to /sys/power/wake_lock
E/kickstart(  600): Requested ID 17, file "/data/qcks/efs2.bin"
E/kickstart(  600): 786472 bytes transferred in 0.076s (9.81 MBps)
E/kickstart(  600): Wrote to /sys/power/wake_unlock
E/kickstart(  600): Wrote to /sys/power/wake_lock
E/kickstart(  600): Requested ID 20, file "/data/qcks/efs3.bin"
E/kickstart(  600): 786472 bytes transferred in 0.070s (10.65 MBps)
E/kickstart(  600): Wrote to /sys/power/wake_unlock
E/kickstart(  600): Wrote to /sys/power/wake_lock
E/kickstart(  600): Requested ID 29, file "/data/qcks/acdb.bin"
E/kickstart(  600): 2097192 bytes transferred in 0.184s (10.89 MBps)
E/kickstart(  600): Wrote to /sys/power/wake_unlock
E/kickstart(  600): Wrote to /sys/power/wake_lock
E/kickstart(  600): Requested ID 6, file "/firmware/image/apps.mbn"
W/AudioSystem(  178): AudioPolicyService not published, waiting...
E/kickstart(  600): 2630368 bytes transferred in 0.306s (8.21 MBps)
E/kickstart(  600): Wrote to /sys/power/wake_unlock
E/kickstart(  600): Sahara protocol completed
E/kickstart(  600): Removing linked list of input files
E/kickstart(  600): Removing linked list of input files
I/kickstart-qcks(  168): RetCode = 0
E/kickstart-qcks(  168): Sahara transfer completed successfully
E/kickstart-qcks(  168): Spawning efsks
I/kickstart-efsks(  619): EFS_TTY='/dev/efs_hsic_bridge'
I/kickstart-efsks(  619): Parsing 'where to save memorydump' options
I/kickstart-efsks(  619): PathToSaveFiles='/dev/block/platform/msm_sdcc.1/by-name/'
I/kickstart-efsks(  619): EFSKS parameters
I/kickstart-efsks(  619): EFS_TTY='/dev/efs_hsic_bridge'
I/kickstart-efsks(  619): ks_path='/system/bin/ks'
I/kickstart-efsks(  619): PathToSaveFiles='/dev/block/platform/msm_sdcc.1/by-name/'
I/kickstart-efsks(  619): RX_Timeout=-1
E/kickstart-efsks(  619): File '/dev/efs_hsic_bridge' was not found
E/kickstart-efsks(  619): /dev/efs_hsic_bridge does not exist.
I/ServiceManager(  178): Waiting for service media.audio_policy...
I/ServiceManager(  178): Waiting for service media.audio_policy...
E/kickstart-efsks(  619): RUNNING: '/system/bin/ks -m -w /dev/block/platform/msm_sdcc.1/by-name/ -p /dev/efs_hsic_bridge -t -1 -l'
E/kickstart(  622): Wrote to /sys/power/wake_lock
E/kickstart(  622): Wrote to /sys/power/wake_unlock
I/ServiceManager(  178): Waiting for service media.audio_policy...
I/ServiceManager(  178): Waiting for service media.audio_policy...
E/QMI_FW  (  184): QMUXD: Service_id=24 not found over conn_id=0
E/QMI_FW  (  184): QMUXD: Service_id=24 not found over conn_id=0
E/QMI_FW  (  184): QMUXD: Service_id=23 not found over conn_id=0
E/QMI_FW  (  184): QMUXD: Service_id=24 not found over conn_id=0
D/ThermalDaemon(  184): qmi: Instance id 25 for fusion TMD
E/QMI_FW  (  184): QMUXD: Service_id=24 not found over conn_id=0
D/ThermalDaemon(  184): qmi: Instance id 25 for fusion TS
E/QMI_FW  (  184): QMUXD: Service_id=23 not found over conn_id=0
E/QMI_FW  (  184): QMUXD: Service_id=24 not found over conn_id=0
E/QMI_FW  (  184): QMUXD: Service_id=24 not found over conn_id=0
E/QMI_FW  (  184): QMUXD: Service_id=23 not found over conn_id=0
E/QMI_FW  (  184): QMUXD: Service_id=24 not found over conn_id=0
E/QMI_FW  (  184): QMUXD: Service_id=23 not found over conn_id=0
E/QMI_FW  (  184): QMUXD: Service_id=24 not found over conn_id=0
E/QMI_FW  (  184): QMUXD: Service_id=23 not found over conn_id=0
D/ThermalDaemon(  184): Fusion modem thermal mitigation available.
D/ThermalDaemon(  184): Modem thermal sensor service available.
E/QMI_FW  (  173): QMUXD: Service_id=20 not found over conn_id=0
E/QMI_FW  (  173): QMUXD: Service_id=20 not found over conn_id=0
E/QMI_FW  (  173): QMUXD: Service_id=20 not found over conn_id=0
E/QMI_FW  (  173): QMUXD: Service_id=20 not found over conn_id=0
E/QMI_FW  (  173): QMUXD: Service_id=20 not found over conn_id=0
I/AudioFlinger(  173): loadHwModule() Loaded primary audio interface from QCOM Audio HAL (audio) handle 1
I/AudioFlinger(  173): HAL output buffer size 240 frames, normal mix buffer size 960 frames
I/AudioMixer(  173): found effect "Multichannel Downmix To Stereo" from The Android Open Source Project
E/MonoPipe(  173): Failed to fetch local time frequency when constructing a MonoPipe (res = -32).  getNextWriteTimestamp calls will be non-functional
I/AudioFlinger(  173): Using module 1 has the primary audio interface
I/AudioFlinger(  173): AudioFlinger's thread 0xb5d73008 ready to run
W/AudioFlinger(  173): Thread AudioOut_2 cannot connect to the power manager service
D/audio_hw_primary(  173): out_set_parameters: enter: usecase(1: low-latency-playback) kvpairs: routing=2
W/AudioFlinger(  173): Thread AudioOut_2 cannot connect to the power manager service
W/AudioFlinger(  173): Thread AudioOut_2 cannot connect to the power manager service
E/AudioFlinger(  173): no wake lock to update!
I/AudioFlinger(  173): HAL output buffer size 960 frames, normal mix buffer size 960 frames
I/AudioMixer(  173): found effect "Multichannel Downmix To Stereo" from The Android Open Source Project
I/AudioFlinger(  173): AudioFlinger's thread 0xb5b07008 ready to run
W/AudioFlinger(  173): Thread AudioOut_3 cannot connect to the power manager service
D/audio_hw_primary(  173): out_set_parameters: enter: usecase(0: deep-buffer-playback) kvpairs: routing=2
W/AudioFlinger(  173): Thread AudioOut_3 cannot connect to the power manager service
W/AudioFlinger(  173): Thread AudioOut_3 cannot connect to the power manager service
E/AudioFlinger(  173): no wake lock to update!
I/audio_a2dp_hw(  173): adev_open:  adev_open in A2dp_hw module
I/AudioFlinger(  173): loadHwModule() Loaded a2dp audio interface from A2DP Audio HW HAL (audio) handle 4
I/AudioFlinger(  173): loadHwModule() Loaded usb audio interface from USB audio HW HAL (audio) handle 5
I/r_submix(  173): adev_open(name=audio_hw_if)
I/r_submix(  173): adev_init_check()
I/AudioFlinger(  173): loadHwModule() Loaded r_submix audio interface from Wifi Display audio HAL (audio) handle 6
I/AudioPolicyService(  173): Loaded audio policy from LEGACY Audio Policy HAL (audio_policy)
I/Gecko   (  178): MobileConnectionService: init complete
I/Gecko   (  178): 1540169910055	Marionette	INFO	Marionette enabled via build flag and pref
I/Gecko   (  178): yahaha,dump,im SimpleComponentImpl in simplecomponent.js######################### before prototype
I/Gecko   (  178): yahaha SimpleComponent.js ooooooooooooooooooooooooooooooooooooooooo
I/GeckoConsole(  178): While creating services from category 'profile-after-change', service for entry 'simplecomponent', contract ID '@mozilla.org/simplejs;1' does not implement nsIObserver.
I/Gecko   (  178): yahaha,========>start: javascript component==================>
I/Gecko   (  178): yahaha,...result: yourName = Anonymous!
I/Gecko   (  178): Hello yahaha,change after yourName
I/Gecko   (  178): yahaha,========>end: javascript component====================>
I/Gecko   (  178):  
I/Gecko   (  178): yahaha,==========>start test1....instance of other cpp component in usecomponent.js 
I/Gecko   (  178): yahaha,nfc,,,,,,[xpconnect wrapped nsINfcService]
I/Gecko   (  178): yahaha,=========>end test1 ===================================>
I/Gecko   (  178):  
I/Gecko   (  178): yahahacpp,==========>start,test of cpp component==================>
I/        (  178): yohoho,yahahacpp,log from gecko dom simplecpp.cpp component,nsSimplecpp()
I/Gecko   (  178): yahahacpp,before change()
I/        (  178): yohoho,yahahacpp,log from gecko dom simplecpp.cpp,Change()
I/Gecko   (  178): Hello anonymous====>
I/        (  178): yahaha,log from simplecpp.cpp after Changechange()
I/Gecko   (  178): yahahacpp,============>end of cpp component test====================>
I/Gecko   (  178):  
I/        (  178): yohoho,yahahacpp,log from simplecpp.cpp component,Usecomponent()
I/Gecko   (  178): Hello anonymous====>
I/        (  178): yahaha,log from simplecpp.cpp Usecomponent()
I/Gecko   (  178): yahahacpp,after Simplecpp.usecomponent() result of usecomponent:undefined
I/Gecko   (  178): yahaha,this is a null component in useComponentImpl
I/GeckoConsole(  178): While creating services from category 'profile-after-change', service for entry 'usecomponent', contract ID '@mozilla.org/usecomponent;1' does not implement nsIObserver.
I/Gecko   (  178): 1540169910847	Marionette	INFO	Listening on port 2828
D/EventHub(  178): No input device configuration file found for device 'pmic8xxx_pwrkey'.
W/EventHub(  178): Unable to disable kernel key repeat for /dev/input/event0: Function not implemented
I/EventHub(  178): New device: id=1, fd=65, path='/dev/input/event0', name='pmic8xxx_pwrkey', classes=0x1, configuration='', keyLayout='/system/usr/keylayout/pmic8xxx_pwrkey.kl', keyCharacterMap='/system/usr/keychars/pmic8xxx_pwrkey.kcm', builtinKeyboard=false, usingSuspendBlockIoctl=true, usingClockIoctl=true
D/EventHub(  178): No input device configuration file found for device 'keypad_8064'.
W/EventHub(  178): Unable to disable kernel key repeat for /dev/input/event1: Function not implemented
I/EventHub(  178): New device: id=2, fd=63, path='/dev/input/event1', name='keypad_8064', classes=0x1, configuration='', keyLayout='/system/usr/keylayout/keypad_8064.kl', keyCharacterMap='/system/usr/keychars/keypad_8064.kcm', builtinKeyboard=false, usingSuspendBlockIoctl=true, usingClockIoctl=true
D/EventHub(  178): No input device configuration file found for device 'apq8064-tabla-snd-card Headset Jack'.
I/EventHub(  178): New device: id=3, fd=70, path='/dev/input/event4', name='apq8064-tabla-snd-card Headset Jack', classes=0x80, configuration='', keyLayout='', keyCharacterMap='', builtinKeyboard=false, usingSuspendBlockIoctl=true, usingClockIoctl=true
D/EventHub(  178): No input device configuration file found for device 'apq8064-tabla-snd-card Button Jack'.
W/EventHub(  178): Unable to disable kernel key repeat for /dev/input/event3: Function not implemented
I/EventHub(  178): New device: id=4, fd=71, path='/dev/input/event3', name='apq8064-tabla-snd-card Button Jack', classes=0x1, configuration='', keyLayout='/system/usr/keylayout/apq8064-tabla-snd-card_Button_Jack.kl', keyCharacterMap='/system/usr/keychars/apq8064-tabla-snd-card_Button_Jack.kcm', builtinKeyboard=false, usingSuspendBlockIoctl=true, usingClockIoctl=true
D/EventHub(  178): No input device configuration file found for device 'hs_detect'.
W/EventHub(  178): Unable to disable kernel key repeat for /dev/input/event5: Function not implemented
I/EventHub(  178): New device: id=5, fd=69, path='/dev/input/event5', name='hs_detect', classes=0x81, configuration='', keyLayout='/system/usr/keylayout/hs_detect.kl', keyCharacterMap='/system/usr/keychars/hs_detect.kcm', builtinKeyboard=false, usingSuspendBlockIoctl=true, usingClockIoctl=true
I/EventHub(  178): New device: id=6, fd=73, path='/dev/input/event2', name='touch_dev', classes=0x14, configuration='/system/usr/idc/touch_dev.idc', keyLayout='', keyCharacterMap='', builtinKeyboard=false, usingSuspendBlockIoctl=true, usingClockIoctl=true
I/InputReader(  178): Device added: id=-1, name='Virtual', sources=0x00000301
I/InputReader(  178): Device reconfigured: id=6, name='touch_dev', size 768x1280, orientation 0, mode 1, display id 0
I/InputReader(  178): Device added: id=6, name='touch_dev', sources=0x00001002
I/InputReader(  178): Device added: id=5, name='hs_detect', sources=0x80000101
I/InputReader(  178): Device added: id=4, name='apq8064-tabla-snd-card Button Jack', sources=0x00000101
I/InputReader(  178): Device added: id=3, name='apq8064-tabla-snd-card Headset Jack', sources=0x80000000
I/InputReader(  178): Device added: id=2, name='keypad_8064', sources=0x00000101
I/InputReader(  178): Device added: id=1, name='pmic8xxx_pwrkey', sources=0x00000101
I/HWComposer(  178): Creating new instance
I/qdhwcomposer(  178): hwc_registerProcs
I/qdhwcomposer(  178): Initializing UEVENT Thread
I/qdhwcomposer(  178): Initializing VSYNC Thread
I/Gecko   (  178): 
I/Gecko   (  178): ###!!! [Parent][OnMaybeDequeueOne] Error: Channel closing: too late to send/recv, messages will be lost
I/Gecko   (  178): 
I/(Nuwa)  (  464): Could not read chrome manifest 'file:///system/b2g/chrome.manifest'.
I/Gecko   (  178): AlarmService: init()
I/Gecko   (  178): AlarmService: _restoreAlarmsFromDb()
W/GeckoConsole(  178): [JavaScript Warning: "Empty string passed to getElementById()." {file: "chrome://b2g/content/shell.html" line: 0}]
I/Gecko   (  178): AlarmService: Callback after getting alarms from database: []
I/Gecko   (  178): AlarmService: Current alarm: null
I/Gecko   (  178): AlarmService: Alarm queue: []
I/Gonk    (  178): Connected to netd
I/Gecko   (  464): ###################################### forms.js loaded
I/Gecko   (  464): ############################### browserElementPanning.js loaded
I/Gecko   (  464): ###################################### BrowserElementCopyPaste.js loaded
I/Gecko   (  464): ######################## BrowserElementChildPreload.js loaded
I/Gonk    (  178): RIL[0]: OnConnectSuccess
W/AudioPolicyManagerBase(  173): setPhoneState() setting same state 0
D/SoftapController(  169): Softap fwReload - Ok
E/BandwidthController(  169): No such iface wlan0 to delete
W/AudioFlinger(  173): Thread AudioOut_3 cannot connect to the power manager service
W/AudioFlinger(  173): Thread AudioOut_2 cannot connect to the power manager service
W/AudioFlinger(  173): Thread AudioOut_3 cannot connect to the power manager service
E/AudioFlinger(  173): no wake lock to update!
W/AudioFlinger(  173): Thread AudioOut_2 cannot connect to the power manager service
E/AudioFlinger(  173): no wake lock to update!
I/        (  178): [b2g
I/Gecko   (  178): Extension error: [Exception... "Failed to open input source 'moz-extension://9d5dee22-4829-4087-b1c1-a3ad1881e1b8/manifest.json'"  nsresult: "0x80520012 (NS_ERROR_FILE_NOT_FOUND)"  location: "JS frame :: resource://gre/modules/Extension.jsm :: readJSON/< :: line 594"  data: yes] undefined:594
E/GeckoConsole(  178): [JavaScript Error: "[Exception... "Failed to open input source 'moz-extension://9d5dee22-4829-4087-b1c1-a3ad1881e1b8/manifest.json'"  nsresult: "0x80520012 (NS_ERROR_FILE_NOT_FOUND)"  location: "JS frame :: resource://gre/modules/Extension.jsm :: readJSON/< :: line 594"  data: yes]" {file: "resource://gre/modules/Extension.jsm" line: 751}]
I/Gecko   (  178): Extension error: [Exception... "Failed to open input source 'moz-extension://c805f778-9bf0-4899-9a64-eb2841078c4d/manifest.json'"  nsresult: "0x80520012 (NS_ERROR_FILE_NOT_FOUND)"  location: "JS frame :: resource://gre/modules/Extension.jsm :: readJSON/< :: line 594"  data: yes] undefined:594
E/GeckoConsole(  178): [JavaScript Error: "[Exception... "Failed to open input source 'moz-extension://c805f778-9bf0-4899-9a64-eb2841078c4d/manifest.json'"  nsresult: "0x80520012 (NS_ERROR_FILE_NOT_FOUND)"  location: "JS frame :: resource://gre/modules/Extension.jsm :: readJSON/< :: line 594"  data: yes]" {file: "resource://gre/modules/Extension.jsm" line: 751}]
I/Gecko   (  178): Extension error: [Exception... "Failed to open input source 'moz-extension://9a0cac4b-4e79-48f8-b76d-059a23bafa12/manifest.json'"  nsresult: "0x80520012 (NS_ERROR_FILE_NOT_FOUND)"  location: "JS frame :: resource://gre/modules/Extension.jsm :: readJSON/< :: line 594"  data: yes] undefined:594
E/GeckoCon
Qualcomm Audio HAL 音频通路设置 1. 音频框图概述 | Front End PCMs | SoC DSP | Back End DAIs | Audio devices | ************* PCM0 &lt;------------&gt; * * &lt;----DAI0-----&gt; Codec Headset ... 阅读详情

相关推荐

软件测试:Selenium+TestNG

请结合Selenium与TestNG测试工具,选择自己做的网站或者现成网站的一个功能,结合数据库的表对功能进行自动化web测试。

m0_59081425的博客 9535

售后重启不开机

一、背景介绍 售后机器不开机,经分析是分区损坏导致异常发生 二、分析过程 1.  从现象上看是手机有些是卡在开机动画或者开机第一帧反复重启或者不开机 2. 卡在第一帧的(一是卡在lk logo,二是卡在kernel log)需要打印出来串口log分析,卡在开机动画的可以抓取离线log(mtk平台在不开机状态下可以用GAT工具抓取) 第一种情况: 在优化第N个应用,优化到最后一个

u012900947的博客 2578

微信小程序导航栏滑动一定距离后固定到顶部

接上一篇文章的内容,通常在一个页面中部会有一个导航栏查看不同的内容,这篇文章旨在实现在页面下滑的过程中导航栏自动固定到顶部以便我们阅读过程中的切换。 下滑一段距离后自动固定到顶部 首先,思考这个功能应该是怎么实现的: 在页面下滑的过程中,我们希望系统应当能识别下滑了多少距离,当原本的导航栏逐渐被遮住以后(遮住意味着下滑了特定距离),触发这个功能,执行另一种样式,将导航栏固定在页面顶端,同时如果我们将页面往上滑,系统能识别到原来的导航栏能露出来了(即距离顶端的高度小于一个特定的值),这时候又执行最初的样式

Oblivision_Geek的博客 4037

1. 基于STM32的1.28寸圆形IPS屏(GC9A01)驱动移植实战:软件SPI与硬件SPI双方案详解

本文详细介绍了如何在STM32平台上为1.28寸圆形IPS屏(GC9A01驱动芯片)移植驱动程序,涵盖软件SPI与硬件SPI两种实现方案。内容从引脚定义、工程搭建、GPIO配置到SPI外设初始化逐步详解,并提供了完整的测试代码,帮助开发者根据项目需求(灵活性或性能)选择合适的通信方式,快速点亮屏幕并集成到智能手表等嵌入式项目中。

weixin_42300144的博客 205

省三医院新门诊大楼网络安全建设项目实施方案

为了响应国家建设数字医疗,构建医联网、医共体的号召,新门诊大楼现有计算机网络,实现各门诊室、药房、医学影像科室及后勤科室的终端数据互通。在互联网出口以三层模式部署两台防火墙,作为连接公网的出口设备;出于等保合规和自身业务安全的考虑,现需要该网络上通过网络安全设备实现安全建设。公网出口防火墙,配置攻击防御策略,防御互联网上的病毒进入内网。公网出口防火墙配置攻击防御策略,防御外网对内网的入侵行为。服务器取得边界防火墙,配置攻击防御策略,入侵防御策略。公网出口防火墙配置入侵防御策略,防御外网对内网发起的D。

m0_63645854的博客 2021

数仓 - 促销敏感度、评论敏感度

1. 促销敏感度 步骤1. 首先按照最后一次下单时间及有无复购情况将用户分为四大群体: 近一年有购物行为且复购的用户 -- L1 (今年复购用户) 近一年有购物行为但无复购的用户 --L2 (今年一单购用户) 最后一次下单时间在1年之前且有复购的用户 --L3 (今年无购且只有一单用户) 最后一次下单时间在1年之前但无复购的用户 -- L4 (今年无购多单用户) 步骤2. 每一类用户群再根据优惠订单占比、每单优惠金额占比的平均值、优惠金额这三个指标进行k-means聚类,分为: 非常敏感 -

weixin_41332009的博客 1910

写给音响工程师的科普文章(二)——从模电角度去了解调音台话放

    上一篇讲到调音台第一级放大电路为差分放大器,关于差分放大器的基础知识可以参考以下资料:https://wenku.baidu.com/view/e6a46aaa2af90242a995e537 在教材中的差分放大器基本形式是这样子的,在实际电路中把RE电阻换成两个2倍RE,于是变成这样 然后我们现在来对比调音台中的差分放大器和教材中的有什么区别,我就拿yamaha 01V 96来说...

huanghaoAudio的博客 7711

惯性导航原理(九)-INS的初始对准-初始姿态确定+双矢量定姿

文章目录INS的初始对准INS初始化静基座/静态粗对准静态粗对准—加速度计调平原理加速度计调平静态粗对准—陀螺罗盘思考初始对准的影响因素双矢量定姿原理静态解析粗对准—双矢量定姿静态解析粗对准(续)其它初始对准方法精对准动对准 INS的初始对准 INS的初始对准为初始化的一部分 INS初始化 初始位置: 给定(INS没有初始位置确定的能力,例如从GPS ) 初始速度: 零(静止状态)或给定 初始姿态: 初始对准(INS有能力自己测资态) 粗对准vs. 精对准 静止状态vs. 运动状态 重要性: 失之毫厘,谬

十八与她的博客 1万+

Linux | Ubuntu18.04安装WIFI6 AX201驱动完整教程

本节介绍了如何在Ubuntu18下安装AX201驱动的教程。

九七的博客 8894

EMB电子机械制动系统和EHB电子液压制动系统控制功能的对比

EMB电子机械制动系统相比EHB液压制动系统具有显著优势:响应速度更快(<100ms)、控制精度更高(±2N·m)、能实现单轮独立控制,支持0.1%级制动力调节。在ABS、ESC等安全功能上表现更优,制动平顺性和NVH性能更好,同时提升能量回收效率15%-20%。特别适合智能驾驶需求,可使AEB等系统响应时间缩短50ms,紧急制动距离减少1米以上。EMB系统完美契合高阶自动驾驶对快速响应和精准控制的要求。

m0_59012156的博客 896

深度学习工具包 DeepLearningToolbox

深度学习工具包Deprecation notice.-----This toolbox is outdated and no longer maintained.There are much better tools available for deep learning than this toolbox, e.g. [Theano](http://deeplearning.net/software/theano/), [torch](http://torch.ch/) or [tensorflow](http://www.tensorflow.org/)I would suggest you use one of the tools mentioned above rather than use this toolbox.Best, Rasmus.DeepLearnToolbox================A Matlab toolbox for Deep Learning.Deep Learning is a new subfield of machine learning that focuses on learning deep hierarchical models of data.It is inspired by the human brain's apparent deep (layered, hierarchical) architecture.A good overview of the theory of Deep Learning theory is[Learning Deep Architectures for AI](http://www.iro.umontreal.ca/~bengioy/papers/ftml_book.pdf)For a more informal introduction, see the following videos by Geoffrey Hinton and Andrew Ng.* [The Next Generation of Neural Networks](http://www.youtube.com/watch?v=AyzOUbkUf3M) (Hinton, 2007)* [Recent Developments in Deep Learning](http://www.youtube.com/watch?v=VdIURAu1-aU) (Hinton, 2010)* [Unsupervised Feature Learning and Deep Learning](http://www.youtube.com/watch?v=ZmNOAtZIgIk) (Ng, 2011)If you use this toolbox in your research please cite [Prediction as a candidate for learning deep hierarchical models of data](http://www2.imm.dtu.dk/pubdb/views/publication_details.php?id=6284)```@MASTERSTHESIS\{IMM2012-06284, author = "R. B. Palm", title = "Prediction as a candidate for learning deep hierarchical models of data", year = "2012",}```Contact: rasmusbergpalm at gmail dot comDirectories included in the toolbox-----------------------------------`NN/` - A library for Feedforward Backpropagation Neural Networks`CNN/` - A library for Convolutional Neural Networks`DBN/` - A library for Deep Belief Networks`SAE/` - A library for Stacked Auto-Encoders`CAE/` - A library for Convolutional Auto-Encoders`util/` - Utility functions used by the libraries`data/` - Data used by the examples`tests/` - unit tests to verify toolbox is workingFor references on each library check REFS.mdSetup-----1. Download.2. addpath(genpath('DeepLearnToolbox'));Example: Deep Belief Network---------------------```matlabfunction test_example_DBNload mnist_uint8;train_x = double(train_x) / 255;test_x = double(test_x) / 255;train_y = double(train_y);test_y = double(test_y);%% ex1 train a 100 hidden unit RBM and visualize its weightsrand('state',0)dbn.sizes = [100];opts.numepochs = 1;opts.batchsize = 100;opts.momentum = 0;opts.alpha = 1;dbn = dbnsetup(dbn, train_x, opts);dbn = dbntrain(dbn, train_x, opts);figure; visualize(dbn.rbm{1}.W'); % Visualize the RBM weights%% ex2 train a 100-100 hidden unit DBN and use its weights to initialize a NNrand('state',0)%train dbndbn.sizes = [100 100];opts.numepochs = 1;opts.batchsize = 100;opts.momentum = 0;opts.alpha = 1;dbn = dbnsetup(dbn, train_x, opts);dbn = dbntrain(dbn, train_x, opts);%unfold dbn to nnnn = dbnunfoldtonn(dbn, 10);nn.activation_function = 'sigm';%train nnopts.numepochs = 1;opts.batchsize = 100;nn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.10, 'Too big error');```Example: Stacked Auto-Encoders---------------------```matlabfunction test_example_SAEload mnist_uint8;train_x = double(train_x)/255;test_x = double(test_x)/255;train_y = double(train_y);test_y = double(test_y);%% ex1 train a 100 hidden unit SDAE and use it to initialize a FFNN% Setup and train a stacked denoising autoencoder (SDAE)rand('state',0)sae = saesetup([784 100]);sae.ae{1}.activation_function = 'sigm';sae.ae{1}.learningRate = 1;sae.ae{1}.inputZeroMaskedFraction = 0.5;opts.numepochs = 1;opts.batchsize = 100;sae = saetrain(sae, train_x, opts);visualize(sae.ae{1}.W{1}(:,2:end)')% Use the SDAE to initialize a FFNNnn = nnsetup([784 100 10]);nn.activation_function = 'sigm';nn.learningRate = 1;nn.W{1} = sae.ae{1}.W{1};% Train the FFNNopts.numepochs = 1;opts.batchsize = 100;nn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.16, 'Too big error');```Example: Convolutional Neural Nets---------------------```matlabfunction test_example_CNNload mnist_uint8;train_x = double(reshape(train_x',28,28,60000))/255;test_x = double(reshape(test_x',28,28,10000))/255;train_y = double(train_y');test_y = double(test_y');%% ex1 Train a 6c-2s-12c-2s Convolutional neural network %will run 1 epoch in about 200 second and get around 11% error. %With 100 epochs you'll get around 1.2% errorrand('state',0)cnn.layers = { struct('type', 'i') %input layer struct('type', 'c', 'outputmaps', 6, 'kernelsize', 5) %convolution layer struct('type', 's', 'scale', 2) %sub sampling layer struct('type', 'c', 'outputmaps', 12, 'kernelsize', 5) %convolution layer struct('type', 's', 'scale', 2) %subsampling layer};cnn = cnnsetup(cnn, train_x, train_y);opts.alpha = 1;opts.batchsize = 50;opts.numepochs = 1;cnn = cnntrain(cnn, train_x, train_y, opts);[er, bad] = cnntest(cnn, test_x, test_y);%plot mean squared errorfigure; plot(cnn.rL);assert(er<0.12, 'Too big error');```Example: Neural Networks---------------------```matlabfunction test_example_NNload mnist_uint8;train_x = double(train_x) / 255;test_x = double(test_x) / 255;train_y = double(train_y);test_y = double(test_y);% normalize[train_x, mu, sigma] = zscore(train_x);test_x = normalize(test_x, mu, sigma);%% ex1 vanilla neural netrand('state',0)nn = nnsetup([784 100 10]);opts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samples[nn, L] = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.08, 'Too big error');%% ex2 neural net with L2 weight decayrand('state',0)nn = nnsetup([784 100 10]);nn.weightPenaltyL2 = 1e-4; % L2 weight decayopts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samplesnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex3 neural net with dropoutrand('state',0)nn = nnsetup([784 100 10]);nn.dropoutFraction = 0.5; % Dropout fraction opts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samplesnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex4 neural net with sigmoid activation functionrand('state',0)nn = nnsetup([784 100 10]);nn.activation_function = 'sigm'; % Sigmoid activation functionnn.learningRate = 1; % Sigm require a lower learning rateopts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samplesnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex5 plotting functionalityrand('state',0)nn = nnsetup([784 20 10]);opts.numepochs = 5; % Number of full sweeps through datann.output = 'softmax'; % use softmax outputopts.batchsize = 1000; % Take a mean gradient step over this many samplesopts.plot = 1; % enable plottingnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex6 neural net with sigmoid activation and plotting of validation and training error% split training data into training and validation datavx = train_x(1:10000,:);tx = train_x(10001:end,:);vy = train_y(1:10000,:);ty = train_y(10001:end,:);rand('state',0)nn = nnsetup([784 20 10]); nn.output = 'softmax'; % use softmax outputopts.numepochs = 5; % Number of full sweeps through dataopts.batchsize = 1000; % Take a mean gradient step over this many samplesopts.plot = 1; % enable plottingnn = nntrain(nn, tx, ty, opts, vx, vy); % nntrain takes validation set as last two arguments (optionally)[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');```[![Bitdeli Badge](https://d2weczhvl823v0.cloudfront.net/rasmusbergpalm/deeplearntoolbox/trend.png)](https://bitdeli.com/free "Bitdeli Badge")

jdk-8u144-linux-x64.tar.gz.

该资源为搭建Linux系统Java环境用,资源的后缀为tar.gz格式的压缩包

老版QQ原生表情gif动态

这是老版的QQ表情,不过全是动态的的,Windows照片查看器是不会动的,可以右击用浏览器打开查看,再说一遍是老版的,只是分享给宁愿用老版也要动态的人。

数学建模模型总结

这是本人在两年内准备参加数学建模竞赛搜集到的模型资料,已经经过了本人的筛选和整理,希望能够对准备参加数学建模竞赛的学弟学妹们提供一些帮助!

上一篇: gdb 使用
下一篇: b2g 中各进程启动框图
nedwons
博客等级 码龄9年 311粉丝 572原创
评论 2
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

个

红包个数最小为10个

元

红包金额最低5元

当前余额3.43元 前往充值 >
需支付:10.00元
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付元
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值
⌂ 换网址