AudioFlinger: createRecordTrack_l() initCheck failed -12; no control block?报错求助

复读鸽 2019-03-23 06:44:28
2019-03-23 18:42:22.615 1388-1388/? E/AudioFlinger: createRecordTrack_l() initCheck failed -12; no control block?
2019-03-23 18:42:22.615 2227-5821/? E/AudioRecord: AudioFlinger could not create record track, status: -12
2019-03-23 18:42:22.620 2227-5821/? E/AudioRecord-JNI: Error creating AudioRecord instance: initialization check failed with status -12.
2019-03-23 18:42:22.620 2227-5821/? E/android.media.AudioRecord: Error code -20 when initializing native AudioRecord object.
2019-03-23 18:42:22.620 2227-5821/? I/MicrophoneInputStream: mic_started com.google.android.apps.gsa.staticplugins.z.c@835e2f9
2019-03-23 18:42:22.621 2227-5821/? E/ActivityThread: Failed to find provider info for com.google.android.apps.gsa.testing.ui.audio.recorded
2019-03-23 18:42:22.622 2227-2227/? I/MicroDetectionWorker: onReady
2019-03-23 18:42:22.624 2227-5821/? I/MicrophoneInputStream: mic_close com.google.android.apps.gsa.staticplugins.z.c@835e2f9
2019-03-23 18:42:22.625 2227-6770/? I/MicroRecognitionRunner: Detection finished
2019-03-23 18:42:22.625 2227-6770/? W/ErrorReporter: reportError [type: 211, code: 524300]: Error reading from input stream
2019-03-23 18:42:22.626 2227-2537/? I/MicroRecognitionRunner: Stopping hotword detection.
2019-03-23 18:42:22.626 2227-6770/? W/ErrorProcessor: onFatalError, processing error from engine(4)
com.google.android.apps.gsa.shared.speech.a.g: Error reading from input stream
at com.google.android.apps.gsa.staticplugins.recognizer.i.a.a(SourceFile:342)
at com.google.android.apps.gsa.staticplugins.recognizer.i.a$1.run(SourceFile:1367)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:428)
at java.util.concurrent.FutureTask.run(FutureTask.java:237)
at com.google.android.apps.gsa.shared.util.concurrent.a.ak.run(SourceFile:66)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607)
at java.lang.Thread.run(Thread.java:761)
at com.google.android.apps.gsa.shared.util.concurrent.a.ad$1.run(SourceFile:85)
Caused by: com.google.android.apps.gsa.shared.exception.GsaIOException: Error code: 393238 | Buffer overflow, no available space.
at com.google.android.apps.gsa.speech.audio.Tee.g(SourceFile:2531)
at com.google.android.apps.gsa.speech.audio.ap.read(SourceFile:555)
at java.io.InputStream.read(InputStream.java:101)
at com.google.android.apps.gsa.speech.audio.al.run(SourceFile:362)
at com.google.android.apps.gsa.speech.audio.ak$1.run(SourceFile:471)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:428)
at java.util.concurrent.FutureTask.run(FutureTask.java:237)
at com.google.android.apps.gsa.shared.util.concurrent.a.ak.run(SourceFile:66)
at com.google.android.apps.gsa.shared.util.concurrent.a.ax.run(SourceFile:139)
at com.google.android.apps.gsa.shared.util.concurrent.a.ax.run(SourceFile:139)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133) 
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607) 
at java.lang.Thread.run(Thread.java:761) 
at com.google.android.apps.gsa.shared.util.concurrent.a.ad$1.run(SourceFile:85) 
2019-03-23 18:42:22.626 2227-6770/? I/AudioController: internalShutdown
2019-03-23 18:42:22.627 2227-2227/? I/MicroDetector: Keeping mic open: false
2019-03-23 18:42:22.627 2227-2227/? I/MicroDetectionWorker: #onError(false)
2019-03-23 18:42:22.627 2227-6769/? I/DeviceStateChecker: DeviceStateChecker cancelled
2019-03-23 18:42:27.634 2227-2227/? I/MicroDetectionWorker: Micro detection mode: [mDetectionMode: [1]].
2019-03-23 18:42:27.634 2227-2227/? I/AudioController: Using mInputStreamFactoryBuilder
2019-03-23 18:42:27.638 2227-6775/? I/MicroRecognitionRunner: Starting detection.
2019-03-23 18:42:27.638 2227-5821/? I/MicrophoneInputStream: mic_starting com.google.android.apps.gsa.staticplugins.z.c@b682b33
2019-03-23 18:42:27.640 1388-6778/? I/AudioFlinger: AudioFlinger's thread 0xa6283dc0 ready to run
2019-03-23 18:42:27.656 1388-1421/? E/AudioFlinger: not enough memory for AudioTrack size=131296
2019-03-23 18:42:27.656 1388-1421/? D/MemoryDealer: AudioTrack (0xacb1cd20, size=4194304)
0: 0xacb1cd30 | 0x00000000 | 0x000200E0 | A
1: 0xacb1cd50 | 0x000200E0 | 0x000200E0 | A
2: 0xacb1ccc0 | 0x000401C0 | 0x000200E0 | A
3: 0xacb1cec0 | 0x000602A0 | 0x000200E0 | A
4: 0xac20c300 | 0x00080380 | 0x000200E0 | A
5: 0xab5fe380 | 0x000A0460 | 0x000200E0 | A
6: 0xac20c570 | 0x000C0540 | 0x000200E0 | A
7: 0xab5fe3d0 | 0x000E0620 | 0x000200E0 | A
8: 0xac20c790 | 0x00100700 | 0x000200E0 | A
9: 0xab5fe490 | 0x001207E0 | 0x000200E0 | A
10: 0xab5fe6b0 | 0x001408C0 | 0x000200E0 | A
11: 0xac20c940 | 0x001609A0 | 0x000200E0 | A
12: 0xab5fe930 | 0x00180A80 | 0x000200E0 | A
13: 0xac20c220 | 0x001A0B60 | 0x000200E0 | A
14: 0xab5fe2b0 | 0x001C0C40 | 0x000200E0 | A
15: 0xab5fe7e0 | 0x001E0D20 | 0x000200E0 | A
16: 0xab5fe950 | 0x00200E00 | 0x000200E0 | A
17: 0xab5feee0 | 0x00220EE0 | 0x000200E0 | A
18: 0xac20c3f0 | 0x00240FC0 | 0x000200E0 | A
19: 0xac20ccf0 | 0x002610A0 | 0x000200E0 | A
...全文
780 1 打赏 收藏 转发到动态 举报
写回复
用AI写文章
1 条回复
切换为时间正序
请发表友善的回复…
发表回复
复读鸽 2019-03-23
  • 打赏
  • 举报
回复
实在找不到是哪里运行有问题了

80,362

社区成员

发帖
与我相关
我的任务
社区描述
移动平台 Android
androidandroid-studioandroidx 技术论坛(原bbs)
社区管理员
  • Android
  • yechaoa
  • 失落夏天
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