http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60171
Bug ID: 60171
Summary: SEGFAULT when compiling with --coverage on travis-ci
Product: gcc
Version: 4.6.3
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: gcov-profile
Assignee: unassigned at gcc dot gnu.org
Reporter: lomato at gmail dot com
I'm experiencing a bug when compiling and running a code on travis-ci.
In 2 different projects, when added --coverage, they both crash. Travis-ci is
an automated platform that doesn't allow me to have an interactive shell, but I
can run gdb scripts on it. I've filed a bug on their github account, and they
suggested me to open one here, to have help/suggestions from you too.
Here you can find the bug opened on travis
https://github.com/travis-ci/travis-ci/issues/1966
where you can watch the runs with the segfaults and the gdb runs.
The strangest thing is that when backtracing on gdb, it returns me a
meaningless line (the last one of the source file, a line with "}" ).