On 07/01/2019 14:27, Nikolai Kosjar wrote:
On 1/7/19 12:26 PM, Steve Atkins wrote:
On Dec 14, 2018, at 1:16 PM, Nikos Chantziaras <rea...@gmail.com> wrote:

While using Creator 4.8 on Linux (Gentoo 64-bit), sometimes dmesg prints these:

[ 5309.005887] clang-7[26656]: segfault at 8 ip 0000000002da1ee8 sp 
00007ffecaac4100 error 4 in clang-7[400000+4fbf000]
[ 5309.005893] Code: e8 4c 39 f7 0f 84 34 fd ff ff 48 8b 34 24 e8 ff f8 ff ff e9 26 
fd ff ff 48 89 c7 48 8b 47 20 ba 01 00 00 00 66 0f 1f 44 00 00 <48> 8b 40 08 83 
c2 01 48 83 e0 f8 75 f3 48 8b 44 24 18 39 50 28 0f
[ 5310.852181] clang-7[26658]: segfault at 8 ip 0000000002da1ee8 sp 
00007ffdd83022e0 error 4 in clang-7[400000+4fbf000]
[ 5310.852187] Code: e8 4c 39 f7 0f 84 34 fd ff ff 48 8b 34 24 e8 ff f8 ff ff e9 26 
fd ff ff 48 89 c7 48 8b 47 20 ba 01 00 00 00 66 0f 1f 44 00 00 <48> 8b 40 08 83 
c2 01 48 83 e0 f8 75 f3 48 8b 44 24 18 39 50 28 0f
[ 5320.971586] clang-7[26687]: segfault at 8 ip 0000000002da1ee8 sp 
00007ffec51e4f70 error 4 in clang-7[400000+4fbf000]
[ 5320.971592] Code: e8 4c 39 f7 0f 84 34 fd ff ff 48 8b 34 24 e8 ff f8 ff ff e9 26 
fd ff ff 48 89 c7 48 8b 47 20 ba 01 00 00 00 66 0f 1f 44 00 00 <48> 8b 40 08 83 
c2 01 48 83 e0 f8 75 f3 48 8b 44 24 18 39 50 28 0f
[ 5326.328998] clang-7[26695]: segfault at 8 ip 0000000002da1ee8 sp 
00007fff7c4d2030 error 4 in clang-7[400000+4fbf000]
[ 5326.329004] Code: e8 4c 39 f7 0f 84 34 fd ff ff 48 8b 34 24 e8 ff f8 ff ff e9 26 
fd ff ff 48 89 c7 48 8b 47 20 ba 01 00 00 00 66 0f 1f 44 00 00 <48> 8b 40 08 83 
c2 01 48 83 e0 f8 75 f3 48 8b 44 24 18 39 50 28 0f

Anyone else getting this? This is the official Creator 4.8 64-bit Linux build 
installed using the online installer.

I get similar SEGVs on macOS. The clang backend is rather crashy, particularly 
when the code in the editor isn't valid (because it's in the process of being 
edited). The more recognizable errors look like memory corruption or race 
conditions.

Doesn't the log messages mean that a process "clang-7" segfaulted? That
is, rather a compiler invocation instead of the clangbackend?!

A "clang-7" binary is shipped with Creator. It seems to be crashing from time to time. I think it depends on the kinds of checks I enable in the code model. At first I used a ton of them (shiny new toy to experiment with). After I dialed it down due to the checks slowing down the editor to a crawl, I stopped getting these crashes.

_______________________________________________
Qt-creator mailing list
Qt-creator@qt-project.org
https://lists.qt-project.org/listinfo/qt-creator

Reply via email to