Commit Graph

240 Commits

Author SHA1 Message Date
Alexandre Lissy
40d584728f Bug 1925274 - Suppress valgrind new suspected leaks related to ForkServer argv handling r=jld
Differential Revision: https://phabricator.services.mozilla.com/D225975
2024-10-21 06:05:44 +00:00
Butkovits Atila
156b2012dc Backed out 8 changesets (bug 1918596, bug 1917575, bug 1874689, bug 1925181, bug 1917844, bug 1925274, bug 1915152) for causing failures at Sandbox.cpp. CLOSED TREE
Backed out changeset ce2138248319 (bug 1874689)
Backed out changeset fbe9fbb6ae72 (bug 1925181)
Backed out changeset c9896c8962cb (bug 1925274)
Backed out changeset 6eddbad5949c (bug 1918596)
Backed out changeset b9bf86fa1c74 (bug 1917844)
Backed out changeset 1d4cd83d1a39 (bug 1917844)
Backed out changeset 264a5140fbcb (bug 1917575)
Backed out changeset 87b8512c67c9 (bug 1915152)
2024-10-19 23:27:56 +03:00
Alexandre Lissy
4f03f0d84b Bug 1925274 - Suppress valgrind new suspected leaks related to ForkServer argv handling r=jld
Differential Revision: https://phabricator.services.mozilla.com/D225975
2024-10-19 08:55:34 +00:00
Mike Hommey
f68004e349 Bug 1901892 - Update builders to rustc 1.81. r=firefox-build-system-reviewers,ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D221101
2024-09-06 22:26:49 +00:00
Mike Hommey
31c8ce0b83 Bug 1894131 - Update builders to rustc 1.80.1. r=firefox-build-system-reviewers,ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D217335
2024-09-02 23:44:44 +00:00
Tamas Szentpeteri
dec1da68a4 Backed out changeset f970c5107aa7 (bug 1894131) for causing linting vendor failure. CLOSED TREE 2024-09-03 02:37:37 +03:00
Mike Hommey
65aff1772e Bug 1894131 - Update builders to rustc 1.80.1. r=firefox-build-system-reviewers,ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D217335
2024-09-02 20:57:58 +00:00
Mike Hommey
05d708653f Bug 1878764 - Update builders to rustc 1.78. r=firefox-build-system-reviewers,sergesanspaille
Differential Revision: https://phabricator.services.mozilla.com/D208953
2024-05-23 04:28:38 +00:00
Cristina Horotan
22fa3c4f67 Backed out 2 changesets (bug 1849075, bug 1878764) for causing remote failures at remote/shared/messagehandler/test/browser/*
Backed out changeset 0dbba1a7b5ab (bug 1878764)
Backed out changeset 86555ffb064f (bug 1849075)
2024-05-22 03:34:48 +03:00
Mike Hommey
010891448c Bug 1878764 - Update builders to rustc 1.78. r=firefox-build-system-reviewers,sergesanspaille
Differential Revision: https://phabricator.services.mozilla.com/D208953
2024-05-21 07:24:02 +00:00
Ryan VanderMeulen
c84d3db8d7 Backed out 3 changesets (bug 1849075, bug 1897015, bug 1878764) for causing Android arm32 startup crashes (bug 1897635).
Backed out changeset 916680b7cdce (bug 1897015)
Backed out changeset c6dd0210975b (bug 1878764)
Backed out changeset c9e28db916e5 (bug 1849075)
2024-05-20 12:54:45 -04:00
Mike Hommey
6577227124 Bug 1897015 - Fix valgrind suppression for rustc 1.78
Differential Revision: https://phabricator.services.mozilla.com/D210739
2024-05-16 21:36:42 +00:00
Mike Hommey
7072328ee9 Bug 1878764 - Update builders to rustc 1.78. r=firefox-build-system-reviewers,sergesanspaille
Differential Revision: https://phabricator.services.mozilla.com/D208953
2024-05-15 19:38:32 +00:00
Emilio Cobos Álvarez
2580c7b865 Bug 1894756 - Remove owning_ref. r=firefox-style-system-reviewers,supply-chain-reviewers,zrhoffman,sylvestre
The only use of this type used to be carrying around an owning reference
to a thread-local. However, since bug 1577439 we're leaking the
allocation intentionally, so we can simplify the code to explicitly use
`Box::leak()`, which in turn removes all unsafe usage around these, and
allows us to drop the owning_ref dependency altogether.

Differential Revision: https://phabricator.services.mozilla.com/D209912
2024-05-10 08:15:04 +00:00
Mike Hommey
4fa90ff433 Bug 1887808 - Bump valgrind timeout to 1 hour. r=firefox-build-system-reviewers,ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D207658
2024-04-19 02:58:21 +00:00
serge-sans-paille
602f8fba76 Bug 1884540 - Remove six dependency from build/ directory r=ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D204144
2024-03-13 17:37:16 +00:00
Jed Davis
aa45dbd37c Bug 1878213 - Add valgrind suppressions for intentional leaks in the forkserver and related code. r=jseward
The fork server replaces the process's `argv` and `environ` with
heap-allocated strings received over IPC; if those strings are later
unlinked from those vectors, they will be seen as leaked.  Also, we
have an implementation of `setproctitle` (a BSD feature that has to be
emulated somewhat hackily on Linux) which copies the process's original
`argv` and `environ` strings into the heap so the original space can be
reused; this can also cause (finite) leaks when those strings are later
discarded.

Given that we already tell Valgrind to ignore leaks caused by use of
`setenv` and similar, this patch likewise suppresses those leaks.

Differential Revision: https://phabricator.services.mozilla.com/D201190
2024-02-13 21:04:19 +00:00
Gregory Pappas
b3e0fd295c Bug 1724089 - Remove browser.tabs.remote.autostart pref r=webdriver-reviewers,perftest-reviewers,geckoview-reviewers,jgraham,extension-reviewers,mossop,sparky,robwu,owlish,necko-reviewers,jmaher,valentin
Differential Revision: https://phabricator.services.mozilla.com/D192136
2024-01-22 09:52:53 +00:00
stransky
4c3bfd25fb Bug 1864382 [Linux] Allow memleak of GdkWindow x11 inernals r=emilio
Depends on D194622

Differential Revision: https://phabricator.services.mozilla.com/D194623
2023-11-25 10:41:47 +00:00
Mike Hommey
9977da8109 Bug 1843981 - Update builders to rustc 1.73. r=firefox-build-system-reviewers,sergesanspaille
Differential Revision: https://phabricator.services.mozilla.com/D190009
2023-11-07 08:36:25 +00:00
Emilio Cobos Álvarez
ad64ab4526 Bug 1854446 - Update some pre-existing valgrind suppressions. CLOSED TREE 2023-10-06 02:33:06 +03:00
Mike Hommey
94e3db4c9b Bug 1844200 - Update valgrind suppressions for rustc 1.71. r=firefox-build-system-reviewers,ahochheiden
The involved symbol changed to
_ZN3std3sys6common12thread_local10fast_local12Key$LT$T$GT$14try_initialize...

Differential Revision: https://phabricator.services.mozilla.com/D183924
2023-07-19 05:51:24 +00:00
Cristian Tuns
c4a263959b Bug 1821228 - Fix for valgrind bustages. CLOSED TREE 2023-07-14 17:22:22 -04:00
Mike Hommey
c072335e21 Bug 1821228 - Update builders to rustc 1.70. r=firefox-build-system-reviewers,andi
Differential Revision: https://phabricator.services.mozilla.com/D179622
2023-07-14 19:33:51 +00:00
Mike Hommey
b2854f302c Bug 1839788 - Switch valgrind task to a Debian 12 based docker image. r=firefox-build-system-reviewers,releng-reviewers,ahochheiden,jcristau
Differential Revision: https://phabricator.services.mozilla.com/D181721
2023-06-27 08:47:17 +00:00
Butkovits Atila
d96499cb25 Backed out changeset 0721a2ab9241 (bug 1839788) for causing bustages at libssl.so. 2023-06-27 02:27:07 +03:00
Mike Hommey
eb73e459a9 Bug 1839788 - Switch valgrind task to a Debian 12 based docker image. r=firefox-build-system-reviewers,releng-reviewers,ahochheiden,jcristau
Differential Revision: https://phabricator.services.mozilla.com/D181721
2023-06-26 22:00:46 +00:00
Lee Salzman
c891dafa82 Bug 1829203 - Fix valgrind suppression in Skia. r=aosmond
Differential Revision: https://phabricator.services.mozilla.com/D176074
2023-04-20 19:14:22 +00:00
Lee Salzman
17121ddfaa Bug 1821512 - Update fuzz for Skia update. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D173326
2023-04-16 15:34:50 +00:00
Natalia Csoregi
53631b0cfb Backed out 6 changesets (bug 1821512) for failures on browser_screenshots_test_full_page.js. CLOSED TREE
Backed out changeset a31f2795710e (bug 1821512)
Backed out changeset 3985c29a6490 (bug 1821512)
Backed out changeset 0d9814a43a4d (bug 1821512)
Backed out changeset e5570884e8e4 (bug 1821512)
Backed out changeset efc92c86fafd (bug 1821512)
Backed out changeset 3222f6498a44 (bug 1821512)
2023-04-16 11:30:32 +03:00
Lee Salzman
f678652f3c Bug 1821512 - Update fuzz for Skia update. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D173326
2023-04-16 04:00:01 +00:00
Marco Castelluccio
f69e697461 Bug 1801836 - Remove no longer necessary 'from __future__' imports. r=linter-reviewers,glandium,webdriver-reviewers,perftest-reviewers,geckoview-reviewers,jld,ahal,owlish,afinder DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D165395
2022-12-23 22:45:46 +00:00
Marco Castelluccio
ecb54845b0 Bug 1790816 - Reformat build/ with isort. r=linter-reviewers,ahal DONTBUILD
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D162668
2022-11-24 17:23:47 +00:00
Erik Nordin
fe0955cfd0 Bug 1762046 - Add valgrind suppression for the leak of a dynamic atom created by DocumentL10n r=jseward
Differential Revision: https://phabricator.services.mozilla.com/D149423
2022-06-22 16:56:23 +00:00
Jonathan Kew
d0a867d0e1 Bug 1748520 - Add valgrind suppression for the leak of a dynamic atom created by language lookup. r=jseward
Differential Revision: https://phabricator.services.mozilla.com/D142168
2022-03-29 13:05:10 +00:00
Andrew Osmond
45ae50555d Bug 1754978 - Part 1. Refactor CompositableHandle infrastructure to allow in-process driven handles. r=sotaro
For WebGPU, we produce the textures in the compositor process and the
content process doesn't need to be that involved except for hooking up
the texture to the display list. Currently this is done via an external
image ID.

Given that WebGPU needs to work with OffscreenCanvas, it would be best
if its display pipeline was consistent whether it was gotten from an
HTMLCanvasElement, OffscreenCanvas on the main thread, or on a worker
thread. As such, using an AsyncImagePipeline would be best.

However there is no real need to bounce the handles across process
boundaries. Hence this patch which adds CompositableInProcessManager.
This static class is responsible for collecting WebRenderImageHost
objects backed by TextureHost objects which do not leave the compositor
process. This will allow WebGPUParent to schedule compositions directly
in future patches.

Differential Revision: https://phabricator.services.mozilla.com/D138588
2022-02-18 15:59:12 +00:00
Mike Hommey
a3c1255269 Bug 1750599 - Keep track of the time spent running valgrind on perfherder. r=firefox-build-system-reviewers,mhentges
Differential Revision: https://phabricator.services.mozilla.com/D136308
2022-01-19 22:27:48 +00:00
Mike Hommey
9b6c3d38b3 Bug 1750855 - Don't valgrind dbus-launch and its subprocesses. r=firefox-build-system-reviewers,mhentges
For some reason, the execution of dbus-launch causes problems after bug
1734934, even though we were executing dbus-launch before. We don't
actually care about valgrind'ing its execution, though, because it's a
system program.

Differential Revision: https://phabricator.services.mozilla.com/D136312
2022-01-19 21:16:51 +00:00
Mike Hommey
332d586576 Bug 1744212 - Add ellipsis to valgrind suppressions. r=emilio
The upgrade of rustc added some frames between calls, either from better
debug info, or from changes in optimizations.

Differential Revision: https://phabricator.services.mozilla.com/D132776
2021-12-03 12:49:04 +00:00
Shravan Narayan
a5aa14d7ac Bug 1742851 - Temporarily increase timeout for automation valgrind run r=bholley
Differential Revision: https://phabricator.services.mozilla.com/D132067
2021-11-24 19:19:31 +00:00
Alex Lopez
63022efc7a Bug 1696251: Allow mach commands as stand-alone functions and adapt existing commands. r=mhentges,webdriver-reviewers,perftest-reviewers,sparky,whimboo
This removes the `@CommandProvider` decorator and the need to implement
mach commands inside subclasses of `MachCommandBase`, and moves all
existing commands out from classes to module level functions.

Differential Revision: https://phabricator.services.mozilla.com/D121512
2021-09-27 18:12:51 +00:00
Butkovits Atila
eb735ac57e Backed out changeset 53b1fa0faa6d (bug 1696251) for breaking the static-analysis integration. a=backout 2021-09-23 13:06:40 +03:00
Alex Lopez
a8e7083c84 Bug 1696251: Allow mach commands as stand-alone functions and adapt existing commands. r=mhentges,webdriver-reviewers,perftest-reviewers,sparky,whimboo
This removes the `@CommandProvider` decorator and the need to implement
mach commands inside subclasses of `MachCommandBase`, and moves all
existing commands out from classes to module level functions.

Differential Revision: https://phabricator.services.mozilla.com/D121512
2021-09-21 20:38:16 +00:00
Butkovits Atila
c06a3dd9fa Backed out changeset 510dd46a9de7 (bug 1696251) for causing Android build bustages. 2021-09-21 05:16:50 +03:00
Alex Lopez
fe61e94ec8 Bug 1696251: Allow mach commands as stand-alone functions and adapt existing commands. r=mhentges,webdriver-reviewers,perftest-reviewers,sparky,whimboo
This removes the `@CommandProvider` decorator and the need to implement
mach commands inside subclasses of `MachCommandBase`, and moves all
existing commands out from classes to module level functions.

Differential Revision: https://phabricator.services.mozilla.com/D121512
2021-09-20 20:21:07 +00:00
Noemi Erli
91aa2e2b9c Backed out changeset 5f5b612878f3 (bug 1696251) for causing multiple bustages 2021-09-18 02:22:39 +03:00
Alex Lopez
bf860fe7dc Bug 1696251: Allow mach commands as stand-alone functions and adapt existing commands. r=mhentges,webdriver-reviewers,perftest-reviewers,sparky,whimboo
This removes the `@CommandProvider` decorator and the need to implement
mach commands inside subclasses of `MachCommandBase`, and moves all
existing commands out from classes to module level functions.

Differential Revision: https://phabricator.services.mozilla.com/D121512
2021-09-17 19:00:39 +00:00
Andrew Osmond
66fd73b08c Bug 1729051 - Simplify imgFrame to only use shared surfaces for raster images. r=jrmuizel
In practice we already only use SourceSurfaceSharedData as our
rasterized image backing. This means we no longer need to lock the data
to keep it in memory (when we used volatile memory), nor to try to
optimize the surface for the DrawTarget.

Differential Revision: https://phabricator.services.mozilla.com/D124476
2021-09-17 15:50:04 +00:00
Nicolas Silva
90eca868aa Bug 1728618 - Suppress false positive valgrind uninitialized value error. r=gfx-reviewers,aosmond
Valgrind detects a condition depending on uninitialized value in update_texture_cache. I first ran into this in bug 1716579, and as patch had a large impact on allocation/deallocation workloads with the texture cache, I couldn't decide with confidence that the patch wasn't faulty. In bug 1728618 which causes this error again, however, the patch is much simpler, doesn't interact with unsafe code and does not affect texture cache workloads so it gives me much better confidence that this valgrind error is either a false positive or a miscompilation.

Differential Revision: https://phabricator.services.mozilla.com/D124444
2021-09-07 07:35:35 +00:00
Sandor Molnar
06f9e93e66 Backed out changeset 3bdf9c5f10cc (bug 1729051) build bustages. CLOSED TREE 2021-09-03 22:13:35 +03:00