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

Crash on shutdown in audiovisualizer example

    XMLWordPrintable

Details

    • Bug
    • Resolution: Incomplete
    • P2: Important
    • None
    • 5.6.1, 5.6.2
    • Qt3D
    • None

    Description

      Reproduced on Pixel C (Android 6.0.1)

      1. Start the audiovisualizer example on the device
      2. Click the "Back" button to quit the application
      3. Crash

      The following output in the console:

      W libaudio-visualizer-qml.so: (null):0 ((null)): QThread: Destroyed while thread is still running
      W libaudio-visualizer-qml.so: (null):0 ((null)): Qt3D.Renderer.Backend: bool Qt3DRender::Render::GraphicsContext::makeCurrent(QSurface*) makeCurrent failed
      E libEGL  : call to OpenGL ES API with no current context (logged once per thread)
      F libc    : heap corruption detected by dlfree
      F libc    : Fatal signal 6 (SIGABRT), code -6 in tid 19966 (QtThread)
      

      This is the stack trace according to logcat:

      10-10 14:11:30.316   221   221 F DEBUG   : backtrace:
      10-10 14:11:30.316   221   221 F DEBUG   :     #00 pc 00044144  /system/lib/libc.so (tgkill+12)
      10-10 14:11:30.316   221   221 F DEBUG   :     #01 pc 00041d51  /system/lib/libc.so (pthread_kill+32)
      10-10 14:11:30.316   221   221 F DEBUG   :     #02 pc 0001b9ff  /system/lib/libc.so (raise+10)
      10-10 14:11:30.316   221   221 F DEBUG   :     #03 pc 00018bb1  /system/lib/libc.so (__libc_android_abort+34)
      10-10 14:11:30.316   221   221 F DEBUG   :     #04 pc 00016774  /system/lib/libc.so (abort+4)
      10-10 14:11:30.317   221   221 F DEBUG   :     #05 pc 0001a613  /system/lib/libc.so (__libc_fatal+16)
      10-10 14:11:30.317   221   221 F DEBUG   :     #06 pc 0002e111  /system/lib/libc.so (__bionic_heap_corruption_error+8)
      10-10 14:11:30.317   221   221 F DEBUG   :     #07 pc 00030361  /system/lib/libc.so (dlfree+308)
      10-10 14:11:30.317   221   221 F DEBUG   :     #08 pc 001356a7  /data/app/org.qtproject.example.audio_visualizer_qml-1/lib/arm/libQt5Core.so (QObjectUserData::~QObjectUserData()+10)
      

      Possible global static QObject?

      Attachments

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

        Activity

          People

            seanharmer Sean Harmer
            esabraha Eskil Abrahamsen Blomfeldt
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes