回复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

SAP Workflow 工作流开发步骤总结

SAP WORKFLOW

qq_36952606的博客 5109

芯片封装、功率密度提升及热管理系统优化三个维度分析高功率芯片散热技术挑战

本文探讨高功率芯片散热技术挑战与创新。随着新能源汽车MOSFET用量增至400颗/车,文章聚焦封装技术创新(双面散热、集成模块)、功率密度提升(SGT-MOSFET优化)和热管理系统协同优化三大方向。通过热仿真案例(如CPO散热优化)展示温升改善方案,强调需协同器件级设计、系统级仿真与先进封装技术(混合键合/玻璃基板)来解决高密度互连与散热矛盾,为功率密度跃升提供技术支撑。

莱歌数字的博客 1484

【数据库】银行/信贷业务测试工作中涉及的数据库表格

银行/信贷业务测试工作中涉及的数据库表格,金融信贷测试人必看!

孤之鹜的博客 1183

ClickHouse集群扩容实战:用clickhouse-copier搞定数据迁移与分片重平衡

本文详细介绍了使用clickhouse-copier工具实现ClickHouse集群从3分片到5分片的平滑扩容实战。通过分片级并行处理、原子性保证等核心机制,该工具能高效完成数据迁移与分片重平衡,同时保持服务连续性。文章涵盖集群拓扑规划、表结构检查、迁移配置、执行监控及迁移后优化等关键步骤,为大数据量场景下的ClickHouse扩容提供完整解决方案。

weixin_29091837的博客 296

数据预处理

数据预处理 数据预处理(数据清洗)是数据挖掘过程中的重要一步,它主要包括数据清洗,数据集成,数据变换和数据规约。 在我们进行数据挖掘的过程中,大量的原始数据中存在着大量有问题的数据(脏数据)比如有缺失值的,不一致的,有异常的,大量重复的数据等。这些脏数据会严重影响到数据挖掘建模过程的执行效率,也可能会使挖掘结果产生偏差。通过数据预处理(数据清洗)可以提高数据的质量,更好的适应特定的挖掘技术及工具。...

CJW的博客 9934

cuRobo 入门教程(一)基于CUDA的机器人运动规划加速库

cuRobo是一款基于CUDA加速的机器人算法库,提供运动学计算、碰撞检测、轨迹优化等功能。该库采用并行优化技术,在GPU上实现高效运算,比现有方案快60倍。cuRobo支持多种机器人模型和环境表示,包含正向/逆向运动学、无碰撞轨迹生成、模型预测控制等核心算法,并可与IsaacSim等仿真平台集成。其特点包括:1) 支持多种碰撞检测方式(长方体/网格/深度图像);2) 提供批量环境处理和实时世界更新;3) 通过CUDA Graphs加速优化迭代;4) 在Jetson Orin等平台实现毫秒级运动规划。安装支

2506_90492529的博客 1947

2025_NIPS_Grounded Reinforcement Learning for Visual Reasoning

尽管基于思维链的强化学习已在数学、编程等任务中显著提升语言模型性能,但视觉推理面临额外复杂性——需模型引导视觉注意力、解读感知输入,并将抽象推理锚定到空间证据上。本文提出ViGoRL(视觉接地强化学习),这是一种通过强化学习训练的视觉语言模型,能将每个推理步骤明确锚定到特定视觉坐标。受人类视觉决策启发,ViGoRL学会生成空间接地的推理轨迹,在每个步骤引导视觉注意力聚焦任务相关区域。当需要细粒度探索时,我们提出的多轮强化学习框架允许模型随着推理展开动态缩放至预测坐标。

c_cpp_csharp的专栏 66

【DRAM存储器二十六】DDR4介绍-DDR4 SDRAM的主要技术特性之CA Parity、CRC Write date

详述DDR4的CA奇偶检验和写数据CRC校验功能

highman110的博客 1320

OV9734 DATASHEET,完整规格书

OV9734完整规格书,包括电气参数,尺寸规格,寄存器配置表等

深度学习工具包 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")

锂电池充电器电路设计 里面有电路

锂电池充电器电路设计 里面有电路 3.7V升压到5V电路设计。

win10 跳过U8环境检测的IE WebControls.rar

win10 安装u8的时候 提示IE WebControls 不通过,这个工具可以欺骗u8的检查。 跳过U8环境检测的IE WebControls。提示导入失败后,重新检测通过。

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

请填写红包祝福语或标题

个

红包个数最小为10个

元

红包金额最低5元

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

抵扣说明:

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

余额充值