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

ibtwilio_voice_android_so.so Crash #631

Closed
aniealss opened this issue Oct 15, 2024 · 3 comments
Closed

ibtwilio_voice_android_so.so Crash #631

aniealss opened this issue Oct 15, 2024 · 3 comments

Comments

@aniealss
Copy link

aniealss commented Oct 15, 2024

With arm64_v8a
[split_config.arm64_v8a.apk!libtwilio_voice_android_so.so]

FORTIFY: FD_SET: file descriptor 1426 >= FD_SETSIZE 1024

backtrace:
#00 pc 0x00000000000997b4 /apex/com.android.runtime/lib64/bionic/libc.so (abort+168)
#1 pc 0x000000000009b614 /apex/com.android.runtime/lib64/bionic/libc.so (__fortify_fatal(char const*, ...)+128)
#2 pc 0x00000000000c4ef8 /apex/com.android.runtime/lib64/bionic/libc.so (__FD_SET_chk+128)
#3 pc 0x0000000000449c38 /data/app/~~Bl5DOwTQ2U0gCj3YQiBclg==/com.xxx.xxx-UT8j8tngHtEZDMdM84lNAg==/split_config.arm64_v8a.apk!libtwilio_voice_android_so.so (BuildId: 0b34424ca2c131775dc5ed32b31d1cbb8458f740)
#4 pc 0x0000000000520290 /data/app/~~Bl5DOwTQ2U0gCj3YQiBclg==/com.xxx.xxx-UT8j8tngHtEZDMdM84lNAg==/split_config.arm64_v8a.apk!libtwilio_voice_android_so.so (BuildId: 0b34424ca2c131775dc5ed32b31d1cbb8458f740)
#5 pc 0x000000000044303c /data/app/~~Bl5DOwTQ2U0gCj3YQiBclg==/com.xxx.xxx-UT8j8tngHtEZDMdM84lNAg==/split_config.arm64_v8a.apk!libtwilio_voice_android_so.so (BuildId: 0b34424ca2c131775dc5ed32b31d1cbb8458f740)
#6 pc 0x00000000001018e4 /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+344)
#7 pc 0x000000000009affc /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+68)

With armeabi_v7a

[split_config.armeabi_v7a.apk!libtwilio_voice_android_so.so] std::__ndk1::locale::~locale()

backtrace:
Unknown
#1 pc 0x00000000005bee21 /data/app/~~YuxxVi3XmOs3ehFc0UbjGg==/com.xxx.xxx-WCZbZStV8HeYsW882yKD2g==/split_config.armeabi_v7a.apk!libtwilio_voice_android_so.so (std::__ndk1::locale::~locale()+8) (BuildId: fabfc08c2d02a779edcc1ca1262121eca59ef552)

Voice Android SDK

6.6.1

OS Version

Android 10, 11, 13, 14

Device Model

Main Equipment

samsung a14xm
samsung a15x
OPPO OP5A0BL1
motorola genevn

There are now a large number of errors on the Google Play Console that exceed the bad behavior threshold. Please help to solve this problem, thanks

@afalls-twilio
Copy link
Contributor

afalls-twilio commented Oct 15, 2024

@aniealss

It looks like the device is running out of file descriptors... We have never ran into this issue except when we have made 32+ calls at the same time in an attempt to crash the system.

Can you provide any steps to reproduce the issue? Can you reproduce it with the quickstart?
Or can you enable debug logging and provide the logs?

Also, make sure that your application is disconnecting and releasing all calls upon completion. My guess is that there is a leak somewhere in your application or your application is making multiple calls at the same time.

@aniealss
Copy link
Author

@afalls-twilio
Ok, thanks for your response. I can't reproduce this crash.
I will check the causes you mentioned and try to fix the problem.

@larganaraztam
Copy link

larganaraztam commented Nov 25, 2024

@afalls-twilio Hello, we have the same problem. After 5 consecutive short calls, the next call throws this error consistently:

FORTIFY: FD_SET: file descriptor 1114 >= FD_SETSIZE 1024
I tried to fix it by calling .release() after call is disconnected but it is not working.
Any idea how to fix this? Could it be a sdk bug?

Logs
Captura de pantalla 2024-11-25 a la(s) 4 14 37 p  m

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

No branches or pull requests

3 participants