Commit Graph

32 Commits

Author SHA1 Message Date
Mike Hommey
4b432826a3 Bug 1432395 - Rename valgrind suppressions files to something more generic. r=froydnj
The MACHTYPE bash variable is an odd thing that returns e.g.
x86_64-redhat-linux-gnu on a CentOS system, but x86_64-pc-linux-gnu
on a Debian system, and possibly something different on other distros.

mach valgrind-test is the only place actually relying on MACHTYPE.
Others rely on information from python modules. Uniformize that, and use
the more generic 'pc' rather than 'redhat'.
2018-01-27 10:22:56 +09:00
Julian Seward
7b4066d689 Bug 1382280 - Update the version of Valgrind in the desktop-build image to one with unstripped shared libraries (part 3). r=n.nethercote.
This patch:

* Adds a suppression for some leaks in libLLVM-3.6-mesa.so.

* Adds Valgrind flag --keep-debuginfo=yes so that the abovementioned leak
  stacks can be symbolised and hence suppressed even after
  libLLVM-3.6-mesa.so is unmapped from the process.

* Adds Valgrind flag --expensive-definedness-checks=yes as an attempt to
  reduce Memcheck false positives from LLVM and rustc compiled code.  This
  change is aimed primarily at bug 1365915.

MozReview-Commit-ID: KiOZG2O8wzs
2017-08-07 11:49:28 +02:00
Sebastian Hengst
b869b2a2ef Backed out changeset 026b0b69ca23 (bug 1364068) 2017-05-26 10:43:12 +02:00
Alessio Placitelli
eb1a5cb59a Bug 1364068 - Properly cleanup libcurl in the pingsender. r=gsvelto,jseward
This additionally changes exit() calls with |return VALUE| so
that we are sure to call the destructors and valgrind doesn't complain.

Moreover, this disables the 'new-profile' ping when Firefox is ran
on valgrind.

MozReview-Commit-ID: BlGE9w6yGCL
2017-05-24 19:27:33 +02:00
Julian Seward
b8423e0363 Bug 1309851 - Fix "Intermittent valgrind-test | Valgrind timed out (reached 1800 second limit)". r=n.nethercote@gmail.com. 2016-11-10 11:25:19 +01:00
Andrew Halberstadt
e571a26457 Bug 1255567 - Sign quitter extension for valgrind-test and pgo/profileserver, r=jgriffin
MozReview-Commit-ID: HtH8z4rBSMY
2016-03-10 15:37:51 -05:00
Nicholas Nethercote
2dfabd922b Bug 1250393 - Add timestamps to |mach valgrind-test| and increase its timeout. r=glandium. 2016-02-26 13:22:43 +11:00
Carsten "Tomcat" Book
5ba717bd52 Backed out changeset 200da85932e9 (bug 1230862) for valgrind perma failures 2016-02-10 11:04:50 +01:00
Julien Pagès
8c54a35567 Bug 1230862 - Remove mozhttpd. r=wlach 2016-02-09 03:26:43 +01:00
Jean-Yves Avenard
c904ede718 Bug 1234092: P4. Remove gstreamer exception from valgrind config. r=njn
This is a reversal of commit b28d496da7bf48432cb3aac3d10e7a66a267421c
2015-12-23 01:14:24 +11:00
Mike Hommey
91b963bab3 Bug 1187664 - Don't run gst-plugin-scanner through valgrind, it only leads to irrelevant errors. r=njn 2015-08-04 07:05:22 +09:00
Carsten "Tomcat" Book
f562bbdb96 Backed out changeset 695b89efecfa (bug 1187664) 2015-08-03 14:35:09 +02:00
Mike Hommey
e7bd8cbaad Bug 1187664 - Don't run gst-plugin-scanner through valgrind, it only leads to irrelevant errors. r=njn 2015-07-31 16:41:11 +09:00
Ryan VanderMeulen
1b69298ebc Backed out changesets be94d55627f4 and dfc1cb1c26d9 (bug 1187664) because they depend on bug 1186748. 2015-07-30 12:07:38 -04:00
Mike Hommey
1ffb6daa65 Bug 1187664 - Don't run gst-plugin-scanner through valgrind, it only leads to irrelevant errors. r=njn 2015-07-30 08:49:30 +09:00
Mike Hommey
f0c46c0803 Bug 1187245 - Make .mozconfig.mk environment variables available to mach valgrind-test. r=gps 2015-07-28 08:19:14 +09:00
Mike Hommey
da4ab1ac38 Bug 1187662 - Add the -v option to valgrind when running valgrind-test. r=njn
This will add more verbosity, with the intent of having the triggered
suppressions be displayed in the form:
"--23983-- used_suppression:      3 Bug 794372 /builds/slave/try-l64-valgrind-0000000000000/src/build/valgrind/cross-architecture.sup:90 suppressed: 20,736 bytes in 648 blocks"
2015-07-27 08:18:44 +09:00
Gregory Szorc
d993a444fa Bug 1176642 - Use absolute_import in mach_commands.py files; r=glandium
This removes ambiguity as to which modules are being imported, making
import slightly faster as Python doesn't need to test so many
directories for file presence.

