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

[Android]: When switching from back to front camera then it will cause a crash

    XMLWordPrintable

Details

    • 921dd85c7a90bf7432d50bd9f631d065f5281d34

    Description

      Using the camera-declarative example switch the camera used to the front facing one and then it will crash. The following output will be seen:

      D/Qt      ( 4359): (null):0 ((null)): FT_New_Face failed with index 0 : 90
      W/Adreno-EGL( 4359): <qeglDrvAPI_eglSwapBuffers:3615>: EGL_BAD_CONTEXT
      W/Qt      ( 4359): (null):0 ((null)): QEGLPlatformContext::swapBuffers(): eglError: 12294, this: 0xa26b2370 
      W/Qt      ( 4359): 
      D/Camera  ( 4359): app passed NULL surface
      W/Camera-JNI( 4359): callback on dead camera object
      W/Camera-JNI( 4359): callback on dead camera object
      W/Camera-JNI( 4359): callback on dead camera object
      W/Camera-JNI( 4359): callback on dead camera object
      W/Qt      ( 4359): (null):0 ((null)): QThread: Destroyed while thread is still running
      W/art     ( 4359): Native thread exiting without having called DetachCurrentThread (maybe it's going to use a pthread_key_create destructor?): Thread[19,tid=4422,Native,Thread*=0xaf64e400,peer=0x12ddf080,"QtThread"]
      F/art     ( 4359): art/runtime/thread.cc:1019] Native thread exited without calling DetachCurrentThread: Thread[19,tid=4422,Native,Thread*=0xaf64e400,peer=0x12ddf080,"QtThread"]
      

      Attachments

        Issue Links

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

          Activity

            People

              ylopes Yoann Lopes
              andysh Andy Shaw
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes