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

Apps won't start on x86 emulator

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 6.10
    • QPA: Android
    • None
    • Android, Linux/Other display system

    Description

      Errors

      I/ActivityManager( 2489): Start proc 6793:org.qtproject.example.hellogles3/u0a85 for activity org.qtproject.example.hellogles3/org.qtproject.qt.android.bindings.QtActivity
      I/mple.hellogles( 6793): Late-enabling -Xcheck:jni
      W/mple.hellogles( 6793): Unexpected CPU variant for X86 using defaults: x86
      W/mple.hellogles( 6793): Accessing hidden field Landroid/os/Trace;->TRACE_TAG_APP:J (light greylist, reflection)
      W/mple.hellogles( 6793): Accessing hidden method Landroid/os/Trace;->isTagEnabled(J)Z (light greylist, reflection)
      E/mple.hellogles( 6793): No implementation found for boolean org.qtproject.qt.android.QtNative.updateNativeActivity() (tried Java_org_qtproject_qt_android_QtNative_updateNativeActivity and Java_org_qtproject_qt_android_QtNative_updateNativeActivity__)
      W/mple.hellogles( 6793): Accessing hidden method Landroid/content/ContextWrapper;->getDisplay()Landroid/view/Display; (light greylist, linking)
      W/mple.hellogles( 6793): Accessing hidden method Landroid/graphics/drawable/StateListDrawable;->getStateCount()I (light greylist, linking)
      W/QtLoader( 6793): Null extras from the Activity's intent.
      I/QtCore  ( 6793): Start
      I/Qt      ( 6793): qt started
      D/OpenGLRenderer( 6793): Skia GL Pipeline
      D/HostConnection( 6793): HostConnection::get() New Host Connection established 0xdcca13c0, tid 6840
      D/HostConnection( 6793): HostComposition ext ANDROID_EMU_CHECKSUM_HELPER_v1 ANDROID_EMU_native_sync_v2 ANDROID_EMU_native_sync_v3 ANDROID_EMU_native_sync_v4 ANDROID_EMU_dma_v1 ANDROID_EMU_YUV420_888_to_NV21 ANDROID_EMU_YUV_Cache ANDROID_EMU_sync_buffer_data GL_OES_EGL_image_external_essl3 GL_OES_vertex_array_object GL_KHR_texture_compression_astc_ldr ANDROID_EMU_host_side_tracing ANDROID_EMU_gles_max_version_3_1 
      I/ConfigStore( 6793): android::hardware::configstore::V1_0::ISurfaceFlingerConfigs::hasWideColorDisplay retrieved: 0
      I/ConfigStore( 6793): android::hardware::configstore::V1_0::ISurfaceFlingerConfigs::hasHDRDisplay retrieved: 0
      I/OpenGLRenderer( 6793): Initialized EGL, version 1.4
      D/OpenGLRenderer( 6793): Swap behavior 1
      W/OpenGLRenderer( 6793): Failed to choose config with EGL_SWAP_BEHAVIOR_PRESERVED, retrying without...
      D/OpenGLRenderer( 6793): Swap behavior 0
      D/eglCodecCommon( 6793): setVertexArrayObject: set vao to 0 (0) 0 0
      D/EGL_emulation( 6793): eglCreateContext: 0xdcc85360: maj 3 min 1 rcv 4
      D/EGL_emulation( 6793): eglMakeCurrent: 0xdcc85360: ver 3 1 (tinfo 0xdcc83630)
      E/eglCodecCommon( 6793): glUtilsParamSize: unknow param 0x000082da
      E/eglCodecCommon( 6793): glUtilsParamSize: unknow param 0x000082da
      D/HostConnection( 6793): createUnique: call
      D/HostConnection( 6793): HostConnection::get() New Host Connection established 0xdcca18c0, tid 6840
      D/HostConnection( 6793): HostComposition ext ANDROID_EMU_CHECKSUM_HELPER_v1 ANDROID_EMU_native_sync_v2 ANDROID_EMU_native_sync_v3 ANDROID_EMU_native_sync_v4 ANDROID_EMU_dma_v1 ANDROID_EMU_YUV420_888_to_NV21 ANDROID_EMU_YUV_Cache ANDROID_EMU_sync_buffer_data GL_OES_EGL_image_external_essl3 GL_OES_vertex_array_object GL_KHR_texture_compression_astc_ldr ANDROID_EMU_host_side_tracing ANDROID_EMU_gles_max_version_3_1 
      E/eglCodecCommon( 6793): GoldfishAddressSpaceHostMemoryAllocator: ioctl_ping failed for device_type=5, ret=-1
      D/EGL_emulation( 6793): eglMakeCurrent: 0xdcc85360: ver 3 1 (tinfo 0xdcc83630)
      D/eglCodecCommon( 6793): setVertexArrayObject: set vao to 0 (0) 1 2
      F/libc    ( 6793): Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x4 in tid 6821 (qtMainLoopThrea), pid 6793 (mple.hellogles3)
      I/crash_dump32( 6848): performing dump of process 6793 (target tid = 6821)
      F/DEBUG   ( 6848): pid: 6793, tid: 6821, name: qtMainLoopThrea  >>> org.qtproject.example.hellogles3 <<<
      E/lowmemorykiller( 1658): Error writing /proc/6793/oom_score_adj; errno=22
      W/libprocessgroup( 2489): kill(-6793, 9) failed: No such process
      I/ActivityManager( 2489): Process org.qtproject.example.hellogles3 (pid 6793) has died: vis  +99TOP 
      I/Zygote  ( 2322): Process 6793 exited due to signal (11)
      W/ActivityManager( 2489): setHasOverlayUi called on unknown pid: 6793
      W/libprocessgroup( 2489): kill(-6793, 9) failed: No such process
      I/libprocessgroup( 2489): Successfully killed process cgroup uid 10085 pid 6793 in 38ms
      16:17:14: Android target "org.qtproject.example.hellogles3" died.

      or

      I/ActivityManager( 2489): Start proc 7346:org.qtproject.example.galleryexample/u0a86 for activity org.qtproject.example.galleryexample/org.qtproject.qt.android.bindings.QtActivity
      I/.galleryexampl( 7346): Late-enabling -Xcheck:jni
      W/.galleryexampl( 7346): Unexpected CPU variant for X86 using defaults: x86
      W/.galleryexampl( 7346): Accessing hidden field Landroid/os/Trace;->TRACE_TAG_APP:J (light greylist, reflection)
      W/.galleryexampl( 7346): Accessing hidden method Landroid/os/Trace;->isTagEnabled(J)Z (light greylist, reflection)
      E/.galleryexampl( 7346): No implementation found for boolean org.qtproject.qt.android.QtNative.updateNativeActivity() (tried Java_org_qtproject_qt_android_QtNative_updateNativeActivity and Java_org_qtproject_qt_android_QtNative_updateNativeActivity__)
      W/.galleryexampl( 7346): Accessing hidden method Landroid/content/ContextWrapper;->getDisplay()Landroid/view/Display; (light greylist, linking)
      W/.galleryexampl( 7346): Accessing hidden method Landroid/graphics/drawable/StateListDrawable;->getStateCount()I (light greylist, linking)
      W/QtLoader( 7346): Null extras from the Activity's intent.
      I/QtCore  ( 7346): Start
      I/Qt      ( 7346): qt started
      D/OpenGLRenderer( 7346): Skia GL Pipeline
      D/HostConnection( 7346): HostConnection::get() New Host Connection established 0xdb39b840, tid 7393
      D/HostConnection( 7346): HostComposition ext ANDROID_EMU_CHECKSUM_HELPER_v1 ANDROID_EMU_native_sync_v2 ANDROID_EMU_native_sync_v3 ANDROID_EMU_native_sync_v4 ANDROID_EMU_dma_v1 ANDROID_EMU_YUV420_888_to_NV21 ANDROID_EMU_YUV_Cache ANDROID_EMU_sync_buffer_data GL_OES_EGL_image_external_essl3 GL_OES_vertex_array_object GL_KHR_texture_compression_astc_ldr ANDROID_EMU_host_side_tracing ANDROID_EMU_gles_max_version_3_1 
      I/ConfigStore( 7346): android::hardware::configstore::V1_0::ISurfaceFlingerConfigs::hasWideColorDisplay retrieved: 0
      I/ConfigStore( 7346): android::hardware::configstore::V1_0::ISurfaceFlingerConfigs::hasHDRDisplay retrieved: 0
      I/OpenGLRenderer( 7346): Initialized EGL, version 1.4
      D/OpenGLRenderer( 7346): Swap behavior 1
      W/OpenGLRenderer( 7346): Failed to choose config with EGL_SWAP_BEHAVIOR_PRESERVED, retrying without...
      D/OpenGLRenderer( 7346): Swap behavior 0
      D/eglCodecCommon( 7346): setVertexArrayObject: set vao to 0 (0) 0 0
      D/EGL_emulation( 7346): eglCreateContext: 0xdcd5e900: maj 3 min 1 rcv 4
      D/EGL_emulation( 7346): eglMakeCurrent: 0xdcd5e900: ver 3 1 (tinfo 0xdcd6f600)
      E/eglCodecCommon( 7346): glUtilsParamSize: unknow param 0x000082da
      E/eglCodecCommon( 7346): glUtilsParamSize: unknow param 0x000082da
      F/default ( 7346): Cannot add multiple registrations for gallery
      F/libc    ( 7346): Fatal signal 6 (SIGABRT), code -6 (SI_TKILL) in tid 7386 (qtMainLoopThrea), pid 7346 (.galleryexample)
      I/crash_dump32( 7399): performing dump of process 7346 (target tid = 7386)
      F/DEBUG   ( 7399): pid: 7346, tid: 7386, name: qtMainLoopThrea  >>> org.qtproject.example.galleryexample <<<
      I/Zygote  ( 2322): Process 7346 exited due to signal (6)
      I/ActivityManager( 2489): Process org.qtproject.example.galleryexample (pid 7346) has died: vis  TOP 
      W/libprocessgroup( 2489): kill(-7346, 9) failed: No such process
      I/libprocessgroup( 2489): Successfully killed process cgroup uid 10086 pid 7346 in 0ms
      W/ActivityManager( 2489): setHasOverlayUi called on unknown pid: 7346
      16:26:12: Android target "org.qtproject.example.galleryexample" died.

      or

      adb: failed to install /home/.. ../build/outputs/apk/debug/android-build-calqlatrexample-debug.apk: Failure [INSTALL_FAILED_INSUFFICIENT_STORAGE]
      Installing Android package to device.
      Running command "/home/username/Android/Sdk/platform-tools/adb -s emulator-5554  install -r /home/username/dev/jira/QTBUG-132640/featured_examples/calqlatr/build/Android_Qt_6_10_0_android_x86_Clang_x86-Debug/android-build-calqlatrexample//build/outputs/apk/debug/android-build-calqlatrexample-debug.apk"
      Performing Streamed Install
      Installing to device failed!
      16:29:45: The process "/home/username/dev/blds/qt610_16052025_host/bin/androiddeployqt" exited with code 16.
      16:29:45: Installing the app failed with an unknown error.

      Used env

      • Qt dev got on 16th of May 2025
      • Target architecture: x86
      • x86 emu: Pixel 3 SDK 28 SD card size 2048MB (INSTALL_FAILED_INSUFFICIENT_STORAGE came with  512MB as well)
      • Host: Linux Ubuntu 24.04
      • NDK: NDK29 Beta-1 from QTBUG-132640 

      Plausible reason

      • TODO

      Fix proposal

      • TODO

      Attachments

        Issue Links

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

          Activity

            People

              qtandroidteam Qt Android Team
              rampe Rami Potinkara
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes