Граф коммитов

112 Коммитов

Автор SHA1 Сообщение Дата
Ralph Giles a7c4cd8963 Bug 1394696 - stylo: Suppress valgrind warning. r=jseward
LLVM can optimize code to a form `if B && A` when A is
always false but B is undefined. This triggers a valgrind
memcheck warning since the conditional depends on undefined
data but in practice it can never have side-effects.

Rust 1.20.0 seems to trigger this in the Option code. Since
we believe the transform is correct in these cases and
valgrind is incorrect to warn, we surpress the error.

Thanks to Julian Seward for the analysis and help
writing the suppression entries.

MozReview-Commit-ID: pF1Bmy5PRY
2017-09-20 09:19:18 -07:00
Eric Rahm 030b39d813 Bug 1393230 - Part 3: Convert the xpcom string classes to be templated on char type. r=njn, r=fitzgen, r=sfink
This removes the double-include macro hackery that we use to define two
separate string types (nsAString and nsACString) in favor of a templated
solution.

Annotations for Valgrind and the JS hazard analysis are updated as well as
the rust binding generations for string code.

--HG--
extra : rebase_source : 63ab2c4620cfcd4b764d42d654c82f30f984d016
extra : source : 9115364cd4aa078c49bba7911069f8178e55166f
2017-08-14 14:22:50 -07:00
Wander Lairson Costa 82b8df7dff Bug 1338651 part 2: Add suppression for leaks in libllvm-3.6-mesa. r=jseward
New leaks emerged after updating docker images for new home path [1].

[1] https://treeherder.mozilla.org/#/jobs?repo=try&revision=0477c33232a7&selectedJob=122583760

MozReview-Commit-ID: B1Yu4eSweo7

--HG--
extra : rebase_source : e07a25ea0e8c83eb680b4d3ac7cdbc96964135f8
2017-08-28 08:44:51 -03:00
Wander Lairson Costa 6332ed5b0a Bug 1338651 part 1: Change docker image home dir to /build. r=dustin,mshal
Using /home/worker is the build directory has a 30% talos performance
loss, because test machines has a /home mount directory.

MozReview-Commit-ID: 554IPMRWgzK

--HG--
extra : rebase_source : 00827d3f6bd705419bc801eb05b543af1ddc274f
2017-08-28 08:44:51 -03:00
J. Ryan Stinnett 79915f9599 Bug 1365915 - Add Valgrind suppressions for Stylo. r=jseward
MozReview-Commit-ID: 8XrPy6ovbm7
2017-08-14 12:53:23 -05:00
Julian Seward e714eb3dea 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
Wander Lairson Costa 285b4dbffb Bug 1382280 part 1: Upgrade valgrind r=ted
Bug 1338651 was backed out because when building a newer image, there
was a valgrind leak report that couldn't resolve symbols. Further
investigation showed the valgrind package installed had symbols stripped.

We upgrade valgrind version and build it from source with symbols.

We had to build inside the docker image because we need to run
"make install". Using "make dist" to generate a tar ball will also run
"make docs", and it is hard to make it work because of the outdated
texlive package present in CentOS 6.

We also apply a patch [1] to valgrind correctly generate symbols
for unloaded objects.

[1] https://bugs.kde.org/show_bug.cgi?id=79362#c62

MozReview-Commit-ID: 2IhuJY28Ke3
2017-08-10 13:42:11 -03:00
Mike Hommey beffc73961 Bug 1370366 - Remove valgrind.sh. r=njn
It was used for valgrind buildbot jobs, but those have been gone since
bug 1278611, and the taskcluster jobs use mozharness.

--HG--
extra : rebase_source : b9d39b1515a677d0662c2f13f21d83b953e70054
2017-06-06 06:29:14 +09:00
Sebastian Hengst 7586e917b7 Backed out changeset 026b0b69ca23 (bug 1364068) 2017-05-26 10:43:12 +02:00
Alessio Placitelli 8de8627df1 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

--HG--
extra : rebase_source : d21b7404ac8dba6f3664f0f8d375429a0dec0ee4
2017-05-24 19:27:33 +02:00
Mike Hommey 7971d3d14f Bug 1356683 - Use new tooltool wrapper for valgrind builds. r=chmanchester
--HG--
extra : rebase_source : a0d1152ff3f61c0e771ac67159d64936841d7707
2017-04-12 17:45:52 +09:00
Alessio Placitelli 7c7671ed07 Bug 1345153 - Suppress valgrind warnings for PR_SetEnv in SetupCrashReporterDirectory. r=njn
MozReview-Commit-ID: 4vV2EHsgTVT

--HG--
extra : rebase_source : c5af8757174610879dd7234d9d699483cf235bdf
2017-03-30 08:04:11 +02:00
Jeff Muizelaar da3210576b Bug 1119128. Eliminate gfxPangoFontGroup and gfxFontconfigUtils. r=lsalzman 2017-03-22 14:58:19 -04:00
David Major ed12ea611f Bug 1346078: Remove nsAString_internal and just use the nsAString name directly. r=bsmedberg
MozReview-Commit-ID: DWDEDMIVKm7

--HG--
extra : rebase_source : 7fe8dc07c816dca234c67761e61cdee372a87e97
2017-03-10 15:17:23 +13:00
Julian Seward b5cfe41a97 Bug 1343587 - Further suppressions for Mochitests on Valgrind on Taskcluster, March 2017. r=n.nethercote. 2017-03-02 16:14:47 +01:00
Julian Seward 9050f77b55 Bug 1334991 - Further suppressions for Mochitests on Valgrind on Taskcluster, Jan 2017. r=n.nethercote.
--HG--
extra : rebase_source : 9d760ecd457e9539fa5e848f8dc260f00e30fc6c
2017-02-02 10:24:48 +01:00
Martin Stransky 871d79fd06 Bug 1320686 - [nsLookAndFeel] Get styles for menu label, button text and combobox text colors from WidgetCache. r=karlt
--HG--
extra : rebase_source : 716e78588f3dfddd67aa88a59789077d16ee4c9f
2016-12-01 05:09:00 -05:00
Julian Seward 9c349f1195 Bug 1248365 - Make Valgrind Mochitests run greener on Taskcluster. r=n.nethercote.
--HG--
extra : rebase_source : d1c3a1fb594e73cb5978e81636a9b3ed3dd341aa
2016-11-28 15:46:43 +01:00
Julian Seward 22f11f7224 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
Matt Woodrow a2fe4a08d4 Bug 1288618 - Add a new valgrind suppression entry to fix a false positive with CPUID. r=njn 2016-09-21 21:26:31 +12:00
Carsten "Tomcat" Book f918af64da Backed out 16 changesets (bug 1288618) for bustage on a CLOSED TREE
Backed out changeset 06187d250f7a (bug 1288618)
Backed out changeset 2a47f8ea1d89 (bug 1288618)
Backed out changeset e179c8e8265d (bug 1288618)
Backed out changeset 25396a1af922 (bug 1288618)
Backed out changeset e98f835c6ee5 (bug 1288618)
Backed out changeset 24df0e89b273 (bug 1288618)
Backed out changeset f8bbdabdb6da (bug 1288618)
Backed out changeset 8b0adeab93df (bug 1288618)
Backed out changeset 95f23366de82 (bug 1288618)
Backed out changeset 63a9c689e1d5 (bug 1288618)
Backed out changeset 8f67443dccb8 (bug 1288618)
Backed out changeset 4e7fe69d5f45 (bug 1288618)
Backed out changeset 53b113acee42 (bug 1288618)
Backed out changeset 2583ae4e2e3b (bug 1288618)
Backed out changeset 75a61d0e71b7 (bug 1288618)
Backed out changeset da740b4fd484 (bug 1288618)
2016-09-21 08:44:11 +02:00
Julian Seward ext:(%2C%20Matt%20Woodrow%20%3Cmwoodrow%40mozilla.com%3E) 26aae1e149 Bug 1288618 - Add a new valgrind suppression entry to fix a false positive with CPUID. r=njn
--HG--
extra : rebase_source : ca0bd2906ca742b405c967bb71333a59e8487d81
2016-09-21 15:37:44 +12:00
Jonathan Kew 8529c19f12 Bug 1231701 - Add valgrind suppression for uninitialized memory access and leak in old fontconfig. r=njn 2016-06-17 16:30:07 +01:00
Karl Tomlinson bb52c71afb bug 1250704 relax suppresion of GtkStyle set_color leak to accept change in caller r=njn
MozReview-Commit-ID: 3onLEoIvMb5

--HG--
extra : rebase_source : 0281c4e1f4b89b5f3595f683fcaaaa69a294793e
2016-06-09 18:54:50 +12:00
Mike Hommey 896a6a5ff2 Bug 1262331 - Fix mach valgrind-test logging. r=gps
Valgrind-test's output handler buffers valgrind's output to detect
errors and emit proper messages that are detected by automation log
parsing. When an error is detected, the buffered output is reinjected,
but there was a typo that prevented that from actually happening,
which ate the first lines of stack traces.
2016-04-07 09:10:47 +09:00
Andrew Halberstadt ca961954c9 Bug 1255567 - Sign quitter extension for valgrind-test and pgo/profileserver, r=jgriffin
MozReview-Commit-ID: HtH8z4rBSMY

--HG--
extra : rebase_source : 90a1269a6dd166cc77080d86f902c19d0a6e162c
2016-03-10 15:37:51 -05:00
Nicholas Nethercote 1eb0dcce5c Bug 1250393 - Add timestamps to |mach valgrind-test| and increase its timeout. r=glandium.
--HG--
extra : rebase_source : 05b5dcf6bd0efb9d2bf84c02d0797bc6d3c4d959
2016-02-26 13:22:43 +11:00
Carsten "Tomcat" Book 6244cfb10e Backed out changeset 200da85932e9 (bug 1230862) for valgrind perma failures 2016-02-10 11:04:50 +01:00
Julien Pagès cb348f4346 Bug 1230862 - Remove mozhttpd. r=wlach
--HG--
extra : commitid : HRDp24nhYo8
extra : rebase_source : 76443fa9938e488fcd06af7ba0676d491c9da36e
2016-02-09 03:26:43 +01:00
Carsten "Tomcat" Book 719ce6825c merge mozilla-inbound to mozilla-central a=merge 2015-12-23 12:00:09 +01:00
Dão Gottwald 3da753bf27 Bug 1228724 - Suppress Valgrind leak when the window is maximized. r=karlt 2015-12-22 09:51:57 +01:00
Jean-Yves Avenard 3d8012bce7 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
Georg Fritzsche 77f63b071b Bug 1193038: Purposely leak StatisticsReport object and suppress the leak report r=glandium,mccr8,njn 2015-08-18 19:21:40 +02:00
Mike Hommey 17a1270251 Bug 1186748 - Switch valgrind builds to Gtk+3. r=mshal 2015-08-04 07:05:24 +09:00
Mike Hommey 2d4d1ebb62 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 a66a62bc8b Backed out changeset 695b89efecfa (bug 1187664) 2015-08-03 14:35:09 +02:00
Carsten "Tomcat" Book c9982faad7 Backed out changeset b8eacfe11fc5 (bug 1186748) 2015-08-03 14:34:57 +02:00
Mike Hommey e0a3f050b0 Bug 1186748 - Switch valgrind builds to Gtk+3. r=mshal 2015-07-31 16:42:22 +09:00
Mike Hommey bd1eab6809 Bug 1187649 - Add valgrind suppressions for leaks in Gtk+3, cairo and fontconfig that are not due to Gecko. r=njn 2015-07-31 16:42:20 +09:00
Mike Hommey de9a071583 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 5a1391207c Backed out changesets be94d55627f4 and dfc1cb1c26d9 (bug 1187664) because they depend on bug 1186748.
--HG--
extra : histedit_source : 4457df03c37cbe457f3bd099836e519d79fd3461%2Ccab92f6adf81533aef4d5c1748451cfdb44fa08c
2015-07-30 12:07:38 -04:00
Mike Hommey 56e1e067a3 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 a356ea8421 Bug 1187245 - Make .mozconfig.mk environment variables available to mach valgrind-test. r=gps 2015-07-28 08:19:14 +09:00
Mike Hommey 9fd9265409 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
Mike Hommey 39841c1702 Bug 965151 - Remove unnecessary LD_LIBRARY_PATH in valgrind driver script. r=mshal 2015-07-24 06:49:44 +09:00
Mike Hommey 17ca58df7e Bug 965151 - Use tooltool in valgrind jobs. r=mshal 2015-07-24 06:49:40 +09:00
Mike Hommey 721bea8819 Bug 965151 - Move relevant parts of valgrind.sh from build/tools in-tree. r=mshal 2015-07-24 06:49:34 +09:00
Gregory Szorc 3e949ee8fe 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.

--HG--
extra : commitid : 6tFME1KKfTD
extra : rebase_source : 78728f82f5487281620e00c2a8004cd5e1968087
2015-06-21 17:39:09 -07:00
Gregory Szorc a19bee3a08 Bug 1176642 - Remove unused imports; r=glandium
--HG--
extra : commitid : IZ7JkH4GKW4
extra : rebase_source : 4c3301c5c353be8afed407df4a003a9cac4583e8
2015-06-25 12:16:38 -07:00
Nicholas Nethercote 1ee08165ec Bug 1069695 - Use --trace-children=yes in |mach valgrind-test|. r=jseward.
--HG--
extra : rebase_source : 3514fc02297fea921c13df7c8c02ab07c54616ab
2014-11-11 20:47:00 -08:00