I am running lcov to capture the code coverage but my lcov process is stuck somewhere. Here is the strace and lsof output:
strace -p 9167
strace: Process 9167 attached
fcntl(3, F_SETLKW, {l_type=F_RDLCK, l_whence=SEEK_SET, l_start=0, l_len=0}
/sbin/lsof -p 9167
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
gcov 9167 admin cwd DIR 0,88 20480 3196209040 /linux-gcc4-64/gcov/obj/reset_manager (rw-tap2-data.xyz.com:/cs44_nb/build)
gcov 9167 admin rtd DIR 253,0 4096 2 /
gcov 9167 admin txt REG 253,0 318928 9214523 /usr/bin/gcov
gcov 9167 admin mem REG 253,0 2156272 9177394 /usr/lib64/libc-2.17.so
gcov 9167 admin mem REG 253,0 1136944 9177402 /usr/lib64/libm-2.17.so
gcov 9167 admin mem REG 253,0 163312 9177387 /usr/lib64/ld-2.17.so
gcov 9167 admin 0u CHR 136,9 0t0 12 /dev/pts/9
gcov 9167 admin 1w CHR 1,3 0t0 1028 /dev/null
gcov 9167 admin 2u CHR 136,9 0t0 12 /dev/pts/9
gcov 9167 admin 3r REG 0,88 10800 3208575778 /linux-gcc4-64/gcov/obj/reset_manager/COInfo.gcda (rw-tap2-data.xyz.com:/cs44_nb/build)
Can someone Pls help me to debug this further?
Here are other details:
gdb version: 10.3.0
lcov version: 1.15.0
Thanks
I tried to run strace/lcov to debug this.