Closed Bug 1456020 Opened 8 years ago Closed 8 years ago

Intermittent thread '<unnamed>' panicked at 'gcov wasn't successfully executed on /tmp/grcov.kusxgpSGWXIk/mfbt/lz4_1.gcno', src/main.rs:672:8

Categories

(Testing :: Code Coverage, defect, P5)

Version 3
defect

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1433868

People

(Reporter: intermittent-bug-filer, Unassigned)

References

Details

(Keywords: intermittent-failure)

Filed by: ncsoregi [at] mozilla.com https://treeherder.mozilla.org/logviewer.html#?job_id=175055013&repo=mozilla-central https://queue.taskcluster.net/v1/task/UK3TXD7dQSSCD5sPxRtA4A/runs/0/artifacts/public/logs/live_backing.log [task 2018-04-23T00:01:07.650Z] 00:01:07 ERROR - Errors received: [task 2018-04-23T00:01:07.650Z] 00:01:07 INFO - Reading from file tmpfile_stderr [task 2018-04-23T00:01:07.652Z] 00:01:07 ERROR - thread '<unnamed>' panicked at 'gcov wasn't successfully executed on /tmp/grcov.kusxgpSGWXIk/mfbt/lz4_1.gcno', src/main.rs:672:8 [task 2018-04-23T00:01:07.652Z] 00:01:07 ERROR - note: Run with `RUST_BACKTRACE=1` for a backtrace. [task 2018-04-23T00:01:07.652Z] 00:01:07 ERROR - thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Any', /checkout/src/libcore/result.rs:906:4 [task 2018-04-23T00:01:07.653Z] 00:01:07 ERROR - Exception during post-action for run-tests: Traceback (most recent call last): [task 2018-04-23T00:01:07.653Z] 00:01:07 ERROR - File "/builds/worker/workspace/mozharness/mozharness/base/script.py", line 2027, in run_action [task 2018-04-23T00:01:07.654Z] 00:01:07 ERROR - method(action, success=success and self.return_code == 0) [task 2018-04-23T00:01:07.656Z] 00:01:07 ERROR - File "/builds/worker/workspace/mozharness/mozharness/mozilla/testing/codecoverage.py", line 268, in _package_coverage_data [task 2018-04-23T00:01:07.656Z] 00:01:07 ERROR - grcov_output_file, jsvm_output_file = self.parse_coverage_artifacts(self.gcov_dir, self.jsvm_dir) [task 2018-04-23T00:01:07.656Z] 00:01:07 ERROR - File "/builds/worker/workspace/mozharness/mozharness/mozilla/testing/codecoverage.py", line 231, in parse_coverage_artifacts [task 2018-04-23T00:01:07.656Z] 00:01:07 ERROR - throw_exception=True, [task 2018-04-23T00:01:07.656Z] 00:01:07 ERROR - File "/builds/worker/workspace/mozharness/mozharness/base/script.py", line 1612, in get_output_from_command [task 2018-04-23T00:01:07.656Z] 00:01:07 ERROR - raise subprocess.CalledProcessError(p.returncode, command) [task 2018-04-23T00:01:07.657Z] 00:01:07 ERROR - CalledProcessError: Command '['/tmp/tmp3Njafh/grcov', '-t', 'lcov', '-p', '/builds/worker/workspace/build/src/', '--ignore-dir', 'gcc*', '--ignore-dir', 'vs2017_*', '/tmp/tmp3Njafh/target.code-coverage-gcno.zip', '/builds/worker/workspace/code-coverage-gcda.zip']' returned non-zero exit status 101 [task 2018-04-23T00:01:07.657Z] 00:01:07 INFO - Running post-action listener: _resource_record_post_action [task 2018-04-23T00:01:07.657Z] 00:01:07 INFO - [mozharness: 2018-04-23 00:01:07.656425Z] Finished run-tests step (success) [task 2018-04-23T00:01:07.657Z] 00:01:07 FATAL - Aborting due to failure in post-action listener. [task 2018-04-23T00:01:07.657Z] 00:01:07 FATAL - Running post_fatal callback... [task 2018-04-23T00:01:07.657Z] 00:01:07 FATAL - Exiting -1
[task 2018-04-23T00:00:44.133Z] 00:00:44 INFO - # TBPL SUCCESS # [task 2018-04-23T00:00:44.133Z] 00:00:44 INFO - The mochitest suite: mochitest-media ran with return status: SUCCESS [task 2018-04-23T00:00:44.138Z] 00:00:44 INFO - Running post-action listener: _package_coverage_data [task 2018-04-23T00:00:44.138Z] 00:00:44 INFO - Running command: ['zip', '-q', '-0', '-r', '/builds/worker/workspace/code-coverage-gcda.zip', '.'] in /tmp/tmpOLsPYD [task 2018-04-23T00:00:44.138Z] 00:00:44 INFO - Copy/paste: zip -q -0 -r /builds/worker/workspace/code-coverage-gcda.zip . [task 2018-04-23T00:00:44.563Z] 00:00:44 INFO - Return code: 0 [task 2018-04-23T00:00:46.976Z] 00:00:46 INFO - Getting output from command: ['/tmp/tmp3Njafh/grcov', '-t', 'lcov', '-p', '/builds/worker/workspace/build/src/', '--ignore-dir', 'gcc*', '--ignore-dir', 'vs2017_*', '/tmp/tmp3Njafh/target.code-coverage-gcno.zip', '/builds/worker/workspace/code-coverage-gcda.zip'] [task 2018-04-23T00:00:46.976Z] 00:00:46 INFO - Copy/paste: /tmp/tmp3Njafh/grcov -t lcov -p /builds/worker/workspace/build/src/ --ignore-dir gcc* --ignore-dir vs2017_* /tmp/tmp3Njafh/target.code-coverage-gcno.zip /builds/worker/workspace/code-coverage-gcda.zip *** buffer overflow detected ***: gcov terminated ======= Backtrace: ========= /lib/x86_64-linux-gnu/libc.so.6(+0x777e5)[0x7fb04dd677e5] /lib/x86_64-linux-gnu/libc.so.6(__fortify_fail+0x5c)[0x7fb04de0915c] /lib/x86_64-linux-gnu/libc.so.6(+0x117160)[0x7fb04de07160] /lib/x86_64-linux-gnu/libc.so.6(+0x1166c9)[0x7fb04de066c9] /lib/x86_64-linux-gnu/libc.so.6(_IO_default_xsputn+0x80)[0x7fb04dd6b6b0] /lib/x86_64-linux-gnu/libc.so.6(_IO_vfprintf+0xc90)[0x7fb04dd3de00] /lib/x86_64-linux-gnu/libc.so.6(__vsprintf_chk+0x84)[0x7fb04de06754] /lib/x86_64-linux-gnu/libc.so.6(__sprintf_chk+0x7d)[0x7fb04de066ad] gcov[0x42d4b2] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf0)[0x7fb04dd10830] gcov[0x439cf9] ======= Memory map: ======== 00400000-00472000 r-xp 00000000 fc:00 3541123 /usr/bin/gcov-5 00671000-00673000 r--p 00071000 fc:00 3541123 /usr/bin/gcov-5 00673000-00674000 rw-p 00073000 fc:00 3541123 /usr/bin/gcov-5 01f56000-0200d000 rw-p 00000000 00:00 0 [heap] 7fb04d802000-7fb04d818000 r-xp 00000000 fc:00 3280450 /lib/x86_64-linux-gnu/libgcc_s.so.1 7fb04d818000-7fb04da17000 ---p 00016000 fc:00 3280450 /lib/x86_64-linux-gnu/libgcc_s.so.1 7fb04da17000-7fb04da18000 rw-p 00015000 fc:00 3280450 /lib/x86_64-linux-gnu/libgcc_s.so.1 7fb04da18000-7fb04dcf0000 r--p 00000000 fc:00 3672917 /usr/lib/locale/locale-archive 7fb04dcf0000-7fb04deb0000 r-xp 00000000 fc:00 3280429 /lib/x86_64-linux-gnu/libc-2.23.so 7fb04deb0000-7fb04e0b0000 ---p 001c0000 fc:00 3280429 /lib/x86_64-linux-gnu/libc-2.23.so 7fb04e0b0000-7fb04e0b4000 r--p 001c0000 fc:00 3280429 /lib/x86_64-linux-gnu/libc-2.23.so 7fb04e0b4000-7fb04e0b6000 rw-p 001c4000 fc:00 3280429 /lib/x86_64-linux-gnu/libc-2.23.so 7fb04e0b6000-7fb04e0ba000 rw-p 00000000 00:00 0 7fb04e0ba000-7fb04e0e0000 r-xp 00000000 fc:00 3280409 /lib/x86_64-linux-gnu/ld-2.23.so 7fb04e2b9000-7fb04e2bc000 rw-p 00000000 00:00 0 7fb04e2de000-7fb04e2df000 rw-p 00000000 00:00 0 7fb04e2df000-7fb04e2e0000 r--p 00025000 fc:00 3280409 /lib/x86_64-linux-gnu/ld-2.23.so 7fb04e2e0000-7fb04e2e1000 rw-p 00026000 fc:00 3280409 /lib/x86_64-linux-gnu/ld-2.23.so 7fb04e2e1000-7fb04e2e2000 rw-p 00000000 00:00 0 7ffe864ba000-7ffe864db000 rw-p 00000000 00:00 0 [stack] 7ffe8654a000-7ffe8654d000 r--p 00000000 00:00 0 [vvar] 7ffe8654d000-7ffe8654f000 r-xp 00000000 00:00 0 [vdso] ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0 [vsyscall]
Group: core-security
See Also: → 1433868
This is a buffer overflow in gcov, so not security sensitive.
Group: core-security
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.