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

Crashes on Android with agora 6.0.0 #833

Closed
hoangchungk53qx1 opened this issue Dec 3, 2022 · 10 comments
Closed

Crashes on Android with agora 6.0.0 #833

hoangchungk53qx1 opened this issue Dec 3, 2022 · 10 comments
Labels
bug Something isn't working crash waiting for customer response waiting for customer response, or closed by no-reponse bot

Comments

@hoangchungk53qx1
Copy link

hoangchungk53qx1 commented Dec 3, 2022

Describe the bug
( 7741): Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0 in tid 8182 (RtmpSendWorker), pid 7741

problem while live streaming,
crashes sometimes happen during live streaming

To Reproduce
Steps to reproduce the behavior:

  1. Start preview
  2. Click on _startDirectCdnStreaming

Expected behavior
The app shouldn't crash

Screenshots

Smartphone (please complete the following information):

  • Device: samsung S21 FE 5G
  • OS: Android 12
    Screen Shot 2022-12-04 at 02 07 53

Additional context
F/libc ( 7741): Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0 in tid 8182 (RtmpSendWorker), pid 7741 (com.app.vlive)


Build fingerprint: 'samsung/r9sxxx/r9s:12/SP1A.210812.016/G990EXXU2CVF1:user/release-keys'
Revision: '18'
ABI: 'arm64'
Processor: '6'
Timestamp: 2022-12-04 01:53:38.304098628+0700
Process uptime: 314s
Cmdline: com.app.vlive
pid: 7741, tid: 8182, name: RtmpSendWorker >>> <<<
uid: 10482
signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0
Cause: null pointer dereference
x0 0000000000000000 x1 b400007278657eba x2 0000000000000e76 x3 0000000000000000
x4 0000000000000000 x5 b4000073284c34e0 x6 0b018620a06ec686 x7 c6ed7d7a6bc79f74
x8 00000070719849ec x9 00000070727e0000 x10 00000000000000c6 x11 0000000000ffffff
x12 b400007157eee5d0 x13 000000000000dc90 x14 0000000000000001 x15 0000000000000000
x16 0000000000000000 x17 0000000000000000 x18 0000006efbe0a000 x19 b4000071c7d3d250
x20 b4000073284c17d0 x21 00000000000002fe x22 b4000072c7e7fe50 x23 000000000000018a
x24 b400007157ed1110 x25 0000000000000000 x26 0000000000000001 x27 0000000000000080
x28 b4000073284c34e0 x29 00000070a402e670
lr 000000707251ef4c sp 00000070a402e600 pc 000000707251ef4c pst 0000000060001000
backtrace:
#00 pc 0000000001115f4c /data/app/~~ObREnVvPItqADBoXehKJLQ==/com.app.vlive-EuHzTTJS4YiSoISTkPTMWw==/lib/arm64/libagora-rtc-sdk.so (BuildId: 1fc3e0dd6c881779661e8dab7d70a2275de6a0a5)
#1 pc 0000000001117914 /data/app/~~ObREnVvPItqADBoXehKJLQ==/com.app.vlive-EuHzTTJS4YiSoISTkPTMWw==/lib/arm64/libagora-rtc-sdk.so (BuildId: 1fc3e0dd6c881779661e8dab7d70a2275de6a0a5)
#2 pc 000000000111788c /data/app/~~ObREnVvPItqADBoXehKJLQ==/com.app.vlive-EuHzTTJS4YiSoISTkPTMWw==/lib/arm64/libagora-rtc-sdk.so (BuildId: 1fc3e0dd6c881779661e8dab7d70a2275de6a0a5)
#3 pc 0000000001127ef8 /data/app/~~ObREnVvPItqADBoXehKJLQ==/com.app.vlive-EuHzTTJS4YiSoISTkPTMWw==/lib/arm64/libagora-rtc-sdk.so (BuildId: 1fc3e0dd6c881779661e8dab7d70a2275de6a0a5)
#4 pc 000000000112892c /data/app/~~ObREnVvPItqADBoXehKJLQ==/com.app.vlive-EuHzTTJS4YiSoISTkPTMWw==/lib/arm64/libagora-rtc-sdk.so (BuildId: 1fc3e0dd6c881779661e8dab7d70a2275de6a0a5)
#5 pc 000000000113c564 /data/app/~~ObREnVvPItqADBoXehKJLQ==/com.app.vlive-EuHzTTJS4YiSoISTkPTMWw==/lib/arm64/libagora-rtc-sdk.so (BuildId: 1fc3e0dd6c881779661e8dab7d70a2275de6a0a5)
#6 pc 000000000113c23c /data/app/~~ObREnVvPItqADBoXehKJLQ==/com.app.vlive-EuHzTTJS4YiSoISTkPTMWw==/lib/arm64/libagora-rtc-sdk.so (BuildId: 1fc3e0dd6c881779661e8dab7d70a2275de6a0a5)
#7 pc 00000000008b80e0 /data/app/~~ObREnVvPItqADBoXehKJLQ==/com.app.vlive-EuHzTTJS4YiSoISTkPTMWw==/lib/arm64/libagora-rtc-sdk.so (BuildId: 1fc3e0dd6c881779661e8dab7d70a2275de6a0a5)
#8 pc 00000000008b6d30 /data/app/~~ObREnVvPItqADBoXehKJLQ==/com.app.vlive-EuHzTTJS4YiSoISTkPTMWw==/lib/arm64/libagora-rtc-sdk.so (BuildId: 1fc3e0dd6c881779661e8dab7d70a2275de6a0a5)
#9 pc 00000000009c6288 /data/app/~~ObREnVvPItqADBoXehKJLQ==/com.app.vlive-EuHzTTJS4YiSoISTkPTMWw==/lib/arm64/libagora-rtc-sdk.so (BuildId: 1fc3e0dd6c881779661e8dab7d70a2275de6a0a5)
#10 pc 00000000009c40ac /data/app/~~ObREnVvPItqADBoXehKJLQ==/com.app.vlive-EuHzTTJS4YiSoISTkPTMWw==/lib/arm64/libagora-rtc-sdk.so (BuildId: 1fc3e0dd6c881779661e8dab7d70a2275de6a0a5)
#11 pc 00000000008b2504 /data/app/~~ObREnVvPItqADBoXehKJLQ==/com.app.vlive-EuHzTTJS4YiSoISTkPTMWw==/lib/arm64/libagora-rtc-sdk.so (BuildId: 1fc3e0dd6c881779661e8dab7d70a2275de6a0a5)
#12 pc 00000000000b2ee0 /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+264) (BuildId: 281ae2fa368d1f60c8e8325edb95a6b9)
#13 pc 000000000005274c /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64) (BuildId: 281ae2fa368d1f60c8e8325edb95a6b9)

