Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Qt Creator Is Crash when code writing and editing
Forum Updated to NodeBB v4.3 + New Features

Qt Creator Is Crash when code writing and editing

Scheduled Pinned Locked Moved Solved Qt Creator and other tools
13 Posts 7 Posters 2.5k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Ketan__Patel__0011K Offline
    Ketan__Patel__0011K Offline
    Ketan__Patel__0011
    wrote on last edited by
    #1

    Hello Friends And QT Experts
    I am facing some issues with QT Creator

    when I am writing the code that time QT is crashed or may be automatically closed
    I don't know what's going on But this problem is very serious for me
    because I lost my code when QT is crashed or automatically closed

    Please Drop your Suggestion or solution here.
    Thank you

    1 Reply Last reply
    0
    • sierdzioS Offline
      sierdzioS Offline
      sierdzio
      Moderators
      wrote on last edited by
      #2

      Upgrade Qt Creator to newest version. If the crash is happening on the newest version - downgrade to some older one.

      Plus, of course, if you can find a reliable way to reproduce the crash - create a bug report on Qt bugtracker.

      (Z(:^

      Ketan__Patel__0011K 1 Reply Last reply
      1
      • sierdzioS sierdzio

        Upgrade Qt Creator to newest version. If the crash is happening on the newest version - downgrade to some older one.

        Plus, of course, if you can find a reliable way to reproduce the crash - create a bug report on Qt bugtracker.

        Ketan__Patel__0011K Offline
        Ketan__Patel__0011K Offline
        Ketan__Patel__0011
        wrote on last edited by
        #3

        @sierdzio

        Thanks for Reply
        I was already try this way even I was changed 3 time QT Versions for it But Crash is Still happening

        Version list Is
        5.12.3 ///// This Version Currently i am using
        5.13.2
        5.15.2 ///// Not Used Much More

        sierdzioS 1 Reply Last reply
        0
        • Ketan__Patel__0011K Ketan__Patel__0011

          @sierdzio

          Thanks for Reply
          I was already try this way even I was changed 3 time QT Versions for it But Crash is Still happening

          Version list Is
          5.12.3 ///// This Version Currently i am using
          5.13.2
          5.15.2 ///// Not Used Much More

          sierdzioS Offline
          sierdzioS Offline
          sierdzio
          Moderators
          wrote on last edited by
          #4

          @Ketan__Patel__0011 said in Qt Creator Is Crash when code writing and editing:

          @sierdzio

          Thanks for Reply
          I was already try this way even I was changed 3 time QT Versions for it But Crash is Still happening

          Version list Is
          5.12.3 ///// This Version Currently i am using
          5.13.2
          5.15.2 ///// Not Used Much More

          You are changing Qt versions but it is Qt Creator which is crashing for you, right? So, do not change Qt version. Change Qt Creator instead. You can't do this (downgrade of Qt Creator) via the maintenance tool, please install Qt Creator separately, installers are in the archive: http://download.qt.io/official_releases/qtcreator/

          (Z(:^

          Ketan__Patel__0011K 1 Reply Last reply
          2
          • sierdzioS sierdzio

            @Ketan__Patel__0011 said in Qt Creator Is Crash when code writing and editing:

            @sierdzio

            Thanks for Reply
            I was already try this way even I was changed 3 time QT Versions for it But Crash is Still happening

            Version list Is
            5.12.3 ///// This Version Currently i am using
            5.13.2
            5.15.2 ///// Not Used Much More

            You are changing Qt versions but it is Qt Creator which is crashing for you, right? So, do not change Qt version. Change Qt Creator instead. You can't do this (downgrade of Qt Creator) via the maintenance tool, please install Qt Creator separately, installers are in the archive: http://download.qt.io/official_releases/qtcreator/

            Ketan__Patel__0011K Offline
            Ketan__Patel__0011K Offline
            Ketan__Patel__0011
            wrote on last edited by
            #5

            @sierdzio

            Thanks for reply

            but when i install Qt Version that time i am updating all QT components as well as Qt Creator i am already try with some other Qt Creator Version

            Currently i am using 4.9.0 version of Qt Creator

            1 Reply Last reply
            0
            • sierdzioS Offline
              sierdzioS Offline
              sierdzio
              Moderators
              wrote on last edited by
              #6

              The crash is happening in Qt Creator, right? Or is your application crashing?

              Depending on the answer, I think you should keep one variable constant: either keep same Qt version and try out different Creators, or keep Creator constant and keep Qt versions different.

              If Qt Creator is crashing always, in all versions - make a reproducible example and report it on Qt Creator's bug tracker.

              (Z(:^

              Ketan__Patel__0011K 1 Reply Last reply
              1
              • sierdzioS sierdzio

                The crash is happening in Qt Creator, right? Or is your application crashing?

                Depending on the answer, I think you should keep one variable constant: either keep same Qt version and try out different Creators, or keep Creator constant and keep Qt versions different.

                If Qt Creator is crashing always, in all versions - make a reproducible example and report it on Qt Creator's bug tracker.

                Ketan__Patel__0011K Offline
                Ketan__Patel__0011K Offline
                Ketan__Patel__0011
                wrote on last edited by
                #7

                @sierdzio

                No My Application is Not Crashing
                when i am writing the code that time Qt Creator is Crashed

                Okay I will report about this Bug

                Thank you

                1 Reply Last reply
                0
                • G Offline
                  G Offline
                  Guo Tao
                  wrote on last edited by
                  #8

                  I have the same question, when I open Qt Creator, writing and editing code, it is closed automatically.

                  jsulmJ 1 Reply Last reply
                  0
                  • G Guo Tao

                    I have the same question, when I open Qt Creator, writing and editing code, it is closed automatically.

                    jsulmJ Offline
                    jsulmJ Offline
                    jsulm
                    Lifetime Qt Champion
                    wrote on last edited by
                    #9

                    @Guo-Tao What QtCreator version do you use?

                    https://forum.qt.io/topic/113070/qt-code-of-conduct

                    M 1 Reply Last reply
                    0
                    • jsulmJ jsulm

                      @Guo-Tao What QtCreator version do you use?

                      M Offline
                      M Offline
                      matse
                      wrote on last edited by matse
                      #10

                      @jsulm Same problem for me since the update to 12.0.1.
                      Before this everything worked just fine. I have a quite large Cmake project opened and when I edit code QtCreator simply crashes.
                      I have disabled most of the plugins (e.g. Clangd, ClangFormat).

                      I used the QtCreator 12.0.1 version of the my distribution and now compiled it myself (same problem). Here is the output in the terminal:

                      SOFT ASSERT [09:06:57.448]: "!filePath.isEmpty()" in /home/user/Downloads/qtcreator/src/qt-creator-opensource-src-12.0.1/src/plugins/cmakeprojectmanager/fileapiparser.cpp:78
                      SOFT ASSERT [09:06:57.448]: "!filePath.isEmpty()" in /home/user/Downloads/qtcreator/src/qt-creator-opensource-src-12.0.1/src/plugins/cmakeprojectmanager/fileapiparser.cpp:78
                      SOFT ASSERT [09:06:57.448]: "!filePath.isEmpty()" in /home/user/Downloads/qtcreator/src/qt-creator-opensource-src-12.0.1/src/plugins/cmakeprojectmanager/fileapiparser.cpp:78
                      SOFT ASSERT [09:06:57.448]: "!filePath.isEmpty()" in /home/user/Downloads/qtcreator/src/qt-creator-opensource-src-12.0.1/src/plugins/cmakeprojectmanager/fileapiparser.cpp:78
                      "CMake project configuration failed. No CMake configuration for build type \"Debug\" found."
                      [1]    6630 segmentation fault (core dumped)  qtcreator
                      

                      Except the segfault all the other warnings are displayed instantly after starting QtCreator. The segfault comes some seconds later (basically when I do two small changes in the file - these changes are not saved before the crash).

                      Here is the coredump of the program:

                      PID: 6630 (qtcreator)
                                 UID: XXX (user)
                                 GID: XXX (XXX)
                              Signal: 11 (SEGV)
                           Timestamp: Fri 2023-12-29 09:07:12 CET (3min 34s ago)
                        Command Line: qtcreator
                          Executable: /usr/bin/qtcreator
                       Control Group: /user.slice/user-XXX.slice/session-3.scope
                                Unit: session-3.scope
                               Slice: user-XXX.slice
                             Session: 3
                           Owner UID: XXX (user)
                             Boot ID: XXX
                          Machine ID: XXX
                            Hostname: XXX
                             Storage: /var/lib/systemd/coredump/core.qtcreator.XXX.XXX.XXX.XXX.zst (present)
                        Size on Disk: 24.7M
                             Message: Process 6630 (qtcreator) of user XXX dumped core.
                      
                                      Stack trace of thread 6630:
                                      #0  0x00007fec021751f8 _ZNK21QSortFilterProxyModel6parentERK11QModelIndex (libQt6Core.so.6 + 0x3751f8)
                                      #1  0x00007fec0309985e n/a (libQt6Widgets.so.6 + 0x29985e)
                                      #2  0x00007fec032a9731 _ZNK9QTreeView16indexRowSizeHintERK11QModelIndex (libQt6Widgets.so.6 + 0x4a9731)
                                      #3  0x00007fec032abd1c n/a (libQt6Widgets.so.6 + 0x4abd1c)
                                      #4  0x00007fec032abfb0 _ZNK16QTreeViewPrivate17coordinateForItemEi (libQt6Widgets.so.6 + 0x4abfb0)
                                      #5  0x00007fec0329ee3c _ZNK16QTreeViewPrivate10visualRectERK11QModelIndexNS_8RectRuleE (libQt6Widgets.so.6 + 0x49ee3c)
                                      #6  0x00007fec03224592 n/a (libQt6Widgets.so.6 + 0x424592)
                                      #7  0x00007fec032241fc n/a (libQt6Widgets.so.6 + 0x4241fc)
                                      #8  0x00007fec028f02b9 n/a (libQt6Gui.so.6 + 0x4f02b9)
                                      #9  0x00007fec032a788c _ZN9QTreeView16selectionChangedERK14QItemSelectionS2_ (libQt6Widgets.so.6 + 0x4a788c)
                                      #10 0x00007fec01fba1cb n/a (libQt6Core.so.6 + 0x1ba1cb)
                                      #11 0x00007fec0215b930 _ZN19QItemSelectionModel20emitSelectionChangedERK14QItemSelectionS2_ (libQt6Core.so.6 + 0x35b930)
                                      #12 0x00007fec0215c6cd _ZN19QItemSelectionModel6selectERK14QItemSelection6QFlagsINS_13SelectionFlagEE (libQt6Core.so.6 + 0x35c6cd)
                                      #13 0x00007fec0215992e _ZN19QItemSelectionModel6selectERK11QModelIndex6QFlagsINS_13SelectionFlagEE (libQt6Core.so.6 + 0x35992e)
                                      #14 0x00007fec0215a144 _ZN19QItemSelectionModel15setCurrentIndexERK11QModelIndex6QFlagsINS_13SelectionFlagEE (libQt6Core.so.6 + 0x35a144)
                                      #15 0x00007fec0309eff8 n/a (libQt6Widgets.so.6 + 0x29eff8)
                                      #16 0x00007fec0309f1bf n/a (libQt6Widgets.so.6 + 0x29f1bf)
                                      #17 0x00007fec0309f295 n/a (libQt6Widgets.so.6 + 0x29f295)
                                      #18 0x00007fec01fb9ec9 n/a (libQt6Core.so.6 + 0x1b9ec9)
                                      #19 0x00007fec02148d97 _ZN18QAbstractItemModel13endResetModelEv (libQt6Core.so.6 + 0x348d97)
                                      #20 0x00007fec02178006 n/a (libQt6Core.so.6 + 0x378006)
                                      #21 0x00007fec01fb9ec9 n/a (libQt6Core.so.6 + 0x1b9ec9)
                                      #22 0x00007fec02148d97 _ZN18QAbstractItemModel13endResetModelEv (libQt6Core.so.6 + 0x348d97)
                                      #23 0x00007fec01fb9ec9 n/a (libQt6Core.so.6 + 0x1b9ec9)
                                      #24 0x00007fec01fc1f84 _ZN6QTimer10timerEventEP11QTimerEvent (libQt6Core.so.6 + 0x1c1f84)
                                      #25 0x00007fec01fa53b6 _ZN7QObject5eventEP6QEvent (libQt6Core.so.6 + 0x1a53b6)
                                      #26 0x00007fec02f7319b _ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent (libQt6Widgets.so.6 + 0x17319b)
                                      #27 0x00007fec01f62a78 _ZN16QCoreApplication15notifyInternal2EP7QObjectP6QEvent (libQt6Core.so.6 + 0x162a78)
                                      #28 0x00007fec020c8236 _ZN14QTimerInfoList14activateTimersEv (libQt6Core.so.6 + 0x2c8236)
                                      #29 0x00007fec0219e954 n/a (libQt6Core.so.6 + 0x39e954)
                                      #30 0x00007fec00d0df69 n/a (libglib-2.0.so.0 + 0x59f69)
                                      #31 0x00007fec00d6c367 n/a (libglib-2.0.so.0 + 0xb8367)
                                      #32 0x00007fec00d0c162 g_main_context_iteration (libglib-2.0.so.0 + 0x58162)
                                      #33 0x00007fec0219d074 _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt6Core.so.6 + 0x39d074)
                                      #34 0x00007fec01f6cf5e _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt6Core.so.6 + 0x16cf5e)
                                      #35 0x00007fec01f65518 _ZN16QCoreApplication4execEv (libQt6Core.so.6 + 0x165518)
                                      #36 0x000055ed8b71792a n/a (qtcreator + 0xc92a)
                                      #37 0x00007fec01845cd0 n/a (libc.so.6 + 0x27cd0)
                                      #38 0x00007fec01845d8a __libc_start_main (libc.so.6 + 0x27d8a)
                                      #39 0x000055ed8b718475 n/a (qtcreator + 0xd475)
                      
                                      Stack trace of thread 6669:
                                      #0  0x00007fec018a74ae n/a (libc.so.6 + 0x894ae)
                      ...skipping...
                                      Stack trace of thread 6686:
                                      #0  0x00007fec018a74ae n/a (libc.so.6 + 0x894ae)
                                      #1  0x00007fec018aa055 pthread_cond_timedwait (libc.so.6 + 0x8c055)
                                      #2  0x00007fec020ccf94 _ZN14QWaitCondition4waitEP6QMutex14QDeadlineTimer (libQt6Core.so.6 + 0x2ccf94)
                                      #3  0x00007fec020cfaba n/a (libQt6Core.so.6 + 0x2cfaba)
                                      #4  0x00007fec020c9e63 n/a (libQt6Core.so.6 + 0x2c9e63)
                                      #5  0x00007fec018aa9eb n/a (libc.so.6 + 0x8c9eb)
                                      #6  0x00007fec0192e7cc n/a (libc.so.6 + 0x1107cc)
                      
                                      Stack trace of thread 6715:
                                      #0  0x00007fec018a74ae n/a (libc.so.6 + 0x894ae)
                                      #1  0x00007fec018aa055 pthread_cond_timedwait (libc.so.6 + 0x8c055)
                                      #2  0x00007fec020ccf94 _ZN14QWaitCondition4waitEP6QMutex14QDeadlineTimer (libQt6Core.so.6 + 0x2ccf94)
                                      #3  0x00007fec020cfaba n/a (libQt6Core.so.6 + 0x2cfaba)
                                      #4  0x00007fec020c9e63 n/a (libQt6Core.so.6 + 0x2c9e63)
                                      #5  0x00007fec018aa9eb n/a (libc.so.6 + 0x8c9eb)
                                      #6  0x00007fec0192e7cc n/a (libc.so.6 + 0x1107cc)
                      
                                      Stack trace of thread 6709:
                                      #0  0x00007fec018a74ae n/a (libc.so.6 + 0x894ae)
                                      #1  0x00007fec018aa055 pthread_cond_timedwait (libc.so.6 + 0x8c055)
                                      #2  0x00007fec020ccf94 _ZN14QWaitCondition4waitEP6QMutex14QDeadlineTimer (libQt6Core.so.6 + 0x2ccf94)
                                      #3  0x00007fec020cfaba n/a (libQt6Core.so.6 + 0x2cfaba)
                                      #4  0x00007fec020c9e63 n/a (libQt6Core.so.6 + 0x2c9e63)
                                      #5  0x00007fec018aa9eb n/a (libc.so.6 + 0x8c9eb)
                                      #6  0x00007fec0192e7cc n/a (libc.so.6 + 0x1107cc)
                      
                                      Stack trace of thread 6682:
                                      #0  0x00007fec018a74ae n/a (libc.so.6 + 0x894ae)
                                      #1  0x00007fec018aa055 pthread_cond_timedwait (libc.so.6 + 0x8c055)
                                      #2  0x00007fec020ccf94 _ZN14QWaitCondition4waitEP6QMutex14QDeadlineTimer (libQt6Core.so.6 + 0x2ccf94)
                                      #3  0x00007fec020cfaba n/a (libQt6Core.so.6 + 0x2cfaba)
                                      #4  0x00007fec020c9e63 n/a (libQt6Core.so.6 + 0x2c9e63)
                                      #5  0x00007fec018aa9eb n/a (libc.so.6 + 0x8c9eb)
                                      #6  0x00007fec0192e7cc n/a (libc.so.6 + 0x1107cc)
                      
                                      Stack trace of thread 6702:
                                      #0  0x00007fec018a74ae n/a (libc.so.6 + 0x894ae)
                                      #1  0x00007fec018aa055 pthread_cond_timedwait (libc.so.6 + 0x8c055)
                                      #2  0x00007fec020ccf94 _ZN14QWaitCondition4waitEP6QMutex14QDeadlineTimer (libQt6Core.so.6 + 0x2ccf94)
                                      #3  0x00007fec020cfaba n/a (libQt6Core.so.6 + 0x2cfaba)
                                      #4  0x00007fec020c9e63 n/a (libQt6Core.so.6 + 0x2c9e63)
                                      #5  0x00007fec018aa9eb n/a (libc.so.6 + 0x8c9eb)
                                      #6  0x00007fec0192e7cc n/a (libc.so.6 + 0x1107cc)
                      
                                      Stack trace of thread 6724:
                                      #0  0x00007fec018a74ae n/a (libc.so.6 + 0x894ae)
                                      #1  0x00007fec018aa055 pthread_cond_timedwait (libc.so.6 + 0x8c055)
                                      #2  0x00007fec020ccf94 _ZN14QWaitCondition4waitEP6QMutex14QDeadlineTimer (libQt6Core.so.6 + 0x2ccf94)
                                      #3  0x00007fec020cfaba n/a (libQt6Core.so.6 + 0x2cfaba)
                                      #4  0x00007fec020c9e63 n/a (libQt6Core.so.6 + 0x2c9e63)
                                      #5  0x00007fec018aa9eb n/a (libc.so.6 + 0x8c9eb)
                                      #6  0x00007fec0192e7cc n/a (libc.so.6 + 0x1107cc)
                      
                                      Stack trace of thread 6693:
                                      #0  0x00007fec018a74ae n/a (libc.so.6 + 0x894ae)
                                      #1  0x00007fec018aa055 pthread_cond_timedwait (libc.so.6 + 0x8c055)
                                      #2  0x00007fec020ccf94 _ZN14QWaitCondition4waitEP6QMutex14QDeadlineTimer (libQt6Core.so.6 + 0x2ccf94)
                                      #3  0x00007fec020cfaba n/a (libQt6Core.so.6 + 0x2cfaba)
                                      #4  0x00007fec020c9e63 n/a (libQt6Core.so.6 + 0x2c9e63)
                                      #5  0x00007fec018aa9eb n/a (libc.so.6 + 0x8c9eb)
                                      #6  0x00007fec0192e7cc n/a (libc.so.6 + 0x1107cc)
                                      ELF object binary architecture: AMD x86-64
                      

                      Maybe someone can help me here? I can provide more debugging information, if needed.
                      Thanks in advance

                      Matse

                      M 1 Reply Last reply
                      0
                      • Christian EhrlicherC Christian Ehrlicher moved this topic from General and Desktop on
                      • M matse

                        @jsulm Same problem for me since the update to 12.0.1.
                        Before this everything worked just fine. I have a quite large Cmake project opened and when I edit code QtCreator simply crashes.
                        I have disabled most of the plugins (e.g. Clangd, ClangFormat).

                        I used the QtCreator 12.0.1 version of the my distribution and now compiled it myself (same problem). Here is the output in the terminal:

                        SOFT ASSERT [09:06:57.448]: "!filePath.isEmpty()" in /home/user/Downloads/qtcreator/src/qt-creator-opensource-src-12.0.1/src/plugins/cmakeprojectmanager/fileapiparser.cpp:78
                        SOFT ASSERT [09:06:57.448]: "!filePath.isEmpty()" in /home/user/Downloads/qtcreator/src/qt-creator-opensource-src-12.0.1/src/plugins/cmakeprojectmanager/fileapiparser.cpp:78
                        SOFT ASSERT [09:06:57.448]: "!filePath.isEmpty()" in /home/user/Downloads/qtcreator/src/qt-creator-opensource-src-12.0.1/src/plugins/cmakeprojectmanager/fileapiparser.cpp:78
                        SOFT ASSERT [09:06:57.448]: "!filePath.isEmpty()" in /home/user/Downloads/qtcreator/src/qt-creator-opensource-src-12.0.1/src/plugins/cmakeprojectmanager/fileapiparser.cpp:78
                        "CMake project configuration failed. No CMake configuration for build type \"Debug\" found."
                        [1]    6630 segmentation fault (core dumped)  qtcreator
                        

                        Except the segfault all the other warnings are displayed instantly after starting QtCreator. The segfault comes some seconds later (basically when I do two small changes in the file - these changes are not saved before the crash).

                        Here is the coredump of the program:

                        PID: 6630 (qtcreator)
                                   UID: XXX (user)
                                   GID: XXX (XXX)
                                Signal: 11 (SEGV)
                             Timestamp: Fri 2023-12-29 09:07:12 CET (3min 34s ago)
                          Command Line: qtcreator
                            Executable: /usr/bin/qtcreator
                         Control Group: /user.slice/user-XXX.slice/session-3.scope
                                  Unit: session-3.scope
                                 Slice: user-XXX.slice
                               Session: 3
                             Owner UID: XXX (user)
                               Boot ID: XXX
                            Machine ID: XXX
                              Hostname: XXX
                               Storage: /var/lib/systemd/coredump/core.qtcreator.XXX.XXX.XXX.XXX.zst (present)
                          Size on Disk: 24.7M
                               Message: Process 6630 (qtcreator) of user XXX dumped core.
                        
                                        Stack trace of thread 6630:
                                        #0  0x00007fec021751f8 _ZNK21QSortFilterProxyModel6parentERK11QModelIndex (libQt6Core.so.6 + 0x3751f8)
                                        #1  0x00007fec0309985e n/a (libQt6Widgets.so.6 + 0x29985e)
                                        #2  0x00007fec032a9731 _ZNK9QTreeView16indexRowSizeHintERK11QModelIndex (libQt6Widgets.so.6 + 0x4a9731)
                                        #3  0x00007fec032abd1c n/a (libQt6Widgets.so.6 + 0x4abd1c)
                                        #4  0x00007fec032abfb0 _ZNK16QTreeViewPrivate17coordinateForItemEi (libQt6Widgets.so.6 + 0x4abfb0)
                                        #5  0x00007fec0329ee3c _ZNK16QTreeViewPrivate10visualRectERK11QModelIndexNS_8RectRuleE (libQt6Widgets.so.6 + 0x49ee3c)
                                        #6  0x00007fec03224592 n/a (libQt6Widgets.so.6 + 0x424592)
                                        #7  0x00007fec032241fc n/a (libQt6Widgets.so.6 + 0x4241fc)
                                        #8  0x00007fec028f02b9 n/a (libQt6Gui.so.6 + 0x4f02b9)
                                        #9  0x00007fec032a788c _ZN9QTreeView16selectionChangedERK14QItemSelectionS2_ (libQt6Widgets.so.6 + 0x4a788c)
                                        #10 0x00007fec01fba1cb n/a (libQt6Core.so.6 + 0x1ba1cb)
                                        #11 0x00007fec0215b930 _ZN19QItemSelectionModel20emitSelectionChangedERK14QItemSelectionS2_ (libQt6Core.so.6 + 0x35b930)
                                        #12 0x00007fec0215c6cd _ZN19QItemSelectionModel6selectERK14QItemSelection6QFlagsINS_13SelectionFlagEE (libQt6Core.so.6 + 0x35c6cd)
                                        #13 0x00007fec0215992e _ZN19QItemSelectionModel6selectERK11QModelIndex6QFlagsINS_13SelectionFlagEE (libQt6Core.so.6 + 0x35992e)
                                        #14 0x00007fec0215a144 _ZN19QItemSelectionModel15setCurrentIndexERK11QModelIndex6QFlagsINS_13SelectionFlagEE (libQt6Core.so.6 + 0x35a144)
                                        #15 0x00007fec0309eff8 n/a (libQt6Widgets.so.6 + 0x29eff8)
                                        #16 0x00007fec0309f1bf n/a (libQt6Widgets.so.6 + 0x29f1bf)
                                        #17 0x00007fec0309f295 n/a (libQt6Widgets.so.6 + 0x29f295)
                                        #18 0x00007fec01fb9ec9 n/a (libQt6Core.so.6 + 0x1b9ec9)
                                        #19 0x00007fec02148d97 _ZN18QAbstractItemModel13endResetModelEv (libQt6Core.so.6 + 0x348d97)
                                        #20 0x00007fec02178006 n/a (libQt6Core.so.6 + 0x378006)
                                        #21 0x00007fec01fb9ec9 n/a (libQt6Core.so.6 + 0x1b9ec9)
                                        #22 0x00007fec02148d97 _ZN18QAbstractItemModel13endResetModelEv (libQt6Core.so.6 + 0x348d97)
                                        #23 0x00007fec01fb9ec9 n/a (libQt6Core.so.6 + 0x1b9ec9)
                                        #24 0x00007fec01fc1f84 _ZN6QTimer10timerEventEP11QTimerEvent (libQt6Core.so.6 + 0x1c1f84)
                                        #25 0x00007fec01fa53b6 _ZN7QObject5eventEP6QEvent (libQt6Core.so.6 + 0x1a53b6)
                                        #26 0x00007fec02f7319b _ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent (libQt6Widgets.so.6 + 0x17319b)
                                        #27 0x00007fec01f62a78 _ZN16QCoreApplication15notifyInternal2EP7QObjectP6QEvent (libQt6Core.so.6 + 0x162a78)
                                        #28 0x00007fec020c8236 _ZN14QTimerInfoList14activateTimersEv (libQt6Core.so.6 + 0x2c8236)
                                        #29 0x00007fec0219e954 n/a (libQt6Core.so.6 + 0x39e954)
                                        #30 0x00007fec00d0df69 n/a (libglib-2.0.so.0 + 0x59f69)
                                        #31 0x00007fec00d6c367 n/a (libglib-2.0.so.0 + 0xb8367)
                                        #32 0x00007fec00d0c162 g_main_context_iteration (libglib-2.0.so.0 + 0x58162)
                                        #33 0x00007fec0219d074 _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt6Core.so.6 + 0x39d074)
                                        #34 0x00007fec01f6cf5e _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt6Core.so.6 + 0x16cf5e)
                                        #35 0x00007fec01f65518 _ZN16QCoreApplication4execEv (libQt6Core.so.6 + 0x165518)
                                        #36 0x000055ed8b71792a n/a (qtcreator + 0xc92a)
                                        #37 0x00007fec01845cd0 n/a (libc.so.6 + 0x27cd0)
                                        #38 0x00007fec01845d8a __libc_start_main (libc.so.6 + 0x27d8a)
                                        #39 0x000055ed8b718475 n/a (qtcreator + 0xd475)
                        
                                        Stack trace of thread 6669:
                                        #0  0x00007fec018a74ae n/a (libc.so.6 + 0x894ae)
                        ...skipping...
                                        Stack trace of thread 6686:
                                        #0  0x00007fec018a74ae n/a (libc.so.6 + 0x894ae)
                                        #1  0x00007fec018aa055 pthread_cond_timedwait (libc.so.6 + 0x8c055)
                                        #2  0x00007fec020ccf94 _ZN14QWaitCondition4waitEP6QMutex14QDeadlineTimer (libQt6Core.so.6 + 0x2ccf94)
                                        #3  0x00007fec020cfaba n/a (libQt6Core.so.6 + 0x2cfaba)
                                        #4  0x00007fec020c9e63 n/a (libQt6Core.so.6 + 0x2c9e63)
                                        #5  0x00007fec018aa9eb n/a (libc.so.6 + 0x8c9eb)
                                        #6  0x00007fec0192e7cc n/a (libc.so.6 + 0x1107cc)
                        
                                        Stack trace of thread 6715:
                                        #0  0x00007fec018a74ae n/a (libc.so.6 + 0x894ae)
                                        #1  0x00007fec018aa055 pthread_cond_timedwait (libc.so.6 + 0x8c055)
                                        #2  0x00007fec020ccf94 _ZN14QWaitCondition4waitEP6QMutex14QDeadlineTimer (libQt6Core.so.6 + 0x2ccf94)
                                        #3  0x00007fec020cfaba n/a (libQt6Core.so.6 + 0x2cfaba)
                                        #4  0x00007fec020c9e63 n/a (libQt6Core.so.6 + 0x2c9e63)
                                        #5  0x00007fec018aa9eb n/a (libc.so.6 + 0x8c9eb)
                                        #6  0x00007fec0192e7cc n/a (libc.so.6 + 0x1107cc)
                        
                                        Stack trace of thread 6709:
                                        #0  0x00007fec018a74ae n/a (libc.so.6 + 0x894ae)
                                        #1  0x00007fec018aa055 pthread_cond_timedwait (libc.so.6 + 0x8c055)
                                        #2  0x00007fec020ccf94 _ZN14QWaitCondition4waitEP6QMutex14QDeadlineTimer (libQt6Core.so.6 + 0x2ccf94)
                                        #3  0x00007fec020cfaba n/a (libQt6Core.so.6 + 0x2cfaba)
                                        #4  0x00007fec020c9e63 n/a (libQt6Core.so.6 + 0x2c9e63)
                                        #5  0x00007fec018aa9eb n/a (libc.so.6 + 0x8c9eb)
                                        #6  0x00007fec0192e7cc n/a (libc.so.6 + 0x1107cc)
                        
                                        Stack trace of thread 6682:
                                        #0  0x00007fec018a74ae n/a (libc.so.6 + 0x894ae)
                                        #1  0x00007fec018aa055 pthread_cond_timedwait (libc.so.6 + 0x8c055)
                                        #2  0x00007fec020ccf94 _ZN14QWaitCondition4waitEP6QMutex14QDeadlineTimer (libQt6Core.so.6 + 0x2ccf94)
                                        #3  0x00007fec020cfaba n/a (libQt6Core.so.6 + 0x2cfaba)
                                        #4  0x00007fec020c9e63 n/a (libQt6Core.so.6 + 0x2c9e63)
                                        #5  0x00007fec018aa9eb n/a (libc.so.6 + 0x8c9eb)
                                        #6  0x00007fec0192e7cc n/a (libc.so.6 + 0x1107cc)
                        
                                        Stack trace of thread 6702:
                                        #0  0x00007fec018a74ae n/a (libc.so.6 + 0x894ae)
                                        #1  0x00007fec018aa055 pthread_cond_timedwait (libc.so.6 + 0x8c055)
                                        #2  0x00007fec020ccf94 _ZN14QWaitCondition4waitEP6QMutex14QDeadlineTimer (libQt6Core.so.6 + 0x2ccf94)
                                        #3  0x00007fec020cfaba n/a (libQt6Core.so.6 + 0x2cfaba)
                                        #4  0x00007fec020c9e63 n/a (libQt6Core.so.6 + 0x2c9e63)
                                        #5  0x00007fec018aa9eb n/a (libc.so.6 + 0x8c9eb)
                                        #6  0x00007fec0192e7cc n/a (libc.so.6 + 0x1107cc)
                        
                                        Stack trace of thread 6724:
                                        #0  0x00007fec018a74ae n/a (libc.so.6 + 0x894ae)
                                        #1  0x00007fec018aa055 pthread_cond_timedwait (libc.so.6 + 0x8c055)
                                        #2  0x00007fec020ccf94 _ZN14QWaitCondition4waitEP6QMutex14QDeadlineTimer (libQt6Core.so.6 + 0x2ccf94)
                                        #3  0x00007fec020cfaba n/a (libQt6Core.so.6 + 0x2cfaba)
                                        #4  0x00007fec020c9e63 n/a (libQt6Core.so.6 + 0x2c9e63)
                                        #5  0x00007fec018aa9eb n/a (libc.so.6 + 0x8c9eb)
                                        #6  0x00007fec0192e7cc n/a (libc.so.6 + 0x1107cc)
                        
                                        Stack trace of thread 6693:
                                        #0  0x00007fec018a74ae n/a (libc.so.6 + 0x894ae)
                                        #1  0x00007fec018aa055 pthread_cond_timedwait (libc.so.6 + 0x8c055)
                                        #2  0x00007fec020ccf94 _ZN14QWaitCondition4waitEP6QMutex14QDeadlineTimer (libQt6Core.so.6 + 0x2ccf94)
                                        #3  0x00007fec020cfaba n/a (libQt6Core.so.6 + 0x2cfaba)
                                        #4  0x00007fec020c9e63 n/a (libQt6Core.so.6 + 0x2c9e63)
                                        #5  0x00007fec018aa9eb n/a (libc.so.6 + 0x8c9eb)
                                        #6  0x00007fec0192e7cc n/a (libc.so.6 + 0x1107cc)
                                        ELF object binary architecture: AMD x86-64
                        

                        Maybe someone can help me here? I can provide more debugging information, if needed.
                        Thanks in advance

                        Matse

                        M Offline
                        M Offline
                        matse
                        wrote on last edited by
                        #11

                        A small update: Today I tested the version downloaded from theqt website and this version does not segfault. So there seems to be a problem with the version shipped with my distribution (arch linux), even if I compile this from scratch.

                        S 1 Reply Last reply
                        2
                        • aha_1980A aha_1980 has marked this topic as solved on
                        • M matse

                          A small update: Today I tested the version downloaded from theqt website and this version does not segfault. So there seems to be a problem with the version shipped with my distribution (arch linux), even if I compile this from scratch.

                          S Offline
                          S Offline
                          Seifu
                          wrote on last edited by
                          #12

                          @matse, I can confirm there seems to be a major bug in Qt Creator 12.0.1.

                          I was going crazy checking my code to find out why Qt Creator kept crashing every time I edited anything in Design mode. When launching the application through Windows CMD, I encountered the issue "segmentation fault" thrown at the crash, indicating that something in Qt Creator's code is seriously misbehaving as it's trying to write on wrong memory entries.

                          Personally, the issue appeared only when modifying things or saving the file in Design mode; I could edit anything in Edit mode just fine, but Design... Mno-uh. I tried on both Windows x64 and KDE Neon, and Qt Creator kept crashing on both OS. I also tried it on a different PC, but it kept crashing there too, so it seems like the overall 12.0.1 build distributed with the installer is problematic. I'm using open source, just for clarification purposes, as I don't know if the installer or build distribution for the paid version of Qt is the same.

                          I downgraded to Qt Creator 11.0.3, and everything is running fine now. Hope this helps.

                          1 Reply Last reply
                          0
                          • M Offline
                            M Offline
                            Mlibu
                            wrote on last edited by
                            #13
                            This post is deleted!
                            1 Reply Last reply
                            0

                            • Login

                            • Login or register to search.
                            • First post
                              Last post
                            0
                            • Categories
                            • Recent
                            • Tags
                            • Popular
                            • Users
                            • Groups
                            • Search
                            • Get Qt Extensions
                            • Unsolved