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

Android USB-Touch-Panel crashes after a while, or when pluged in/out

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • P2: Important
    • 5.9
    • 5.6.3, 5.9.3
    • None
    • Android 5.5.1, Android 4.1, API-Level 16, 22, 27 

      Qt 5.9.3, Qt 5.6.4
    • Android

    Description

       

      It's not just my app which crashes, it concerns every Qt-App, independent of Qt-Version and Android API-Level. I tried 16,22 and 27.

      What happens:

      It's about a kiosk (so 32" portrait-screen), powered by Android, with a Touchpanel, connected with USB.

      When I start the app (any Qt App actually) it crashes after a few minutes (0min - 10min).

      I can trigger this behaviour, when I plug in or out the Touch-Panel. 

      // E/[EGL-ERROR]( 4078): void __egl_platform_dequeue_buffer(egl_surface*):1609: failed to dequeue buffer from native window 0x425b6e08; err = -19, buf = 0x0,max_allowed_dequeued_buffers 3
      E/[EGL-ERROR]( 4078): void __egl_platform_dequeue_buffer(egl_surface*):1609: failed to dequeue buffer from native window 0x425b6e08; err = -19, buf = 0x0,max_allowed_dequeued_buffers 3
      E/[EGL-ERROR]( 4078): void __egl_platform_dequeue_buffer(egl_surface*):1609: failed to dequeue buffer from native window 0x425b6e08; err = -19, buf = 0x0,max_allowed_dequeued_buffers 3
      E/[EGL-ERROR]( 4078): void __egl_platform_dequeue_buffer(egl_surface*):1609: failed to dequeue buffer from native window 0x425b6e08; err = -19, buf = 0x0,max_allowed_dequeued_buffers 3
      
      
      ... repeating ...
      
      
      E/[EGL-ERROR]( 4078): void __egl_platform_dequeue_buffer(egl_surface*):1609: failed to dequeue buffer from native window 0x425b6e08; err = -19, buf = 0x0,max_allowed_dequeued_buffers 3
      W/CarloCator( 4078): (null):0 ((null)): QEGLPlatformContext: eglSwapBuffers failed: 300d
      E/[EGL-ERROR]( 4078): void __egl_platform_dequeue_buffer(egl_surface*):1609: failed to dequeue buffer from native window 0x425b6e08; err = -19, buf = 0x0,max_allowed_dequeued_buffers 3
      E/[EGL-ERROR]( 4078): void __egl_platform_dequeue_buffer(egl_surface*):1609: failed to dequeue buffer from native window 0x425b6e08; err = -19, buf = 0x0,max_allowed_dequeued_buffers 3
      E/[EGL-ERROR]( 4078): void __egl_platform_dequeue_buffer(egl_surface*):1609: failed to dequeue buffer from native window 0x425b6e08; err = -19, buf = 0x0,max_allowed_dequeued_buffers 3
      
      ... repeating ...
      
      
      E/[EGL-ERROR]( 4078): void __egl_platform_dequeue_buffer(egl_surface*):1609: failed to dequeue buffer from native window 0x425b6e08; err = -19, buf = 0x0,max_allowed_dequeued_buffers 3
      E/[EGL-ERROR]( 4078): void __egl_platform_dequeue_buffer(egl_surface*):1609: failed to dequeue buffer from native window 0x425b6e08; err = -19, buf = 0x0,max_allowed_dequeued_buffers 3
      E/[EGL-ERROR]( 4078): void __egl_platform_dequeue_buffer(egl_surface*):1609: failed to dequeue buffer from native window 0x425b6e08; err = -19, buf = 0x0,max_allowed_dequeued_buffers 3
      E/[EGL-ERROR]( 4078): void __egl_platform_dequeue_buffer(egl_surface*):1609: failed to dequeue buffer from native window 0x425b6e08; err = -19, buf = 0x0,max_allowed_dequeued_buffers 3
      E/[EGL-ERROR]( 4078): void __egl_platform_dequeue_buffer(egl_surface*):1609: failed to dequeue buffer from native window 0x425b6e08; err = -19, buf = 0x0,max_allowed_dequeued_buffers 3
      E/[EGL-ERROR]( 4078): void __egl_platform_dequeue_buffer(egl_surface*):1609: failed to dequeue buffer from native window 0x425b6e08; err = -19, buf = 0x0,max_allowed_dequeued_buffers 3
      E/[EGL-ERROR]( 4078): void __egl_platform_dequeue_buffer(egl_surface*):1609: failed to dequeue buffer from native window 0x425b6e08; err = -19, buf = 0x0,max_allowed_dequeued_buffers 3
      W/CarloCator( 4078): (null):0 ((null)): QEGLPlatformContext: eglSwapBuffers failed: 300d
      E/[EGL-ERROR]( 4078): void __egl_platform_dequeue_buffer(egl_surface*):1609: failed to dequeue buffer from native window 0x425b6e08; err = -19, buf = 0x0,max_allowed_dequeued_buffers 3
      E/[EGL-ERROR]( 4078): void __egl_platform_dequeue_buffer(egl_surface*):1609: failed to dequeue buffer from native window 0x425b6e08; err = -19, buf = 0x0,max_allowed_dequeued_buffers 3
      E/[EGL-ERROR]( 4078): void __egl_platform_dequeue_buffer(egl_surface*):1609: failed to dequeue buffer from native window 0x425b6e08; err = -19, buf = 0x0,max_allowed_dequeued_buffers 3
      E/[EGL-ERROR]( 4078): void __egl_platform_dequeue_buffer(egl_surface*):1609: failed to dequeue buffer from native window 0x425b6e08; err = -19, buf = 0x0,max_allowed_dequeued_buffers 3
      E/[EGL-ERROR]( 4078): void __egl_platform_dequeue_buffer(egl_surface*):1609: failed to dequeue buffer from native window 0x425b6e08; err = -19, buf = 0x0,max_allowed_dequeued_buffers 3
      E/[EGL-ERROR]( 4078): void __egl_platform_dequeue_buffer(egl_surface*):1609: failed to dequeue buffer from native window 0x425b6e08; err = -19, buf = 0x0,max_allowed_dequeued_buffers 3
      E/[EGL-ERROR]( 4078): void __egl_platform_dequeue_buffer(egl_surface*):1609: failed to dequeue buffer from native window 0x425b6e08; err = -19, buf = 0x0,max_allowed_dequeued_buffers 3
      E/[EGL-ERROR]( 4078): void __egl_platform_dequeue_buffer(egl_surface*):1609: failed to dequeue buffer from native window 0x425b6e08; err = -19, buf = 0x0,max_allowed_dequeued_buffers 3
      E/[EGL-ERROR]( 4078): void __egl_platform_dequeue_buffer(egl_surface*):1609: failed to dequeue buffer from native window 0x425b6e08; err = -19, buf = 0x0,max_allowed_dequeued_buffers 3
      E/[EGL-ERROR]( 4078): void __egl_platform_dequeue_buffer(egl_surface*):1609: failed to dequeue buffer from native window 0x425b6e08; err = -19, buf = 0x0,max_allowed_dequeued_buffers 3
      E/[EGL-ERROR]( 4078): void __egl_platform_dequeue_buffer(egl_surface*):1609: failed to dequeue buffer from native window 0x425b6e08; err = -19, buf = 0x0,max_allowed_dequeued_buffers 3
      E/[EGL-ERROR]( 4078): void __egl_platform_dequeue_buffer(egl_surface*):1609: failed to dequeue buffer from native window 0x425b6e08; err = -19, buf = 0x0,max_allowed_dequeued_buffers 3
      E/[EGL-ERROR]( 4078): void __egl_platform_dequeue_buffer(egl_surface*):1609: failed to dequeue buffer from native window 0x425b6e08; err = -19, buf = 0x0,max_allowed_dequeued_buffers 3
      
      ... repeating ...
      
      E/[EGL-ERROR]( 4078): void __egl_platform_dequeue_buffer(egl_surface*):1609: failed to dequeue buffer from native window 0x425b6e08; err = -19, buf = 0x0,max_allowed_dequeued_buffers 3
      E/[EGL-ERROR]( 4078): void __egl_platform_dequeue_buffer(egl_surface*):1609: failed to dequeue buffer from native window 0x425b6e08; err = -19, buf = 0x0,max_allowed_dequeued_buffers 3
      W/CarloCator( 4078): (null):0 ((null)): QEGLPlatformContext: eglSwapBuffers failed: 300d
      E/[EGL-ERROR]( 4078): void __egl_platform_dequeue_buffer(egl_surface*):1609: failed to dequeue buffer from native window 0x425b6e08; err = -19, buf = 0x0,max_allowed_dequeued_buffers 3
      E/[EGL-ERROR]( 4078): void __egl_platform_dequeue_buffer(egl_surface*):1609: failed to dequeue buffer from native window 0x425b6e08; err = -19, buf = 0x0,max_allowed_dequeued_buffers 3
      E/[EGL-ERROR]( 4078): void __egl_platform_dequeue_buffer(egl_surface*):1609: failed to dequeue buffer from native window 0x425b6e08; err = -19, buf = 0x0,max_allowed_dequeued_buffers 3
      
      ... repeating ...
      
      E/[EGL-ERROR]( 4078): void __egl_platform_dequeue_buffer(egl_surface*):1609: failed to dequeue buffer from native window 0x425b6e08; err = -19, buf = 0x0,max_allowed_dequeued_buffers 3
      E/[EGL-ERROR]( 4078): void __egl_platform_dequeue_buffer(egl_surface*):1609: failed to dequeue buffer from native window 0x425b6e08; err = -19, buf = 0x0,max_allowed_dequeued_buffers 3
      W/CarloCator( 4078): (null):0 ((null)): QEGLPlatformContext: eglSwapBuffers failed: 300d
      E/[EGL-ERROR]( 4078): void __egl_platform_dequeue_buffer(egl_surface*):1609: failed to dequeue buffer from native window 0x425b6e08; err = -19, buf = 0x0,max_allowed_dequeued_buffers 3
      E/[EGL-ERROR]( 4078): void __egl_platform_dequeue_buffer(egl_surface*):1609: failed to dequeue buffer from native window 0x425b6e08; err = -19, buf = 0x0,max_allowed_dequeued_buffers 3
      E/[EGL-ERROR]( 4078): void __egl_platform_dequeue_buffer(egl_surface*):1609: failed to dequeue buffer from native window 0x425b6e08; err = -19, buf = 0x0,max_allowed_dequeued_buffers 3
      E/[EGL-ERROR]( 4078): void __egl_platform_dequeue_buffer(egl_surface*):1609: failed to dequeue buffer from native window 0x425b6e08; err = -19, buf = 0x0,max_allowed_dequeued_buffers 3
      E/[EGL-ERROR]( 4078): void __egl_platform_dequeue_buffer(egl_surface*):1609: failed to dequeue buffer from native window 0x425b6e08; err = -19, buf = 0x0,max_allowed_dequeued_buffers 3
      E/[EGL-ERROR]( 4078): void __egl_platform_dequeue_buffer(egl_surface*):1609: failed to dequeue buffer from native window 0x425b6e08; err = -19, buf = 0x0,max_allowed_dequeued_buffers 3
      E/[EGL-ERROR]( 4078): void __egl_platform_dequeue_buffer(egl_surface*):1609: failed to dequeue buffer from native window 0x425b6e08; err = -19, buf = 0x0,max_allowed_dequeued_buffers 3
      E/[EGL-ERROR]( 4078): void __egl_platform_dequeue_buffer(egl_surface*):1609: failed to dequeue buffer from native window 0x425b6e08; err = -19, buf = 0x0,max_allowed_dequeued_buffers 3
      E/[EGL-ERROR]( 4078): void __egl_platform_dequeue_buffer(egl_surface*):1609: failed to dequeue buffer from native window 0x425b6e08; err = -19, buf = 0x0,max_allowed_dequeued_buffers 3
      E/[EGL-ERROR]( 4078): void __egl_platform_dequeue_buffer(egl_surface*):1609: failed to dequeue buffer from native window 0x425b6e08; err = -19, buf = 0x0,max_allowed_dequeued_buffers 3
      E/[EGL-ERROR]( 4078): void __egl_platform_dequeue_buffer(egl_surface*):1609: failed to dequeue buffer from native window 0x425b6e08; err = -19, buf = 0x0,max_allowed_dequeued_buffers 3
      E/[EGL-ERROR]( 4078): void __egl_platform_dequeue_buffer(egl_surface*):1609: failed to dequeue buffer from native window 0x425b6e08; err = -19, buf = 0x0,max_allowed_dequeued_buffers 3
      E/[EGL-ERROR]( 4078): void __egl_platform_dequeue_buffer(egl_surface*):1609: failed to dequeue buffer from native window 0x425b6e08; err = -19, buf = 0x0,max_allowed_dequeued_buffers 3
      E/[EGL-ERROR]( 4078): void __egl_platform_dequeue_buffer(egl_surface*):1609: failed to dequeue buffer from native window 0x425b6e08; err = -19, buf = 0x0,max_allowed_dequeued_buffers 3
      E/[EGL-ERROR]( 4078): void __egl_platform_dequeue_buffer(egl_surface*):1609: failed to dequeue buffer from native window 0x425b6e08; err = -19, buf = 0x0,max_allowed_dequeued_buffers 3
      E/[EGL-ERROR]( 4078): void __egl_platform_dequeue_buffer(egl_surface*):1609: failed to dequeue buffer from native window 0x425b6e08; err = -19, buf = 0x0,max_allowed_dequeued_buffers 3
      E/[EGL-ERROR]( 4078): void __egl_platform_dequeue_buffer(egl_surface*):1609: failed to dequeue buffer from native window 0x425b6e08; err = -19, buf = 0x0,max_allowed_dequeued_buffers 3
      E/[EGL-ERROR]( 4078): void __egl_platform_dequeue_buffer(egl_surface*):1609: failed to dequeue buffer from native window 0x425b6e08; err = -19, buf = 0x0,max_allowed_dequeued_buffers 3
      E/[EGL-ERROR]( 4078): void __egl_platform_dequeue_buffer(egl_surface*):1609: failed to dequeue buffer from native window 0x425b6e08; err = -19, buf = 0x0,max_allowed_dequeued_buffers 3
      E/[EGL-ERROR]( 4078): void __egl_platform_dequeue_buffer(egl_surface*):1609: failed to dequeue buffer from native window 0x425b6e08; err = -19, buf = 0x0,max_allowed_dequeued_buffers 3
      E/[EGL-ERROR]( 4078): void __egl_platform_dequeue_buffer(egl_surface*):1609: failed to dequeue buffer from native window 0x425b6e08; err = -19, buf = 0x0,max_allowed_dequeued_buffers 3
      E/[EGL-ERROR]( 4078): void __egl_platform_dequeue_buffer(egl_surface*):1609: failed to dequeue buffer from native window 0x425b6e08; err = -19, buf = 0x0,max_allowed_dequeued_buffers 3
      E/[EGL-ERROR]( 4078): void __egl_platform_dequeue_buffer(egl_surface*):1609: failed to dequeue buffer from native window 0x425b6e08; err = -19, buf = 0x0,max_allowed_dequeued_buffers 3
      E/[EGL-ERROR]( 4078): void __egl_platform_dequeue_buffer(egl_surface*):1609: failed to dequeue buffer from native window 0x425b6e08; err = -19, buf = 0x0,max_allowed_dequeued_buffers 3
      E/[EGL-ERROR]( 4078): void __egl_platform_dequeue_buffer(egl_surface*):1609: failed to dequeue buffer from native window 0x425b6e08; err = -19, buf = 0x0,max_allowed_dequeued_buffers 3
      E/[EGL-ERROR]( 4078): void __egl_platform_dequeue_buffer(egl_surface*):1609: failed to dequeue buffer from native window 0x425b6e08; err = -19, buf = 0x0,max_allowed_dequeued_buffers 3
      E/[EGL-ERROR]( 4078): void __egl_platform_dequeue_buffer(egl_surface*):1609: failed to dequeue buffer from native window 0x425b6e08; err = -19, buf = 0x0,max_allowed_dequeued_buffers 3
      E/[EGL-ERROR]( 4078): void __egl_platform_dequeue_buffer(egl_surface*):1609: failed to dequeue buffer from native window 0x425b6e08; err = -19, buf = 0x0,max_allowed_dequeued_buffers 3
      E/[EGL-ERROR]( 4078): void __egl_platform_dequeue_buffer(egl_surface*):1609: failed to dequeue buffer from native window 0x425b6e08; err = -19, buf = 0x0,max_allowed_dequeued_buffers 3
      E/[EGL-ERROR]( 4078): void __egl_platform_dequeue_buffer(egl_surface*):1609: failed to dequeue buffer from native window 0x425b6e08; err = -19, buf = 0x0,max_allowed_dequeued_buffers 3
      E/[EGL-ERROR]( 4078): void __egl_platform_dequeue_buffer(egl_surface*):1609: failed to dequeue buffer from native window 0x425b6e08; err = -19, buf = 0x0,max_allowed_dequeued_buffers 3
      E/[EGL-ERROR]( 4078): void __egl_platform_dequeue_buffer(egl_surface*):1609: failed to dequeue buffer from native window 0x425b6e08; err = -19, buf = 0x0,max_allowed_dequeued_buffers 3
      E/[EGL-ERROR]( 4078): void __egl_platform_dequeue_buffer(egl_surface*):1609: failed to dequeue buffer from native window 0x425b6e08; err = -19, buf = 0x0,max_allowed_dequeued_buffers 3
      E/[EGL-ERROR]( 4078): void __egl_platform_dequeue_buffer(egl_surface*):1609: failed to dequeue buffer from native window 0x425b6e08; err = -19, buf = 0x0,max_allowed_dequeued_buffers 3
      E/[EGL-ERROR]( 4078): void __egl_platform_dequeue_buffer(egl_surface*):1609: failed to dequeue buffer from native window 0x425b6e08; err = -19, buf = 0x0,max_allowed_dequeued_buffers 3
      E/[EGL-ERROR]( 4078): void __egl_platform_dequeue_buffer(egl_surface*):1609: failed to dequeue buffer from native window 0x425b6e08; err = -19, buf = 0x0,max_allowed_dequeued_buffers 3
      E/[EGL-ERROR]( 4078): void __egl_platform_dequeue_buffer(egl_surface*):1609: failed to dequeue buffer from native window 0x425b6e08; err = -19, buf = 0x0,max_allowed_dequeued_buffers 3
      W/CarloCator( 4078): (null):0 ((null)): QEGLPlatformContext: eglSwapBuffers failed: 300d
      E/Qt JAVA ( 4078): Surface 1 not found!
      W/System.err( 4078): java.lang.reflect.InvocationTargetException
      W/System.err( 4078): at java.lang.reflect.Method.invoke(Native Method)
      W/System.err( 4078): at java.lang.reflect.Method.invoke(Method.java:372)
      W/System.err( 4078): at org.qtproject.qt5.android.QtActivityDelegate.onSaveInstanceState(QtActivityDelegate.java:1103)
      W/System.err( 4078): at java.lang.reflect.Method.invoke(Native Method)
      W/System.err( 4078): at java.lang.reflect.Method.invoke(Method.java:372)
      W/System.err( 4078): at org.qtproject.qt5.android.bindings.QtApplication.invokeDelegateMethod(QtApplication.java:157)
      W/System.err( 4078): at org.qtproject.qt5.android.bindings.QtApplication.invokeDelegate(QtApplication.java:146)
      W/System.err( 4078): at org.qtproject.qt5.android.bindings.QtActivity.onSaveInstanceState(QtActivity.java:648)
      W/System.err( 4078): at android.app.Activity.performSaveInstanceState(Activity.java:1300)
      W/System.err( 4078): at android.app.Instrumentation.callActivityOnSaveInstanceState(Instrumentation.java:1288)
      W/System.err( 4078): at android.app.ActivityThread.callCallActivityOnSaveInstanceState(ActivityThread.java:3958)
      W/System.err( 4078): at android.app.ActivityThread.handleRelaunchActivity(ActivityThread.java:3921)
      W/System.err( 4078): at android.app.ActivityThread.access$900(ActivityThread.java:151)
      W/System.err( 4078): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1309)
      W/System.err( 4078): at android.os.Handler.dispatchMessage(Handler.java:102)
      W/System.err( 4078): at android.os.Looper.loop(Looper.java:135)
      W/System.err( 4078): at android.app.ActivityThread.main(ActivityThread.java:5258)
      W/System.err( 4078): at java.lang.reflect.Method.invoke(Native Method)
      W/System.err( 4078): at java.lang.reflect.Method.invoke(Method.java:372)
      W/System.err( 4078): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:940)
      W/System.err( 4078): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:735)
      W/System.err( 4078): Caused by: java.lang.NullPointerException: Attempt to read from field 'android.os.Handler android.app.Activity.mHandler' on a null object reference
      W/System.err( 4078): at android.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:1427)
      W/System.err( 4078): at android.app.FragmentManagerImpl.saveAllState(FragmentManager.java:1635)
      W/System.err( 4078): at android.app.Activity.onSaveInstanceState(Activity.java:1369)
      W/System.err( 4078): at org.qtproject.qt5.android.bindings.QtActivity.super_onSaveInstanceState(QtActivity.java:653)
      W/System.err( 4078): ... 21 more
      I/ActivityManager( 400): Killing 4078:org.qtproject.example/u0a65 (adj 0): stop org.qtproject.example
      W/ActivityManager( 400): Spurious death for ProcessRecord{17327c1 4078:org.qtproject.example/u0a65}, curProc for 4078: null
      W/InputMethodManagerService( 400): Got RemoteException sending setActive(false) notification to pid 4078 uid 10065
      
      

       

      Attachments

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

        Activity

          People

            rampe Rami Potinkara
            johannesfasching Johannes Fasching
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes