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

GLESTextureInput crashing when ending recording #54

Closed
Tillmania opened this issue Sep 20, 2023 · 13 comments
Closed

GLESTextureInput crashing when ending recording #54

Tillmania opened this issue Sep 20, 2023 · 13 comments
Labels
android Issues that affect Android bug Something isn't working critical Issues of utmost importance

Comments

@Tillmania
Copy link

Crash Logs:
`*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
pid: 0, tid: 28802 >>> com.gravytraingames.santatrackerlitereal <<<

backtrace:
#00 pc 0x0000000000053794 /apex/com.android.runtime/lib64/bionic/libc.so (abort+168)
#1 pc 0x00000000000555f4 /apex/com.android.runtime/lib64/bionic/libc.so (__fortify_fatal(char const*, ...)+128)
#2 pc 0x00000000000bc948 /apex/com.android.runtime/lib64/bionic/libc.so (HandleUsingDestroyedMutex(pthread_mutex_t*, char const*)+68)
#3 pc 0x00000000000bc7c8 /apex/com.android.runtime/lib64/bionic/libc.so (pthread_mutex_lock+288)
#4 pc 0x000000000038aa34 /data/app/~~YJqPiwwQP1ZSNnTUOkt-nw==/com.gravytraingames.santatrackerlitereal-7ApI4ws5YfHt5YawhKIF4Q==/lib/arm64/libVideoKit.so (std::__ndk1::mutex::lock()+12)
#5 pc 0x0000000000137958 /data/app/~~YJqPiwwQP1ZSNnTUOkt-nw==/com.gravytraingames.santatrackerlitereal-7ApI4ws5YfHt5YawhKIF4Q==/lib/arm64/libVideoKit.so (VideoKit::Recorders::GLESTextureInput::CommitFrame(unsigned int, void*)+196)
#6 pc 0x00000000030557d0 /data/app/~~YJqPiwwQP1ZSNnTUOkt-nw==/com.gravytraingames.santatrackerlitereal-7ApI4ws5YfHt5YawhKIF4Q==/lib/arm64/libil2cpp.so
#7 pc 0x0000000003062f6c /data/app/~~YJqPiwwQP1ZSNnTUOkt-nw==/com.gravytraingames.santatrackerlitereal-7ApI4ws5YfHt5YawhKIF4Q==/lib/arm64/libil2cpp.so
#8 pc 0x0000000003062710 /data/app/~~YJqPiwwQP1ZSNnTUOkt-nw==/com.gravytraingames.santatrackerlitereal-7ApI4ws5YfHt5YawhKIF4Q==/lib/arm64/libil2cpp.so
#9 pc 0x000000000146ba70 /data/app/~~YJqPiwwQP1ZSNnTUOkt-nw==/com.gravytraingames.santatrackerlitereal-7ApI4ws5YfHt5YawhKIF4Q==/lib/arm64/libil2cpp.so
#10 pc 0x0000000000b16fe4 /data/app/~~YJqPiwwQP1ZSNnTUOkt-nw==/com.gravytraingames.santatrackerlitereal-7ApI4ws5YfHt5YawhKIF4Q==/lib/arm64/libunity.so
#11 pc 0x0000000000d11474 /data/app/~~YJqPiwwQP1ZSNnTUOkt-nw==/com.gravytraingames.santatrackerlitereal-7ApI4ws5YfHt5YawhKIF4Q==/lib/arm64/libunity.so
#12 pc 0x0000000000d09734 /data/app/~~YJqPiwwQP1ZSNnTUOkt-nw==/com.gravytraingames.santatrackerlitereal-7ApI4ws5YfHt5YawhKIF4Q==/lib/arm64/libunity.so
#13 pc 0x0000000000d0947c /data/app/~~YJqPiwwQP1ZSNnTUOkt-nw==/com.gravytraingames.santatrackerlitereal-7ApI4ws5YfHt5YawhKIF4Q==/lib/arm64/libunity.so
#14 pc 0x000000000061ad30 /data/app/~~YJqPiwwQP1ZSNnTUOkt-nw==/com.gravytraingames.santatrackerlitereal-7ApI4ws5YfHt5YawhKIF4Q==/lib/arm64/libunity.so
#15 pc 0x00000000000bb6e8 /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+208)
#16 pc 0x0000000000054fdc /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+68)`

@olokobayusuf olokobayusuf changed the title Crashes in Android 13 GLESTextureInput crashing when ending recording Sep 22, 2023
@olokobayusuf olokobayusuf added android Issues that affect Android bug Something isn't working critical Issues of utmost importance labels Sep 22, 2023
@Tillmania
Copy link
Author

Any word on a fix for this? My crash rate has gone through the roof on Android due to this bug.

@olokobayusuf
Copy link
Contributor

@Tillmania the fix for this is slated for 0.0.15. Aiming to release on Monday.

@olokobayusuf
Copy link
Contributor

Fixed in VideoKit 0.0.15.

@Tillmania
Copy link
Author

Not fixed in 0.15. Still getting a ton of crash reports in production on Android.

@olokobayusuf
Copy link
Contributor

Same crash logs? Can you share the most recent crash logs? Re-opening this issue.

@olokobayusuf olokobayusuf reopened this Nov 15, 2023
@Tillmania
Copy link
Author


pid: 0, tid: 22839 >>> com.gravytraingames.santatrackerlitereal <<<

backtrace:
#00 pc 0x000000000008cc54 /apex/com.android.runtime/lib64/bionic/libc.so (abort+164)
#1 pc 0x000000000008eadc /apex/com.android.runtime/lib64/bionic/libc.so (__fortify_fatal(char const*, ...)+124)
#2 pc 0x00000000000fcbdc /apex/com.android.runtime/lib64/bionic/libc.so (HandleUsingDestroyedMutex(pthread_mutex_t*, char const*)+60)
#3 pc 0x00000000000fca68 /apex/com.android.runtime/lib64/bionic/libc.so (pthread_mutex_lock+248)
#4 pc 0x000000000038fae4 /data/app/~~YE7jyaszg-iK9Ko0rx8xBw==/com.gravytraingames.santatrackerlitereal-xA8qjDt4LTMdoxTdacw96Q==/lib/arm64/libVideoKit.so (std::__ndk1::mutex::lock()+12) (BuildId: 34121e153b97ebe651d8ec66c878f3e9e865437c)
#5 pc 0x0000000000139424 /data/app/~~YE7jyaszg-iK9Ko0rx8xBw==/com.gravytraingames.santatrackerlitereal-xA8qjDt4LTMdoxTdacw96Q==/lib/arm64/libVideoKit.so (VideoKit::Recorders::GLESTextureInput::CommitFrame(unsigned int, void*)+204) (BuildId: 34121e153b97ebe651d8ec66c878f3e9e865437c)
#6 pc 0x00000000030f0bd0 /data/app/~~YE7jyaszg-iK9Ko0rx8xBw==/com.gravytraingames.santatrackerlitereal-xA8qjDt4LTMdoxTdacw96Q==/lib/arm64/libil2cpp.so (BuildId: e9ffcb7dd8f5c79e)
#7 pc 0x00000000030fb664 /data/app/~~YE7jyaszg-iK9Ko0rx8xBw==/com.gravytraingames.santatrackerlitereal-xA8qjDt4LTMdoxTdacw96Q==/lib/arm64/libil2cpp.so (BuildId: e9ffcb7dd8f5c79e)
#8 pc 0x00000000030fab1c /data/app/~~YE7jyaszg-iK9Ko0rx8xBw==/com.gravytraingames.santatrackerlitereal-xA8qjDt4LTMdoxTdacw96Q==/lib/arm64/libil2cpp.so (BuildId: e9ffcb7dd8f5c79e)
#9 pc 0x00000000014a8800 /data/app/~~YE7jyaszg-iK9Ko0rx8xBw==/com.gravytraingames.santatrackerlitereal-xA8qjDt4LTMdoxTdacw96Q==/lib/arm64/libil2cpp.so (BuildId: e9ffcb7dd8f5c79e)
#10 pc 0x0000000000b1d1e4 /data/app/~~YE7jyaszg-iK9Ko0rx8xBw==/com.gravytraingames.santatrackerlitereal-xA8qjDt4LTMdoxTdacw96Q==/lib/arm64/libunity.so (BuildId: 771aa3915dae7660)
#11 pc 0x0000000000d19724 /data/app/~~YE7jyaszg-iK9Ko0rx8xBw==/com.gravytraingames.santatrackerlitereal-xA8qjDt4LTMdoxTdacw96Q==/lib/arm64/libunity.so (BuildId: 771aa3915dae7660)
#12 pc 0x0000000000d119e4 /data/app/~~YE7jyaszg-iK9Ko0rx8xBw==/com.gravytraingames.santatrackerlitereal-xA8qjDt4LTMdoxTdacw96Q==/lib/arm64/libunity.so (BuildId: 771aa3915dae7660)
#13 pc 0x0000000000d1172c /data/app/~~YE7jyaszg-iK9Ko0rx8xBw==/com.gravytraingames.santatrackerlitereal-xA8qjDt4LTMdoxTdacw96Q==/lib/arm64/libunity.so (BuildId: 771aa3915dae7660)
#14 pc 0x000000000061ee20 /data/app/~~YE7jyaszg-iK9Ko0rx8xBw==/com.gravytraingames.santatrackerlitereal-xA8qjDt4LTMdoxTdacw96Q==/lib/arm64/libunity.so (BuildId: 771aa3915dae7660)
#15 pc 0x00000000000fb7cc /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+204)
#16 pc 0x000000000008e490 /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64)

@Tillmania
Copy link
Author


pid: 0, tid: 28074 >>> com.gravytraingames.santatrackerlitereal <<<

backtrace:
#00 pc 0x000000000001d6b2 /system/lib/libc.so (abort+58)
#1 pc 0x0000000000065bf3 /system/lib/libc.so (__fortify_fatal(char const*, ...)+26)
#2 pc 0x00000000000653f5 /system/lib/libc.so (HandleUsingDestroyedMutex(pthread_mutex_t*, char const*)+20)
#3 pc 0x0000000000065323 /system/lib/libc.so (pthread_mutex_lock+214)
#4 pc 0x000000000028f35d /data/app/com.gravytraingames.santatrackerlitereal-AmoiWcOpCFszwRgOYf1sPQ==/lib/arm/libVideoKit.so (std::__ndk1::mutex::lock()+4)
#5 pc 0x00000000000dae39 /data/app/com.gravytraingames.santatrackerlitereal-AmoiWcOpCFszwRgOYf1sPQ==/lib/arm/libVideoKit.so (VideoKit::Recorders::GLESTextureInput::CommitFrame(unsigned int, void*)+164)
#6 pc 0x0000000002beab7c /data/app/com.gravytraingames.santatrackerlitereal-AmoiWcOpCFszwRgOYf1sPQ==/lib/arm/libil2cpp.so
#7 pc 0x0000000002bf7bbc /data/app/com.gravytraingames.santatrackerlitereal-AmoiWcOpCFszwRgOYf1sPQ==/lib/arm/libil2cpp.so
#8 pc 0x0000000002bf6e64 /data/app/com.gravytraingames.santatrackerlitereal-AmoiWcOpCFszwRgOYf1sPQ==/lib/arm/libil2cpp.so
#9 pc 0x0000000000a64a2c /data/app/com.gravytraingames.santatrackerlitereal-AmoiWcOpCFszwRgOYf1sPQ==/lib/arm/libil2cpp.so
#10 pc 0x000000000075c288 /data/app/com.gravytraingames.santatrackerlitereal-AmoiWcOpCFszwRgOYf1sPQ==/lib/arm/libunity.so
#11 pc 0x000000000094ef2f /data/app/com.gravytraingames.santatrackerlitereal-AmoiWcOpCFszwRgOYf1sPQ==/lib/arm/libunity.so
#12 pc 0x0000000000948711 /data/app/com.gravytraingames.santatrackerlitereal-AmoiWcOpCFszwRgOYf1sPQ==/lib/arm/libunity.so
#13 pc 0x000000000094848b /data/app/com.gravytraingames.santatrackerlitereal-AmoiWcOpCFszwRgOYf1sPQ==/lib/arm/libunity.so
#14 pc 0x00000000003431fb /data/app/com.gravytraingames.santatrackerlitereal-AmoiWcOpCFszwRgOYf1sPQ==/lib/arm/libunity.so
#15 pc 0x0000000000064985 /system/lib/libc.so (__pthread_start(void*)+22)
#16 pc 0x000000000001e875 /system/lib/libc.so (__start_thread+24)

@Tillmania
Copy link
Author


pid: 0, tid: 19435 >>> com.gravytraingames.santatrackerlitereal <<<

backtrace:
#00 pc 0x0000000000052654 /apex/com.android.runtime/lib64/bionic/libc.so (abort+168)
#1 pc 0x00000000000544b4 /apex/com.android.runtime/lib64/bionic/libc.so (__fortify_fatal(char const*, ...)+128)
#2 pc 0x00000000000bb808 /apex/com.android.runtime/lib64/bionic/libc.so (HandleUsingDestroyedMutex(pthread_mutex_t*, char const*)+68)
#3 pc 0x00000000000bb688 /apex/com.android.runtime/lib64/bionic/libc.so (pthread_mutex_lock+288)
#4 pc 0x000000000038aa34 /data/app/~~k2NbnocMUtjNle4V1Ugftw==/com.gravytraingames.santatrackerlitereal-6FdIDZ5_QBFMnMdQTPW6Ow==/lib/arm64/libVideoKit.so (std::__ndk1::mutex::lock()+12) (BuildId: bea9e6a6c3e70d19829a52fe2be5095be6f8be64)
#5 pc 0x0000000000137958 /data/app/~~k2NbnocMUtjNle4V1Ugftw==/com.gravytraingames.santatrackerlitereal-6FdIDZ5_QBFMnMdQTPW6Ow==/lib/arm64/libVideoKit.so (VideoKit::Recorders::GLESTextureInput::CommitFrame(unsigned int, void*)+196) (BuildId: bea9e6a6c3e70d19829a52fe2be5095be6f8be64)
#6 pc 0x00000000030557d0 /data/app/~~k2NbnocMUtjNle4V1Ugftw==/com.gravytraingames.santatrackerlitereal-6FdIDZ5_QBFMnMdQTPW6Ow==/lib/arm64/libil2cpp.so (BuildId: 6dee55b5ed98b6c2)
#7 pc 0x0000000003062f6c /data/app/~~k2NbnocMUtjNle4V1Ugftw==/com.gravytraingames.santatrackerlitereal-6FdIDZ5_QBFMnMdQTPW6Ow==/lib/arm64/libil2cpp.so (BuildId: 6dee55b5ed98b6c2)
#8 pc 0x0000000003062710 /data/app/~~k2NbnocMUtjNle4V1Ugftw==/com.gravytraingames.santatrackerlitereal-6FdIDZ5_QBFMnMdQTPW6Ow==/lib/arm64/libil2cpp.so (BuildId: 6dee55b5ed98b6c2)
#9 pc 0x000000000146ba70 /data/app/~~k2NbnocMUtjNle4V1Ugftw==/com.gravytraingames.santatrackerlitereal-6FdIDZ5_QBFMnMdQTPW6Ow==/lib/arm64/libil2cpp.so (BuildId: 6dee55b5ed98b6c2)
#10 pc 0x0000000000b16fe4 /data/app/~~k2NbnocMUtjNle4V1Ugftw==/com.gravytraingames.santatrackerlitereal-6FdIDZ5_QBFMnMdQTPW6Ow==/lib/arm64/libunity.so (BuildId: 8360cbc7d6990e0a)
#11 pc 0x0000000000d11474 /data/app/~~k2NbnocMUtjNle4V1Ugftw==/com.gravytraingames.santatrackerlitereal-6FdIDZ5_QBFMnMdQTPW6Ow==/lib/arm64/libunity.so (BuildId: 8360cbc7d6990e0a)
#12 pc 0x0000000000d09734 /data/app/~~k2NbnocMUtjNle4V1Ugftw==/com.gravytraingames.santatrackerlitereal-6FdIDZ5_QBFMnMdQTPW6Ow==/lib/arm64/libunity.so (BuildId: 8360cbc7d6990e0a)
#13 pc 0x0000000000d0947c /data/app/~~k2NbnocMUtjNle4V1Ugftw==/com.gravytraingames.santatrackerlitereal-6FdIDZ5_QBFMnMdQTPW6Ow==/lib/arm64/libunity.so (BuildId: 8360cbc7d6990e0a)
#14 pc 0x000000000061ad30 /data/app/~~k2NbnocMUtjNle4V1Ugftw==/com.gravytraingames.santatrackerlitereal-6FdIDZ5_QBFMnMdQTPW6Ow==/lib/arm64/libunity.so (BuildId: 8360cbc7d6990e0a)
#15 pc 0x00000000000ba5a8 /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+208)
#16 pc 0x0000000000053e9c /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+68)

