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

Core dump in QSortFilterProxyModel when navigating project

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Not Evaluated
    • Qt Creator 12.0.2
    • Qt Creator 12.0.0, Qt Creator 12.0.1
    • Editors
    • None
    • Arch Linux
    • Linux/X11
    • a61f9162f (12.0)

    Description

      I occasionally encounter a segfault while using Qt Creator 12.0.0. I have not observed this problem before upgrading to version 12.

      The most recent time I hit the problem, I was switching files in one of my editor panes. I had used ctrl + shift + R to navigate to a file. I selected the file and the editor changed to the contents of the file, but almost immediately afterward the entire program crashed to desktop.

      I have attached the relevant contents of Journalctl. The most relevant bits are:

       

       

      Dec 07 15:34:33 nathanb-laptop kernel: qtcreator[2268553]: segfault at 20 ip 00007febdf5751f8 sp 00007ffd53ab44e0 error 4 in libQt6Core.so.6.6.1[7febdf2b1000+35a000] likely on CPU 0 (core 0, socket 0)
      Dec 07 15:34:33 nathanb-laptop kernel: Code: 08 49 8d bc 24 e0 00 00 00 48 83 c6 78 e8 60 4e 01 00 48 89 e7 48 89 c6 48 89 d0 83 e2 7f 48 c1 e8 07 48 8d 0c c0 48 c1 e1 04 <48> 03 4e 20 0f b6 04 11 48 8d 15 e9 c9 00 00 48 c1 e0 05 48 03 81
      Dec 07 15:34:33 nathanb-laptop systemd[1]: Started Process Core Dump (PID 2826288/UID 0).
      ░░ Subject: A start job for unit systemd-coredump@2-2826288-0.service has finished successfully
      ░░ Defined-By: systemd
      ░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
      ░░ 
      ░░ A start job for unit systemd-coredump@2-2826288-0.service has finished successfully.
      ░░ 
      ░░ The job identifier is 9067.
      Dec 07 15:34:43 nathanb-laptop systemd-coredump[2826289]: The core will not be stored: size 3801387008 is greater than 804257792 (the configured maximum)
      Dec 07 15:34:43 nathanb-laptop systemd-coredump[2826289]: [🡕] Process 2268553 (qtcreator) of user 1000 dumped core.
                                                                
                                                                Stack trace of thread 2268553:
                                                                #0  0x00007febdf5751f8 _ZNK21QSortFilterProxyModel6parentERK11QModelIndex (libQt6Core.so.6 + 0x3751f8)
                                                                #1  0x00007febe049985e n/a (libQt6Widgets.so.6 + 0x29985e)
                                                                #2  0x00007febe06a9731 _ZNK9QTreeView16indexRowSizeHintERK11QModelIndex (libQt6Widgets.so.6 + 0x4a9731)
                                                                #3  0x00007febe06abd1c n/a (libQt6Widgets.so.6 + 0x4abd1c)
                                                                #4  0x00007febe06abfb0 _ZNK16QTreeViewPrivate17coordinateForItemEi (libQt6Widgets.so.6 + 0x4abfb0)
                                                                #5  0x00007febe069ee3c _ZNK16QTreeViewPrivate10visualRectERK11QModelIndexNS_8RectRuleE (libQt6Widgets.so.6 + 0x49ee3c)
                                                                #6  0x00007febe0624592 n/a (libQt6Widgets.so.6 + 0x424592)
                                                                #7  0x00007febe06241fc n/a (libQt6Widgets.so.6 + 0x4241fc)
                                                                #8  0x00007febdfcf02b9 n/a (libQt6Gui.so.6 + 0x4f02b9)
                                                                #9  0x00007febe06a788c ZN9QTreeView16selectionChangedERK14QItemSelectionS2 (libQt6Widgets.so.6 + 0x4a788c)
                                                                #10 0x00007febdf3ba1cb n/a (libQt6Core.so.6 + 0x1ba1cb)
                                                                #11 0x00007febdf55b930 ZN19QItemSelectionModel20emitSelectionChangedERK14QItemSelectionS2 (libQt6Core.so.6 + 0x35b930)
                                                                #12 0x00007febdf55c6cd _ZN19QItemSelectionModel6selectERK14QItemSelection6QFlagsINS_13SelectionFlagEE (libQt6Core.so.6 + 0x35c6cd)
                                                                #13 0x00007febdf55992e _ZN19QItemSelectionModel6selectERK11QModelIndex6QFlagsINS_13SelectionFlagEE (libQt6Core.so.6 + 0x35992e)
                                                                #14 0x00007febdf55a144 _ZN19QItemSelectionModel15setCurrentIndexERK11QModelIndex6QFlagsINS_13SelectionFlagEE (libQt6Core.so.6 + 0x35a144)
                                                                #15 0x00007febe049eff8 n/a (libQt6Widgets.so.6 + 0x29eff8)
                                                                #16 0x00007febe049f1bf n/a (libQt6Widgets.so.6 + 0x29f1bf)
                                                                #17 0x00007febe049f295 n/a (libQt6Widgets.so.6 + 0x29f295)
                                                                #18 0x00007febdf3b9ec9 n/a (libQt6Core.so.6 + 0x1b9ec9)
                                                                #19 0x00007febdf548d97 _ZN18QAbstractItemModel13endResetModelEv (libQt6Core.so.6 + 0x348d97)
                                                                #20 0x00007febdf578006 n/a (libQt6Core.so.6 + 0x378006)
                                                                #21 0x00007febdf3b9ec9 n/a (libQt6Core.so.6 + 0x1b9ec9)
                                                                #22 0x00007febdf548d97 _ZN18QAbstractItemModel13endResetModelEv (libQt6Core.so.6 + 0x348d97)
                                                                #23 0x00007febdf3b9ec9 n/a (libQt6Core.so.6 + 0x1b9ec9)
                                                                #24 0x00007febdf3c1f84 _ZN6QTimer10timerEventEP11QTimerEvent (libQt6Core.so.6 + 0x1c1f84)
                                                                #25 0x00007febdf3a53b6 _ZN7QObject5eventEP6QEvent (libQt6Core.so.6 + 0x1a53b6)
                                                                #26 0x00007febe037319b _ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent (libQt6Widgets.so.6 + 0x17319b)
                                                                #27 0x00007febdf362a78 _ZN16QCoreApplication15notifyInternal2EP7QObjectP6QEvent (libQt6Core.so.6 + 0x162a78)
                                                                #28 0x00007febdf4c8236 _ZN14QTimerInfoList14activateTimersEv (libQt6Core.so.6 + 0x2c8236)
                                                                #29 0x00007febdf59e90c n/a (libQt6Core.so.6 + 0x39e90c)
                                                                #30 0x00007febde10df69 n/a (libglib-2.0.so.0 + 0x59f69)
                                                                #31 0x00007febde16c327 n/a (libglib-2.0.so.0 + 0xb8327)
                                                                #32 0x00007febde10c162 g_main_context_iteration (libglib-2.0.so.0 + 0x58162)
                                                                #33 0x00007febdf59d074 _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt6Core.so.6 + 0x39d074)
                                                                #34 0x00007febdf36cf5e _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt6Core.so.6 + 0x16cf5e)
                                                                #35 0x00007febdf365518 _ZN16QCoreApplication4execEv (libQt6Core.so.6 + 0x165518)
                                                                #36 0x0000564847b7e4a3 n/a (qtcreator + 0xc4a3)
                                                                #37 0x00007febdec45cd0 n/a (libc.so.6 + 0x27cd0)
                                                                #38 0x00007febdec45d8a __libc_start_main (libc.so.6 + 0x27d8a)
                                                                #39 0x0000564847b7f915 n/a (qtcreator + 0xd915)
      

       

      Attachments

        Issue Links

          Activity

            People

              davschul David Schulz
              nathanb Nathan Baker
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: