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

Qt Creator crashes when updating ui file externally

    XMLWordPrintable

Details

    • Bug
    • Resolution: Incomplete
    • Not Evaluated
    • None
    • Qt Creator 3.3.1
    • Widget Designer
    • None
    • x86_64 Linux

    Description

      Hi guys,
      I know you wouldn't like to hear that but I don't have a reproducible test case for you. All I can provide is a description of my environment and a stacktrace.

      So here's what I do. I have a project in git, which has some ui files. At one point I had my ui file opened in text mode (where XML is shown) and I did git checkout – myfile.ui. When I pressed yes on 'do you want to reload..?' pop-up Qt Creator crashed.

      And here's the stacktrace.

      #0 0x00007ffff761d564 in QTabWidget::currentWidget() const () from /opt/Qt5.4.1/Tools/QtCreator/bin/../lib/qtcreator/libQt5Widgets.so.5
      #1 0x00007fffe2b39482 in QTabWidgetPropertySheet::property(int) const () from /opt/Qt5.4.1/Tools/QtCreator/lib/qtcreator/plugins/../libQt5Designer.so.5
      #2 0x00007fffe2b8c0a3 in qdesigner_internal::FormWindowBase::reloadProperties() () from /opt/Qt5.4.1/Tools/QtCreator/lib/qtcreator/plugins/../libQt5Designer.so.5
      #3 0x00007fffe2b8ce8d in qdesigner_internal::FormWindowBase::resourceSetActivated(QtResourceSet*, bool) () from /opt/Qt5.4.1/Tools/QtCreator/lib/qtcreator/plugins/../libQt5Designer.so.5
      #4 0x00007fffe2c39db3 in ?? () from /opt/Qt5.4.1/Tools/QtCreator/lib/qtcreator/plugins/../libQt5Designer.so.5
      #5 0x00007ffff6b7b01a in QMetaObject::activate(QObject*, int, int, void**) () from /opt/Qt5.4.1/Tools/QtCreator/bin/../lib/qtcreator/libQt5Core.so.5
      #6 0x00007fffe2bbbc5d in QtResourceModel::resourceSetActivated(QtResourceSet*, bool) () from /opt/Qt5.4.1/Tools/QtCreator/lib/qtcreator/plugins/../libQt5Designer.so.5
      #7 0x00007fffe2bbf640 in ?? () from /opt/Qt5.4.1/Tools/QtCreator/lib/qtcreator/plugins/../libQt5Designer.so.5
      #8 0x00007fffe3565b94 in ?? () from /opt/Qt5.4.1/Tools/QtCreator/lib/qtcreator/plugins/libDesigner.so
      #9 0x00007fffe3550a55 in Designer::FormWindowEditor::open(QString*, QString const&, QString const&) () from /opt/Qt5.4.1/Tools/QtCreator/lib/qtcreator/plugins/libDesigner.so
      #10 0x00007ffff6b7b1d5 in QMetaObject::activate(QObject*, int, int, void**) () from /opt/Qt5.4.1/Tools/QtCreator/bin/../lib/qtcreator/libQt5Core.so.5
      #11 0x00007fffe3569df4 in ?? () from /opt/Qt5.4.1/Tools/QtCreator/lib/qtcreator/plugins/libDesigner.so
      #12 0x00007fffe355115f in ?? () from /opt/Qt5.4.1/Tools/QtCreator/lib/qtcreator/plugins/libDesigner.so
      #13 0x00007fffed1c4217 in Core::DocumentManager::checkForReload() () from /opt/Qt5.4.1/Tools/QtCreator/lib/qtcreator/plugins/libCore.so
      #14 0x00007ffff6b7d4c6 in QObject::event(QEvent*) () from /opt/Qt5.4.1/Tools/QtCreator/bin/../lib/qtcreator/libQt5Core.so.5
      #15 0x00007ffff746f2b4 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /opt/Qt5.4.1/Tools/QtCreator/bin/../lib/qtcreator/libQt5Widgets.so.5
      #16 0x00007ffff7472c86 in QApplication::notify(QObject*, QEvent*) () from /opt/Qt5.4.1/Tools/QtCreator/bin/../lib/qtcreator/libQt5Widgets.so.5
      #17 0x00007ffff6b48e24 in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /opt/Qt5.4.1/Tools/QtCreator/bin/../lib/qtcreator/libQt5Core.so.5
      #18 0x00007ffff6b4ba08 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /opt/Qt5.4.1/Tools/QtCreator/bin/../lib/qtcreator/libQt5Core.so.5
      #19 0x00007ffff6ba31b3 in ?? () from /opt/Qt5.4.1/Tools/QtCreator/bin/../lib/qtcreator/libQt5Core.so.5
      #20 0x00007ffff4d16316 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
      #21 0x00007ffff4d16668 in ?? () from /usr/lib64/libglib-2.0.so.0
      #22 0x00007ffff4d1670c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
      #23 0x00007ffff6ba35e4 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /opt/Qt5.4.1/Tools/QtCreator/bin/../lib/qtcreator/libQt5Core.so.5
      #24 0x00007ffff6b4704b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /opt/Qt5.4.1/Tools/QtCreator/bin/../lib/qtcreator/libQt5Core.so.5
      #25 0x00007ffff6b4bf65 in QCoreApplication::exec() () from /opt/Qt5.4.1/Tools/QtCreator/bin/../lib/qtcreator/libQt5Core.so.5

      Sorry for not giving you the reproducible sample. I hope you could trace the issue.

      Cheers,
      Vyacheslav

      Attachments

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

        Activity

          People

            kleint Friedemann Kleint
            uvv Vyacheslav Yurkov
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes