jitsi / jitsi-meet-flutter-sdk

Jitsi Meet plugin for Flutter
Apache License 2.0
44 stars 33 forks source link

Crash on Opening Jitsi Meet After Release #83

Closed divassahu closed 2 months ago

divassahu commented 2 months ago

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:

Backtrace:

backtrace:

00 pc 0x0000000000053324 /apex/com.android.runtime/lib64/bionic/libc.so (abort+180)

01 pc 0x000000000048f0d0 /data/app/~~ls0AyVDFsrc_990NUe1byQ==/bharat.amarkosh.learn-7HxZQQTjnErESQH8maxZvg==/split_config.arm64_v8a.apk!libjingle_peerconnection_so.so (BuildId: c3f38365fb86f33a)

02 pc 0x000000000048f764 /data/app/~~ls0AyVDFsrc_990NUe1byQ==/bharat.amarkosh.learn-7HxZQQTjnErESQH8maxZvg==/split_config.arm64_v8a.apk!libjingle_peerconnection_so.so (BuildId: c3f38365fb86f33a)

03 pc 0x000000000047ebfc /data/app/~~ls0AyVDFsrc_990NUe1byQ==/bharat.amarkosh.learn-7HxZQQTjnErESQH8maxZvg==/split_config.arm64_v8a.apk!libjingle_peerconnection_so.so (BuildId: c3f38365fb86f33a)

04 pc 0x000000000047b840 /data/app/~~ls0AyVDFsrc_990NUe1byQ==/bharat.amarkosh.learn-7HxZQQTjnErESQH8maxZvg==/split_config.arm64_v8a.apk!libjingle_peerconnection_so.so (BuildId: c3f38365fb86f33a)

05 pc 0x00000000002a45b8 /data/app/~~ls0AyVDFsrc_990NUe1byQ==/bharat.amarkosh.learn-7HxZQQTjnErESQH8maxZvg==/split_config.arm64_v8a.apk!libjingle_peerconnection_so.so (JNI_OnLoad+40) (BuildId: c3f38365fb86f33a)

06 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)

07 pc 0x00000000000051c0 /apex/com.android.art/lib64/libopenjdkjvm.so (JVM_NativeLoad+412)

08 pc 0x000000000038595c /data/misc/apexdata/com.android.art/dalvik-cache/arm64/boot.oat (art_jni_trampoline+156)

09 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 commented 2 months ago

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

Masteribrahim1 commented 2 months ago

@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.

saghul commented 2 months ago

I have no experience running in profile mode, sorry.

Mehta2015 commented 2 months ago

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