[Bug gcov-profile/82614] GCOV crashes while parsing gcda file

marxin at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Oct 19 12:00:00 GMT 2017


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82614

--- Comment #4 from Martin Liška <marxin at gcc dot gnu.org> ---
(In reply to Marco Castelluccio from comment #3)
> > Thanks for the report Marco. Looks it comes from Firefox, am I right?
> 
> Yes, that's correct. Actually, from a build of the JS shell.
> 
> > Which version of GCC have you been using?
> 
> The build was done with "gcc (Ubuntu 5.4.0-6ubuntu1~16.04.4) 5.4.0 20160609".
> 
> We were also able to reproduce the crash with a gcda generated normally,
> without __gcov_dump.

I see, not the GCC 5.x is not longer supported. Anyway, please paste backtrace
from gcov when the segfaults happens.

I did quite some fixes to gcov that are included in GCC 7.x branch. Can you
please test a new release?


More information about the Gcc-bugs mailing list