@Tillmania
Copy link
Author


pid: 0, tid: 27244 >>> com.gravytraingames.santatrackerlitereal <<<

backtrace:
#00 pc 0x00000000000174c2 /system/lib/libmediandk.so (AImageReader_getWindow+46)
#1 pc 0x00000000000daf3d /data/app/~~YsGU_e6uJHLchhy4Pp9kyg==/com.gravytraingames.santatrackerlitereal-xAUarXpldYi6KhlJt9w-wA==/lib/arm/libVideoKit.so (VideoKit::Recorders::GLESTextureInput::Readback(void*)+32) (BuildId: 4f68a6d6221511b4426844694fdf0f6b41db8251)
#2 pc 0x00000000000db477 /data/app/~~YsGU_e6uJHLchhy4Pp9kyg==/com.gravytraingames.santatrackerlitereal-xAUarXpldYi6KhlJt9w-wA==/lib/arm/libVideoKit.so (BuildId: 4f68a6d6221511b4426844694fdf0f6b41db8251)
#3 pc 0x00000000000afc3f /apex/com.android.runtime/lib/bionic/libc.so (__pthread_start(void*)+40)
#4 pc 0x0000000000065ed1 /apex/com.android.runtime/lib/bionic/libc.so (__start_thread+30)

@Tillmania
Copy link
Author


pid: 0, tid: 8174 >>> com.gravytraingames.santatrackerlitereal <<<

backtrace:
#00 pc 0x000000000002e994 /system/lib64/libmediandk.so (AImageReader_getWindow.cfi+28)
#1 pc 0x0000000000139568 /data/app/~~4YeL9k7OEE8vJ5lqf_kH_w==/com.gravytraingames.santatrackerlitereal-1Hwk19r575N37uZMLK0cYQ==/lib/arm64/libVideoKit.so (VideoKit::Recorders::GLESTextureInput::Readback(void*)+64) (BuildId: 34121e153b97ebe651d8ec66c878f3e9e865437c)
#2 pc 0x0000000000139c80 /data/app/~~4YeL9k7OEE8vJ5lqf_kH_w==/com.gravytraingames.santatrackerlitereal-1Hwk19r575N37uZMLK0cYQ==/lib/arm64/libVideoKit.so (BuildId: 34121e153b97ebe651d8ec66c878f3e9e865437c)
#3 pc 0x00000000000b3338 /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+264)
#4 pc 0x00000000000516c8 /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64)

@Tillmania
Copy link
Author

Tillmania commented Nov 24, 2023

This issue is devastating my crash rate on Android. My project is heavily seasonal and over Xmas we expect a massive spike in users. Any word on a fix for this?

@olokobayusuf
Copy link
Contributor

Waiting on feedback from VideoKit 0.0.16 alpha 2.

@olokobayusuf
Copy link
Contributor

Fixed in VideoKit 0.0.16.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
android Issues that affect Android bug Something isn't working critical Issues of utmost importance
Projects
None yet
Development

No branches or pull requests

2 participants