SIGSEGV in libcmmlib.so static constructor during dlopen - Meeting SDK crashes on MIUI 13 / Android 12 before any API call

The Zoom Meeting SDK crashes the host app process during native library load, before any Zoom SDK API is called. The crash occurs in a static constructor executed by the dynamic linker during dlopen(). The crash occurs during dynamic linking, before ZoomSDK.initialize() returns.

The crash is reproducible on a clean project with no other native libraries referenced by our code, and it survives every documented workaround.

Android Meeting SDK version that we tried:

  • 7.2.1.43944 (original)

  • 6.7.2.36200 (replaced mobilertc.aar with the 6.7.2.36200 build)

Version numbers were extracted from libzSdkCore.so via strings.

To Reproduce:

  1. Create a Flutter app that embeds a local mobilertc.aar (Meeting SDK) in android/app/libs/.

  2. Add implementation(fileTree(mapOf("dir" to "libs", "include" to listOf("*.aar")))) to android/app/build.gradle.kts.

  3. Call ZoomSDK.getInstance().initialize(context, initParams) with a valid JWT from ZoomSDKInitParams.

  4. Build a debug APK (flutter run), install on the device below.

  5. Navigate to the screen that initialises Zoom.

  6. The app crashes on dlopen("libcmmlib.so").

Minimal Kotlin path that triggers it:

val params = ZoomSDKInitParams().apply {
    enableLog = true
    domain = "zoom.us"
    this.jwtToken = jwtToken
}
ZoomSDK.getInstance().initialize(context, params)

Troubleshooting Routes:

All of the following have been tried, none of which change the crash behaviour:

  • Tested SDK versions: 7.2.1.43944 and 6.7.2.36200 (both crash at the identical fault address).

  • Disabled heap pointer tagging: android:allowNativeHeapPointerTagging="false" in the merged manifest (verified with aapt dump xmltree). With tagging on, the OS raises SIGABRT (“Pointer tag truncated”). With tagging off, the crash becomes SIGSEGV inside je_free. Same underlying bug.

  • packagingOptions.pickFirst for libc++_shared.so across all four ABIs.

  • useLegacyPackaging = true in packaging { jniLibs { … } } per the Meeting SDK “Download and install” docs.

  • ProGuard rules from the Zoom sample app (-keep class us.zoom.**, com.zipow.**, org.webrtc.**, com.google.gson.**).

  • NDK version: 28.2.13676358 (default in our build).

  • Clean rebuild + adb uninstall between every test - verified with strings on the pulled APK that the on-device .so matches the source .aar.

Smartphone:

  • Device: Xiaomi Redmi Note 10 Pro (sweet, model M2101K6G)

  • OS: MIUI 13 (V13.0.16.0.SKFMIXM), Android 12 (API 31)

  • ABI: arm64-v8a

Additional context (with error itself):

signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x8c8876563c
backtrace:
  #00 pc 000000000004f228  libc.so (je_free+472)                                            BuildId 69c79353981108b70293a7a6056f9a50
  #01 pc 0000000000169470  libcmmlib.so (logging::LogMessage::Init(char const*, int)+204)   BuildId f818f77dcbd15fc0e6449e5c31a5f82bc23b17cb
  #02 pc 00000000001699f0  libcmmlib.so (logging::LogMessage::LogMessage(char const*, int, int)+56)
  #03 pc 0000000000182a14  libcmmlib.so (AndroidReflectionMgr::GetGUID(Cmm::CStringT<char>&)+300)
  #04 pc 00000000000c16ac  libcmmlib.so (Cmm::CmmGUID::CmmGUID()+72)
  #05 pc 0000000000121ac8  libcmmlib.so                                                     BuildId f818f77dcbd15fc0e6449e5c31a5f82bc23b17cb
  #06 pc 0000000000052bb4  linker64 (__dl__ZN6soinfo17call_constructorsEv+628)
  #07 pc 000000000003d018  linker64 (do_dlopen+2284)
  #08 pc 00000000000380fc  linker64 (__loader_android_dlopen_ext+84)

Some of the observations so far:

The fault address 0x8c8876563c is identical across:

  • SDK 7.2.1, crash in libzSdkCore.so → Java_com_zipow_videobox_sdk_MSDKCoreBridge_nativeAddDelegate+44

  • SDK 6.7.2, crash in libcmmlib.so → Cmm::CmmGUID::CmmGUID+72

  • Multiple rebuilds and clean installs

A single fixed corrupted value that survives every SDK version and rebuild is a deterministic corruption inside the SDK. The CmmGUID constructor runs as a static initializer during dlopen, i.e. before the process has executed any code from the app.

Question: is there a known issue with AndroidReflectionMgr::GetGUID / Cmm::CmmGUID on MIUI 13 / Android 12 or similar?

If not, could you point us at a Meeting SDK version whose libcmmlib.so has a different implementation of this path so we can test whether the crash disappears?

Thank you