Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-63289

Android: SSL does not work on Android 7.0

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • Not Evaluated
    • None
    • 5.6.3
    • QPA
    • None
    • Android 7.0 (Nexus 9)
    • Android

    Description

      When running the photoviewer example on Android 7.0, there are warnings about SSL. (This does not happen with Android 5.0.1.)

      W System : ClassLoader referenced unknown path:
      W linker : /data/app/org.qtproject.example.photoviewer-1/lib/arm/libQt5Network.so: unsupported flags DT_FLAGS_1=0x81
      W linker : /data/app/org.qtproject.example.photoviewer-1/lib/arm/libQt5Qml.so: unsupported flags DT_FLAGS_1=0x81
      W linker : /data/app/org.qtproject.example.photoviewer-1/lib/arm/libQt5Gui.so: unsupported flags DT_FLAGS_1=0x81
      W linker : /data/app/org.qtproject.example.photoviewer-1/lib/arm/libQt5Quick.so: unsupported flags DT_FLAGS_1=0x81
      W linker : /data/app/org.qtproject.example.photoviewer-1/lib/arm/libQt5Widgets.so: unsupported flags DT_FLAGS_1=0x81
      W linker : /data/app/org.qtproject.example.photoviewer-1/lib/arm/libQt5XmlPatterns.so: unsupported flags DT_FLAGS_1=0x81
      W linker : /data/app/org.qtproject.example.photoviewer-1/lib/arm/libQt5QuickParticles.so: unsupported flags DT_FLAGS_1=0x81
      W linker : /data/data/org.qtproject.example.photoviewer/qt-reserved-files/plugins/platforms/android/libqtforandroid.so: unsupported flags DT_FLAGS_1=0x81
      I Qt : qt start
      W linker : /data/data/org.qtproject.example.photoviewer/qt-reserved-files/plugins/bearer/libqandroidbearer.so: unsupported flags DT_FLAGS_1=0x81
      I art : Do partial code cache collection, code=12KB, data=31KB
      I art : After code cache collection, code=12KB, data=31KB
      I art : Increasing code cache capacity to 128KB
      D : (null):0 ((null)): QML debugging is enabled. Only use this in a safe environment.
      I art : Background sticky concurrent mark sweep GC freed 8219(793KB) AllocSpace objects, 12(252KB) LOS objects, 12% free, 7MB/8MB, paused 5.439ms total 15.435ms
      I OpenGLRenderer: Initialized EGL, version 1.4
      D OpenGLRenderer: Swap behavior 2
      W linker : /data/data/org.qtproject.example.photoviewer/qt-reserved-files/qml/QtQuick.2/libqtquick2plugin.so: unsupported flags DT_FLAGS_1=0x81
      W linker : /data/data/org.qtproject.example.photoviewer/qt-reserved-files/qml/QtQuick/Controls/libqtquickcontrolsplugin.so: unsupported flags DT_FLAGS_1=0x81
      W linker : /data/data/org.qtproject.example.photoviewer/qt-reserved-files/qml/QtQml/Models.2/libmodelsplugin.so: unsupported flags DT_FLAGS_1=0x81
      W linker : /data/data/org.qtproject.example.photoviewer/qt-reserved-files/qml/QtQuick/Window.2/libwindowplugin.so: unsupported flags DT_FLAGS_1=0x81
      W linker : /data/data/org.qtproject.example.photoviewer/qt-reserved-files/qml/QtQuick/Layouts/libqquicklayoutsplugin.so: unsupported flags DT_FLAGS_1=0x81
      W linker : /data/data/org.qtproject.example.photoviewer/qt-reserved-files/qml/QtQuick/XmlListModel/libqmlxmllistmodelplugin.so: unsupported flags DT_FLAGS_1=0x81
      W linker : /data/data/org.qtproject.example.photoviewer/qt-reserved-files/qml/QtQuick/Controls/Styles/Android/libqtquickcontrolsandroidstyleplugin.so: unsupported flags DT_FLAGS_1=0x81
      W linker : /data/data/org.qtproject.example.photoviewer/qt-reserved-files/plugins/imageformats/libqgif.so: unsupported flags DT_FLAGS_1=0x81
      W linker : /data/data/org.qtproject.example.photoviewer/qt-reserved-files/plugins/imageformats/libqicns.so: unsupported flags DT_FLAGS_1=0x81
      W linker : /data/data/org.qtproject.example.photoviewer/qt-reserved-files/plugins/imageformats/libqico.so: unsupported flags DT_FLAGS_1=0x81
      W linker : /data/data/org.qtproject.example.photoviewer/qt-reserved-files/plugins/imageformats/libqjpeg.so: unsupported flags DT_FLAGS_1=0x81
      W linker : /data/data/org.qtproject.example.photoviewer/qt-reserved-files/plugins/imageformats/libqtga.so: unsupported flags DT_FLAGS_1=0x81
      W linker : /data/data/org.qtproject.example.photoviewer/qt-reserved-files/plugins/imageformats/libqtiff.so: unsupported flags DT_FLAGS_1=0x81
      W linker : /data/data/org.qtproject.example.photoviewer/qt-reserved-files/plugins/imageformats/libqwbmp.so: unsupported flags DT_FLAGS_1=0x81
      W linker : /data/data/org.qtproject.example.photoviewer/qt-reserved-files/plugins/imageformats/libqwebp.so: unsupported flags DT_FLAGS_1=0x81
      W linker : library "libcrypto.so" ("/system/lib/libcrypto.so") needed or dlopened by "/data/app/org.qtproject.example.photoviewer-1/lib/arm/libQt5Core.so" is not accessible for the namespace "classloader-namespace" - the access is temporarily granted as a workaround for http://b/26394120, note that the access will be removed in future releases of Android.
      W linker : library "libssl.so" ("/system/lib/libssl.so") needed or dlopened by "/data/app/org.qtproject.example.photoviewer-1/lib/arm/libQt5Core.so" is not accessible for the namespace "classloader-namespace" - the access is temporarily granted as a workaround for http://b/26394120, note that the access will be removed in future releases of Android.
      W libphotoviewer.so: (null):0 ((null)): qt.network.ssl: QSslSocket: cannot resolve CRYPTO_free
      W libphotoviewer.so: (null):0 ((null)): qt.network.ssl: QSslSocket: cannot resolve EVP_CipherFinal
      W libphotoviewer.so: (null):0 ((null)): qt.network.ssl: QSslSocket: cannot resolve SSL_CTX_ctrl
      W libphotoviewer.so: (null):0 ((null)): qt.network.ssl: QSslSocket: cannot resolve SSL_ctrl
      W libphotoviewer.so: (null):0 ((null)): qt.network.ssl: QSslSocket: cannot resolve SSLv2_client_method
      W libphotoviewer.so: (null):0 ((null)): qt.network.ssl: QSslSocket: cannot resolve SSLv2_server_method
      W libphotoviewer.so: (null):0 ((null)): qt.network.ssl: QSslSocket: cannot resolve OPENSSL_add_all_algorithms_noconf
      W libphotoviewer.so: (null):0 ((null)): qt.network.ssl: QSslSocket: cannot resolve OPENSSL_add_all_algorithms_conf
      W libphotoviewer.so: (null):0 ((null)): qt.network.ssl: QSslSocket: cannot resolve EC_get_builtin_curves
      W libphotoviewer.so: (null):0 ((null)): qt.network.ssl: QSslSocket: cannot resolve EC_curve_nist2nid
      W libphotoviewer.so: (null):0 ((null)): qt.network.ssl: QSslSocket: cannot call unresolved function OPENSSL_add_all_algorithms_conf
      W libphotoviewer.so: (null):0 ((null)): qt.network.ssl: QSslSocket: cannot call unresolved function EC_get_builtin_curves
      W libphotoviewer.so: (null):0 ((null)): qt.network.ssl: QSslSocket: cannot call unresolved function EC_get_builtin_curves

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              esabraha Eskil Abrahamsen Blomfeldt
              tvete Paul Olav Tvete
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes