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

Crash when switching the sidebar to Open Documents.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Not Evaluated
    • None
    • Qt Creator 4.4.0
    • C/C++/Obj-C++ Support
    • None

    Description

      I have a strong suspicion that this is directly related to the "Clang Hang" – QTCREATORBUG-18864 and/or QTCREATORBUG-18856.

      I was using Qt Creator and I experienced the right-click freeze multiple times. I found that eventually you could either mash out of it or something.

      So, I got past an annoying right-click freeze and went to go back to my work and about 15 minutes later, when I switched the sidebar to Open Documents, Qt Creator crashed.

      I wasn't running a debug build or anything, but I got two stack traces from Console.app, as well as a crash trace from clangbackend that happened at the exact time as the Qt Creator crash.

      Qt Creator_2017-09-16-161253_Users-MacBook.cpu_resource.diag is the stack that showed up in Console.app after the freeze, with the message preceeding it…

      9/16/17 4:11:55.000 PM kernel[0]: process Qt Creator[40155] thread 1921254 caught burning CPU! It used more than 50% CPU (Actual recent usage: 79%) over 180 seconds. thread lifetime cpu usage 1979.269667 seconds, (1503.892131 user, 475.377536 system) ledger info: balance: 90008097580 credit: 1977660930545 debit: 1887652832965 limit: 90000000000 (50%) period: 180000000000 time since last refill (ns): 113178805789
      9/16/17 4:11:55.802 PM ReportCrash[74808]: Invoking spindump for pid=40155 thread=1921254 percent_cpu=79 duration=114 because of excessive cpu utilization
      9/16/17 4:12:53.058 PM spindump[43444]: Saved cpu_resource.diag report for Qt Creator version 4.4 (4.4.0) to /Library/Logs/DiagnosticReports/Qt Creator_2017-09-16-161253_Users-MacBook.cpu_resource.diag
      

      After the crash, these were what I found. clangbackend_2017-09-16-163109_Users-MacBook.crash is the clangbackend crash, Qt Creator_2017-09-16-163109_Users-MacBook.crash is the Qt Creator crash:

      9/16/17 4:30:26.604 PM com.apple.xpc.launchd[1]: (org.qt-project.qtcreator.341792[40155]) Service exited due to signal: Segmentation fault: 11
      9/16/17 4:30:35.768 PM diagnosticd[43353]: error evaluating process info - pid: 47181, puniqueid: 246750
      9/16/17 4:31:09.704 PM ReportCrash[75742]: Saved crash report for clangbackend[47181] version 0 to /Users/USER/Library/Logs/DiagnosticReports/clangbackend_2017-09-16-163109_Users-MacBook.crash
      9/16/17 4:31:09.704 PM ReportCrash[75742]: Saved crash report for Qt Creator[40155] version 4.4 (4.4.0) to /Users/USER/Library/Logs/DiagnosticReports/Qt Creator_2017-09-16-163109_Users-MacBook.crash
      

      I was running it from Terminal.app recently (originally, I was messing with -stylesheet for fun, but then I gave up and just ran it without any arguments), and I still had the terminal window open (I don't shut down or close things often) which had a stack in it from about two days ago according to the timestamp. I am pretty sure it isn't directly related, because I was fiddling with some CMake template parsing errors, but it is worth posting for sure. I copy-pasted it to Old-Qt-Terminal-Stack.txt.

       

      I have not yet attempted to recreate this, and building Qt Creator from source is likely to take a very long time with my mediocre hardware. Homebrew tried to build Qt 5 from source and it took days (albeit in between standby modes, but still). :/

      Attachments

        Issue Links

          Activity

            People

              kosjar Nikolai Kosjar
              easyaspi314 Devin Hussey
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: