Skip to content
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

ma_device_start crash #642

Closed
censhengde opened this issue Mar 9, 2023 · 2 comments
Closed

ma_device_start crash #642

censhengde opened this issue Mar 9, 2023 · 2 comments
Labels

Comments

@censhengde
Copy link

censhengde commented Mar 9, 2023

signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0
x0 0000000000000000 x1 000000798b55ab68 x2 000000798b55aa88 x3 0000000000000000
x4 00000079e1bbf054 x5 0000000000000030 x6 0000007a71ef4000 x7 00000000130d86a8
x8 00000079e1b723ec x9 0000000000000002 x10 0000000000000000 x11 ffffffffc4653600
x12 000000798b559330 x13 0000000000000035 x14 0021c58d04e17128 x15 00003c814c6a4789
x16 00000079d7f71568 x17 0000007a6db302f8 x18 0000007914e54000 x19 0000000000000000
backtrace:
#00 pc 0000000000003c00 /system/lib64/libaaudio.so
AAudioStream_requestStart.cfi+48

@mackron
Copy link
Owner

mackron commented Mar 9, 2023

You need to post more information or I'm just going to close this issue. Please post some code, and if you haven't already, run the simple_playback example and check if that's working. If that works, it means you're doing something wrong on your side. Make sure you're not copying the ma_sound object.

@censhengde
Copy link
Author

: Abort message: 'Pure virtual function called!'
2023-03-09 20:41:16.551 19969-19969/? A/DEBUG: x0 0000000000000000 x1 0000000000004c5d x2 0000000000000006 x3 0000000000000008
2023-03-09 20:41:16.551 19969-19969/? A/DEBUG: x4 fefefefefefeff1f x5 fefefefefefeff1f x6 fefefefefefeff1f x7 7f7f7f7f7f7f7f7f
2023-03-09 20:41:16.551 19969-19969/? A/DEBUG: x8 0000000000000083 x9 34f1e4dfaa9e757c x10 0000000000000000 x11 fffffffc7ffffbdf
2023-03-09 20:41:16.551 19969-19969/? A/DEBUG: x12 0000000000000001 x13 000000006409d3eb x14 0025a9d8de80de14 x15 0000c520462967b2
2023-03-09 20:41:16.551 19969-19969/? A/DEBUG: x16 0000007837e712a8 x17 0000007837d90954 x18 0000000000000010 x19 0000000000004b80
2023-03-09 20:41:16.551 19969-19969/? A/DEBUG: x20 0000000000004c5d x21 0000007789700b88 x22 00000000ffffff80 x23 00000000ffffffc8
2023-03-09 20:41:16.551 19969-19969/? A/DEBUG: x24 0000007789700c50 x25 0000007789700b20 x26 0000007789700b60 x27 0000000000000002
2023-03-09 20:41:16.552 19969-19969/? A/DEBUG: x28 0000007fc97bc860 x29 0000007789700a90
2023-03-09 20:41:16.552 19969-19969/? A/DEBUG: sp 0000007789700a50 lr 0000007837d84084 pc 0000007837d840ac
2023-03-09 20:41:16.559 19969-19969/? A/DEBUG: backtrace:
2023-03-09 20:41:16.560 19969-19969/? A/DEBUG: #00 pc 00000000000220ac /system/lib64/libc.so (abort+116)
2023-03-09 20:41:16.560 19969-19969/? A/DEBUG: #1 pc 000000000002b2b0 /system/lib64/libclang_rt.ubsan_standalone-aarch64-android.so (abort_message+248)
2023-03-09 20:41:16.560 19969-19969/? A/DEBUG: #2 pc 000000000002ae0c /system/lib64/libclang_rt.ubsan_standalone-aarch64-android.so (__cxa_pure_virtual+16)
2023-03-09 20:41:16.560 19969-19969/? A/DEBUG: #3 pc 0000000000026e38 /system/lib64/libaaudio.so (aaudio::AudioStream::safeStart()+228)
2023-03-09 20:41:16.560 19969-19969/? A/DEBUG: #4 pc 000000000004e60c /system/lib64/libaaudio.so (aaudio::AudioStream::MyPlayerBase::playerStart()+84)
2023-03-09 20:41:16.560 19969-19969/? A/DEBUG: #5 pc 000000000008ee44 /system/lib64/libaudioclient.so (android::PlayerBase::startWithStatus()+68)
2023-03-09 20:41:16.560 19969-19969/? A/DEBUG: #6 pc 000000000008f2a0 /system/lib64/libaudioclient.so (android::PlayerBase::start()+80)
2023-03-09 20:41:16.560 19969-19969/? A/DEBUG: #7 pc 000000000002c57c /system/lib64/libaaudio.so (AAudioStream_requestStart.cfi+224)
2023-03-09 20:41:16.560 19969-19969/? A/DEBUG: #8 pc 00000000000fcdfc /data/app/com.bytedance.sami-Rkwdf3ufJ-DWY10tJjL7_g==/lib/arm64/libktv-service-lib.so
2023-03-09 20:41:16.560 19969-19969/? A/DEBUG: #9 pc 00000000000fbf00 /data/app/com.bytedance.sami-Rkwdf3ufJ-DWY10tJjL7_g==/lib/arm64/libktv-service-lib.so
2023-03-09 20:41:16.560 19969-19969/? A/DEBUG: #10 pc 000000000008e81c /data/app/com.bytedance.sami-Rkwdf3ufJ-DWY10tJjL7_g==/lib/arm64/libktv-service-lib.so (ma_device_start+312)

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants