Uploaded image for project: 'Qt Design Studio'
  1. Qt Design Studio
  2. QDS-2806

QtDesignStudio is crashing when opening a *.ui.qml file

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P0: Blocker
    • None
    • QDS 2.0
    • None
    • f18d24efaadf06348f7d930b0a1833487d94d5ac (qt-creator/qt-creator/master)

    Description

      #0  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
      #1  0x00007ffff59e1859 in __GI_abort () at abort.c:79
      #2  0x00007ffff5e7f50c in qt_message_fatal (context=..., message=<synthetic pointer>...) at global/qlogging.cpp:1914
      #3  QMessageLogger::fatal(char const*, ...) const
          (this=this@entry=0x7fffffffc0d0, msg=msg@entry=0x7ffff61b9860 "ASSERT: \"%s\" in file %s, line %d") at global/qlogging.cpp:893
      #4  0x00007ffff5e7ec0b in qt_assert(char const*, char const*, int) (assertion=<optimized out>, file=<optimized out>, line=<optimized out>)
          at global/qglobal.cpp:3354
      #5  0x00007fffd195f711 in QStringView::mid(long long, long long) const (this=0x7fffffffc170, pos=-1, n=2)
          at /home/hag/Qt/5.15.0/gcc_64/include/QtCore/qstringview.h:243
      #6  0x00007fffd195fcb2 in Utils::midView(QString const&, int, int) (s=..., offset=-1, length=2) at ../../libs/utils/porting.h:72
      #7  0x00007fffd195d252 in QmlJSEditor::QmlJSHighlighter::highlightBlock(QString const&) (this=0x555558ceb6e0, text=...)
          at qmljshighlighter.cpp:80
      #8  0x00007fffe8289a18 in TextEditor::SyntaxHighlighterPrivate::reformatBlock(QTextBlock const&, int, int, int)
          (this=0x5555575c2a70, block=..., from=0, charsRemoved=0, charsAdded=2567) at syntaxhighlighter.cpp:211
      #9  0x00007fffe8289897 in TextEditor::SyntaxHighlighterPrivate::reformatBlocks(int, int, int)
          (this=0x5555575c2a70, from=0, charsRemoved=0, charsAdded=2567) at syntaxhighlighter.cpp:190
      #10 0x00007fffe82896d3 in TextEditor::SyntaxHighlighter::reformatBlocks(int, int, int)
          (this=0x555558ceb6e0, from=0, charsRemoved=0, charsAdded=2567) at syntaxhighlighter.cpp:165
      #11 0x00007fffe828f8ec in QtPrivate::FunctorCall<QtPrivate::IndexesList<0, 1, 2>, QtPrivate::List<int, int, int>, void, void (TextEditor::SyntaxHighlighter::*)(int, int, int)>::call(void (TextEditor::SyntaxHighlighter::*)(int, int, int), TextEditor::SyntaxHighlighter*, void**) (f=
          (void (TextEditor::SyntaxHighlighter::*)(class TextEditor::SyntaxHighlighter * const, int, int, int)) 0x7fffe8289686 <TextEditor::SyntaxHighlighter::reformatBlocks(int, int, int)>, o=0x555558ceb6e0, arg=0x7fffffffc570)
          at /home/hag/Qt/5.15.0/gcc_64/include/QtCore/qobjectdefs_impl.h:152
      #12 0x00007fffe828f379 in QtPrivate::FunctionPointer<void (TextEditor::SyntaxHighlighter::*)(int, int, int)>::call<QtPrivate::List<int, int, int>, void>(void (TextEditor::SyntaxHighlighter::*)(int, int, int), TextEditor::SyntaxHighlighter*, void**) (f=
          (void (TextEditor::SyntaxHighlighter::*)(class TextEditor::SyntaxHighlighter * const, int, int, int)) 0x7fffe8289686 <TextEditor::SyntaxHighlighter::reformatBlocks(int, int, int)>, o=0x555558ceb6e0, arg=0x7fffffffc570)
          at /home/hag/Qt/5.15.0/gcc_64/include/QtCore/qobjectdefs_impl.h:185
      #13 0x00007fffe828ed1f in QtPrivate::QSlotObject<void (TextEditor::SyntaxHighlighter::*)(int, int, int), QtPrivate::List<int, int, int>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*)
          (which=1, this_=0x55555593cb80, r=0x555558ceb6e0, a=0x7fffffffc570, ret=0x0)
          at /home/hag/Qt/5.15.0/gcc_64/include/QtCore/qobjectdefs_impl.h:418
      #14 0x00007ffff60bfe80 in QtPrivate::QSlotObjectBase::call(QObject*, void**) (a=0x7fffffffc570, r=0x555558ceb6e0, this=<optimized out>)
          at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
      #15 doActivate<false>(QObject*, int, void**) (sender=0x555555a2ec90, signal_index=3, argv=argv@entry=0x7fffffffc570)
          at kernel/qobject.cpp:3886
      #16 0x00007ffff60b93c9 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**)
          (sender=sender@entry=0x555555a2ec90, m=m@entry=0x7ffff72b2be0 <QTextDocument::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7fffffffc570) at kernel/qobject.cpp:3946
      #17 0x00007ffff6f167ea in QTextDocument::contentsChange(int, int, int) (this=this@entry=0x555555a2ec90, _t1=0, _t2=0, _t3=2567)
          at .moc/moc_qtextdocument.cpp:421
      #18 0x00007ffff6c16f33 in QTextDocumentPrivate::finishEdit() (this=0x5555569edd50) at text/qtextdocument_p.cpp:1219
      #19 0x00007fffe81a5c83 in TextEditor::TextDocument::openImpl(QString*, QString const&, QString const&, bool)
          (this=0x555559a72d30, errorString=0x7fffffffc7c0, fileName=..., realFileName=..., reload=false) at textdocument.cpp:786
      #20 0x00007fffe81a58a3 in TextEditor::TextDocument::open(QString*, QString const&, QString const&)
          (this=0x555559a72d30, errorString=0x7fffffffc7c0, fileName=..., realFileName=...) at textdocument.cpp:733
      #21 0x00007fffe8aa892b in Core::Internal::EditorManagerPrivate::openEditor(Core::Internal::EditorView*, QString const&, Utils::Id, QFlags<Core::EditorManager::OpenEditorFlag>, bool*) (view=0x555555fcc890, fileName=..., editorId=..., flags=..., newEditor=0x0)
          at editormanager/editormanager.cpp:716
      #22 0x00007fffe8ab5442 in Core::EditorManager::openEditor(QString const&, Utils::Id, QFlags<Core::EditorManager::OpenEditorFlag>, bool*)
          (fileName=..., editorId=..., flags=..., newEditor=0x0) at editormanager/editormanager.cpp:2890
      #23 0x00007fffe1d187f8 in ProjectExplorer::Internal::ProjectTreeWidget::openItem(QModelIndex const&) (this=0x555556b99ba0, mainIndex=...)
          at projecttreewidget.cpp:558
      #24 0x00007fffe1d1eac6 in QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QModelIndex const&>, void, void (ProjectExplorer::Internal::ProjectTreeWidget::*)(QModelIndex const&)>::call(void (ProjectExplorer::Internal::ProjectTreeWidget::*)(QModelIndex const&), ProjectExplorer::Internal::ProjectTreeWidget*, void**) (f=
          (void (ProjectExplorer::Internal::ProjectTreeWidget::*)(class ProjectExplorer::Internal::ProjectTreeWidget * const, const class QModelIndex &)) 0x7fffe1d18732 <ProjectExplorer::Internal::ProjectTreeWidget::openItem(QModelIndex const&)>, o=0x555556b99ba0, arg=0x7fffffffcb60)
          at /home/hag/Qt/5.15.0/gcc_64/include/QtCore/qobjectdefs_impl.h:152
      #25 0x00007fffe1d1e575 in QtPrivate::FunctionPointer<void (ProjectExplorer::Internal::ProjectTreeWidget::*)(QModelIndex const&)>::call<QtPrivate::List<QModelIndex const&>, void>(void (ProjectExplorer::Internal::ProjectTreeWidget::*)(QModelIndex const&), ProjectExplorer::Internal::ProjectTreeWidget*, void**) (f=
          (void (ProjectExplorer::Internal::ProjectTreeWidget::*)(class ProjectExplorer::Internal::ProjectTreeWidget * const, const class QModelIndex &)) 0x7fffe1d18732 <ProjectExplorer::Internal::ProjectTreeWidget::openItem(QModelIndex const&)>, o=0x555556b99ba0, arg=0x7fffffffcb60)
          at /home/hag/Qt/5.15.0/gcc_64/include/QtCore/qobjectdefs_impl.h:185
      #26 0x00007fffe1d1d959 in QtPrivate::QSlotObject<void (ProjectExplorer::Internal::ProjectTreeWidget::*)(QModelIndex const&), QtPrivate::List<QModelIndex const&>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*)
          (which=1, this_=0x555556bb5a40, r=0x555556b99ba0, a=0x7fffffffcb60, ret=0x0)
          at /home/hag/Qt/5.15.0/gcc_64/include/QtCore/qobjectdefs_impl.h:418
      #27 0x00007ffff60bfe80 in QtPrivate::QSlotObjectBase::call(QObject*, void**) (a=0x7fffffffcb60, r=0x555556b99ba0, this=<optimized out>)
          at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
      #28 doActivate<false>(QObject*, int, void**) (sender=0x555556b98e10, signal_index=10, argv=argv@entry=0x7fffffffcb60)
          at kernel/qobject.cpp:3886
      #29 0x00007ffff60b93c9 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**)
          (sender=sender@entry=0x555556b98e10, m=m@entry=0x7ffff7b13c00 <QAbstractItemView::staticMetaObject>, local_signal_index=local_signal_index@entry=3, argv=argv@entry=0x7fffffffcb60) at kernel/qobject.cpp:3946
      #30 0x00007ffff7665c05 in QAbstractItemView::activated(QModelIndex const&) (this=this@entry=0x555556b98e10, _t1=...)
          at .moc/moc_qabstractitemview.cpp:668
      #31 0x00007ffff76d7217 in QTreeView::mouseDoubleClickEvent(QMouseEvent*) (this=0x555556b98e10, event=0x7fffffffd260)
      

      Attachments

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

        Activity

          People

            con Eike Ziller
            henning Henning Gründl
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes