qt-creator-build $ ./bin/qtcreator -version Qt Creator 4.6.82 based on Qt 5.6.2 # Open https://github.com/mirroring/dhcp/blob/v4_3/server/dhcpd.conf.5 # Then qtcreator crashed. qt-creator-build $ gdb ./bin/qtcreator GNU gdb (Ubuntu 7.11.1-0ubuntu1~16.5) 7.11.1 Copyright (C) 2016 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-linux-gnu". Type "show configuration" for configuration details. For bug reporting instructions, please see: . Find the GDB manual and other documentation resources online at: . For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from ./bin/qtcreator...done. (gdb) run ~/tmp/dhcpd.conf.5 Starting program: /home/roy/src/qt-creator-build/bin/qtcreator ~/tmp/dhcpd.conf.5 [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [New Thread 0x7fffeb657700 (LWP 26681)] [New Thread 0x7fffcc4d9700 (LWP 26690)] [New Thread 0x7fffcbbd2700 (LWP 26691)] [New Thread 0x7fffcb3d1700 (LWP 26692)] [New Thread 0x7fffcabd0700 (LWP 26693)] [New Thread 0x7fffc9797700 (LWP 26724)] [New Thread 0x7fffb3ded700 (LWP 26745)] [Thread 0x7fffb3ded700 (LWP 26745) exited] Thread 1 "qtcreator" received signal SIGSEGV, Segmentation fault. 0x0000000000000018 in ?? () (gdb) bt #0 0x0000000000000018 in ?? () #1 0x00007fffe2f08ff7 in TextEditor::Internal::Rule::progressFinished (this=0x27cca90) at ../../../../qt-creator/src/plugins/texteditor/generichighlighter/rule.cpp:184 #2 0x00007fffe2f0c19c in TextEditor::Internal::ProgressData::~ProgressData (this=0x2816200, __in_chrg=) at ../../../../qt-creator/src/plugins/texteditor/generichighlighter/progressdata.cpp:44 #3 0x00007fffe2f12d61 in TextEditor::Highlighter::highlightBlock (this=0x2139920, text=...) at ../../../../qt-creator/src/plugins/texteditor/generichighlighter/highlighter.cpp:231 #4 0x00007fffe2efe0e0 in TextEditor::SyntaxHighlighterPrivate::reformatBlock (this=0x21380f0, block=..., from=0, charsRemoved=0, charsAdded=130562) at ../../../../qt-creator/src/plugins/texteditor/syntaxhighlighter.cpp:219 #5 0x00007fffe2efdf64 in TextEditor::SyntaxHighlighterPrivate::reformatBlocks (this=0x21380f0, from=0, charsRemoved=0, charsAdded=130562) at ../../../../qt-creator/src/plugins/texteditor/syntaxhighlighter.cpp:198 #6 0x00007fffe2f004f6 in TextEditor::SyntaxHighlighterPrivate::rehighlight (this=0x21380f0, cursor=..., operation=QTextCursor::End) at ../../../../qt-creator/src/plugins/texteditor/syntaxhighlighter.cpp:63 #7 0x00007fffe2efe84c in TextEditor::SyntaxHighlighter::rehighlight (this=0x2139920) at ../../../../qt-creator/src/plugins/texteditor/syntaxhighlighter.cpp:351 #8 0x00007fffe2e1fa3f in TextEditor::TextDocument::applyFontSettings (this=0x1031ad0) at ../../../../qt-creator/src/plugins/texteditor/textdocument.cpp:401 #9 0x00007fffe2e1f971 in TextEditor::TextDocument::triggerPendingUpdates (this=0x1031ad0) at ../../../../qt-creator/src/plugins/texteditor/textdocument.cpp:378 #10 0x00007fffe2e50b4c in TextEditor::TextEditorWidget::triggerPendingUpdates (this=0x21291a0) at ../../../../qt-creator/src/plugins/texteditor/texteditor.cpp:7242 #11 0x00007fffe2e50971 in TextEditor::TextEditorWidget::showEvent (this=0x21291a0, e=0x7fffffffba20) at ../../../../qt-creator/src/plugins/texteditor/texteditor.cpp:7208 #12 0x00007ffff71b34a8 in QWidget::event(QEvent*) () from /opt/qt56/lib/libQt5Widgets.so.5 #13 0x00007ffff72b4e9e in QFrame::event(QEvent*) () from /opt/qt56/lib/libQt5Widgets.so.5 #14 0x00007ffff733eb86 in QAbstractScrollArea::event(QEvent*) () from /opt/qt56/lib/libQt5Widgets.so.5 #15 0x00007ffff7366635 in QPlainTextEdit::event(QEvent*) () from /opt/qt56/lib/libQt5Widgets.so.5 #16 0x00007fffe2e349bf in TextEditor::TextEditorWidget::event (this=0x21291a0, e=0x7fffffffba20) at ../../../../qt-creator/src/plugins/texteditor/texteditor.cpp:2995 #17 0x00007ffff716ddcc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /opt/qt56/lib/libQt5Widgets.so.5 #18 0x00007ffff7173306 in QApplication::notify(QObject*, QEvent*) () from /opt/qt56/lib/libQt5Widgets.so.5 #19 0x00007ffff67f1048 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /opt/qt56/lib/libQt5Core.so.5 #20 0x00007ffff71b01b3 in QWidgetPrivate::show_helper() () from /opt/qt56/lib/libQt5Widgets.so.5 #21 0x00007ffff71b0017 in QWidgetPrivate::showChildren(bool) () from /opt/qt56/lib/libQt5Widgets.so.5 #22 0x00007ffff71b00af in QWidgetPrivate::show_helper() () from /opt/qt56/lib/libQt5Widgets.so.5 #23 0x00007ffff71b2ecd in QWidget::setVisible(bool) () from /opt/qt56/lib/libQt5Widgets.so.5 #24 0x00007ffff71b0028 in QWidgetPrivate::showChildren(bool) () from /opt/qt56/lib/libQt5Widgets.so.5 #25 0x00007ffff71b00af in QWidgetPrivate::show_helper() () from /opt/qt56/lib/libQt5Widgets.so.5 #26 0x00007ffff71b0017 in QWidgetPrivate::showChildren(bool) () from /opt/qt56/lib/libQt5Widgets.so.5 #27 0x00007ffff71b00af in QWidgetPrivate::show_helper() () from /opt/qt56/lib/libQt5Widgets.so.5 #28 0x00007ffff71b2ecd in QWidget::setVisible(bool) () from /opt/qt56/lib/libQt5Widgets.so.5 #29 0x00007fffe3ab30a4 in Core::EditorManagerPlaceHolder::showEvent (this=0xcd1e00) at ../../../../qt-creator/src/plugins/coreplugin/editormanager/editormanager.cpp:156 #30 0x00007ffff71b34a8 in QWidget::event(QEvent*) () from /opt/qt56/lib/libQt5Widgets.so.5 #31 0x00007ffff716ddcc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /opt/qt56/lib/libQt5Widgets.so.5 #32 0x00007ffff7173306 in QApplication::notify(QObject*, QEvent*) () from /opt/qt56/lib/libQt5Widgets.so.5 #33 0x00007ffff67f1048 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /opt/qt56/lib/libQt5Core.so.5 #34 0x00007ffff71b01b3 in QWidgetPrivate::show_helper() () from /opt/qt56/lib/libQt5Widgets.so.5 #35 0x00007ffff71b2ecd in QWidget::setVisible(bool) () from /opt/qt56/lib/libQt5Widgets.so.5 #36 0x00007ffff71b0028 in QWidgetPrivate::showChildren(bool) () from /opt/qt56/lib/libQt5Widgets.so.5 #37 0x00007ffff71b00af in QWidgetPrivate::show_helper() () from /opt/qt56/lib/libQt5Widgets.so.5 #38 0x00007ffff71b2ecd in QWidget::setVisible(bool) () from /opt/qt56/lib/libQt5Widgets.so.5 #39 0x00007ffff71b0028 in QWidgetPrivate::showChildren(bool) () from /opt/qt56/lib/libQt5Widgets.so.5 #40 0x00007ffff71b00af in QWidgetPrivate::show_helper() () from /opt/qt56/lib/libQt5Widgets.so.5 #41 0x00007ffff71b2ecd in QWidget::setVisible(bool) () from /opt/qt56/lib/libQt5Widgets.so.5 #42 0x00007ffff71b0028 in QWidgetPrivate::showChildren(bool) () from /opt/qt56/lib/libQt5Widgets.so.5 #43 0x00007ffff71b00af in QWidgetPrivate::show_helper() () from /opt/qt56/lib/libQt5Widgets.so.5 #44 0x00007ffff71b2ecd in QWidget::setVisible(bool) () from /opt/qt56/lib/libQt5Widgets.so.5 #45 0x00007ffff71b0028 in QWidgetPrivate::showChildren(bool) () from /opt/qt56/lib/libQt5Widgets.so.5 #46 0x00007ffff71b00af in QWidgetPrivate::show_helper() () from /opt/qt56/lib/libQt5Widgets.so.5 #47 0x00007ffff71b2ecd in QWidget::setVisible(bool) () from /opt/qt56/lib/libQt5Widgets.so.5 #48 0x00007ffff71946f5 in QStackedLayout::setCurrentIndex(int) () from /opt/qt56/lib/libQt5Widgets.so.5 #49 0x00007fffe3a84f2f in Core::Internal::FancyTabWidget::showWidget (this=0xac4ca0, index=1) at ../../../../qt-creator/src/plugins/coreplugin/fancytabwidget.cpp:574 #50 0x00007fffe3a87356 in QtPrivate::FunctorCall, QtPrivate::List, void, void (Core::Internal::FancyTabWidget::*)(int)>::call (f= (void (Core::Internal::FancyTabWidget::*)(Core::Internal::FancyTabWidget * const, int)) 0x7fffe3a84efa , o=0xac4ca0, arg=0x7fffffffc890) at /opt/qt56/include/QtCore/qobjectdefs_impl.h:501 #51 0x00007fffe3a871c5 in QtPrivate::FunctionPointer::call, void> (f= (void (Core::Internal::FancyTabWidget::*)(Core::Internal::FancyTabWidget * const, int)) 0x7fffe3a84efa , o=0xac4ca0, arg=0x7fffffffc890) at /opt/qt56/include/QtCore/qobjectdefs_impl.h:520 #52 0x00007fffe3a86ef8 in QtPrivate::QSlotObject, void>::impl (which=1, this_=0x9901c0, r=0xac4ca0, a=0x7fffffffc890, ret=0x0) at /opt/qt56/include/QtCore/qobject_impl.h:143 #53 0x00007ffff681d9c4 in QMetaObject::activate(QObject*, int, int, void**) () from /opt/qt56/lib/libQt5Core.so.5 #54 0x00007fffe3c91bf5 in Core::Internal::FancyTabBar::currentChanged (this=0xac4f60, _t1=1) at .moc/debug-shared/moc_fancytabwidget.cpp:252 #55 0x00007fffe3a83ef3 in Core::Internal::FancyTabBar::setCurrentIndex (this=0xac4f60, index=1) at ../../../../qt-creator/src/plugins/coreplugin/fancytabwidget.cpp:367 #56 0x00007fffe3a84ef6 in Core::Internal::FancyTabWidget::setCurrentIndex (this=0xac4ca0, index=1) at ../../../../qt-creator/src/plugins/coreplugin/fancytabwidget.cpp:568 ---Type to continue, or q to quit--- #57 0x00007fffe3b509ed in Core::ModeManagerPrivate::activateModeHelper (this=0xb173f0, id=...) at ../../../../qt-creator/src/plugins/coreplugin/modemanager.cpp:158 #58 0x00007fffe3b5097a in Core::ModeManager::activateMode (id=...) at ../../../../qt-creator/src/plugins/coreplugin/modemanager.cpp:147 #59 0x00007fffe3abcd8f in Core::Internal::EditorManagerPrivate::activateEditor (view=0xa8e8e0, editor=0x2131750, flags=...) at ../../../../qt-creator/src/plugins/coreplugin/editormanager/editormanager.cpp:1270 #60 0x00007fffe3ab9433 in Core::Internal::EditorManagerPrivate::openEditor (view=0xa8e8e0, fileName=..., editorId=..., flags=..., newEditor=0x0) at ../../../../qt-creator/src/plugins/coreplugin/editormanager/editormanager.cpp:692 #61 0x00007fffe3ac501c in Core::EditorManager::openEditor (fileName=..., editorId=..., flags=..., newEditor=0x0) at ../../../../qt-creator/src/plugins/coreplugin/editormanager/editormanager.cpp:2635 #62 0x00007fffe3a67d10 in Core::Internal::MainWindow::openFiles (this=0xa89a00, fileNames=..., flags=(Core::ICore::SwitchMode | Core::ICore::CanContainLineAndColumnNumbers), workingDirectory=...) at ../../../../qt-creator/src/plugins/coreplugin/mainwindow.cpp:822 #63 0x00007fffe3b7b521 in Core::ICore::openFiles (arguments=..., flags=(Core::ICore::SwitchMode | Core::ICore::CanContainLineAndColumnNumbers)) at ../../../../qt-creator/src/plugins/coreplugin/icore.cpp:579 #64 0x00007fffe25a3a14 in ProjectExplorer::ProjectExplorerPluginPrivate::::operator()(void) const (__closure=0x1615020) at ../../../../qt-creator/src/plugins/projectexplorer/projectexplorer.cpp:1997 #65 0x00007fffe25bb1e1 in QtPrivate::FunctorCall, QtPrivate::List<>, void, ProjectExplorer::ProjectExplorerPluginPrivate::restoreSession():: >::call(ProjectExplorer::ProjectExplorerPluginPrivate:: &, void **) (f=..., arg=0x7fffffffcf20) at /opt/qt56/include/QtCore/qobjectdefs_impl.h:495 #66 0x00007fffe25bac4e in QtPrivate::Functor, 0>::call, void>(ProjectExplorer::ProjectExplorerPluginPrivate:: &, void *, void **) (f=..., arg=0x7fffffffcf20) at /opt/qt56/include/QtCore/qobjectdefs_impl.h:552 #67 0x00007fffe25b9a25 in QtPrivate::QFunctorSlotObject, 0, QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase *, QObject *, void **, bool *) (which=1, this_=0x1615010, r=0x9b1570, a=0x7fffffffcf20, ret=0x0) at /opt/qt56/include/QtCore/qobject_impl.h:192 #68 0x00007ffff6829bf6 in ?? () from /opt/qt56/lib/libQt5Core.so.5 #69 0x00007ffff681e473 in QObject::event(QEvent*) () from /opt/qt56/lib/libQt5Core.so.5 #70 0x00007ffff716ddcc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /opt/qt56/lib/libQt5Widgets.so.5 #71 0x00007ffff7173306 in QApplication::notify(QObject*, QEvent*) () from /opt/qt56/lib/libQt5Widgets.so.5 #72 0x00007ffff67f1048 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /opt/qt56/lib/libQt5Core.so.5 #73 0x00007ffff684521e in QTimerInfoList::activateTimers() () from /opt/qt56/lib/libQt5Core.so.5 #74 0x00007ffff6845751 in ?? () from /opt/qt56/lib/libQt5Core.so.5 #75 0x00007ffff50e2197 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #76 0x00007ffff50e23f0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #77 0x00007ffff50e249c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #78 0x00007ffff684632f in QEventDispatcherGlib::processEvents(QFlags) () from /opt/qt56/lib/libQt5Core.so.5 #79 0x00007ffff67eed9a in QEventLoop::exec(QFlags) () from /opt/qt56/lib/libQt5Core.so.5 #80 0x00007ffff67f745c in QCoreApplication::exec() () from /opt/qt56/lib/libQt5Core.so.5 #81 0x0000000000410ed6 in main (argc=2, argv=0x7fffffffdc88) at ../../../qt-creator/src/app/main.cpp:546 (gdb) quit A debugging session is active. Inferior 1 [process 26677] will be killed. Quit anyway? (y or n) y