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

MenuBar with Menu crashes on Android in Qt 5.6

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Not Evaluated
    • None
    • 5.6.0 Alpha
    • Quick: Controls 1
    • None
    • Host: Mageia Linux Cauldron x86_64
      Target devices: Android 4.3, 4.4.
      NDK: r10e
      SDK: 24.4
    • Android

    Description

      I compiled Qt 5.6 git for Android and it crashes if I use MenuBar with Menu item. If I add just empty MenuBar, I see no crash. It does not crashes on Qt 5.5.
      This can be reproduced with this example:

      import QtQuick 2.4
      import QtQuick.Controls 1.2
      
      ApplicationWindow {
          visible: true
          width: 640
          height: 480
          menuBar: MenuBar {
              Menu { }
          }
      } 
      

      Below are stack traces from different debug sessions (it crashes in different places) and full stask traces in the attachment.

      Stack trace 1

      0 ?? 0x6eaa2150
      1 QQmlMetaObject::QQmlMetaObject qqmlpropertycache_p.h 550 0x6b801930
      2 QQmlPropertyPrivate::write qqmlproperty.cpp 1305 0x6b87291c
      3 QQmlPropertyPrivate::writeValueProperty qqmlproperty.cpp 1176 0x6b871e64
      4 QQmlBinding::write qqmlbinding.cpp 327 0x6b911ee0
      5 QQmlBinding::update qqmlbinding.cpp 191 0x6b910eb0
      6 QQmlBinding::setEnabled qqmlbinding.cpp 412 0x6b9125c4
      7 QQmlObjectCreator::finalize qqmlobjectcreator.cpp 1178 0x6b924d70
      8 QQmlIncubatorPrivate::incubate qqmlincubator.cpp 348 0x6b87cf88
      9 QQmlEnginePrivate::incubate qqmlincubator.cpp 87 0x6b87c19c
      10 QQmlComponent::create qqmlcomponent.cpp 1052 0x6b877ee4
      11 QQuickLoaderPrivate::_q_sourceLoaded qquickloader.cpp 713 0x6be05cf4
      12 QQuickLoaderPrivate::load qquickloader.cpp 596 0x6be05448
      13 QQuickLoader::componentComplete qquickloader.cpp 805 0x6be05f48
      14 QQmlObjectCreator::finalize qqmlobjectcreator.cpp 1191 0x6b924eb4
      15 QQmlComponentPrivate::complete qqmlcomponent.cpp 912 0x6b877838
      16 QQmlComponentPrivate::completeCreate qqmlcomponent.cpp 948 0x6b87791c
      17 QQmlComponent::completeCreate qqmlcomponent.cpp 941 0x6b8778cc
      18 QQmlComponent::create qqmlcomponent.cpp 774 0x6b877004
      19 QQmlApplicationEnginePrivate::_q_finishLoad qqmlapplicationengine.cpp 130 0x6b913c58
      20 QQmlApplicationEnginePrivate::startLoad qqmlapplicationengine.cpp 109 0x6b913a14
      21 QQmlApplicationEngine::load qqmlapplicationengine.cpp 250 0x6b913fd0
      22 main main.cpp 9 0x68628f68
      23 startMainMethod androidjnimain.cpp 434 0x6c0d7b10
      24 __thread_entry 0x4013c25c
      25 pthread_create 0x4013c3f4
      26 ??

      Stack trace 2

      0 ?? 0x6d457028
      1 QMetaObject::cast qmetaobject.cpp 331 0x6a9193d8
      2 ?? 0x6e77f40c

      Attachments

        Issue Links

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

          Activity

            People

              esabraha Eskil Abrahamsen Blomfeldt
              krnekit Nikita Krupenko
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes