Gralloc3: mapper 3.x is not supported error with ChartView
-
Hi,
I am writing an android app and i'm getting "W Gralloc3: mapper 3.x is not supported" error when tried to use ChartView qml component.App contains JNI and a java file to communicate usb port. Without ChartView everything works fine.
My configurations:
In Devices settings: Android settings are OK. (SDK Version: 3.0, NDK Version: 21.3.6528147)
In Kits : Android Qt 5.15.1 Clang Multi-Abi
In AndroidManifest.xml : Minimum required SDK API21: Android 5.0, Target SDK: API29: Android 10
I use my phone, Android 10 on xiomi mi A3 to deploy and run app and i'm getting error on this device.
I only have Android and Qt charts components for Qt 5.15.1. in maintaince tool. I downloaded Android components after Qt opensource server crush(maybe it affects, i don't know.)My error message:
I org.my_usb: Late-enabling -Xcheck:jni E org.my_usb: Unknown bits set in runtime_flags: 0x8000 I Perf : Connecting to perf service. E Perf : Fail to get file list org.my_usb E Perf : getFolderSize() : Exception_1 = java.lang.NullPointerException: Attempt to get length of null array E Perf : Fail to get file list org.my_usb E Perf : getFolderSize() : Exception_1 = java.lang.NullPointerException: Attempt to get length of null array W System : ClassLoader referenced unknown path: I QtCore : Start I Qt : qt started I AdrenoGLES: QUALCOMM build : 567910b, Iae19170ad4 I AdrenoGLES: Build Date : 07/31/20 I AdrenoGLES: OpenGL ES Shader Compiler Version: EV031.27.05.10 I AdrenoGLES: Local Branch : mybranchead2d9b7-6de4-f1bc-b0e3-5cb90179c3d8 I AdrenoGLES: Remote Branch : quic/gfx-adreno.lnx.1.0.r91-rel I AdrenoGLES: Remote Branch : NONE I AdrenoGLES: Reconstruct Branch : NOTHING I AdrenoGLES: Build Config : S P 8.0.12 AArch32 I AdrenoGLES: PFP: 0x016ee187, ME: 0x00000000 W Gralloc3: mapper 3.x is not supported F libc : Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0 in tid 8306 (qtMainLoopThrea), pid 8277 (org.my_usb) "org.my_usb" died.
thanks for any help
-
I was using QGuiApplication app(argc, argv) instead of QApplication app(argc, argv). That was the problem about chartview. Now i switched to QApplication and i can draw charts on my phone. i learned it from: https://stackoverflow.com/questions/46471805/chartview-crash-when-launching-on-mobile-qt-qml-error
I don't get "F libc : Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0 in tid 8306 (qtMainLoopThrea), pid 8277 (org.my_usb)" error anymore. But "W Gralloc3: mapper 3.x is not supported" error remains. Even i built official examples from Qt. But i will ignore it for now.