<html>
<head>
<base href="http://llvm.org/bugs/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - recent clang "hangs" when scanning FreeBSD source code"
href="http://llvm.org/bugs/show_bug.cgi?id=15684">15684</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>recent clang "hangs" when scanning FreeBSD source code
</td>
</tr>
<tr>
<th>Product</th>
<td>clang
</td>
</tr>
<tr>
<th>Version</th>
<td>trunk
</td>
</tr>
<tr>
<th>Hardware</th>
<td>PC
</td>
</tr>
<tr>
<th>OS</th>
<td>FreeBSD
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>Static Analyzer
</td>
</tr>
<tr>
<th>Assignee</th>
<td>kremenek@apple.com
</td>
</tr>
<tr>
<th>Reporter</th>
<td>uspoerlein@gmail.com
</td>
</tr>
<tr>
<th>CC</th>
<td>llvmbugs@cs.uiuc.edu
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr></table>
<p>
<div>
<pre>Hey, I'm running scans using ToT clang against FreeBSD's head 3 times a week,
results can be seen here: <a href="http://scan.freebsd.your.org/freebsd-head/">http://scan.freebsd.your.org/freebsd-head/</a>
These run in a VM with 4 cores or so and usually take around 14-18h, as you can
see from the logfile timestamps (the runs start at midnight). The last run that
was ok used r177463 from March 20th, the next run using r177833 from March 24th
did not finish, I had to kill a couple of clang processes that we using up over
100h of hours of CPU.
The current run has 3 hanging clang instances and doesn't progress at all, top
snapshot:
% top -b 5
last pid: 24911; load averages: 3.06, 3.02, 3.00 up 587+16:11:43
09:46:16
84 processes: 5 running, 78 sleeping, 1 stopped
Mem: 213M Active, 7978M Inact, 1152M Wired, 233M Cache, 1237M Buf, 2306M Free
Swap: 4093M Total, 7848K Used, 4086M Free
PID USERNAME THR PRI NICE SIZE RES STATE C TIME WCPU COMMAND
90516 uqs 1 129 10 64740K 55444K CPU3 3 127.4H 100.00% clang
1496 uqs 1 129 10 64740K 55508K CPU2 2 126.4H 100.00% clang
83115 uqs 1 128 10 48252K 39256K CPU1 0 127.7H 96.97% clang
853 root 1 44 0 23236K 1284K select 1 683:00 0.00%
vmtoolsd-real
1114 root 1 44 0 29312K 9492K select 1 386:26 0.00% bsnmpd
two of these are hung on scanning the nvi sources (these haven't changed in
quite some time)
% lsof|grep "clang.*freebsd-head"
clang 1496 uqs cwd VDIR 0,82 2560
2756720 /usr/obj/data/src/freebsd-head/usr.bin/vi
clang 1496 uqs txt VREG 0,82 24421
72763 /data/src/freebsd-head/contrib/nvi/vi/vs_refresh.c
clang 1496 uqs txt VREG 0,82 23106
3358307 /data/src/freebsd-head/sys/sys/cdefs.h
clang 1496 uqs txt VREG 0,82 16774
2735768 /usr/obj/data/src/freebsd-head/tmp/usr/include/stdio.h
clang 83115 uqs cwd VDIR 0,82 512
2734730 /usr/obj/data/src/freebsd-head/sys/boot/userboot/ficl
clang 83115 uqs txt VREG 0,82 23106
3358307 /data/src/freebsd-head/sys/sys/cdefs.h
clang 83115 uqs txt VREG 0,82 21844
3452753 /data/src/freebsd-head/sys/sys/queue.h
clang 83115 uqs txt VREG 0,82 42931
358839 /data/src/freebsd-head/sys/boot/ficl/ficl.h
clang 83115 uqs 3r VREG 0,82 4717
2735729 /usr/obj/data/src/freebsd-head/tmp/usr/include/limits.h
clang 90516 uqs cwd VDIR 0,82 2560
3226716
/usr/obj/data/src/freebsd-head/rescue/rescue/data/src/freebsd-head/usr.bin/vi
clang 90516 uqs txt VREG 0,82 24421
72763 /data/src/freebsd-head/contrib/nvi/vi/vs_refresh.c
clang 90516 uqs txt VREG 0,82 23106
3358307 /data/src/freebsd-head/sys/sys/cdefs.h
clang 90516 uqs txt VREG 0,82 16774
2735768 /usr/obj/data/src/freebsd-head/tmp/usr/include/stdio.h
What's a quick way to get a preprocessed file out of that?</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>