Details
-
Bug
-
Resolution: Duplicate
-
Not Evaluated
-
None
-
Qt Creator 4.4.0
-
None
-
Mac OS X 10.11.6 El Capitan (My MacBook doesn't get Sierra, unfortunately).
MacBook (13-inch, Mid 2009) – MacBook5,2
2.13 GHz Intel Core 2 Duo
4 GB RAM
NVIDIA GeForce 9400M 256MB
1280x800 13.3" screen
Qt Creator 4.4.0
Qt 5.9.1
Yes, I did enable the "Clang Static Analyzer" plugin, but wasn't actively using it at the moment.
I am using CMake 3.9.1 (provided by Homebrew) with AppleClang clang-800.0.42.1 (LLVM 8.0.0).Mac OS X 10.11.6 El Capitan (My MacBook doesn't get Sierra, unfortunately). MacBook (13-inch, Mid 2009) – MacBook5,2 2.13 GHz Intel Core 2 Duo 4 GB RAM NVIDIA GeForce 9400M 256MB 1280x800 13.3" screen Qt Creator 4.4.0 Qt 5.9.1 Yes, I did enable the "Clang Static Analyzer" plugin, but wasn't actively using it at the moment. I am using CMake 3.9.1 (provided by Homebrew) with AppleClang clang-800.0.42.1 (LLVM 8.0.0).
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
- duplicates
-
QTCREATORBUG-18856 Clang: hang on right-click when using clang code model plugin
- Closed