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

Crash on Opening Jitsi Meet After Release #83

Closed
divassahu opened this issue Sep 3, 2024 · 4 comments
Closed

Crash on Opening Jitsi Meet After Release #83

divassahu opened this issue Sep 3, 2024 · 4 comments

Comments

@divassahu
Copy link

I am experiencing a crash when opening Jitsi Meet in my application after releasing it. The crash seems to be related to the WebRTC module, and I have provided a backtrace below. This issue occurs specifically after the application has been released; it works fine in the development environment.

Steps to Reproduce:

  • Integrate Jitsi Meet in the Flutter application.

  • Build and release the app.

  • Open Jitsi Meet in the released app.

  • Expected Behavior: Jitsi Meet should open without any crashes or issues.

  • Actual Behavior: The app crashes immediately upon opening Jitsi Meet.

Backtrace:

backtrace:
#00 pc 0x0000000000053324 /apex/com.android.runtime/lib64/bionic/libc.so (abort+180)
#1 pc 0x000000000048f0d0 /data/app/~~ls0AyVDFsrc_990NUe1byQ==/bharat.amarkosh.learn-7HxZQQTjnErESQH8maxZvg==/split_config.arm64_v8a.apk!libjingle_peerconnection_so.so (BuildId: c3f38365fb86f33a)
#2 pc 0x000000000048f764 /data/app/~~ls0AyVDFsrc_990NUe1byQ==/bharat.amarkosh.learn-7HxZQQTjnErESQH8maxZvg==/split_config.arm64_v8a.apk!libjingle_peerconnection_so.so (BuildId: c3f38365fb86f33a)
#3 pc 0x000000000047ebfc /data/app/~~ls0AyVDFsrc_990NUe1byQ==/bharat.amarkosh.learn-7HxZQQTjnErESQH8maxZvg==/split_config.arm64_v8a.apk!libjingle_peerconnection_so.so (BuildId: c3f38365fb86f33a)
#4 pc 0x000000000047b840 /data/app/~~ls0AyVDFsrc_990NUe1byQ==/bharat.amarkosh.learn-7HxZQQTjnErESQH8maxZvg==/split_config.arm64_v8a.apk!libjingle_peerconnection_so.so (BuildId: c3f38365fb86f33a)
#5 pc 0x00000000002a45b8 /data/app/~~ls0AyVDFsrc_990NUe1byQ==/bharat.amarkosh.learn-7HxZQQTjnErESQH8maxZvg==/split_config.arm64_v8a.apk!libjingle_peerconnection_so.so (JNI_OnLoad+40) (BuildId: c3f38365fb86f33a)
#6 pc 0x000000000051a1c0 /apex/com.android.art/lib64/libart.so (art::JavaVMExt::LoadNativeLibrary(_JNIEnv*, std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > const&, _jobject*, _jclass*, std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator >)+1872)
#7 pc 0x00000000000051c0 /apex/com.android.art/lib64/libopenjdkjvm.so (JVM_NativeLoad+412)
#8 pc 0x000000000038595c /data/misc/apexdata/com.android.art/dalvik-cache/arm64/boot.oat (art_jni_trampoline+156)
#9 pc 0x000000000044c0b8 /data/misc/apexdata/com.android.art/dalvik-cache/arm64/boot.oat (java.lang.Runtime.loadLibrary0+328)
#10 pc 0x000000000044d2c0 /data/misc/apexdata/com.android.art/dalvik-cache/arm64/boot.oat (java.lang.Runtime.loadLibrary0+368)
#11 pc 0x0000000000450cfc /data/misc/apexdata/com.android.art/dalvik-cache/arm64/boot.oat (java.lang.System.loadLibrary+92)
#12 pc 0x00000000005b8098 /apex/com.android.art/lib64/libart.so (nterp_helper+152)
#13 pc 0x0000000000867300 /data/app/~~ls0AyVDFsrc_990NUe1byQ==/bharat.amarkosh.learn-7HxZQQTjnErESQH8maxZvg==/oat/arm64/base.vdex (com.oney.WebRTCModule.k.a+44)
#14 pc 0x000000000033a7a4 /apex/com.android.art/lib64/libart.so (art_quick_invoke_stub+612)
#15 pc 0x0000000000510a3c /apex/com.android.art/lib64/libart.so (bool art::interpreter::DoCall(art::ArtMethod
, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, bool, art::JValue*)+1976)
#16 pc 0x0000000000491368 /apex/com.android.art/lib64/libart.so (void art::interpreter::ExecuteSwitchImplCpp(art::interpreter::SwitchImplContext*)+4772)
#17 pc 0x00000000003539d8 /apex/com.android.art/lib64/libart.so (ExecuteSwitchImplAsm+8)
#18 pc 0x000000000097d204 /data/app/~~ls0AyVDFsrc_990NUe1byQ==/bharat.amarkosh.learn-7HxZQQTjnErESQH8maxZvg==/oat/arm64/base.vdex (org.webrtc.n1.b)
#19 pc 0x000000000036daec /apex/com.android.art/lib64/libart.so (art::interpreter::Execute(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame&, art::JValue, bool, bool) (.__uniq.112435418011751916792819755956732575238.llvm.18012138979834229341)+232)
#20 pc 0x0000000000511708 /apex/com.android.art/lib64/libart.so (bool art::interpreter::DoCall(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, bool, art::JValue*)+5252)
#21 pc 0x0000000000490828 /apex/com.android.art/lib64/libart.so (void art::interpreter::ExecuteSwitchImplCpp(art::interpreter::SwitchImplContext*)+1892)
#22 pc 0x00000000003539d8 /apex/com.android.art/lib64/libart.so (ExecuteSwitchImplAsm+8)
#23 pc 0x000000000097ed74 /data/app/~~ls0AyVDFsrc_990NUe1byQ==/bharat.amarkosh.learn-7HxZQQTjnErESQH8maxZvg==/oat/arm64/base.vdex (org.webrtc.PeerConnectionFactory.q)
#24 pc 0x000000000036daec /apex/com.android.art/lib64/libart.so (art::interpreter::Execute(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame&, art::JValue, bool, bool) (.__uniq.112435418011751916792819755956732575238.llvm.18012138979834229341)+232)
#25 pc 0x000000000036d3e4 /apex/com.android.art/lib64/libart.so (artQuickToInterpreterBridge+964)
#26 pc 0x0000000000351368 /apex/com.android.art/lib64/libart.so (art_quick_to_interpreter_bridge+88)
#27 pc 0x00000000005b8098 /apex/com.android.art/lib64/libart.so (nterp_helper+152)
#28 pc 0x000000000086b44c /data/app/~~ls0AyVDFsrc_990NUe1byQ==/bharat.amarkosh.learn-7HxZQQTjnErESQH8maxZvg==/oat/arm64/base.vdex (com.oney.WebRTCModule.WebRTCModule.+116)
#29 pc 0x00000000005b8f54 /apex/com.android.art/lib64/libart.so (nterp_helper+3924)
#30 pc 0x0000000000869e96 /data/app/~~ls0AyVDFsrc_990NUe1byQ==/bharat.amarkosh.learn-7HxZQQTjnErESQH8maxZvg==/oat/arm64/base.vdex (com.oney.WebRTCModule.o1.createNativeModules+10)
#31 pc 0x00000000005b9d74 /apex/com.android.art/lib64/libart.so (nterp_helper+7540)
#32 pc 0x000000000027c522 /data/app/~~ls0AyVDFsrc_990NUe1byQ==/bharat.amarkosh.learn-7HxZQQTjnErESQH8maxZvg==/oat/arm64/base.vdex (com.facebook.react.f0.a+82)
#33 pc 0x00000000005b8034 /apex/com.android.art/lib64/libart.so (nterp_helper+52)
#34 pc 0x0000000000279eb0 /data/app/~~ls0AyVDFsrc_990NUe1byQ==/bharat.amarkosh.learn-7HxZQQTjnErESQH8maxZvg==/oat/arm64/base.vdex (com.facebook.react.j.b+60)
#35 pc 0x00000000005b8f54 /apex/com.android.art/lib64/libart.so (nterp_helper+3924)
#36 pc 0x000000000027beae /data/app/~~ls0AyVDFsrc_990NUe1byQ==/bharat.amarkosh.learn-7HxZQQTjnErESQH8maxZvg==/oat/arm64/base.vdex (com.facebook.react.a0.c0+70)
#37 pc 0x00000000005b8f54 /apex/com.android.art/lib64/libart.so (nterp_helper+3924)
#38 pc 0x000000000027ab94 /data/app/~~ls0AyVDFsrc_990NUe1byQ==/bharat.amarkosh.learn-7HxZQQTjnErESQH8maxZvg==/oat/arm64/base.vdex (com.facebook.react.a0.d0+108)
#39 pc 0x00000000005b8f54 /apex/com.android.art/lib64/libart.so (nterp_helper+3924)
#40 pc 0x000000000027ac88 /data/app/~~ls0AyVDFsrc_990NUe1byQ==/bharat.amarkosh.learn-7HxZQQTjnErESQH8maxZvg==/oat/arm64/base.vdex (com.facebook.react.a0.u+72)
#41 pc 0x00000000005b8f54 /apex/com.android.art/lib64/libart.so (nterp_helper+3924)
#42 pc 0x000000000027b8b4 /data/app/~~ls0AyVDFsrc_990NUe1byQ==/bharat.amarkosh.learn-7HxZQQTjnErESQH8maxZvg==/oat/arm64/base.vdex (com.facebook.react.a0.K+96)
#43 pc 0x00000000005b8f54 /apex/com.android.art/lib64/libart.so (nterp_helper+3924)
#44 pc 0x000000000027b17c /data/app/~~ls0AyVDFsrc_990NUe1byQ==/bharat.amarkosh.learn-7HxZQQTjnErESQH8maxZvg==/oat/arm64/base.vdex (com.facebook.react.a0.b)
#45 pc 0x00000000005b8034 /apex/com.android.art/lib64/libart.so (nterp_helper+52)
#46 pc 0x000000000027a3d0 /data/app/~~ls0AyVDFsrc_990NUe1byQ==/bharat.amarkosh.learn-7HxZQQTjnErESQH8maxZvg==/oat/arm64/base.vdex (com.facebook.react.x.run+8)
#47 pc 0x0000000000502368 /data/misc/apexdata/com.android.art/dalvik-cache/arm64/boot.oat (java.lang.Thread.run+72)
#48 pc 0x000000000033a7a4 /apex/com.android.art/lib64/libart.so (art_quick_invoke_stub+612)
#49 pc 0x000000000023a01c /apex/com.android.art/lib64/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+144)
#50 pc 0x0000000000539108 /apex/com.android.art/lib64/libart.so (art::Thread::CreateCallback(void*)+1600)
#51 pc 0x00000000000c1e70 /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+208)
#52 pc 0x0000000000054b50 /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64)

