Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-10833

Segfault creating Android Manifest

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • Qt Creator 3.0.0-rc1
    • Qt Creator 3.0.0-beta, Qt Creator 3.1.0-beta
    • Android Support
    • None

    Description

      Creator segfaults with the following backtrace:

      #0 0x00007fffe3d3a1d4 in QHash<QmakeProjectManager::QmakeVariable, QStringList>::value (this=0xb0, akey=@0x7fffffffbf8c: QmakeProjectManager::AndroidPackageSourceDir) at /usr/lib/qt5/include/QtCore/qhash.h:628
      #1 0x00007fffe3d2c647 in QmakeProjectManager::QmakeProFileNode::variableValue (this=0x0, var=QmakeProjectManager::AndroidPackageSourceDir) at qmakenodes.cpp:1565
      #2 0x00007fffe3d2c678 in QmakeProjectManager::QmakeProFileNode::singleVariableValue (this=0x0, var=QmakeProjectManager::AndroidPackageSourceDir) at qmakenodes.cpp:1570
      #3 0x00007fffe2df9c4e in Android::Internal::ChooseDirectoryPage::ChooseDirectoryPage (this=0x5634d20, wizard=0x7fffffffc160) at createandroidmanifestwizard.cpp:99
      #4 0x00007fffe2dfa27a in Android::Internal::CreateAndroidManifestWizard::CreateAndroidManifestWizard (this=0x7fffffffc160, target=0xc2e850) at createandroidmanifestwizard.cpp:146
      #5 0x00007fffe2df3bf9 in Android::Internal::AndroidDeployQtWidget::createManifestButton (this=0x375bd10) at androiddeployqtwidget.cpp:168
      #6 0x00007fffe2e06376 in Android::Internal::AndroidDeployQtWidget::qt_static_metacall (_o=0x375bd10, _c=QMetaObject::InvokeMetaMethod, _id=18, _a=0x7fffffffc340)
      at .moc/debug-shared/moc_androiddeployqtwidget.cpp:169
      #7 0x00007ffff5c06176 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/qt5/lib/libQt5Core.so.5
      #8 0x00007ffff7284ea2 in QAbstractButton::clicked(bool) () from /usr/lib/qt5/lib/libQt5Widgets.so.5
      #9 0x00007ffff700d116 in ?? () from /usr/lib/qt5/lib/libQt5Widgets.so.5
      #10 0x00007ffff700dc42 in ?? () from /usr/lib/qt5/lib/libQt5Widgets.so.5
      #11 0x00007ffff700ddb4 in QAbstractButton::mouseReleaseEvent(QMouseEvent*) () from /usr/lib/qt5/lib/libQt5Widgets.so.5
      #12 0x00007ffff6f51d59 in QWidget::event(QEvent*) () from /usr/lib/qt5/lib/libQt5Widgets.so.5
      #13 0x00007ffff6f1706c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/qt5/lib/libQt5Widgets.so.5
      #14 0x00007ffff6f1ce98 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/qt5/lib/libQt5Widgets.so.5
      #15 0x00007ffff5bded4d in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/qt5/lib/libQt5Core.so.5
      #16 0x00007ffff6f1ad53 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /usr/lib/qt5/lib/libQt5Widgets.so.5
      #17 0x00007ffff6f6ebef in ?? () from /usr/lib/qt5/lib/libQt5Widgets.so.5
      #18 0x00007ffff6f7091b in ?? () from /usr/lib/qt5/lib/libQt5Widgets.so.5
      #19 0x00007ffff6f1706c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/qt5/lib/libQt5Widgets.so.5
      #20 0x00007ffff6f1c1c6 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/qt5/lib/libQt5Widgets.so.5
      #21 0x00007ffff5bded4d in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/qt5/lib/libQt5Core.so.5
      #22 0x00007ffff60ee29c in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () from /usr/lib/qt5/lib/libQt5Gui.so.5
      #23 0x00007ffff60ef975 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () from /usr/lib/qt5/lib/libQt5Gui.so.5
      #24 0x00007ffff60d8c18 in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/qt5/lib/libQt5Gui.so.5
      #25 0x00007fffef78c1c0 in ?? () from /usr/lib/qt5/plugins/platforms/libqxcb.so
      #26 0x00007ffff3bd97d5 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
      #27 0x00007ffff3bd9b08 in ?? () from /usr/lib64/libglib-2.0.so.0
      #28 0x00007ffff3bd9bc4 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
      #29 0x00007ffff5c2b72c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/qt5/lib/libQt5Core.so.5
      #30 0x00007ffff5bdda7b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/qt5/lib/libQt5Core.so.5
      #31 0x00007ffff5be4031 in QCoreApplication::exec() () from /usr/lib/qt5/lib/libQt5Core.so.5
      #32 0x000000000040ef03 in main (argc=1, argv=0x7fffffffdc08) at main.cpp:533

      I fixed adding setNode(nodes.first()); at line 145

      Attachments

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

        Activity

          People

            dt Daniel Teske
            pyaggi Pablo Yaggi
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes