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

Android tests crashing with "java.lang.UnsatisfiedLinkError: dlopen failed: invalid ELF file"

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Cannot Reproduce
    • Affects Version/s: 6.0
    • Fix Version/s: 6.2.5, 6.3.1, 6.4.0 Beta1
    • Component/s: XML: DOM
    • Labels:
      None
    • Platform/s:
      Android
    • Story Points:
      8
    • Commits:
      ea6f556186 (qt/qtbase/dev) ea6f556186 (qt/tqtc-qtbase/dev) 921a275750 (qt/qtbase/6.2) 921a275750 (qt/tqtc-qtbase/6.2) f06f318bd5 (qt/qtbase/6.3) f06f318bd5 (qt/tqtc-qtbase/6.3)
    • Sprint:
      Team One Foundation Sprint 52, Team A Foundation Sprint 53

      Description

      Few tests crash at the start on Android with, the list of tests:

      • tst_qdom
      • tst_qxmlstream
      • tst_qtextdocument
      • tst_qfiledialog
      • tst_qmessagebox
      • tst_qgraphicsview
      • tst_qmenu
      • tst_qopenglwidget

       

      10-16 12:11:11.559  4525  4538 I QtCore  : Start
      --------- beginning of crash
      10-16 12:11:11.563  4525  4538 E AndroidRuntime: FATAL EXCEPTION: qtMainLoopThread
      10-16 12:11:11.563  4525  4538 E AndroidRuntime: Process: org.qtproject.example.tst_qdom, PID: 4525
      10-16 12:11:11.563  4525  4538 E AndroidRuntime: java.lang.UnsatisfiedLinkError: dlopen failed: invalid ELF file "/data/app/org.qtproject.example.tst_qdom-1/lib/x86/libQt6Xml_x86.so" load segment[4]: p_offset (0x56000) + p_filesz (0x0) ( = 0x56000) past end of file (0x55e34)
      10-16 12:11:11.563  4525  4538 E AndroidRuntime:        at java.lang.Runtime.load(Runtime.java:332)
      10-16 12:11:11.563  4525  4538 E AndroidRuntime:        at java.lang.System.load(System.java:1069)
      10-16 12:11:11.563  4525  4538 E AndroidRuntime:        at org.qtproject.qt.android.QtNative$2.run(QtNative.java:426)
      10-16 12:11:11.563  4525  4538 E AndroidRuntime:        at org.qtproject.qt.android.QtThread$2.run(QtThread.java:87)
      10-16 12:11:11.563  4525  4538 E AndroidRuntime:        at org.qtproject.qt.android.QtThread$1.run(QtThread.java:61)
      10-16 12:11:11.563  4525  4538 E AndroidRuntime:        at java.lang.Thread.run(Thread.java:818)
      10-16 12:11:11.564  1609  1620 W ActivityManager:   Force finishing activity org.qtproject.example.tst_qdom/org.qtproject.qt.android.bindings.QtActivity
      10-16 12:11:11.865  1609  1620 I WindowManager: Screenshot max retries 4 of Token{30756d2 ActivityRecord{4d1ad5d u0 org.qtproject.example.tst_qdom/org.qtproject.qt.android.bindings.QtActivity t5 f}} appWin=Window{97da7cd u0 Starting org.qtproject.example.tst_qdom} drawState=3
      

        Attachments

          Issue Links

          For Gerrit Dashboard: QTBUG-87671
          # Subject Branch Project Status CR V

            Activity

              People

              Assignee:
              andreasbuhr Andreas Buhr
              Reporter:
              assam Assam Boudjelthia
              PM Owner:
              Vladimir Minenko Vladimir Minenko
              RnD Owner:
              Alex Blasche Alex Blasche
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: