Suspected cause
The problem appears to be caused by this code in Qt Android accessibility:
QJniObject rangeInfo(
"android/view/accessibility/AccessibilityNodeInfo$RangeInfo",
"(IFFF)V",
rangeType, min, max, current);
The constructor signature "(IFFF)V" is not available on Android 10 runtime.
The call creates a pending JNI exception:
java.lang.NoSuchMethodError
but the exception is not cleared before continuing, which results in SIGABRT.
Proposed fix
The RangeInfo constructor usage should be protected by Android API level check.
For example:
if (QtAndroidPrivate::androidSdkVersion() >= 36) {
QJniObject rangeInfo(
"android/view/accessibility/AccessibilityNodeInfo$RangeInfo",
"(IFFF)V",
rangeType, min, max, current);
if (rangeInfo.isValid())
env->CallVoidMethod(node, m_setRangeInfoMethodID,
rangeInfo.object());
}
or alternatively Qt should use the correct API availability check for RangeInfo constructor.