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

Crash at QRhi::endFrame -> glCopyTexSubImage2D started to occur after Qt upgrade from 6.6.3 to 6.8.3

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P1: Critical P1: Critical
    • None
    • 6.8.3
    • GUI: OpenGL, Qt RHI
    • None
    • Android versions 10+, many manufacturers
    • Android

      Hello there, 

       

      We recently upgraded our app from Qt 6.6.3 to 6.8.3. Right after the upgrade we started to see a huge spike in crashes with the following trace:

      backtrace:  #00  pc 0x00000000003ef104  /vendor/lib64/egl/libGLESv2_adreno.so (!!!0000!01bc4b122c268c0369d1dca80622a3!923a446bf8!+76)  #01  pc 0x00000000003ee8c8  /vendor/lib64/egl/libGLESv2_adreno.so (!!!0000!14fc36867659bd8c02a07a39173274!923a446bf8!+376)  #02  pc 0x00000000001d525c  /vendor/lib64/egl/libGLESv2_adreno.so (!!!0000!a40a38ce183fa5aec80c1dac9afbd2!923a446bf8!+52)  #03  pc 0x00000000001ca1f4  /vendor/lib64/egl/libGLESv2_adreno.so (!!!0000!2ed2ea198decffbf8196ed550eb81d!923a446bf8!+3388)  #04  pc 0x00000000001c4278  /vendor/lib64/egl/libGLESv2_adreno.so (!!!0000!d376fd6fa8356d91d4098bc37928d0!923a446bf8!+848)  #05  pc 0x000000000018084c  /vendor/lib64/egl/libGLESv2_adreno.so (!!!0000!a920daad3cb5055de3619d36e5cd41!923a446bf8!+220)  #06  pc 0x00000000000f6ae4  /vendor/lib64/egl/libGLESv2_adreno.so (glCopyTexSubImage2D+132)  #07  pc 0x000000000057dae4  /data/app/~~G0iKKCFUE_LYHnPA7jskIQ==/com.example.app-XUwHXyMChoF2tdj03n2Kgg==/lib/arm64/libQt6Gui_arm64-v8a.so (BuildId: 323f110bfe8c2c0f1c49857c7c66e291a03c84e5)  #08  pc 0x000000000057e95c  /data/app/~~G0iKKCFUE_LYHnPA7jskIQ==/com.example.app-XUwHXyMChoF2tdj03n2Kgg==/lib/arm64/libQt6Gui_arm64-v8a.so (BuildId: 323f110bfe8c2c0f1c49857c7c66e291a03c84e5)  #09  pc 0x0000000000492d80  /data/app/~~G0iKKCFUE_LYHnPA7jskIQ==/com.example.app-XUwHXyMChoF2tdj03n2Kgg==/lib/arm64/libQt6Gui_arm64-v8a.so (QRhi::endFrame(QRhiSwapChain*, QFlags<QRhi::EndFrameFlag>)+64) (BuildId: 323f110bfe8c2c0f1c49857c7c66e291a03c84e5)  #10  pc 0x00000000005bcca4  /data/app/~~G0iKKCFUE_LYHnPA7jskIQ==/com.example.app-XUwHXyMChoF2tdj03n2Kgg==/lib/arm64/libQt6Quick_arm64-v8a.so (BuildId: 8716d56de1e16790c112823ef29c3d4fc6566195)  #11  pc 0x00000000005bd584  /data/app/~~G0iKKCFUE_LYHnPA7jskIQ==/com.example.app-XUwHXyMChoF2tdj03n2Kgg==/lib/arm64/libQt6Quick_arm64-v8a.so (BuildId: 8716d56de1e16790c112823ef29c3d4fc6566195)  #12  pc 0x0000000000478758  /data/app/~~G0iKKCFUE_LYHnPA7jskIQ==/com.example.app-XUwHXyMChoF2tdj03n2Kgg==/lib/arm64/libQt6Core_arm64-v8a.so (BuildId: d2d8373fe5de2616608cb55f26f19fedefc7add9)  #13  pc 0x00000000000a6f0c  /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+196)  #14  pc 0x00000000000993b4  /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+68)
       

      These crashes happen across many devices (not related to any specific device manufacturer) and Android versions (Android 10+).

       

      Unfortunately, I do not have any reproducible scenario. However, I wanted to reach out to see if you have any idea why this might be happening? I remember seeing something similar when qt5compat was used..

      Happy to provide more details if needed.

      As always, thank you for your hard work!

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

            lagocs Laszlo Agocs
            tomasmizera Tomas Mizera
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes