-
Notifications
You must be signed in to change notification settings - Fork 584
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ANR happens if plugin headset while do recording #1947
Comments
The logcat.log shows a SIGSEGV ''' Also it looks like OboeTester is not using the shared_ptr! ''' |
I cannot reproduce this on a Pixel 7 Pro running V. bugreport-thor-TKQ1.220829.002-2023-12-15-15-55-13.txt.zip 12-15 14:46:15:442 onAudioServerDied() audioserver started That can cause an ANR if it takes a long time for the audioservice to recover. |
Basic default INPUT stream is opened here: 12-15 15:39:14.588 10074 7124 7124 I OboeAudio: openStream() INPUT -------- OboeVersion1.8.0 -------- A legacy FAST CAPTURE is created: 12-15 15:39:14.617 10074 7124 7124 I AudioRecord: createRecord_l(3014756): AUDIO_INPUT_FLAG_FAST successful; frameCount 0 -> 4096 12-15 15:39:15.003 10074 7124 7124 D AAudio : AAudioStream_requestStart(s#1) called -------------- 12-15 15:39:15.028 1041 12243 15037 D PAL: Stream: create: 300: Exit stream 0xb400007756235000K create successful Some HAL errors: 12-15 15:39:15.040 1000 1310 1310 E ACDB : AcdbCmdGetGraphAlias:4153 Error[19]: Graph Alias chunk data does not exist. Is it enabled?. 12-15 15:39:15.043 1000 1310 1310 E ACDB : AcdbCmdGetProcSubgraphCalDataPersist:8408 Error[19]: No calibration found Followed shortly after by the SIGSEGV 12-15 15:39:15.159 10074 7124 15030 F libc : Fatal signal 11 (SIGSEGV), code 2 (SEGV_ACCERR), fault addr 0x7791afd000 in tid 15030 (AudioRecord), pid 7124 (leer.oboetester) 12-15 15:39:15.392 10074 15041 15041 F DEBUG : backtrace: 12-15 15:39:59:522 onAudioServerDied() audioserver died |
@xzhan96 - Thanks for reporting this. I need some more information. How often does the ANR happen? Every time? Once? If it happens every time, please reboot the phone, reproduce the ANR, then take a bugreport immediately. If device specific, and you are on Linux or a Macintosh, connect the device and please share the result for the following script. This gets properties of the device.
|
thanks @philburk , I have confirmed this is a XiaoMi ROM's bug, they will fix it recently. |
Android version(s): 13
Android device(s):
xiaomi 2203121c
Oboe version: latest source code
App name used for testing: apk built by latest source code
(Please try to reproduce the issue using the OboeTester or an Oboe sample.)
Short description
(Please only report one bug per Issue. Do not combine multiple bugs.)
Steps to reproduce
Expected behavior
recording works well
Actual behavior
ANR happens
logcat.log
The text was updated successfully, but these errors were encountered: