Android-問題-obtainBuffer timed out (is the CPU pegged?)
日誌描述:
W/SocketClient( 2263): write error (Broken pipe)
I/Vitamio[Player]( 3755): Info (901, 478)
I/Vitamio[Player]( 3755): Info (901, 522)
W/SocketClient( 2263): write error (Broken pipe)
I/Vitamio[Player]( 3755): Info (901, 483)
I/Vitamio[Player]( 3755): Info (901, 501)
W/AudioTrack( 3755): obtainBuffer timed out (is the CPU pegged?) 0x689021c0 name=0x1user=007b0954, server=007afc45
W/AudioTrack( 3755): obtainBuffer timed out (is the CPU pegged?) 0x689021c0 name=0x1user=007b0954, server=007afc45
W/AudioTrack( 3755): obtainBuffer timed out (is the CPU pegged?) 0x689021c0 name=0x1user=007b0954, server=007afc45
W/SocketClient( 2263): write error (Broken pipe)
W/AudioTrack( 3755): obtainBuffer timed out (is the CPU pegged?) 0x689021c0 name=0x1user=007b0954, server=007afc45
W/AudioTrack( 3755): obtainBuffer timed out (is the CPU pegged?) 0x689021c0 name=0x1user=007b0954, server=007afc45
W/AudioTrack( 3755): obtainBuffer timed out (is the CPU pegged?) 0x689021c0 name=0x1user=007b0954, server=007afc45
W/AudioTrack( 3755): obtainBuffer timed out (is the CPU pegged?) 0x689021c0 name=0x1user=007b0954, server=007afc45
W/AudioTrack( 3755): obtainBuffer timed out (is the CPU pegged?) 0x689021c0 name=0x1user=007b0954, server=007afc45
W/AudioTrack( 3755): obtainBuffer timed out (is the CPU pegged?) 0x689021c0 name=0x1user=007b0954, server=007afc45
W/AudioTrack( 3755): obtainBuffer timed out (is the CPU pegged?) 0x689021c0 name=0x1user=007b0954, server=007afc45
W/AudioTrack( 3755): obtainBuffer timed out (is the CPU pegged?) 0x689021c0 name=0x1user=007b0954, server=007afc45
W/AudioTrack( 3755): obtainBuffer timed out (is the CPU pegged?) 0x689021c0 name=0x1user=007b0954, server=007afc45
W/AudioTrack( 3755): obtainBuffer timed out (is the CPU pegged?) 0x689021c0 name=0x1user=007b0954, server=007afc45
W/AudioTrack( 3755): obtainBuffer timed out (is the CPU pegged?) 0x689021c0 name=0x1user=007b0954, server=007afc45
W/AudioTrack( 3755): obtainBuffer timed out (is the CPU pegged?) 0x689021c0 name=0x1user=007b0954, server=007afc45
W/SocketClient( 2263): write error (Broken pipe)
W/AudioTrack( 3755): obtainBuffer timed out (is the CPU pegged?) 0x689021c0 name=0x1user=007b0954, server=007afc45
W/AudioTrack( 3755): obtainBuffer timed out (is the CPU pegged?) 0x689021c0 name=0x1user=007b0954, server=007afc45
W/AudioTrack( 3755): obtainBuffer timed out (is the CPU pegged?) 0x689021c0 name=0x1user=007b0954, server=007afc45
W/AudioTrack( 3755): obtainBuffer timed out (is the CPU pegged?) 0x689021c0 name=0x1user=007b0954, server=007afc45
W/AudioTrack( 3755): obtainBuffer timed out (is the CPU pegged?) 0x689021c0 name=0x1user=007b0954, server=007afc45
W/AudioTrack( 3755): obtainBuffer timed out (is the CPU pegged?) 0x689021c0 name=0x1user=007b0954, server=007afc45
W/AudioTrack( 3755): obtainBuffer timed out (is the CPU pegged?) 0x689021c0 name=0x1user=007b0954, server=007afc45
W/AudioTrack( 3755): obtainBuffer timed out (is the CPU pegged?) 0x689021c0 name=0x1user=007b0954, server=007afc45
W/AudioTrack( 3755): obtainBuffer timed out (is the CPU pegged?) 0x689021c0 name=0x1user=007b0954, server=007afc45
W/AudioTrack( 3755): obtainBuffer timed out (is the CPU pegged?) 0x689021c0 name=0x1user=007b0954, server=007afc45
W/AudioTrack( 3755): obtainBuffer timed out (is the CPU pegged?) 0x689021c0 name=0x1user=007b0954, server=007afc45
D/dalvikvm( 2555): GC_CONCURRENT freed 533K, 16% free 4976K/5876K, paused 2ms+4ms, total 36ms
W/AudioTrack( 3755): obtainBuffer timed out (is the CPU pegged?) 0x689021c0 name=0x1user=007b0954, server=007afc45
U-Boot 2009.08-00680-ge564407-dirty ( 8月 20 2014 - 20:17:07)
CPU: Freescale i.MX6 family TO1.2 at 792 MHz
Thermal sensor with ratio = 182
Temperature: 54 C, calibration data 0x57e4e469
mx6q pll1: 792MHz
mx6q pll2: 528MHz
mx6q pll3: 480MHz
mx6q pll8: 50MHz
ipg clock : 66000000Hz
ipg per clock : 66000000Hz
uart clock : 80000000Hz
cspi clock : 60000000Hz
ahb clock : 132000000Hz
未知原因突然出現,然後重啟。
相關資料:
1. http://blog.csdn.net/xiaokala_2011/article/details/8187927
EVDO藍芽打電話後,結束通話電話手機完全沒有聲音,這個問題產生的原因就是BT PCMmaster,主晶片PCM slave造成的,再結束通話電話時有個提示音沒有播出來。從log看是申請不到記憶體,其實是能看到obtainBuffer timed out (is the CPU pegged?)這句log,後來高通給了patch,是在audio_out.c檔案做的修改
將audio_write()函式中的程式睡眠喚醒方式做了修改
rc = wait_event_interruptible(audio->wait,
(frame->used == 0) || (audio->stopped));
改成
rc = wait_event_interruptible_timeout(audio->wait,
(frame->used == 0) || (audio->stopped),
msecs_to_jiffies(2000));
2. http://soledadpenades.com/2009/08/25/is-the-cpu-pegged-and-friends/
it means you are not filling in quickly enough the audio buffer for an AudioTrack, Or
that it seems so
相關文章
- Feign,HTTP連線超時問題SocketTimeoutException: Read timed outHTTPException
- jdbc訪問KingbaseES資料庫SocketTimeoutException Read timed outJDBC資料庫Exception
- [Clickhouse] Clickhouse 報SQLException : Read timed outSQLException
- 關於遠端連線虛擬機器Network error: Connection timed out的問題虛擬機Error
- 【Azure Fabric Service】Service Fabric部署失敗問題 Provisioning of VM extension ConfigureVM has timed out.
- 【解決】io.lettuce.core.RedisCommandTimeoutException: Command timed outRedisException
- 報錯(已解決)Command timed out after no timeout
- Failed to connect to ESP8266: Timed out waiting for packet headerAIHeader
- [debug] vagrant報錯mount.nfs: Connection timed outNFS
- WARNING: inbound connection timed out (ORA-3136)錯誤分析
- java.sql.SQLException:IO 錯誤:Socket read timed out !JavaSQLException
- 部分OPPO機型 AssetManager.finalize() timed out的修復
- io.lettuce.core.RedisCommandTimeoutException: Command timed out 解決辦法RedisException
- java.net.SocketTimeoutException: Read timed out異常解決方法JavaException
- oozie.action.hadoop.LauncherException: IO error Connection timed out: no further informationHadoopExceptionErrorORM
- 執行systemctl status ssh返回“Failed to get properties: Connection timed out”AI
- RetryableException: Read timed out executing導致服務假死無響應Exception
- java.sql.SQLRecoverableException: IO Error: Socket read timed out 排查歷程JavaSQLExceptionError
- 解決 ssh connect to host github.com port 22 Connection timed outGithub
- 【python】pip安裝庫時出現Read timed out.解決辦法Python
- CM agent 傳送heartbeat給CM server 不斷髮生 connection refused:timed outServer
- cpu使用率過高問題(Java)Java
- 如何捕獲問題SQL解決過度CPU消耗的問題SQL
- 教你兩招解決EOS CPU短缺問題
- 記一次排查CPU高的問題
- [重慶思莊每日技術分享]-CENTOS7.7 登入顯示:abrt-cli status' timed outCentOS
- JVM 常見線上問題 → CPU 100%、記憶體洩露 問題排查JVM記憶體洩露
- Putty或MobaXTerm無法連線VMware虛擬機器 報Network error: Connection timed out的解決方案虛擬機Error
- zabbix修改LINUX的CPU負載監控問題Linux負載
- Oracle CPU使用率過高問題處理Oracle
- Springboot2.x整合lettuce連線redis叢集報超時異常Command timed out after 6 second(s)Spring BootRedis
- 雲吞鋪子:RDS for MySQL CPU效能問題分析3MySql
- 雲吞鋪子:RDS for MySQL CPU效能問題分析2MySql
- mysql資料庫Cpu利用率100%問題排查MySql資料庫
- Kubernetes:CPU 配置、Linux CFS、程式語言的效能問題Linux
- Android-認識BitmapAndroid
- 一次線上CPU高的問題排查實踐
- 效能測試瓶頸之CPU問題分析與調優
- 解決伺服器滿CPU被當礦機問題伺服器