[Bug gcov-profile/60171] New: SEGFAULT when compiling with --coverage on travis-ci

2014-02-13 Thread lomato at gmail dot com
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 "}" ).


[Bug gcov-profile/60171] SEGFAULT when compiling with --coverage on travis-ci

2014-02-13 Thread lomato at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60171

--- Comment #1 from Dario Lombardo  ---
On my local platform (ubuntu 12.04, with same version of gcc as travis), I
don't have the problem.