@saghul
Copy link
Member

saghul commented Sep 5, 2024

IS this a simulatyor or a physical device? Can you reproeuce it reliably? Does it also happen with the sample app?

@Masteribrahim1
Copy link

Masteribrahim1 commented Sep 5, 2024

@saghul I also have this same issue and when i try to run the app on profile mode on my device it shows this error

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':jitsi_meet_flutter_sdk:generateProfileRFile'.

Could not resolve all files for configuration ':jitsi_meet_flutter_sdk:profileCompileClasspath'.
Could not resolve com.facebook.react:react-android:0.73.8.
Required by:
project :jitsi_meet_flutter_sdk > org.jitsi.react:jitsi-meet-sdk:10.1.2
project :jitsi_meet_flutter_sdk > com.facebook.react:react-native-amplitude:2.17.3-jitsi-17848034
project :jitsi_meet_flutter_sdk > com.facebook.react:react-native-giphy:2.3.0-jitsi-17848034
project :jitsi_meet_flutter_sdk > com.facebook.react:react-native-google-signin:10.1.0-jitsi-17848034
project :jitsi_meet_flutter_sdk > com.facebook.react:react-native-async-storage:1.23.1-jitsi-17848034
project :jitsi_meet_flutter_sdk > com.facebook.react:react-native-background-timer:2.4.1-jitsi-17848034
project :jitsi_meet_flutter_sdk > com.facebook.react:react-native-calendar-events:2.2.0-jitsi-17848034
project :jitsi_meet_flutter_sdk > com.facebook.react:react-native-community_clipboard:1.14.1-jitsi-17848034
project :jitsi_meet_flutter_sdk > com.facebook.react:react-native-community_netinfo:11.1.0-jitsi-17848034
project :jitsi_meet_flutter_sdk > com.facebook.react:react-native-default-preference:1.4.4-jitsi-17848034
project :jitsi_meet_flutter_sdk > com.facebook.react:react-native-device-info:10.9.0-jitsi-17848034
project :jitsi_meet_flutter_sdk > com.facebook.react:react-native-gesture-handler:2.18.1-jitsi-17848034
project :jitsi_meet_flutter_sdk > com.facebook.react:react-native-get-random-values:1.9.0-jitsi-17848034
project :jitsi_meet_flutter_sdk > com.facebook.react:react-native-immersive-mode:2.0.2-jitsi-17848034
project :jitsi_meet_flutter_sdk > com.facebook.react:react-native-keep-awake:4.0.0-jitsi-17848034
project :jitsi_meet_flutter_sdk > com.facebook.react:react-native-orientation-locker:1.6.0-jitsi-17848034
project :jitsi_meet_flutter_sdk > com.facebook.react:react-native-pager-view:6.2.0-jitsi-17848034
project :jitsi_meet_flutter_sdk > com.facebook.react:react-native-performance:5.0.0-jitsi-17848034
project :jitsi_meet_flutter_sdk > com.facebook.react:react-native-safe-area-context:4.10.8-jitsi-17848034
project :jitsi_meet_flutter_sdk > com.facebook.react:react-native-screens:3.32.0-jitsi-17848034
project :jitsi_meet_flutter_sdk > com.facebook.react:react-native-slider:4.4.3-jitsi-17848034
project :jitsi_meet_flutter_sdk > com.facebook.react:react-native-sound:0.11.2-jitsi-17848034
project :jitsi_meet_flutter_sdk > com.facebook.react:react-native-splash-screen:3.3.0-jitsi-17848034
project :jitsi_meet_flutter_sdk > com.facebook.react:react-native-svg:13.13.0-jitsi-17848034
project :jitsi_meet_flutter_sdk > com.facebook.react:react-native-video:6.0.0-alpha.11-jitsi-17848034
project :jitsi_meet_flutter_sdk > com.facebook.react:react-native-webrtc:124.0.4-jitsi-17848034
project :jitsi_meet_flutter_sdk > com.facebook.react:react-native-webview:13.8.7-jitsi-17848034
> No matching variant of com.facebook.react:react-android:0.73.8 was found. The consumer was configured to find an API of a component, preferably optimized for Android, as well as attribute 'com.android.build.api.attributes.BuildTypeAttr' with value 'profile', attribute 'com.android.build.api.attributes.AgpVersionAttr' with value '7.3.0', attribute 'org.jetbrains.kotlin.platform.type' with value 'androidJvm' but:
- Variant 'debugVariantDefaultApiPublication' capability com.facebook.react:react-android:0.73.8 declares an API of a component:
- Incompatible because this component declares a component, as well as attribute 'com.android.build.api.attributes.BuildTypeAttr' with value 'debug' and the consumer needed a component, as well as attribute 'com.android.build.api.attributes.BuildTypeAttr' with value 'profile'
- Other compatible attributes:
- Doesn't say anything about com.android.build.api.attributes.AgpVersionAttr (required '7.3.0')
- Doesn't say anything about its target Java environment (preferred optimized for Android)
- Doesn't say anything about org.jetbrains.kotlin.platform.type (required 'androidJvm')
- Variant 'debugVariantDefaultRuntimePublication' capability com.facebook.react:react-android:0.73.8 declares a runtime of a component:
- Incompatible because this component declares a component, as well as attribute 'com.android.build.api.attributes.BuildTypeAttr' with value 'debug' and the consumer needed a component, as well as attribute 'com.android.build.api.attributes.BuildTypeAttr' with value 'profile'
- Other compatible attributes:
- Doesn't say anything about com.android.build.api.attributes.AgpVersionAttr (required '7.3.0')
- Doesn't say anything about its target Java environment (preferred optimized for Android)
- Doesn't say anything about org.jetbrains.kotlin.platform.type (required 'androidJvm')
- Variant 'debugVariantDefaultSourcePublication' capability com.facebook.react:react-android:0.73.8 declares a runtime of a component:
- Incompatible because this component declares a component, as well as attribute 'com.android.build.api.attributes.BuildTypeAttr' with value 'debug' and the consumer needed a component, as well as attribute 'com.android.build.api.attributes.BuildTypeAttr' with value 'profile'
- Other compatible attributes:
- Doesn't say anything about com.android.build.api.attributes.AgpVersionAttr (required '7.3.0')
- Doesn't say anything about its target Java environment (preferred optimized for Android)
- Doesn't say anything about org.jetbrains.kotlin.platform.type (required 'androidJvm')
- Variant 'releaseVariantDefaultApiPublication' capability com.facebook.react:react-android:0.73.8 declares an API of a component:
- Incompatible because this component declares a component, as well as attribute 'com.android.build.api.attributes.BuildTypeAttr' with value 'release' and the consumer needed a component, as well as attribute 'com.android.build.api.attributes.BuildTypeAttr' with value 'profile'
- Other compatible attributes:
- Doesn't say anything about com.android.build.api.attributes.AgpVersionAttr (required '7.3.0')
- Doesn't say anything about its target Java environment (preferred optimized for Android)
- Doesn't say anything about org.jetbrains.kotlin.platform.type (required 'androidJvm')
- Variant 'releaseVariantDefaultRuntimePublication' capability com.facebook.react:react-android:0.73.8 declares a runtime of a component:
- Incompatible because this component declares a component, as well as attribute 'com.android.build.api.attributes.BuildTypeAttr' with value 'release' and the consumer needed a component, as well as attribute 'com.android.build.api.attributes.BuildTypeAttr' with value 'profile'
- Other compatible attributes:
- Doesn't say anything about com.android.build.api.attributes.AgpVersionAttr (required '7.3.0')
- Doesn't say anything about its target Java environment (preferred optimized for Android)
- Doesn't say anything about org.jetbrains.kotlin.platform.type (required 'androidJvm')
- Variant 'releaseVariantDefaultSourcePublication' capability com.facebook.react:react-android:0.73.8 declares a runtime of a component:
- Incompatible because this component declares a component, as well as attribute 'com.android.build.api.attributes.BuildTypeAttr' with value 'release' and the consumer needed a component, as well as attribute 'com.android.build.api.attributes.BuildTypeAttr' with value 'profile'
- Other compatible attributes:
- Doesn't say anything about com.android.build.api.attributes.AgpVersionAttr (required '7.3.0')
- Doesn't say anything about its target Java environment (preferred optimized for Android)
- Doesn't say anything about org.jetbrains.kotlin.platform.type (required 'androidJvm')

@saghul
Copy link
Member

saghul commented Sep 6, 2024

I have no experience running in profile mode, sorry.

@Mehta2015
Copy link

I tried using this proguard rules for Android and its working for me with the latest version.

@saghul saghul closed this as completed Sep 13, 2024
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

4 participants