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

Android OpenSSL 1.1.1c crash when app start on armeabi-v7a 32bit

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P1: Critical
    • None
    • 5.12.4
    • Network: SSL
    • None
    • Android

    Description

      When build simple app for android on armeabi-v7a 32bit, app crash instantly after app started. No problem on arm64-v8a. OpenSSL 1.1.1c is builded for both architectures.

      I attached simple example which reproduce the problem 100%.

      E/art ( 3251): dlopen("/data/app/org.qtproject.example.SSLTest-1/lib/arm/libSSLTest.so", RTLD_LAZY) failed: dlopen failed: could not load library "libcrypto.so.1.1" needed by "libSSLTest.so"; caused by library "libcrypto.so.1.1" not found

      E/AndroidRuntime( 3251): FATAL EXCEPTION: qtMainLoopThread

      E/AndroidRuntime( 3251): Process: org.qtproject.example.SSLTest, PID: 3251

      E/AndroidRuntime( 3251): java.lang.UnsatisfiedLinkError: dlopen failed: could not load library "libcrypto.so.1.1" needed by "libSSLTest.so"; caused by library "libcrypto.so.1.1" not found

      E/AndroidRuntime( 3251): at java.lang.Runtime.load(Runtime.java:331)

      E/AndroidRuntime( 3251): at java.lang.System.load(System.java:982)

      E/AndroidRuntime( 3251): at org.qtproject.qt5.android.QtNative$4.run(QtNative.java:259)

      E/AndroidRuntime( 3251): at org.qtproject.qt5.android.QtThread$2.run(QtThread.java:87)

      E/AndroidRuntime( 3251): at org.qtproject.qt5.android.QtThread$1.run(QtThread.java:61)

      E/AndroidRuntime( 3251): at java.lang.Thread.run(Thread.java:818)

      Attachments

        1. SSLTest_new.zip
          2.80 MB
        2. SSLTest.zip
          2.75 MB

        Issue Links

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

          Activity

            People

              taipan BogDan Vatra
              Yordan.Bonev Yordan.Bonev
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes