Details
-
Bug
-
Resolution: Won't Do
-
P3: Somewhat important
-
None
-
Qt Creator 4.10.2
-
None
Description
Steps to reproduce:
- Install Qt 5.9.9 android armeabi-v7a binary from staging
- Start Qt Creator 4.10.2 and build 'map' example application
- Run 'map' on an Android device (Samsung Galaxy tab 4, Android version 9, kernel version 4.4.153-16555495)(ndk-r10e)
Expected result:
The application runs on the device
Actual result:
A dialog saying: "Your application encountered a fatal error and cannot continue." is displayed on the device.
Application Output:
E Zygote : isWhitelistProcess - Process is Whitelisted E Zygote : accessInfo : 1 I ation_mapviewe: Late-enabling -Xcheck:jni I ation_mapviewe: The ClassLoaderContext is a special shared library. W System : ClassLoader referenced unknown path: I DecorView: createDecorCaptionView >> DecorView@322bb57[], isFloating: false, isApplication: true, hasWindowDecorCaption: false, hasWindowControllerCallback: true D OpenGLRenderer: Skia GL Pipeline I QtCore : Start E libsigchain: Warning: Unexpected sigaction action found 0xf432376d W linker : Warning: "/data/app/org.qtproject.example.qml_location_mapviewer-4H0v9WkpioZido50tyZEyw==/lib/arm/libQt5Positioning.so" has unsupported flags DT_FLAGS_1=0x81 (ignoring unsupported flags) W linker : Warning: "/data/app/org.qtproject.example.qml_location_mapviewer-4H0v9WkpioZido50tyZEyw==/lib/arm/libQt5Concurrent.so" has unsupported flags DT_FLAGS_1=0x81 (ignoring unsupported flags) W linker : Warning: "/data/app/org.qtproject.example.qml_location_mapviewer-4H0v9WkpioZido50tyZEyw==/lib/arm/libQt5Network.so" has unsupported flags DT_FLAGS_1=0x81 (ignoring unsupported flags) W linker : Warning: "/data/app/org.qtproject.example.qml_location_mapviewer-4H0v9WkpioZido50tyZEyw==/lib/arm/libQt5Qml.so" has unsupported flags DT_FLAGS_1=0x81 (ignoring unsupported flags) W linker : Warning: "/data/app/org.qtproject.example.qml_location_mapviewer-4H0v9WkpioZido50tyZEyw==/lib/arm/libQt5Gui.so" has unsupported flags DT_FLAGS_1=0x81 (ignoring unsupported flags) W linker : Warning: "/data/app/org.qtproject.example.qml_location_mapviewer-4H0v9WkpioZido50tyZEyw==/lib/arm/libQt5Quick.so" has unsupported flags DT_FLAGS_1=0x81 (ignoring unsupported flags) W linker : Warning: "/data/app/org.qtproject.example.qml_location_mapviewer-4H0v9WkpioZido50tyZEyw==/lib/arm/libQt5QuickParticles.so" has unsupported flags DT_FLAGS_1=0x81 (ignoring unsupported flags) W linker : Warning: "/data/app/org.qtproject.example.qml_location_mapviewer-4H0v9WkpioZido50tyZEyw==/lib/arm/libQt5Location.so" has unsupported flags DT_FLAGS_1=0x81 (ignoring unsupported flags) W linker : Warning: "/data/app/org.qtproject.example.qml_location_mapviewer-4H0v9WkpioZido50tyZEyw==/lib/arm/libQt5Widgets.so" has unsupported flags DT_FLAGS_1=0x81 (ignoring unsupported flags) W linker : Warning: "/data/app/org.qtproject.example.qml_location_mapviewer-4H0v9WkpioZido50tyZEyw==/lib/arm/libQt5OpenGL.so" has unsupported flags DT_FLAGS_1=0x81 (ignoring unsupported flags) W linker : Warning: "/data/app/org.qtproject.example.qml_location_mapviewer-4H0v9WkpioZido50tyZEyw==/lib/arm/libQt5Sql.so" has unsupported flags DT_FLAGS_1=0x81 (ignoring unsupported flags) W linker : Warning: "/data/app/org.qtproject.example.qml_location_mapviewer-4H0v9WkpioZido50tyZEyw==/lib/arm/libQt5QuickTemplates2.so" has unsupported flags DT_FLAGS_1=0x81 (ignoring unsupported flags) W linker : Warning: "/data/app/org.qtproject.example.qml_location_mapviewer-4H0v9WkpioZido50tyZEyw==/lib/arm/libQt5QuickControls2.so" has unsupported flags DT_FLAGS_1=0x81 (ignoring unsupported flags) W linker : Warning: "/data/app/org.qtproject.example.qml_location_mapviewer-4H0v9WkpioZido50tyZEyw==/lib/arm/libQt5RemoteObjects.so" has unsupported flags DT_FLAGS_1=0x81 (ignoring unsupported flags) W linker : Warning: "/data/data/org.qtproject.example.qml_location_mapviewer/qt-reserved-files/plugins/platforms/android/libqtforandroid.so" has unsupported flags DT_FLAGS_1=0x81 (ignoring unsupported flags) I Qt : qt start W linker : Warning: "/data/data/org.qtproject.example.qml_location_mapviewer/qt-reserved-files/plugins/bearer/libqandroidbearer.so" has unsupported flags DT_FLAGS_1=0x81 (ignoring unsupported flags) W linker : Warning: "/data/data/org.qtproject.example.qml_location_mapviewer/qt-reserved-files/plugins/position/libqtposition_android.so" has unsupported flags DT_FLAGS_1=0x81 (ignoring unsupported flags) I QtPositioning: Positioning start W System.err: java.lang.reflect.InvocationTargetException W System.err: at java.lang.reflect.Method.invoke(Native Method) W System.err: at org.qtproject.qt5.android.bindings.QtLoader.loadApplication(QtLoader.java:237) W System.err: at org.qtproject.qt5.android.bindings.QtLoader.startApp(QtLoader.java:649) W System.err: at org.qtproject.qt5.android.bindings.QtActivityLoader.onCreate(QtActivityLoader.java:183) W System.err: at org.qtproject.qt5.android.bindings.QtActivity.onCreateHook(QtActivity.java:266) W System.err: at org.qtproject.qt5.android.bindings.QtActivity.onCreate(QtActivity.java:273) W System.err: at android.app.Activity.performCreate(Activity.java:7340) W System.err: at android.app.Activity.performCreate(Activity.java:7331) W System.err: at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1275) W System.err: at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3105) W System.err: at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3268) W System.err: at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:78) W System.err: at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:108) W System.err: at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:68) W System.err: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1959) W System.err: at android.os.Handler.dispatchMessage(Handler.java:106) W System.err: at android.os.Looper.loop(Looper.java:214) W System.err: at android.app.ActivityThread.main(ActivityThread.java:7080) W System.err: at java.lang.reflect.Method.invoke(Native Method) W System.err: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493) W System.err: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:965) W System.err: Caused by: java.lang.UnsatisfiedLinkError: dlopen failed: library "libc++_shared.so" not found W System.err: at java.lang.Runtime.load0(Runtime.java:928) W System.err: at java.lang.System.load(System.java:1633) W System.err: at org.qtproject.qt5.android.QtNative.loadBundledLibraries(QtNative.java:193) W System.err: at org.qtproject.qt5.android.QtActivityDelegate.loadApplication(QtActivityDelegate.java:596) W System.err: ... 21 more D Dialog : mIsSamsungBasicInteraction = false, isMetaDataInActivity = false I DecorView: mWindow.mActivityCurrentConfig is null. I DecorView: createDecorCaptionView >> DecorView@569ca5b[], isFloating: true, isApplication: true, hasWindowDecorCaption: false, hasWindowControllerCallback: false D ScrollView: initGoToTop D EmergencyMode: [EmergencyManager] android createPackageContext successful D InputTransport: Input channel constructed: fd=64 D ViewRootImpl@abf7fc5[QtActivity]: setView = DecorView@569ca5b[QtActivity] TM=true MM=false D ViewRootImpl@abf7fc5[QtActivity]: stopped(false) old=false D InputTransport: Input channel constructed: fd=65 D ViewRootImpl@21d5341[QtActivity]: setView = DecorView@322bb57[QtActivity] TM=true MM=false D ViewRootImpl@abf7fc5[QtActivity]: Relayout returned: old=[0,54][1600,2452] new=[155,1110][1444,1396] result=0x7 surface={true 4018436096} changed=true I Adreno : QUALCOMM build : 1c7d42c, If23bcb88b5 I Adreno : Build Date : 01/28/19 I Adreno : OpenGL ES Shader Compiler Version: EV031.25.03.01 I Adreno : Local Branch : I Adreno : Remote Branch : refs/tags/AU_LINUX_ANDROID_LA.UM.7.4.R1.09.00.00.453.036 I Adreno : Remote Branch : NONE I Adreno : Reconstruct Branch : NOTHING I Adreno : Build Config : S L 6.0.7 AArch32 I Adreno : PFP: 0x005ff112, ME: 0x005ff066 I ConfigStore: android::hardware::configstore::V1_0::ISurfaceFlingerConfigs::hasWideColorDisplay retrieved: 0 I ConfigStore: android::hardware::configstore::V1_0::ISurfaceFlingerConfigs::hasHDRDisplay retrieved: 0 I OpenGLRenderer: Initialized EGL, version 1.4 D OpenGLRenderer: Swap behavior 2 D ScrollView: onsize change changed D OpenGLRenderer: eglCreateWindowSurface = 0xe66ab120, 0xef847808 D ViewRootImpl@21d5341[QtActivity]: Relayout returned: old=[0,0][1600,2452] new=[0,0][1600,2452] result=0x7 surface={true 3518369792} changed=true D OpenGLRenderer: eglCreateWindowSurface = 0xe66ad760, 0xd1b61008 D ViewRootImpl@abf7fc5[QtActivity]: MSG_WINDOW_FOCUS_CHANGED 1 1 D ViewRootImpl@abf7fc5[QtActivity]: MSG_RESIZED_REPORT: frame=[155,1110][1444,1396] ci=[0,0][0,0] vi=[0,0][0,0] or=1 D ViewRootImpl@21d5341[QtActivity]: MSG_RESIZED_REPORT: frame=[0,0][1600,2452] ci=[0,54][0,0] vi=[0,54][0,0] or=1 D ViewRootImpl@abf7fc5[QtActivity]: ViewPostIme pointer 0 D ViewRootImpl@abf7fc5[QtActivity]: ViewPostIme pointer 1 D OpenGLRenderer: eglDestroySurface = 0xe66ab120, 0xef847800 D ViewRootImpl@abf7fc5[QtActivity]: dispatchDetachedFromWindow D InputTransport: Input channel destroyed: fd=64 E ViewRootImpl: sendUserActionEvent() returned. D OpenGLRenderer: eglDestroySurface = 0xe66ad760, 0xd1b61000 D ViewRootImpl@21d5341[QtActivity]: Relayout returned: old=[0,0][1600,2452] new=[0,0][1600,2452] result=0x5 surface={false 0} changed=true D ViewRootImpl@21d5341[QtActivity]: stopped(true) old=false D ViewRootImpl@21d5341[QtActivity]: dispatchDetachedFromWindow D InputTransport: Input channel destroyed: fd=65
Worked on macOS 10.14 (same ndk version) on Pixel C and on Linux (same ndk version, same Galaxy Tab 4 device than on Windows). On Linux the tablet although complains about incompatible API versions, but once you accept the dialog, the application runs fine).