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

Qt-6.2.2 Example declarative-camera crash on Android 6.0.1

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P1: Critical
    • Resolution: Done
    • Affects Version/s: 6.2.2
    • Fix Version/s: 6.2.5, 6.3.1, 6.4.0 Beta1
    • Component/s: Multimedia
    • Labels:
      None
    • Platform/s:
      Android
    • Commits:
      6ccb976f4f (qt/qtmultimedia/dev) f75e2c56e2 (qt/qtmultimedia/6.3) 19fe57408b (qt/qtmultimedia/6.2) 19fe57408b (qt/tqtc-qtmultimedia/6.2) f75e2c56e2 (qt/tqtc-qtmultimedia/6.3) 6ccb976f4f (qt/tqtc-qtmultimedia/dev) 19fe57408b (qt/tqtc-qtmultimedia/6.2)
    • Sprint:
      2022wk14FOAndroid&Automotive

      Description

      click on "Capturer" causes crash on Nexus 9, Android 6.0.1

      On Sony Xperia, Android 10, it works fine.

      On Android 7.1.1 works too.

      12-15 09:55:35.687 10189-10303/org.qtproject.example W/GLConsumer: [SurfaceTexture-0-10189-1] bindTextureImage: clearing GL error: 0x500
      12-15 09:55:35.756 222-10343/? E/Camera2-ZslProcessor3: pushToReprocess: Could not find good candidate for ZSL reprocessing
      12-15 09:55:35.759 10189-10303/org.qtproject.example W/GLConsumer: [SurfaceTexture-0-10189-1] bindTextureImage: clearing GL error: 0x500
      12-15 09:55:35.854 10189-10303/org.qtproject.example W/GLConsumer: [SurfaceTexture-0-10189-1] bindTextureImage: clearing GL error: 0x500
      12-15 09:55:35.933 10189-10303/org.qtproject.example W/GLConsumer: [SurfaceTexture-0-10189-1] bindTextureImage: clearing GL error: 0x500
      12-15 09:55:36.004 10189-10303/org.qtproject.example W/GLConsumer: [SurfaceTexture-0-10189-1] bindTextureImage: clearing GL error: 0x500
      12-15 09:55:36.099 10189-10303/org.qtproject.example W/GLConsumer: [SurfaceTexture-0-10189-1] bindTextureImage: clearing GL error: 0x500
      12-15 09:55:36.170 10189-10303/org.qtproject.example W/GLConsumer: [SurfaceTexture-0-10189-1] bindTextureImage: clearing GL error: 0x500
      12-15 09:55:36.252 10189-10303/org.qtproject.example W/GLConsumer: [SurfaceTexture-0-10189-1] bindTextureImage: clearing GL error: 0x500
      12-15 09:55:36.279 222-10343/? D/NuPlayerDriver: seekTo(0xac032918) 0 ms
      12-15 09:55:36.279 222-10343/? D/NuPlayerDriver: notifyListener_l(0xac032918), (7, 0, 0)
      12-15 09:55:36.279 222-10307/? I/GenericSource: start
      12-15 09:55:36.280 222-10343/? D/NuPlayerDriver: start(0xac032918), state is 4, eos is 0
      12-15 09:55:36.315 222-10307/? D/NuPlayerDriver: notifyListener_l(0xac032918), (4, 0, 0)
      12-15 09:55:36.522 222-10726/? E/OMXNodeInstance: setConfig(2d:google.vorbis.decoder, ConfigPriority(0x6f800002)) ERROR: Undefined(0x80001001)
      12-15 09:55:36.522 222-10726/? I/ACodec: codec does not support config priority (err -2147483648)
      12-15 09:55:36.523 222-10726/? I/MediaCodec: MediaCodec will operate in async mode
      12-15 09:55:36.525 222-10725/? I/NuPlayerDecoder: [OMX.google.vorbis.decoder] resubmitting CSD
      12-15 09:55:36.525 222-10725/? I/NuPlayerDecoder: [OMX.google.vorbis.decoder] resubmitting CSD
      12-15 09:55:36.529 222-10727/? W/SoftVorbis: vorbis_dsp_synthesis returned -135
      12-15 09:55:36.529 222-10727/? W/SoftVorbis: vorbis_dsp_synthesis returned -135
      12-15 09:55:36.532 222-10724/? W/AudioFlinger: acquireAudioSessionId() unknown client 10189 for session 114
      12-15 09:55:36.532 222-630/? D/audio_hw_primary: out_set_parameters: enter: usecase(0: playback) kvpairs: routing=2 out->devices(2) adev->mode(0)
      12-15 09:55:36.533 222-10307/? D/NuPlayerDriver: notifyListener_l(0xac032918), (6, 0, 0)
          
          --------- beginning of system
      12-15 09:55:36.544 586-757/? I/ActivityManager: Process com.google.android.talk (pid 8863) has died
      12-15 09:55:36.545 586-1138/? I/ActivityManager: Process com.google.android.googlequicksearchbox:search (pid 10442) has died
      12-15 09:55:36.550 222-10725/? I/NuPlayerDecoder: [audio] saw output EOS
      12-15 09:55:36.876 10189-10303/org.qtproject.example W/GLConsumer: [SurfaceTexture-0-10189-1] bindTextureImage: clearing GL error: 0x500
      12-15 09:55:36.901 222-10349/? D/NvOsDebugPrintf: Encoder_Open ++
      12-15 09:55:36.911 222-10349/? D/NvOsDebugPrintf: Encoder_Open --
      12-15 09:55:36.963 222-10307/? D/NuPlayerDriver: notifyListener_l(0xac032918), (2, 0, 0)
      12-15 09:55:36.967 222-10729/? D/NvOsDebugPrintf: Error returned 0x0
      12-15 09:55:36.968 222-10729/? D/NvOsDebugPrintf: [Image-Enc] Client requested Thumbnail and Primary. Primary done
      12-15 09:55:36.968 222-10729/? D/NvOsDebugPrintf: [Image-Enc] Continue .. Not ready to deliver 
      12-15 09:55:36.970 222-10729/? D/NvOsDebugPrintf: Error returned 0x0
      12-15 09:55:36.971 222-10729/? D/NvOsDebugPrintf: [Image-Enc] Client requested Thumbnail and Primary. Thumbnail and Primary done
      12-15 09:55:36.972 222-10729/? D/NvOsDebugPrintf: size of buffer 391611 50434 374445 3185 11920
      12-15 09:55:37.071 10189-10189/org.qtproject.example D/AndroidRuntime: Shutting down VM
          
          
          --------- beginning of crash
      12-15 09:55:37.076 10189-10189/org.qtproject.example E/AndroidRuntime: FATAL EXCEPTION: main
          Process: org.qtproject.example, PID: 10189
          java.lang.NoSuchMethodError: No direct method <init>(Ljava/io/InputStream;)V in class Landroid/media/ExifInterface; or its super classes (declaration of 'android.media.ExifInterface' appears in /system/framework/framework.jar)
              at org.qtproject.qt.android.multimedia.QtCameraListener.onPictureTaken(QtCameraListener.java:214)
              at android.hardware.Camera$EventHandler.handleMessage(Camera.java:1092)
              at android.os.Handler.dispatchMessage(Handler.java:102)
              at android.os.Looper.loop(Looper.java:148)
              at android.app.ActivityThread.main(ActivityThread.java:5417)
              at java.lang.reflect.Method.invoke(Native Method)
              at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
              at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
      12-15 09:55:37.087 586-757/? W/ActivityManager:   Force finishing activity org.qtproject.example/org.qtproject.qt.android.bindings.QtActivity
      12-15 09:55:37.285 586-596/? I/art: Background partial concurrent mark sweep GC freed 36013(2MB) AllocSpace objects, 8(172KB) LOS objects, 33% free, 20MB/31MB, paused 6.693ms total 160.534ms
      12-15 09:55:37.324 586-649/? I/OpenGLRenderer: Initialized EGL, version 1.4
      12-15 09:55:37.423 586-1029/? I/ActivityManager: Process com.android.vending (pid 10391) has died
      12-15 09:55:37.517 586-1028/? I/ActivityManager: Process android.process.acore (pid 10519) has died
      12-15 09:55:37.701 586-612/? W/ActivityManager: Activity pause timeout for ActivityRecord{87181b7 u0 org.qtproject.example/org.qtproject.qt.android.bindings.QtActivity t180 f}
      12-15 09:55:37.778 5360-5372/? I/OpenGLRenderer: Initialized EGL, version 1.4
      12-15 09:55:37.923 586-699/? I/ActivityManager: Process com.google.android.apps.plus (pid 10475) has died
      12-15 09:55:37.927 168-168/? E/lowmemorykiller: Error opening /proc/10496/oom_score_adj; errno=2
      12-15 09:55:37.927 586-600/? I/ActivityManager: Process com.google.android.partnersetup (pid 10496) has died
      12-15 09:55:37.949 586-959/? I/ActivityManager: Process com.google.android.gms.wearable (pid 10448) has died
      12-15 09:55:37.959 586-1019/? D/GraphicsStats: Buffer count: 4
      12-15 09:55:37.963 586-644/? W/InputDispatcher: channel 'a1e4702 de.metrona.mts.mct/org.qtproject.qt.android.bindings.QtActivity (server)' ~ Consumer closed input channel or an error occurred.  events=0x9
      12-15 09:55:37.980 586-644/? E/InputDispatcher: channel 'a1e4702 de.metrona.mts.mct/org.qtproject.qt.android.bindings.QtActivity (server)' ~ Channel is unrecoverably broken and will be disposed!
      12-15 09:55:37.981 586-699/? I/WindowState: WIN DEATH: Window{a1e4702 u0 de.metrona.mts.mct/org.qtproject.qt.android.bindings.QtActivity}
      12-15 09:55:37.981 586-699/? W/InputDispatcher: Attempted to unregister already unregistered input channel 'a1e4702 de.metrona.mts.mct/org.qtproject.qt.android.bindings.QtActivity (server)'
      12-15 09:55:37.981 586-699/? W/WindowManager: Force-removing child win Window{a9508f6 u0 SurfaceView} from container Window{a1e4702 u0 de.metrona.mts.mct/org.qtproject.qt.android.bindings.QtActivity}
      12-15 09:55:38.009 586-1028/? I/ActivityManager: Process de.metrona.mts.mct (pid 5036) has died
      12-15 09:55:38.049 586-1138/? W/WindowManager: Failed looking up window
          java.lang.IllegalArgumentException: Requested window android.os.BinderProxy@848c4c1 does not exist
              at com.android.server.wm.WindowManagerService.windowForClientLocked(WindowManagerService.java:8736)
              at com.android.server.wm.WindowManagerService.windowForClientLocked(WindowManagerService.java:8727)
              at com.android.server.wm.WindowState$DeathRecipient.binderDied(WindowState.java:1209)
              at android.os.BinderProxy.sendDeathNotice(Binder.java:558)
      12-15 09:55:38.050 586-1138/? I/WindowState: WIN DEATH: null
      12-15 09:55:48.817 586-612/? W/ActivityManager: Activity destroy timeout for ActivityRecord{87181b7 u0 org.qtproject.example/org.qtproject.qt.android.bindings.QtActivity t180 f}
      12-15 09:55:51.845 586-1019/? D/GraphicsStats: Buffer count: 3
      12-15 09:55:51.846 222-222/? E/Camera2Client: notifyError: Error condition 0 reported by HAL, requestId -1
      12-15 09:55:51.891 586-959/? I/ActivityManager: Process org.qtproject.example (pid 10189) has died
      12-15 09:55:51.925 222-222/? W/Camera3-OutputStream: disconnectLocked: While disconnecting stream 0 from native window, the native window died from under us
      12-15 09:55:51.926 586-1028/? W/InputMethodManagerService: Got RemoteException sending setActive(false) notification to pid 10189 uid 10163
      12-15 09:55:51.968 222-10350/? D/NvOsDebugPrintf: Encoder_Close ++
      

       

        Attachments

          Issue Links

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

            Activity

              People

              Assignee:
              samuelmira Samuel Mira
              Reporter:
              russkij Alexander Spivak
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes