[LLVMbugs] [Bug 15684] New: recent clang "hangs" when scanning FreeBSD source code
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Fri Apr 5 02:44:02 PDT 2013
http://llvm.org/bugs/show_bug.cgi?id=15684
Bug ID: 15684
Summary: recent clang "hangs" when scanning FreeBSD source code
Product: clang
Version: trunk
Hardware: PC
OS: FreeBSD
Status: NEW
Severity: normal
Priority: P
Component: Static Analyzer
Assignee: kremenek at apple.com
Reporter: uspoerlein at gmail.com
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
Hey, I'm running scans using ToT clang against FreeBSD's head 3 times a week,
results can be seen here: http://scan.freebsd.your.org/freebsd-head/
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?
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20130405/85b5bd8f/attachment.html>
More information about the llvm-bugs
mailing list