public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug gcov-profile/48361] New: gcov freezes when using --all-blocks (-a) flag.
@ 2011-03-30 11:56 lieutenantfeist at hotmail dot de
2011-05-20 17:46 ` [Bug gcov-profile/48361] " marc.glisse at normalesup dot org
` (9 more replies)
0 siblings, 10 replies; 11+ messages in thread
From: lieutenantfeist at hotmail dot de @ 2011-03-30 11:56 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48361
Summary: gcov freezes when using --all-blocks (-a) flag.
Product: gcc
Version: 4.3.3
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: gcov-profile
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: lieutenantfeist@hotmail.de
lcov stopped processing files and was stuck on particular ones. The problem was
eventually narrowed down to the gcov call which, when enabling error and std
output, showed that it got stuck while trying to create a
'#path#to#current#header.h.gcov' file. Making sure that gcov is not called with
the -a (or --all-blocks) flag enabled, allowed gcov to finish successfully.
This does not apply to all .gcda files being analyzed, just some files which
aren't drastically different from others which get processed fine when using
the -a option.
Chris
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug gcov-profile/48361] gcov freezes when using --all-blocks (-a) flag.
2011-03-30 11:56 [Bug gcov-profile/48361] New: gcov freezes when using --all-blocks (-a) flag lieutenantfeist at hotmail dot de
@ 2011-05-20 17:46 ` marc.glisse at normalesup dot org
2012-05-21 21:08 ` ben at salilab dot org
` (8 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: marc.glisse at normalesup dot org @ 2011-05-20 17:46 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48361
Marc Glisse <marc.glisse at normalesup dot org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |marc.glisse at normalesup
| |dot org
--- Comment #1 from Marc Glisse <marc.glisse at normalesup dot org> 2011-05-20 17:16:38 UTC ---
I noticed the same thing. The files available here:
http://geometrica.saclay.inria.fr/team/Marc.Glisse/tmp/cov-bug/
send gcov-4.6 -a into an infinite loop while they crash gcov-4.7 -a (x86_64
debian testing system).
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug gcov-profile/48361] gcov freezes when using --all-blocks (-a) flag.
2011-03-30 11:56 [Bug gcov-profile/48361] New: gcov freezes when using --all-blocks (-a) flag lieutenantfeist at hotmail dot de
2011-05-20 17:46 ` [Bug gcov-profile/48361] " marc.glisse at normalesup dot org
@ 2012-05-21 21:08 ` ben at salilab dot org
2012-07-22 0:20 ` steven at gcc dot gnu.org
` (7 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: ben at salilab dot org @ 2012-05-21 21:08 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48361
--- Comment #2 from Ben Webb <ben at salilab dot org> 2012-05-21 21:05:49 UTC ---
Created attachment 27465
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=27465
inputs.tar.gz
I'm seeing very similar behavior running gcov on the attached files
(inputs.tar.gz contains utility.gcda and utility.gcno).
"gcov utility.gcda -b -c -a -p" hangs indefinitely (at least, it ran for 24
hours before I killed it)
"gcov utility.gcda -b -c -p" returns in less than a second.
This is using Fedora 16's build on an x86_64 system (gcc-4.6.3-2.fc16.x86_64
RPM).
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug gcov-profile/48361] gcov freezes when using --all-blocks (-a) flag.
2011-03-30 11:56 [Bug gcov-profile/48361] New: gcov freezes when using --all-blocks (-a) flag lieutenantfeist at hotmail dot de
2011-05-20 17:46 ` [Bug gcov-profile/48361] " marc.glisse at normalesup dot org
2012-05-21 21:08 ` ben at salilab dot org
@ 2012-07-22 0:20 ` steven at gcc dot gnu.org
2013-11-21 18:54 ` tim.besard at gmail dot com
` (6 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: steven at gcc dot gnu.org @ 2012-07-22 0:20 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48361
Steven Bosscher <steven at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2012-07-22
CC| |steven at gcc dot gnu.org
Ever Confirmed|0 |1
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug gcov-profile/48361] gcov freezes when using --all-blocks (-a) flag.
2011-03-30 11:56 [Bug gcov-profile/48361] New: gcov freezes when using --all-blocks (-a) flag lieutenantfeist at hotmail dot de
` (2 preceding siblings ...)
2012-07-22 0:20 ` steven at gcc dot gnu.org
@ 2013-11-21 18:54 ` tim.besard at gmail dot com
2014-01-21 8:40 ` chan.pen.cheong at gmail dot com
` (5 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: tim.besard at gmail dot com @ 2013-11-21 18:54 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48361
Tim Besard <tim.besard at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |tim.besard at gmail dot com
--- Comment #3 from Tim Besard <tim.besard at gmail dot com> ---
Also confirmed with gcc 4.8.2 from Debian, as well as a nightly build of 4.9.0.
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug gcov-profile/48361] gcov freezes when using --all-blocks (-a) flag.
2011-03-30 11:56 [Bug gcov-profile/48361] New: gcov freezes when using --all-blocks (-a) flag lieutenantfeist at hotmail dot de
` (3 preceding siblings ...)
2013-11-21 18:54 ` tim.besard at gmail dot com
@ 2014-01-21 8:40 ` chan.pen.cheong at gmail dot com
2014-03-06 1:19 ` john.carter at taitradio dot com
` (4 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: chan.pen.cheong at gmail dot com @ 2014-01-21 8:40 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48361
cautionsign <chan.pen.cheong at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |chan.pen.cheong at gmail dot com
--- Comment #4 from cautionsign <chan.pen.cheong at gmail dot com> ---
Just to add on, the issue also happen in gcc 4.4.7 from RHE 6.4. Anyone have
any possible solution or workaround for it? If I disable the all-blocks option,
it will lost the branch coverage data.
Thanks!
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug gcov-profile/48361] gcov freezes when using --all-blocks (-a) flag.
2011-03-30 11:56 [Bug gcov-profile/48361] New: gcov freezes when using --all-blocks (-a) flag lieutenantfeist at hotmail dot de
` (4 preceding siblings ...)
2014-01-21 8:40 ` chan.pen.cheong at gmail dot com
@ 2014-03-06 1:19 ` john.carter at taitradio dot com
2020-09-24 15:44 ` p.padavala at camlintechnologies dot com
` (3 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: john.carter at taitradio dot com @ 2014-03-06 1:19 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48361
John Carter <john.carter at taitradio dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |john.carter at taitradio dot com
--- Comment #5 from John Carter <john.carter at taitradio dot com> ---
Seems present in Ubuntu Saucy gcov version 4.8.1
Seems related to / Duplicate of ...
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42945
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug gcov-profile/48361] gcov freezes when using --all-blocks (-a) flag.
2011-03-30 11:56 [Bug gcov-profile/48361] New: gcov freezes when using --all-blocks (-a) flag lieutenantfeist at hotmail dot de
` (5 preceding siblings ...)
2014-03-06 1:19 ` john.carter at taitradio dot com
@ 2020-09-24 15:44 ` p.padavala at camlintechnologies dot com
2020-09-25 8:35 ` marxin at gcc dot gnu.org
` (2 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: p.padavala at camlintechnologies dot com @ 2020-09-24 15:44 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=48361
Prasannanjaneyulu <p.padavala at camlintechnologies dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |p.padavala@camlintechnologi
| |es.com
--- Comment #16 from Prasannanjaneyulu <p.padavala at camlintechnologies dot com> ---
I still see this problem in GCC 5.4.0. I am on ubuntu 16.04.12 with lcov
version 1.12 and gcov version is 5.4.0.
This is how it is compiling:
----------------------------
g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -fprofile-arcs -ftest-coverage
-DGITVERSION=\"2.2.4-2-gc134167-dirty\" -O2 -Wall -Wextra -pedantic
-I/usr/local/include/ -L/usr/local/lib/ -MT Helper-abc.o -MD -MP -MF
.deps/Helper-abc.Tpo -c -o Helper-abc.o `test -f 'abc.cpp' || echo './'`abc.cpp
With branch coverage enabled the lcov call is freezing
lcov --rc lcov_branch_coverage=1 --directory $PWD --capture --output-file
tests_coverage.info
Only the .gcda file generated for abc.cpp is freezing rest it is ok. I am
literally desparate for some workaround. It's been a long standing ticket not
seen any workaround or fix.
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug gcov-profile/48361] gcov freezes when using --all-blocks (-a) flag.
2011-03-30 11:56 [Bug gcov-profile/48361] New: gcov freezes when using --all-blocks (-a) flag lieutenantfeist at hotmail dot de
` (6 preceding siblings ...)
2020-09-24 15:44 ` p.padavala at camlintechnologies dot com
@ 2020-09-25 8:35 ` marxin at gcc dot gnu.org
2020-09-25 8:49 ` p.padavala at camlintechnologies dot com
2020-09-25 8:51 ` marxin at gcc dot gnu.org
9 siblings, 0 replies; 11+ messages in thread
From: marxin at gcc dot gnu.org @ 2020-09-25 8:35 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=48361
--- Comment #17 from Martin Liška <marxin at gcc dot gnu.org> ---
Please update to at least GCC 8.4.0, it should be fixed there.
Older releases are not supported right now.
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug gcov-profile/48361] gcov freezes when using --all-blocks (-a) flag.
2011-03-30 11:56 [Bug gcov-profile/48361] New: gcov freezes when using --all-blocks (-a) flag lieutenantfeist at hotmail dot de
` (7 preceding siblings ...)
2020-09-25 8:35 ` marxin at gcc dot gnu.org
@ 2020-09-25 8:49 ` p.padavala at camlintechnologies dot com
2020-09-25 8:51 ` marxin at gcc dot gnu.org
9 siblings, 0 replies; 11+ messages in thread
From: p.padavala at camlintechnologies dot com @ 2020-09-25 8:49 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=48361
--- Comment #18 from Prasannanjaneyulu <p.padavala at camlintechnologies dot com> ---
Thank you @martin. I am not sure whether ubuntu 16.04 is compatible with gcc
8.4.0. Our app. is currently built for ubuntu 16.04 and I don't know what
breaking changes it could bring if we upgrade gcc.
Do you know any workaround other than disabling the whole branch coverage?
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug gcov-profile/48361] gcov freezes when using --all-blocks (-a) flag.
2011-03-30 11:56 [Bug gcov-profile/48361] New: gcov freezes when using --all-blocks (-a) flag lieutenantfeist at hotmail dot de
` (8 preceding siblings ...)
2020-09-25 8:49 ` p.padavala at camlintechnologies dot com
@ 2020-09-25 8:51 ` marxin at gcc dot gnu.org
9 siblings, 0 replies; 11+ messages in thread
From: marxin at gcc dot gnu.org @ 2020-09-25 8:51 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=48361
--- Comment #19 from Martin Liška <marxin at gcc dot gnu.org> ---
(In reply to Prasannanjaneyulu from comment #18)
> Thank you @martin. I am not sure whether ubuntu 16.04 is compatible with gcc
> 8.4.0. Our app. is currently built for ubuntu 16.04 and I don't know what
> breaking changes it could bring if we upgrade gcc.
I strongly recommend to update to a supported GCC. Note that in the meantime
we've fixed many issues that can theoretically affect your application.
>
> Do you know any workaround other than disabling the whole branch coverage?
No.
^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2020-09-25 8:51 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-03-30 11:56 [Bug gcov-profile/48361] New: gcov freezes when using --all-blocks (-a) flag lieutenantfeist at hotmail dot de
2011-05-20 17:46 ` [Bug gcov-profile/48361] " marc.glisse at normalesup dot org
2012-05-21 21:08 ` ben at salilab dot org
2012-07-22 0:20 ` steven at gcc dot gnu.org
2013-11-21 18:54 ` tim.besard at gmail dot com
2014-01-21 8:40 ` chan.pen.cheong at gmail dot com
2014-03-06 1:19 ` john.carter at taitradio dot com
2020-09-24 15:44 ` p.padavala at camlintechnologies dot com
2020-09-25 8:35 ` marxin at gcc dot gnu.org
2020-09-25 8:49 ` p.padavala at camlintechnologies dot com
2020-09-25 8:51 ` marxin at gcc dot gnu.org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).