Bugs item #3609873, was opened at 2013-04-03 02:03 Message generated for change (Comment added) made by You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=103382&aid=3609873&group_id=3382
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Tools Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Jookia () Assigned to: Nobody/Anonymous (nobody) Summary: lcov fails when removing lines from a file Initial Comment: When compiling a file with GCC, then removing a line and compiling it again, lcov will be unable to read the generated coverage files. I've attached a shell script that does this behaviour. I'm on Arch Linux x86_64 with GCC 4.7.2 and lcov 1.10 (although I have tested it with the trunk version and gotten the same results.) ---------------------------------------------------------------------- >Comment By: Jookia () Date: 2013-04-10 04:14 Message: I *think* I've fixed it, based on the idea that it's garbage left over by GCC resizing a file. This patch makes it so if an unhandled record leads to the end of a file, it finishes up its stuff, as that's what seems to be happening. An interesting thing to note is that this doesn't happen with GCC 4.4, on the same sytem. I bisected GCC to find the the change happens when BASE_VER is updated to 4.7, so I'm curious if there's something going on with the new GCC 4.7 compatibility code. Or maybe my test is faulty with bisecting. ---------------------------------------------------------------------- Comment By: Melvin Kicchi (melonstorm) Date: 2013-04-04 20:33 Message: Confirmed on Linux Mint x86_64 with gcc 4.7.2 and lcov 1.9. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=103382&aid=3609873&group_id=3382 ------------------------------------------------------------------------------ Try New Relic Now & We'll Send You this Cool Shirt New Relic is the only SaaS-based application performance monitoring service that delivers powerful full stack analytics. Optimize and monitor your browser, app, & servers with just a few lines of code. Try New Relic and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr _______________________________________________ Ltp-list mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ltp-list
