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

QtC crashes on exit

    XMLWordPrintable

Details

    Description

      Built from

      chgans@chgans-workstation:~/Projects/qtcreator$ git show --summary 
      commit 34eb1953583f34c18d76706459d55fea0870350b (HEAD -> master, origin/master, origin/HEAD)
      Author: hjk <hjk@qt.io>
      Date:   Fri Apr 26 14:27:50 2019 +0200    ProjectExplorer: Use a BaseStringAspect for build config build dirs
          
          Just for the "storage" part with this change.  Plan is to also
          use the gui parts one-by-one in the BuildConfig reimplementations.
          
          Change-Id: Ie5e4e701eea8d83336103654c708f4f1ab8132e8
          Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
      

      Started with

      chgans@chgans-workstation:~/Projects/qtcreator$ ./bin/qtcreator -settingspath /tmp/
      

      then just close the window:

      chgans@chgans-workstation:~/Projects/qtcreator$ gdb -c core.28420 ./bin/qtcreator
      GNU gdb (Ubuntu 8.1-0ubuntu3) 8.1.0.20180409-git
      Copyright (C) 2018 Free Software Foundation, Inc.
      License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
      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:
      <http://www.gnu.org/software/gdb/bugs/>.
      Find the GDB manual and other documentation resources online at:
      <http://www.gnu.org/software/gdb/documentation/>.
      For help, type "help".
      Type "apropos word" to search for commands related to "word"...
      Reading symbols from ./bin/qtcreator...(no debugging symbols found)...done.
      [New LWP 28420]
      [New LWP 28421]
      [New LWP 28422]
      [Thread debugging using libthread_db enabled]
      Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
      Core was generated by `./bin/qtcreator -settingspath /tmp/'.
      Program terminated with signal SIGSEGV, Segmentation fault.
      #0  0x000055baaed0c7e0 in ?? ()
      [Current thread is 1 (Thread 0x7f3b893b2780 (LWP 28420))]
      (gdb) bt
      #0  0x000055baaed0c7e0 in ?? ()
      #1  0x00007f3b755604af in TextEditor::Internal::TextEditorWidgetPrivate::~TextEditorWidgetPrivate() () from /home/chgans/Projects/qtcreator/lib/qtcreator/plugins/libTextEditor.so
      #2  0x00007f3b75560689 in TextEditor::Internal::TextEditorWidgetPrivate::~TextEditorWidgetPrivate() () from /home/chgans/Projects/qtcreator/lib/qtcreator/plugins/libTextEditor.so
      #3  0x00007f3b75540b3b in TextEditor::TextEditorWidget::~TextEditorWidget() () from /home/chgans/Projects/qtcreator/lib/qtcreator/plugins/libTextEditor.so
      #4  0x00007f3b6eb46539 in ClangRefactoring::ClangQueryTextEditorWidget::~ClangQueryTextEditorWidget() () from /home/chgans/Projects/qtcreator/lib/qtcreator/plugins/libClangRefactoring.so
      #5  0x00007f3b87264573 in QObjectPrivate::deleteChildren (this=this@entry=0x55baaed04b70) at kernel/qobject.cpp:2010
      #6  0x00007f3b884c1e08 in QWidget::~QWidget (this=0x55baae1e3b30, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1703
      #7  0x00007f3b6eb51c2d in ClangRefactoring::ClangQueryProjectsFindFilterWidget::~ClangQueryProjectsFindFilterWidget() () from /home/chgans/Projects/qtcreator/lib/qtcreator/plugins/libClangRefactoring.so
      #8  0x00007f3b7c4d094e in Core::Internal::FindToolWindow::~FindToolWindow() () from /home/chgans/Projects/qtcreator/lib/qtcreator/plugins/libCore.so
      #9  0x00007f3b7c4d0999 in Core::Internal::FindToolWindow::~FindToolWindow() () from /home/chgans/Projects/qtcreator/lib/qtcreator/plugins/libCore.so
      #10 0x00007f3b7c4c1cbc in Core::Find::destroy() () from /home/chgans/Projects/qtcreator/lib/qtcreator/plugins/libCore.so
      #11 0x00007f3b7c41bcac in Core::Internal::CorePlugin::~CorePlugin() () from /home/chgans/Projects/qtcreator/lib/qtcreator/plugins/libCore.so
      #12 0x00007f3b7c41bd09 in Core::Internal::CorePlugin::~CorePlugin() () from /home/chgans/Projects/qtcreator/lib/qtcreator/plugins/libCore.so
      #13 0x00007f3b88fcba06 in ExtensionSystem::Internal::PluginSpecPrivate::kill() () from /home/chgans/Projects/qtcreator/bin/../lib/qtcreator/libExtensionSystem.so.4
      #14 0x00007f3b88fc33ef in ExtensionSystem::Internal::PluginManagerPrivate::loadPlugin(ExtensionSystem::PluginSpec*, ExtensionSystem::PluginSpec::State) () from /home/chgans/Projects/qtcreator/bin/../lib/qtcreator/libExtensionSystem.so.4
      #15 0x00007f3b88fc43d1 in ExtensionSystem::Internal::PluginManagerPrivate::deleteAll() () from /home/chgans/Projects/qtcreator/bin/../lib/qtcreator/libExtensionSystem.so.4
      #16 0x00007f3b88fc4485 in ExtensionSystem::Internal::PluginManagerPrivate::shutdown() () from /home/chgans/Projects/qtcreator/bin/../lib/qtcreator/libExtensionSystem.so.4
      #17 0x00007f3b87266cb6 in QtPrivate::QSlotObjectBase::call (a=0x7ffdb8df14a0, r=0x7ffdb8df16d0, this=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:394
      #18 QMetaObject::activate (sender=0x7ffdb8df1760, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffdb8df14a0) at kernel/qobject.cpp:3774
      #19 0x00007f3b87267297 in QMetaObject::activate (sender=<optimized out>, m=m@entry=0x7f3b877524c0 <QCoreApplication::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffdb8df14a0)
          at kernel/qobject.cpp:3646
      #20 0x00007f3b8723a1e7 in QCoreApplication::aboutToQuit (this=<optimized out>, _t1=...) at .moc/moc_qcoreapplication.cpp:253
      #21 0x00007f3b8723de4b in QCoreApplicationPrivate::execCleanup (this=0x55baad163280) at kernel/qcoreapplication.cpp:1383
      #22 0x00007f3b87242288 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1367
      #23 0x000055baacc32993 in main ()
      

      Sysinfo:

      Qt 5.12.2 (x86_64-little_endian-lp64 shared (dynamic) release build; by GCC 5.3.1 20160406 (Red Hat 5.3.1-6)) on "xcb" 
      OS: Ubuntu 18.04.2 LTS [linux version 4.15.0-47-generic]
      
      Architecture: x86_64; features: SSE2 SSE3 SSSE3 SSE4.1 SSE4.2 AVX AVX2 RTM HLE
      
      Environment:
        QT_ACCESSIBILITY="1"
        QT_AUTO_SCREEN_SCALE_FACTOR="0"
      
      Features: QT_NO_EXCEPTIONS
      
      Library info:
        PrefixPath: /home/chgans/Programs/Qt/5.12.2/gcc_64
        DocumentationPath: /home/chgans/Programs/Qt/Docs/Qt-5.12.2
        HeadersPath: /home/chgans/Programs/Qt/5.12.2/gcc_64/include
        LibrariesPath: /home/chgans/Programs/Qt/5.12.2/gcc_64/lib
        LibraryExecutablesPath: /home/chgans/Programs/Qt/5.12.2/gcc_64/libexec
        BinariesPath: /home/chgans/Programs/Qt/5.12.2/gcc_64/bin
        PluginsPath: /home/chgans/Programs/Qt/5.12.2/gcc_64/plugins
        ImportsPath: /home/chgans/Programs/Qt/5.12.2/gcc_64/imports
        Qml2ImportsPath: /home/chgans/Programs/Qt/5.12.2/gcc_64/qml
        ArchDataPath: /home/chgans/Programs/Qt/5.12.2/gcc_64
        DataPath: /home/chgans/Programs/Qt/5.12.2/gcc_64
        TranslationsPath: /home/chgans/Programs/Qt/5.12.2/gcc_64/translations
        ExamplesPath: /home/chgans/Programs/Qt/Examples/Qt-5.12.2
        TestsPath: /home/chgans/Programs/Qt/5.12.2/gcc_64/tests
        SettingsPath: /home/chgans/Programs/Qt/5.12.2/gcc_64
      
      Standard paths [*...* denote writable entry]:
        DesktopLocation: "Desktop" */home/chgans/Desktop*
        DocumentsLocation: "Documents" */home/chgans/Documents*
        FontsLocation: "Fonts" */home/chgans/.local/share/fonts* /home/chgans/.fonts
        ApplicationsLocation: "Applications" */home/chgans/.local/share/applications* /usr/share/plasma/applications /usr/local/share/applications /usr/share/applications /var/lib/snapd/desktop/applications
        MusicLocation: "Music" */home/chgans/Music*
        MoviesLocation: "Movies" */home/chgans/Videos*
        PicturesLocation: "Pictures" */home/chgans/Pictures*
        TempLocation: "Temporary Directory" */tmp*
        HomeLocation: "Home" */home/chgans*
        AppLocalDataLocation: "Application Data" */home/chgans/.local/share/QtProject/qtdiag* /usr/share/plasma/QtProject/qtdiag /usr/local/share/QtProject/qtdiag /usr/share/QtProject/qtdiag /var/lib/snapd/desktop/QtProject/qtdiag
        CacheLocation: "Cache" */home/chgans/.cache/QtProject/qtdiag*
        GenericDataLocation: "Shared Data" */home/chgans/.local/share* /usr/share/plasma /usr/local/share /usr/share /var/lib/snapd/desktop
        RuntimeLocation: "Runtime" */run/user/1000*
        ConfigLocation: "Configuration" */home/chgans/.config* /etc/xdg/xdg-plasma /etc/xdg /usr/share/kubuntu-default-settings/kf5-settings
        DownloadLocation: "Download" */home/chgans/Downloads*
        GenericCacheLocation: "Shared Cache" */home/chgans/.cache*
        GenericConfigLocation: "Shared Configuration" */home/chgans/.config* /etc/xdg/xdg-plasma /etc/xdg /usr/share/kubuntu-default-settings/kf5-settings
        AppDataLocation: "Application Data" */home/chgans/.local/share/QtProject/qtdiag* /usr/share/plasma/QtProject/qtdiag /usr/local/share/QtProject/qtdiag /usr/share/QtProject/qtdiag /var/lib/snapd/desktop/QtProject/qtdiag
        AppConfigLocation: "Application Configuration" */home/chgans/.config/QtProject/qtdiag* /etc/xdg/xdg-plasma/QtProject/qtdiag /etc/xdg/QtProject/qtdiag /usr/share/kubuntu-default-settings/kf5-settings/QtProject/qtdiag
      
      File selectors (increasing order of precedence):
        en_NZ unix linux ubuntu
      
      Network:
        Using "OpenSSL 1.0.2n  7 Dec 2017", version: 0x100020ef
      
      Platform capabilities: ThreadedPixmaps OpenGL ThreadedOpenGL WindowMasks MultipleWindows ForeignWindows NonFullScreenWindows NativeWidgets WindowManagement SyncState RasterGLSurface SwitchableWidgetComposition
      
      Style hints:
        mouseDoubleClickInterval: 400
        mousePressAndHoldInterval: 800
        startDragDistance: 10
        startDragTime: 500
        startDragVelocity: 0
        keyboardInputInterval: 400
        keyboardAutoRepeatRate: 30
        cursorFlashTime: 1000
        showIsFullScreen: 0
        showIsMaximized: 0
        passwordMaskDelay: 0
        passwordMaskCharacter: U+25CF
        fontSmoothingGamma: 1.7
        useRtlExtensions: 0
        setFocusOnTouchRelease: 0
        tabFocusBehavior: Qt::TabFocusAllControls 
        singleClickActivation: 0
      
      Additional style hints (QPlatformIntegration):
        ReplayMousePressOutsidePopup: 0
      
      Theme:
        Platforms requested : kde,generic
                  available : gtk3,snap,flatpak,xdgdesktopportal
        Styles requested    : Breeze,breeze,Oxygen,fusion,windows
               available    : Windows,Fusion
        Icon theme          : breeze, breeze from /usr/local/share/icons,/usr/share/icons
        System font         : "Noto Sans" 10
      
      Fonts:
        General font : "Noto Sans" 10
        Fixed font   : "Hack" 10
        Title font   : "DejaVu Sans" 12
        Smallest font: "DejaVu Sans" 12
      
      Palette:
        QPalette::WindowText: #ff31363b
        QPalette::Button: #ffeff0f1
        QPalette::Light: #ffffffff
        QPalette::Midlight: #ffffffff
        QPalette::Dark: #ff777878
        QPalette::Mid: #ff9fa0a1
        QPalette::Text: #ff31363b
        QPalette::BrightText: #ffffffff
        QPalette::ButtonText: #ff31363b
        QPalette::Base: #fffcfcfc
        QPalette::Window: #ffeff0f1
        QPalette::Shadow: #ff000000
        QPalette::Highlight: #ff3daee9
        QPalette::HighlightedText: #ffeff0f1
        QPalette::Link: #ff2980b9
        QPalette::LinkVisited: #ff7f8c8d
        QPalette::AlternateBase: #ffeff0f1
        QPalette::NoRole: #ff000000
        QPalette::ToolTipBase: #ff31363b
        QPalette::ToolTipText: #ffeff0f1
        QPalette::PlaceholderText: #8031363b
      
      Screens: 2, High DPI scaling: inactive
      # 0 "DP-7" Depth: 24 Primary: yes
        Manufacturer: LG Electronics
        Model: IPS234-
        Serial number: -
        Geometry: 1920x1080+0+0 Available: 1920x1080+0+0
        Virtual geometry: 3840x1080+0+0 Available: 3840x1080+0+0
        2 virtual siblings
        Physical size: 510x290 mm  Refresh: 60 Hz Power state: 0
        Physical DPI: 95.6235,94.5931 Logical DPI: 94.9718,93.9452 Subpixel_None
        DevicePixelRatio: 1 Pixel density: 1
        Primary orientation: 2 Orientation: 2 Native orientation: 0 OrientationUpdateMask: 0
      
      # 1 "DP-4" Depth: 24 Primary: no
        Manufacturer: Hewlett Packard
        Model: HP E231-
        Serial number: 6CM3510JH0-
        Geometry: 1920x1080+1920+0 Available: 1920x1080+1920+0
        Virtual geometry: 3840x1080+0+0 Available: 3840x1080+0+0
        2 virtual siblings
        Physical size: 510x287 mm  Refresh: 60 Hz Power state: 0
        Physical DPI: 95.6235,95.5819 Logical DPI: 94.9718,93.9452 Subpixel_None
        DevicePixelRatio: 1 Pixel density: 1
        Primary orientation: 2 Orientation: 2 Native orientation: 0 OrientationUpdateMask: 0
      
      LibGL Vendor: NVIDIA Corporation
      Renderer: Quadro P2000/PCIe/SSE2
      Version: 4.6.0 NVIDIA 390.116
      Shading language: 4.60 NVIDIA
      Format: Version: 4.6 Profile: 2 Swap behavior: 0 Buffer size (RGB): 8,8,8 Depth buffer: 24
      Profile: None (QOpenGLFunctions_4_6)
      
      
      
      Plugin information:
      
      + Android                           4.9.82
      + AutoTest                          4.9.82
        AutotoolsProjectManager           4.9.82
        BareMetal                         4.9.82
      + Bazaar                            4.9.82
        Beautifier                        4.9.82
      + BinEditor                         4.9.82
      + Bookmarks                         4.9.82
      + CMakeProjectManager               4.9.82
      + CVS                               4.9.82
      + ClangCodeModel                    4.9.82
      + ClangFormat                       4.9.82
      + ClangPchManager                   4.9.82
      + ClangRefactoring                  4.9.82
      + ClangTools                        4.9.82
      + ClassView                         4.9.82
        ClearCase                         4.9.82
      + CodePaster                        4.9.82
      + CompilationDatabaseProjectManager 4.9.82
      + Core                              4.9.82
      + CppEditor                         4.9.82
      + CppTools                          4.9.82
        Cppcheck                          4.9.82
      + Debugger                          4.9.82
      + Designer                          4.9.82
      + DiffEditor                        4.9.82
        EmacsKeys                         4.9.82
      + FakeVim                           4.9.82
      + GLSLEditor                        4.9.82
      + GenericProjectManager             4.9.82
      + Git                               4.9.82
        HelloWorld                        4.9.82
      + Help                              4.9.82
      + ImageViewer                       4.9.82
        Ios                               4.9.82
      + LanguageClient                    4.9.82
      + Macros                            4.9.82
      + Mercurial                         4.9.82
      + ModelEditor                       4.9.82
        Nim                               4.9.82
      + PerfProfiler                      4.9.82
        Perforce                          4.9.82
      + ProjectExplorer                   4.9.82
      + PythonEditor                      4.9.82
      + QbsProjectManager                 4.9.82
      + QmakeProjectManager               4.9.82
      + QmlDesigner                       4.9.82
      + QmlJSEditor                       4.9.82
      + QmlJSTools                        4.9.82
      + QmlPreview                        4.9.82
      + QmlProfiler                       4.9.82
      + QmlProjectManager                 4.9.82
      + Qnx                               4.9.82
      + QtSupport                         4.9.82
      + RemoteLinux                       4.9.82
      + ResourceEditor                    4.9.82
      + ScxmlEditor                       4.9.82
      + SerialTerminal                    4.9.82
        SilverSearcher                    4.9.82
      + StudioWelcome                     4.9.82
      + Subversion                        4.9.82
      + TaskList                          4.9.82
      + TextEditor                        4.9.82
        Todo                              4.9.82
      + UpdateInfo                        4.9.82
      + Valgrind                          4.9.82
      + VcsBase                           4.9.82
      + Welcome                           4.9.82
        WinRt                             4.9.82
      
      Qt Creator 4.10.0-beta1 (4.9.82)
      Based on Qt 5.12.2 (GCC 7.3.0, 64 bit)
      
      

      Attachments

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

        Activity

          People

            Unassigned Unassigned
            christian_gagneraud_navico Christian Gagneraud
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes