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

158 Коммитов

Автор SHA1 Сообщение Дата
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
Nicholas Nethercote 12be59346a Bug 1069034 - Update Valgrind suppressions to handle the more detailed stack traces given by Valgrind 3.10. r=jseward.
--HG--
extra : rebase_source : 4e9eff4e912d1e182863429cf3f7da5cfbaedc10
2014-10-01 20:27:37 -07:00
Sylvestre Ledru 2e0c1ce1ec Bug 1050715 - Update the description of the various tests targed proposed by './mach help' r=jmaher
--HG--
extra : rebase_source : 29019a02711ffce5c148787517051855259b6446
2014-08-09 15:37:29 +02:00
Nicholas Nethercote 9e5a5743ed Bug 1029204 - |mach valgrind-test|: add a timeout. r=ted.
--HG--
extra : rebase_source : f57cd6a4babc02b4d3c16321181a0381aca70993
2014-07-10 21:05:22 -07:00
Andrew Halberstadt e60605718c Bug 997244 - Move emulator.py out of marionette and into mozrunner, r=wlach,mdas,jgriffin 2014-06-19 14:17:26 -04:00
Paolo Amadini 82d4807bf3 Bug 853549 - Use a JSON storage back-end in the Login Manager, except on Android. r=dolske 2014-01-07 17:29:41 +01:00
Viktor Stanchev 99501bd0f0 Bug 984196 - glxtest should use _exit instead of exit. r=bgirard
--HG--
extra : rebase_source : 3bba6badd7e5a4031ad402cf88f7e0a15f4ba386
2014-03-28 16:06:18 -04:00
Nicholas Nethercote bd3c697951 Bug 981359 - |mach valgrind-test|: Increase --num-callers from 20 to 36. r=gkw. 2014-03-11 14:55:42 -07:00
Nicholas Nethercote 7b45d2bd04 No bug. Fix a trivial regexp error. r=heycam. 2014-03-10 21:45:08 -07:00
Nicholas Nethercote e42e0da34f Bug 979242 - Suppress leak in xcb_connect_to_fd detected by Valgrind. r=gkw.
DONTBUILD because NPOTB.
2014-03-06 22:50:10 -08:00
Andrew McCreight 04756efc8f Bug 972940 - Rename XPCOM_CC_ env vars to MOZ_CC_. r=smaug,njn 2014-02-20 14:27:03 -08:00
Nicholas Nethercote 153d4aef9a Bug 966864 - |mach valgrind-test|: Parse Valgrind output so that different errors are distinguished for TBPL. r=gps.
--HG--
extra : rebase_source : de5bdf985c704e77ad1f9b4ab244d06141c92124
2014-02-05 16:17:09 -08:00
Nicholas Nethercote 2bf7f43de3 Bug 966673 - Valgrind-on-TBPL: suppress a leak in libresolv-2.12.so. r=gkw. 2014-02-02 11:35:16 -08:00
Nicholas Nethercote 11a504ae71 Bug 957410 - Make |mach valgrind-test| detect errors in child processes. r=gps. 2014-01-22 16:26:55 -08:00
Nicholas Nethercote 9ac80c6e57 Bug 958376 - |mach valgrind-test|: Add a --suppressions option. r=gps.
--HG--
extra : rebase_source : 2e8e6618bb3b1a68ee25efb4c76acb8e53a5a4b2
2014-01-19 13:53:21 -08:00
Nicholas Nethercote db438182a6 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 f23b396f0d Bug 952397 - Merge |mach valgrind-test| and valgrind_test.py. r=ted. 2013-12-19 21:33:01 -08:00
Nicholas Nethercote bdc10edc8a Bug 631842 (part 2b) - Fix a mis-handling of platform-specific suppression files in |mach valgrind-test|. r=me.
--HG--
extra : rebase_source : 7a8a33d9db10ed47cf273358d99b6da874b48137
2013-12-19 17:33:34 -08:00
Nicholas Nethercote cb93cef678 Bug 631842 (part 2) - Implement |mach valgrind-test|. r=gps. 2013-12-18 17:36:08 -08:00
Nicholas Nethercote af4eec9820 Bug 631842 (part 1) - Clone the PGO profile test script and data for use in the Valgrind test. r=ted.
--HG--
rename : build/pgo/profileserver.py => build/valgrind/valgrind_test.py
extra : rebase_source : bef17f3e49e9e94883897dfb75a986cb10dc6105
2013-12-18 13:42:14 -08:00
Nicholas Nethercote f239e6a56a Bug 944141 - Disable Valgrind suppressions that are no longer needed. r=me.
DONTBUILD
2013-11-28 05:39:28 -08:00
Nicholas Nethercote 3be523c252 Bug 944141 - Temporarily disable all Valgrind suppressions for unintentional problems within Mozilla code, to see which ones are still necessary. 2013-11-27 20:20:17 -08:00
Nicholas Nethercote 7d81d80a3c Bug 944133 - Valgrind-on-TBPL: Suppress an intentional leak.
NPOTB
2013-11-27 15:32:24 -08:00
Nicholas Nethercote 35d902d198 Bug 812421 - Remove a Valgrind suppression that bug 790338 hopefully removed the need for. r=me. 2013-11-24 16:09:19 -08:00
Gary Kwong e227f5ddf8 Bug 874658 - Add Valgrind suppression. DONTBUILD 2013-05-21 15:28:26 -07:00
Gary Kwong ab0fe4deca Bug 794364 is WONTFIX since JM has been removed. DONTBUILD 2013-05-21 15:12:55 -07:00
Gary Kwong 36f9582497 Bug 866959 - Remove suppression since it is now fixed. DONTBUILD 2013-05-01 11:15:27 -07:00
Gary Kwong 4d4ba8caf7 Add suppression entry for bug 866959. DONTBUILD 2013-04-29 16:25:12 -07:00
Gary Kwong 722d156f3b Update Valgrind suppressions for bug 793548 and bug 823782. DONTBUILD
--HG--
extra : rebase_source : 933131ab806fdbd77ecebebd84ff94e68909def1
2013-03-28 14:47:41 -07:00
Gary Kwong a211518eaf Add another suppression entry for bug 794372 and modify suppression for bug 793533. DONTBUILD
--HG--
extra : rebase_source : 5ae37908f830a910681b91ec2a5e09634c2bedc2
2013-03-19 17:53:05 -07:00
Gary Kwong b4685e4b73 Remove suppression for bug 824647 since it is now fixed. DONTBUILD 2013-03-19 10:34:19 -07:00
Gary Kwong 8913622fb3 Suppress bug 850134 on 64-bit Linux builds. DONTBUILD 2013-03-12 17:58:20 -07:00
Gary Kwong c5138c8cbc Suppress bug 850134. DONTBUILD 2013-03-11 23:14:19 -07:00
Gary Kwong 3f5e4eec9a Backout changeset 425835f6a9e2. The leak is still showing up, so re-add the suppression entry. DONTBUILD
--HG--
extra : rebase_source : b4cc98c405d4b12a88dcc48b4e073ea5a932fcdd
2013-01-25 10:41:23 -08:00
Gary Kwong a7703d241a Remove Valgrind suppressions for bug 812423 since a possibly-related bug 829421 has landed. DONTBUILD a=nonlibxul 2013-01-21 13:30:46 -08:00
Gary Kwong 952afe6ef1 Add another suppression for bug 812423. DONTBUILD 2013-01-16 12:35:49 -08:00
Gary Kwong 20c785d1c1 Suppress bug 824647. DONTBUILD 2012-12-25 15:00:16 -08:00
Gary Kwong 2b372ce86c Suppress bug 824323. DONTBUILD 2012-12-22 23:53:26 -08:00
Gary Kwong 559b21df91 Update suppressions for bug 823782. DONTBUILD 2012-12-21 10:20:25 -08:00
Gary Kwong 03e17d72eb Suppress bug 823782. DONTBUILD 2012-12-20 16:54:27 -08:00
Gary Kwong fd2ce92e9e Update suppression entry for bug 812421. DONTBUILD 2012-11-18 11:26:27 +08:00
Gary Kwong 19af099d45 Add suppression entries for bug 793533, bug 812421, bug 812422 and bug 812423. DONTBUILD 2012-11-16 15:01:13 +08:00
Gary Kwong a3c01bc1a2 Remove suppression for bug 799157 to see if it occurs again. DONTBUILD 2012-10-18 22:44:00 -07:00
Gary Kwong 04a63bc182 Suppress bug 803386. DONTBUILD 2012-10-18 18:21:29 -07:00
Gary Kwong 778e4cc5ca Bug 696305 - Suppress bug 799157, a new Valgrind error, probable regression. DONTBUILD 2012-10-08 10:32:22 -07:00
Gary Kwong 7fa5c2660c Bug 696305 - Tweak suppression file for bug 793533. DONTBUILD 2012-10-03 13:36:41 -07:00
Gary Kwong 5867526b0e Bug 696305 - Add another 64-bit suppression for bug 793533. DONTBUILD
--HG--
extra : rebase_source : 876faf080da567f882e1e989bc3597ca0f3fee00
2012-10-03 12:10:04 -07:00
Gary Kwong 3809eccda3 Bug 696305 - Remove suppressions that were commented out since they did not show up again and their original bug reports had stacks with no line numbers. DONTBUILD 2012-10-02 16:14:00 -07:00
Gary Kwong 2b5268c071 Bug 696305 - Removing another suppression from Valgrind files. DONTBUILD 2012-09-29 23:30:47 -07:00
Gary Kwong 682d9b310b Bug 696305 - Removing suppression from Valgrind files. DONTBUILD
--HG--
rename : dom/tests/mochitest/localstorage/test_clear_browser_data.html => dom/tests/mochitest/localstorage/test_app_uninstall.html
extra : rebase_source : 5a6769cf1f4ccd569ad0325785ebb9635f048f54
2012-09-29 23:28:54 -07:00
Gary Kwong bc8b76dd82 Bug 696305 - Suppress another cross architecture bug. DONTBUILD 2012-09-29 12:35:03 -07:00
Gary Kwong 86c3d29fa7 Bug 696305 - Remove commented-out suppression for bug 793539 and add bug 795395. DONTBUILD 2012-09-28 10:49:57 -07:00
Gary Kwong fbce5b887d Bug 696305 - Add more comments and try removing suppression for bug 793539 since the patch to disable GnomeVFS by default has landed on m-c. DONTBUILD 2012-09-27 23:25:31 -07:00
Gary Kwong 5d331a1785 Bug 696305 - Update Valgrind cross architecture suppression file. DONTBUILD 2012-09-26 18:55:01 -07:00
Gary Kwong 70f89533be Bug 696305 - Update all Valgrind suppression files. DONTBUILD 2012-09-26 11:20:55 -07:00