@hoangchungk53qx1 hoangchungk53qx1 changed the title Crashes on iOS with agora 6.0.0 Crashes on Android with agora 6.0.0 Dec 3, 2022
@hoc081098
Copy link

hoc081098 commented Dec 3, 2022

I have the same issue when running on my phone Xiaomi Redmi Note 11 Android 11 or Android AVD

@hoc081098
Copy link

hoc081098 commented Dec 3, 2022

This is my console

Build fingerprint: 'google/sdk_gphone64_x86_64/emu64xa:13/TPB4.220624.004/8808248:userdebug/dev-keys'
Revision: '0'
ABI: 'x86_64'
Timestamp: 2022-11-14 16:17:49.200119783+0700
Process uptime: 637s
Cmdline: com.xxx.xxx
pid: 5508, tid: 6795, name: AgMajor - 6795  >>> com.xxx.xxx <<<
uid: 10157
signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x000000123f7ffff0
Abort message: '=== crash(signal 11) ==='
rax 0000793d18c68000  rbx 000000123f800000  rcx 00000000ab16d69a  rdx 0000000000000000
r8  0000000000000010  r9  0000000000000000  r10 0000000000000002  r11 0000793dd54a7950
r12 0000793e45452a80  r13 0000793d18c67770  r14 0000000000000000  r15 000079404fbd9440
rdi 000079404fbd9440  rsi 000000123f800000
rbp 0000000000000000  rsp 0000793d18c676d0  rip 000079404fb42b81
backtrace:
#00 pc 000000000004ab81  /apex/com.android.runtime/lib64/bionic/libc.so (scudo::Allocator<scudo::AndroidConfig, &(scudo_malloc_postinit)>::deallocate(void*, scudo::Chunk::Origin, unsigned long, unsigned long)+81) (BuildId: 57def992cb1772e13608c8efcafd893b)
#01 pc 00000000006e4038  /data/app/~~hCBwcQUqG32rf5DEFgPznw==/com.xxx.xxx-nhMUukWB2rpB4XrsUkIGOg==/lib/x86_64/[libagora-rtc-sdk.so](http://libagora-rtc-sdk.so/) (BuildId: 5ef864ad1e62cdf4a9aa001480cc41846c62bd71)
#02 pc 0000000000fa736e  /data/app/~~hCBwcQUqG32rf5DEFgPznw==/com.xxx.xxx-nhMUukWB2rpB4XrsUkIGOg==/lib/x86_64/[libagora-rtc-sdk.so](http://libagora-rtc-sdk.so/) (BuildId: 5ef864ad1e62cdf4a9aa001480cc41846c62bd71)
#03 pc 000000000129b0f0  /data/app/~~hCBwcQUqG32rf5DEFgPznw==/com.xxx.xxx-nhMUukWB2rpB4XrsUkIGOg==/lib/x86_64/[libagora-rtc-sdk.so](http://libagora-rtc-sdk.so/) (BuildId: 5ef864ad1e62cdf4a9aa001480cc41846c62bd71)
#04 pc 000000000090dbc0  /data/app/~~hCBwcQUqG32rf5DEFgPznw==/com.xxx.xxx-nhMUukWB2rpB4XrsUkIGOg==/lib/x86_64/[libagora-rtc-sdk.so](http://libagora-rtc-sdk.so/) (BuildId: 5ef864ad1e62cdf4a9aa001480cc41846c62bd71)
#05 pc 0000000000904bf7  /data/app/~~hCBwcQUqG32rf5DEFgPznw==/com.xxx.xxx-nhMUukWB2rpB4XrsUkIGOg==/lib/x86_64/[libagora-rtc-sdk.so](http://libagora-rtc-sdk.so/) (BuildId: 5ef864ad1e62cdf4a9aa001480cc41846c62bd71)
#06 pc 0000000000980458  /data/app/~~hCBwcQUqG32rf5DEFgPznw==/com.xxx.xxx-nhMUukWB2rpB4XrsUkIGOg==/lib/x86_64/[libagora-rtc-sdk.so](http://libagora-rtc-sdk.so/) (BuildId: 5ef864ad1e62cdf4a9aa001480cc41846c62bd71)
#07 pc 0000000000a976aa  /data/app/~~hCBwcQUqG32rf5DEFgPznw==/com.xxx.xxx-nhMUukWB2rpB4XrsUkIGOg==/lib/x86_64/[libagora-rtc-sdk.so](http://libagora-rtc-sdk.so/) (BuildId: 5ef864ad1e62cdf4a9aa001480cc41846c62bd71)
#08 pc 0000000000a955cb  /data/app/~~hCBwcQUqG32rf5DEFgPznw==/com.xxx.xxx-nhMUukWB2rpB4XrsUkIGOg==/lib/x86_64/[libagora-rtc-sdk.so](http://libagora-rtc-sdk.so/) (BuildId: 5ef864ad1e62cdf4a9aa001480cc41846c62bd71)
#09 pc 000000000097a58e  /data/app/~~hCBwcQUqG32rf5DEFgPznw==/com.xxx.xxx-nhMUukWB2rpB4XrsUkIGOg==/lib/x86_64/[libagora-rtc-sdk.so](http://libagora-rtc-sdk.so/) (BuildId: 5ef864ad1e62cdf4a9aa001480cc41846c62bd71)
#10 pc 00000000000cccba  /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+58) (BuildId: 57def992cb1772e13608c8efcafd893b)
#11 pc 0000000000060cc7  /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+55) (BuildId: 57def992cb1772e13608c8efcafd893b)

