This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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

--- Comment #6 from Martin Liška <marxin at gcc dot gnu.org> ---
(In reply to Marco Castelluccio from comment #5)
> (In reply to Martin Liška from comment #4)
> > (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'm having a hard time installing debugging symbols here, I might have to
> build GCC from scratch.
> If you already have a debug build of GCC 6 lurking around, you could try if
> you could reproduce the crash yourself.

Yes, but am I right that the gcda and gcno files attached are created with GCC
5.4?
I can't reproduce the segfault on my machine. Please paste command line
invocation.

> 
> > I did quite some fixes to gcov that are included in GCC 7.x branch. Can you
> > please test a new release?
> 
> We are testing with GCC 6 now, and will try with GCC 7 later on.

Yes, please test newer versions.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]