All files should already be using absolute imports because mach command
modules aren't imported to the package they belong to: they instead
belong to the "mach" package. So relative imports shouldn't have been
used.
2015-06-21 17:39:09 -07:00
Gregory Szorc
0222a3a19c Bug 1176642 - Remove unused imports; r=glandium 2015-06-25 12:16:38 -07:00
Nicholas Nethercote
65faa2e15d Bug 1069695 - Use --trace-children=yes in |mach valgrind-test|. r=jseward. 2014-11-11 20:47:00 -08:00
Sylvestre Ledru
0650e71d3a Bug 1050715 - Update the description of the various tests targed proposed by './mach help' r=jmaher 2014-08-09 15:37:29 +02:00
Nicholas Nethercote
db10d468c5 Bug 1029204 - |mach valgrind-test|: add a timeout. r=ted. 2014-07-10 21:05:22 -07:00
Andrew Halberstadt
df364bfcf8 Bug 997244 - Move emulator.py out of marionette and into mozrunner, r=wlach,mdas,jgriffin 2014-06-19 14:17:26 -04:00
Nicholas Nethercote
7aa3f93392 Bug 981359 - |mach valgrind-test|: Increase --num-callers from 20 to 36. r=gkw. 2014-03-11 14:55:42 -07:00
Andrew McCreight
fc214e24fa Bug 972940 - Rename XPCOM_CC_ env vars to MOZ_CC_. r=smaug,njn 2014-02-20 14:27:03 -08:00
Nicholas Nethercote
4fd27aea88 Bug 966864 - |mach valgrind-test|: Parse Valgrind output so that different errors are distinguished for TBPL. r=gps. 2014-02-05 16:17:09 -08:00
Nicholas Nethercote
0cb334bdd3 Bug 957410 - Make |mach valgrind-test| detect errors in child processes. r=gps. 2014-01-22 16:26:55 -08:00
Nicholas Nethercote
a101f2e1ef Bug 958376 - |mach valgrind-test|: Add a --suppressions option. r=gps. 2014-01-19 13:53:21 -08:00
Nicholas Nethercote
0f6af555f2 Bug 957487 - |mach valgrind-test|: Use --vex-iropt-register-updates=allregs-at-mem-access. r=gkw. 2014-01-08 14:02:02 -08:00
Nicholas Nethercote
d0f234a8e8 Bug 952397 - Merge |mach valgrind-test| and valgrind_test.py. r=ted. 2013-12-19 21:33:01 -08:00
Nicholas Nethercote
5c1002a98a Bug 631842 (part 2b) - Fix a mis-handling of platform-specific suppression files in |mach valgrind-test|. r=me. 2013-12-19 17:33:34 -08:00
Nicholas Nethercote
25b23d7179 Bug 631842 (part 2) - Implement |mach valgrind-test|. r=gps. 2013-12-18 17:36:08 -08:00