Please fix this issue, my app is going to be in production mode

@littleGnAl
Copy link
Contributor

Thanks for your reporting, we will investigate what actually happens and fix it ASAP.
BTW, @hoc081098, can you raise a new issue for your problem? Cause the stacktrace is a little different, thanks.

@littleGnAl littleGnAl added bug Something isn't working crash labels Dec 5, 2022
@littleGnAl
Copy link
Contributor

Please try agora_rtc_engine: ^6.1.0

@littleGnAl littleGnAl added the waiting for customer response waiting for customer response, or closed by no-reponse bot label Jan 5, 2023
@murtazaagaz
Copy link

@littleGnAl We are using agora_rtc_engine: ^6.1.0 and the app is getting crash on android with this log:
F/agora.io(31093): === crash(signal 6) === F/agora.io(31093): [crash_info]: crash in agora module: 0

@littleGnAl
Copy link
Contributor

@murtazaagaz Can you please raise a new issue for your problem, thanks?

@murtazaagaz
Copy link

sure

@murtazaagaz
Copy link

I have created a new thread please do look into it: #873
Thank you

@github-actions
Copy link
Contributor

Without additional information, we are unfortunately not sure how to resolve this issue. We are therefore reluctantly going to close this bug for now. If you find this problem please file a new issue with the same description, what happens, logs and the output. All system setups can be slightly different so it's always better to open new issues and reference the related ones. Thanks for your contribution.

@github-actions
Copy link
Contributor

This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please raise a new issue.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 28, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working crash waiting for customer response waiting for customer response, or closed by no-reponse bot
Projects
None yet
Development

No branches or pull requests

4 participants