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

freezes on Android using QQuickWidget and popup-widgets

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P1: Critical
    • None
    • 5.4.0 Beta
    • None
    • Tested on Motorola MZ604 with Android 4.0.4
    • Android

    Description

      The widget-surface freezes on Android-platforms after closing a popup like QFileDialog or QMenu, when there is also a QQuickWidget on screen. This bug appears e.g. at the official Qt Quick Widgets Example. Just resize the QQuickWidget, generate a popup by opening the QFileDialog over the menu and try to close the popup. The QQuickWidget is still running, but the rest of the widget-surface freezes. You can even change the position of the QQuickWidget. By switching to another app and opening the example again the widget-surfaces recovers from the freeze.

      Log:
      Starte entfernten Prozess.D/dalvikvm(18954): Late-enabling CheckJNI
      D/dalvikvm(18954): Trying to load lib /data/data/org.qtproject.example.quickwidget/lib/libgnustl_shared.so 0x4108dd98
      D/dalvikvm(18954): Added shared lib /data/data/org.qtproject.example.quickwidget/lib/libgnustl_shared.so 0x4108dd98
      D/dalvikvm(18954): No JNI_OnLoad found in /data/data/org.qtproject.example.quickwidget/lib/libgnustl_shared.so 0x4108dd98, skipping init
      D/dalvikvm(18954): Trying to load lib /data/data/org.qtproject.example.quickwidget/lib/libQt5Core.so 0x4108dd98
      D/dalvikvm(18954): Added shared lib /data/data/org.qtproject.example.quickwidget/lib/libQt5Core.so 0x4108dd98
      D/dalvikvm(18954): Trying to load lib /data/data/org.qtproject.example.quickwidget/lib/libQt5Gui.so 0x4108dd98
      D/dalvikvm(18954): Added shared lib /data/data/org.qtproject.example.quickwidget/lib/libQt5Gui.so 0x4108dd98
      D/dalvikvm(18954): No JNI_OnLoad found in /data/data/org.qtproject.example.quickwidget/lib/libQt5Gui.so 0x4108dd98, skipping init
      D/dalvikvm(18954): Trying to load lib /data/data/org.qtproject.example.quickwidget/lib/libQt5Network.so 0x4108dd98
      D/dalvikvm(18954): Added shared lib /data/data/org.qtproject.example.quickwidget/lib/libQt5Network.so 0x4108dd98
      D/dalvikvm(18954): No JNI_OnLoad found in /data/data/org.qtproject.example.quickwidget/lib/libQt5Network.so 0x4108dd98, skipping init
      D/dalvikvm(18954): Trying to load lib /data/data/org.qtproject.example.quickwidget/lib/libQt5Qml.so 0x4108dd98
      D/dalvikvm(18954): Added shared lib /data/data/org.qtproject.example.quickwidget/lib/libQt5Qml.so 0x4108dd98
      D/dalvikvm(18954): No JNI_OnLoad found in /data/data/org.qtproject.example.quickwidget/lib/libQt5Qml.so 0x4108dd98, skipping init
      D/dalvikvm(18954): Trying to load lib /data/data/org.qtproject.example.quickwidget/lib/libQt5Quick.so 0x4108dd98
      D/dalvikvm(18954): Added shared lib /data/data/org.qtproject.example.quickwidget/lib/libQt5Quick.so 0x4108dd98
      D/dalvikvm(18954): No JNI_OnLoad found in /data/data/org.qtproject.example.quickwidget/lib/libQt5Quick.so 0x4108dd98, skipping init
      D/dalvikvm(18954): Trying to load lib /data/data/org.qtproject.example.quickwidget/lib/libQt5QuickParticles.so 0x4108dd98
      D/dalvikvm(18954): Added shared lib /data/data/org.qtproject.example.quickwidget/lib/libQt5QuickParticles.so 0x4108dd98
      D/dalvikvm(18954): No JNI_OnLoad found in /data/data/org.qtproject.example.quickwidget/lib/libQt5QuickParticles.so 0x4108dd98, skipping init
      D/dalvikvm(18954): Trying to load lib /data/data/org.qtproject.example.quickwidget/lib/libQt5Widgets.so 0x4108dd98
      D/dalvikvm(18954): Added shared lib /data/data/org.qtproject.example.quickwidget/lib/libQt5Widgets.so 0x4108dd98
      D/dalvikvm(18954): No JNI_OnLoad found in /data/data/org.qtproject.example.quickwidget/lib/libQt5Widgets.so 0x4108dd98, skipping init
      D/dalvikvm(18954): Trying to load lib /data/data/org.qtproject.example.quickwidget/lib/libQt5QuickWidgets.so 0x4108dd98
      D/dalvikvm(18954): Added shared lib /data/data/org.qtproject.example.quickwidget/lib/libQt5QuickWidgets.so 0x4108dd98
      D/dalvikvm(18954): No JNI_OnLoad found in /data/data/org.qtproject.example.quickwidget/lib/libQt5QuickWidgets.so 0x4108dd98, skipping init
      D/dalvikvm(18954): Trying to load lib /data/data/org.qtproject.example.quickwidget/qt-reserved-files/plugins/platforms/android/libqtforandroid.so 0x4108dd98
      D/dalvikvm(18954): Added shared lib /data/data/org.qtproject.example.quickwidget/qt-reserved-files/plugins/platforms/android/libqtforandroid.so 0x4108dd98
      I/Qt (18954): qt start
      D/dalvikvm(18954): Trying to load lib /data/data/org.qtproject.example.quickwidget/qt-reserved-files/plugins/bearer/libqandroidbearer.so 0x4108dd98
      D/dalvikvm(18954): Added shared lib /data/data/org.qtproject.example.quickwidget/qt-reserved-files/plugins/bearer/libqandroidbearer.so 0x4108dd98
      D/dalvikvm(18954): No JNI_OnLoad found in /data/data/org.qtproject.example.quickwidget/qt-reserved-files/plugins/bearer/libqandroidbearer.so 0x4108dd98, skipping init
      D/dalvikvm(18954): Trying to load lib /data/data/org.qtproject.example.quickwidget/lib/libQt5QuickParticles.so 0x4108dd98
      D/dalvikvm(18954): Shared lib '/data/data/org.qtproject.example.quickwidget/lib/libQt5QuickParticles.so' already loaded in same CL 0x4108dd98
      W/System.err(18954): java.lang.NoSuchFieldException: View_paddingStart
      W/System.err(18954): at java.lang.Class.getDeclaredField(Class.java:631)
      W/System.err(18954): at org.qtproject.qt5.android.ExtractStyle.getField(ExtractStyle.java:401)
      W/System.err(18954): at org.qtproject.qt5.android.ExtractStyle.<init>(ExtractStyle.java:176)
      W/System.err(18954): at org.qtproject.qt5.android.QtActivityDelegate.loadApplication(QtActivityDelegate.java:429)
      W/System.err(18954): at java.lang.reflect.Method.invokeNative(Native Method)
      W/System.err(18954): at java.lang.reflect.Method.invoke(Method.java:511)
      W/System.err(18954): at org.qtproject.qt5.android.bindings.QtActivity.loadApplication(QtActivity.java:245)
      W/System.err(18954): at org.qtproject.qt5.android.bindings.QtActivity.startApp(QtActivity.java:655)
      W/System.err(18954): at org.qtproject.qt5.android.bindings.QtActivity.onCreate(QtActivity.java:895)
      W/System.err(18954): at android.app.Activity.performCreate(Activity.java:4465)
      W/System.err(18954): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1049)
      W/System.err(18954): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1942)
      W/System.err(18954): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2003)
      W/System.err(18954): at android.app.ActivityThread.access$600(ActivityThread.java:123)
      W/System.err(18954): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1169)
      W/System.err(18954): at android.os.Handler.dispatchMessage(Handler.java:99)
      W/System.err(18954): at android.os.Looper.loop(Looper.java:137)
      W/System.err(18954): at android.app.ActivityThread.main(ActivityThread.java:4446)
      W/System.err(18954): at java.lang.reflect.Method.invokeNative(Native Method)
      W/System.err(18954): at java.lang.reflect.Method.invoke(Method.java:511)
      W/System.err(18954): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:784)
      W/System.err(18954): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:551)
      W/System.err(18954): at dalvik.system.NativeStart.main(Native Method)
      W/System.err(18954): java.lang.NoSuchFieldException: View_paddingEnd
      W/System.err(18954): at java.lang.Class.getDeclaredField(Class.java:631)
      W/System.err(18954): at org.qtproject.qt5.android.ExtractStyle.getField(ExtractStyle.java:401)
      W/System.err(18954): at org.qtproject.qt5.android.ExtractStyle.<init>(ExtractStyle.java:177)
      W/System.err(18954): at org.qtproject.qt5.android.QtActivityDelegate.loadApplication(QtActivityDelegate.java:429)
      W/System.err(18954): at java.lang.reflect.Method.invokeNative(Native Method)
      W/System.err(18954): at java.lang.reflect.Method.invoke(Method.java:511)
      W/System.err(18954): at org.qtproject.qt5.android.bindings.QtActivity.loadApplication(QtActivity.java:245)
      W/System.err(18954): at org.qtproject.qt5.android.bindings.QtActivity.startApp(QtActivity.java:655)
      W/System.err(18954): at org.qtproject.qt5.android.bindings.QtActivity.onCreate(QtActivity.java:895)
      W/System.err(18954): at android.app.Activity.performCreate(Activity.java:4465)
      W/System.err(18954): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1049)
      W/System.err(18954): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1942)
      W/System.err(18954): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2003)
      W/System.err(18954): at android.app.ActivityThread.access$600(ActivityThread.java:123)
      W/System.err(18954): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1169)
      W/System.err(18954): at android.os.Handler.dispatchMessage(Handler.java:99)
      W/System.err(18954): at android.os.Looper.loop(Looper.java:137)
      W/System.err(18954): at android.app.ActivityThread.main(ActivityThread.java:4446)
      W/System.err(18954): at java.lang.reflect.Method.invokeNative(Native Method)
      W/System.err(18954): at java.lang.reflect.Method.invoke(Method.java:511)
      W/System.err(18954): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:784)
      W/System.err(18954): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:551)
      W/System.err(18954): at dalvik.system.NativeStart.main(Native Method)
      W/ResourceType(18954): Skipping entry 0x10804a5 in package table 0 because it is not complex!
      D/dalvikvm(18954): GC_CONCURRENT freed 337K, 6% free 6678K/7047K, paused 2ms+3ms
      D/dalvikvm(18954): GC_CONCURRENT freed 370K, 6% free 6805K/7239K, paused 3ms+3ms
      D/dalvikvm(18954): GC_CONCURRENT freed 464K, 8% free 6809K/7367K, paused 2ms+3ms
      D/dalvikvm(18954): GC_CONCURRENT freed 394K, 7% free 6894K/7367K, paused 2ms+2ms
      D/dalvikvm(18954): GC_CONCURRENT freed 471K, 8% free 6937K/7495K, paused 2ms+3ms
      D/dalvikvm(18954): GC_CONCURRENT freed 326K, 7% free 7006K/7495K, paused 2ms+2ms
      D/dalvikvm(18954): GC_CONCURRENT freed 439K, 7% free 7041K/7559K, paused 2ms+2ms
      D/dalvikvm(18954): GC_CONCURRENT freed 434K, 7% free 7086K/7559K, paused 2ms+2ms
      D/dalvikvm(18954): GC_CONCURRENT freed 521K, 8% free 7122K/7687K, paused 2ms+2ms
      D/dalvikvm(18954): GC_CONCURRENT freed 480K, 8% free 7106K/7687K, paused 2ms+3ms
      D/dalvikvm(18954): GC_CONCURRENT freed 370K, 7% free 7199K/7687K, paused 2ms+2ms
      D/dalvikvm(18954): GC_FOR_ALLOC freed 72K, 8% free 7191K/7751K, paused 17ms
      D/dalvikvm(18954): GC_FOR_ALLOC freed 215K, 8% free 7207K/7751K, paused 17ms
      D/dalvikvm(18954): GC_CONCURRENT freed 388K, 7% free 7224K/7751K, paused 1ms+2ms
      D/dalvikvm(18954): GC_CONCURRENT freed 501K, 8% free 7248K/7815K, paused 2ms+3ms
      D/dalvikvm(18954): Trying to load lib /data/data/org.qtproject.example.quickwidget/lib/libquickwidget.so 0x4108dd98
      D/Qt (18954): (null):0 ((null)): QML debugging is enabled. Only use this in a safe environment.
      D/dalvikvm(18954): Added shared lib /data/data/org.qtproject.example.quickwidget/lib/libquickwidget.so 0x4108dd98
      D/dalvikvm(18954): No JNI_OnLoad found in /data/data/org.qtproject.example.quickwidget/lib/libquickwidget.so 0x4108dd98, skipping init
      D/libEGL (18954): loaded /system/lib/egl/libGLES_android.so
      D/libEGL (18954): loaded /system/lib/egl/libEGL_tegra.so
      D/libEGL (18954): loaded /system/lib/egl/libGLESv1_CM_tegra.so
      D/libEGL (18954): loaded /system/lib/egl/libGLESv2_tegra.so
      D/OpenGLRenderer(18954): Enabling debug mode 0
      W/Qt (18954): (null):0 ((null)): QSGContext::initialize: stencil buffer support missing, expect rendering errors
      W/Qt (18954): (null):0 ((null)): QEGLPlatformContext::swapBuffers(): eglError: 12301, this: 0x22b9308
      W/Qt (18954):
      D/dalvikvm(18954): GC_CONCURRENT freed 857K, 14% free 6777K/7815K, paused 3ms+4ms
      W/Qt (18954): (null):0 ((null)): QSGContext::initialize: stencil buffer support missing, expect rendering errors
      D/OpenGLRenderer(18954): Flushing caches (mode 0)
      D/OpenGLRenderer(18954): Flushing caches (mode 1)
      W/Qt (18954): (null):0 ((null)): Can't find surface 2
      W/Qt (18954): (null):0 ((null)): Can't find surface 2
      W/Qt (18954): (null):0 ((null)): Can't find surface 2
      W/Qt (18954): (null):0 ((null)): QEGLPlatformContext::swapBuffers(): eglError: 12301, this: 0x22b9308

      Attachments

        Issue Links

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

          Activity

            People

              tvete Paul Olav Tvete
              schmudde David Schmudde
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes