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

1397 Коммитов

Автор SHA1 Сообщение Дата
Kartikaya Gupta b4ad327a0e Bug 1390488 - Pass the childProcessTmpDir from the parent process to the GPU process. r=froydnj
The GPU process doesn't have the directory service enabled, so it can't find
a tmp dir to put its .extra files for crash reports. Even if we do enable the
directory service, we still don't get the correct "content process tmp dir" in
the GPU process, because the UUID baked into that folder is passed via the
preferences service, and that isn't initialized in the GPU process either.
Rather than unneccessarily initialize all this stuff in the GPU process just
to get one folder name, we can pass that folder name directly in the argv list.

See comments 12-19 on the bug for further discussion of the various solutions
attempted/explored.

MozReview-Commit-ID: 1sFg27hIe7S

--HG--
extra : rebase_source : 78eb600a58fed45800b9df8303cc4d6898d96ae9
2017-09-13 11:26:25 -04:00
Sebastian Hengst 3066457971 Backed out changeset b80e267bdf30 (bug 1390488) 2017-09-13 16:36:56 +02:00
Kartikaya Gupta 36b2d6e26d Bug 1390488 - Pass the childProcessTmpDir from the parent process to the GPU process. r=froydnj
The GPU process doesn't have the directory service enabled, so it can't find
a tmp dir to put its .extra files for crash reports. Even if we do enable the
directory service, we still don't get the correct "content process tmp dir" in
the GPU process, because the UUID baked into that folder is passed via the
preferences service, and that isn't initialized in the GPU process either.
Rather than unneccessarily initialize all this stuff in the GPU process just
to get one folder name, we can pass that folder name directly in the argv list.

See comments 12-19 on the bug for further discussion of the various solutions
attempted/explored.

MozReview-Commit-ID: 1sFg27hIe7S

--HG--
extra : rebase_source : 62ff819c5b03f642cd4b9af7c89c84b790397372
2017-09-13 10:18:15 -04:00
Chris Manchester c0a229d4c3 Bug 1386876 - Replace all uses of DISABLE_STL_WRAPPING with a template, remove DISABLE_STL_WRAPPING. r=glandium
MozReview-Commit-ID: FMEtb5PY7iP

--HG--
extra : rebase_source : 3cdee7528846462c758e623d6bcd2e6e17dbabff
2017-09-11 11:33:26 -07:00
Carl Corcoran e2e4c246fa bug 1380254: Don't send StackTraces field to Socorro; r=gsvelto
MozReview-Commit-ID: 3K5I5ZQam7q

--HG--
extra : rebase_source : 9a089624c8656a136c16f24c3bf9cc002f3f131a
2017-08-28 08:43:24 +02:00
Tom Ritter a1a3b5d895 Bug 1391685 Copy missing WideToMBCPto minidump-analyzer standalone program for gcc build r=gsvelto
MozReview-Commit-ID: 3S5poDINhH3

--HG--
extra : rebase_source : d5d3404c6ef618a7875557b37b19b131e948c763
2017-08-29 12:15:02 -05:00
Tom Ritter 0ee8dd24bc Bug 1391685 Fix casing of objbase.h for MinGW build r=gsvelto
MozReview-Commit-ID: EJ5ow8av5cB

--HG--
extra : rebase_source : 79d3f69096350e67918ae05da6638a3a30cb92a5
2017-08-18 13:15:40 -05:00
Gabriele Svelto dfafcce6ea Bug 1380252 - Send only the crashing thread's stack in crash pings; r=ted.mielczarek
This modifies the minidump analyzer to only output the crashing thread's stack
when invoked. This reduces the raw size of the crash ping by 50% to 70%
depending on the program state when the crash occurred. The minidump-analyzer
can still produce the complete output when invoked with the '--full' option.

MozReview-Commit-ID: 8KaITWqfBKR

--HG--
extra : rebase_source : b71bd47ea1df4fa8fa3da013aef2612a073a42d2
2017-08-16 18:20:40 +02:00
Gabriele Svelto f9e235a70c bug 1376574 - Do not use fork() for launching the crashreporter on Mac since that might crash too; r=ted
MozReview-Commit-ID: BX1ig3rtoIr

--HG--
extra : rebase_source : 504e32ad3a068af4e3d466fac8bb60d6fab2409b
2017-06-27 23:39:30 +02:00
Emilio Cobos Álvarez 9183fd421b Bug 1394149: Fix remaining uses of ucontext in breakpad-client. r=ted
MozReview-Commit-ID: 5tP7fXsI7dQ

--HG--
extra : rebase_source : ff106a725e42093f9957403fcb14b9804990c3b5
2017-08-27 00:21:10 +02:00
Ted Mielczarek 6121dea7c8 bug 1392312 - fix filename mapping in symbolstore.py on Windows. r=chmanchester
symbolstore.py processes filenames in FILE lines of symbol files to encode
information about the source repository they came from, or to mark
known generated source files. It also reads the dist/include install
manifest so it can map header files from there back to their source locations.

These mappings were broken on Windows because symbolstore.py first passes
filenames into `FixFilenameCase`, which calls `GetFinalPathNameByHandleW`,
which breaks things in two ways:
1) It returns paths with an uppercase drive letter, and source paths from
   elsewhere have a lowercase drive letter.
2) It resolves symlinks, and on Taskcluster Windows builds the whole build
   is done within a symlinked directory so paths directly from the srcdir
   and objdir won't match those canonicalized paths.

This patch adds a `normpath` function to symbolstore.py and moves the
contents of `FixFilenameCase` into it on Windows, and just makes it
an alias for `os.path.normpath` everywhere else. It then uses it everywhere
we deal with paths that will be compared against source file paths from symbol
files so that all paths are canonicalized the same and we can do simple
string matching from there.

Additionally, this patch adds a check to the functional test to verify
that header files from dist/include are correctly mapped to the source
repository. Unfortunately there is still not a test for generated files
because they only appear in the libxul symbol file, and dumping symbols
from libxul is too slow to invoke as part of a unit test.

MozReview-Commit-ID: Dx3z1BZcIvc

--HG--
extra : rebase_source : 80179bbea58a804344a56ef27f438ada76e7fe77
2017-08-23 13:14:37 -04:00
Cervantes Yu 7d0d416f10 Bug 1390143 - Generate the parent minidump synchronously to keep parent process's stack when creating paired minidumps. r=gsvelto
Bug 1360308 offloads IO operations from the main thread when we create paired minidumps.
This breaks the symmetry of paired minidumps: the thread stacks of the parent minidump
doesn't correspond to the thread stacks in the child minidumps and renders the parent
stack useless. This patch moves generation of the parent minidump back to the main
thread to keep the context of the parent process when creating paired minidumps. Child
minidump is still created asynchronously.

MozReview-Commit-ID: 9RmBAuXMPSX
2017-08-25 11:12:34 +08:00
Mark Banner a53020d022 Bug 1392098 - Enable the new ESLint no-useless-run-test rule across the tree. r=mossop
MozReview-Commit-ID: 35MaseieNUk

--HG--
extra : rebase_source : 98eaec6a67fd3b30ea6b0be641f26c3911012fab
2017-08-20 18:52:05 +01:00
Wes Kocher 88c4efea2a Merge inbound to m-c a=merge
MozReview-Commit-ID: 7PZEeFIzle5
2017-08-21 16:39:56 -07:00
Cervantes Yu 102fb1453d Bug 1320134 - Part 4: Remove the debug patches for running out of TLS slots on Windows. r=froydnj
Revert revision f760842b14a2, 051b765ca8f2 and 01125b5142e5 since the original
bug that we run out of TLS slots on Windows is no longer showing up after
firefox55. It should have been fixed elsewhere, very likely in the rust part.

MozReview-Commit-ID: 9j5hFSGT3OE
2017-08-21 16:24:29 +08:00
Sebastian Hengst 5455dc84e5 Backed out changeset 7bde9d6e783a (bug 1333126) for permafailing browser-chrome's browser/base/content/test/plugins/browser_pluginCrashReportNonDeterminism.js on OS X 10.10 debug. r=backout 2017-08-20 20:11:57 +02:00
Sebastian Hengst 5c0990d31e Backed out changeset 5872274ff102 (bug 1333126) 2017-08-20 20:11:01 +02:00
Carl Corcoran bbf7c0b952 Bug 1333126: adding tests; r=gsvelto
MozReview-Commit-ID: BNv54jtWf7k

--HG--
extra : rebase_source : e89ea6927ef3cae3d95f46ee5f69f62d04a12f00
2017-08-06 08:46:50 +02:00
Carl Corcoran 03ac54b366 Bug 1333126: use win64 PE unwind metadata to improve client-side stack walking; r=gsvelto
MozReview-Commit-ID: GDARnPSemyu

--HG--
extra : rebase_source : 2b727cd57c5bddbc2959fa096dea102eeff7d41f
2017-08-06 08:45:58 +02:00
Phil Ringnalda 366675feaa Merge m-c to autoland
MozReview-Commit-ID: GCxEZcmHL2w
2017-08-19 15:34:44 -07:00
Ted Mielczarek 865f3f2c5e bug 1259832 - replace generated source file names in symbol files. r=chmanchester
Now that builds are uploading generated source files to an S3 bucket,
symbolstore.py can alter the FILE lines in symbol files to record the
URLs where those generated source files can be found. We currently record
files from the hg repository as `hg:<repo>:<path>:<revision>`, so here we
record generated files as `s3:<bucket>:<path>:` and expect that Socorro
will map that to the S3 bucket in a sensible way.

This patch does not change source server indexing, which allows Microsoft
debuggers to fetch source files for a build. That will be handled in a
followup.

MozReview-Commit-ID: 1g14smF0fo8

--HG--
extra : rebase_source : a5b42251278e6ecc4d57e374c423738de325f8e5
extra : source : 7781a37a4db0378b06ef3ad377e18be37e63ad83
2017-08-09 14:36:52 -04:00
Sylvestre Ledru 49b77df09a Bug 1387569 - Also enable -Wno-implicit-fallthrough for gcc in google-breakpad (exists from gcc 7) r=ted
MozReview-Commit-ID: HTEL8UJE6wb

--HG--
extra : rebase_source : 3debf712593e771351910fb539bcf610cbc97a62
2017-08-19 21:50:09 +02:00
Phil Ringnalda 1ca83fd296 Backed out 5 changesets (bug 1387569) for Windows static build bustage
Backed out changeset eeda521ba0ad (bug 1387569)
Backed out changeset 8d23caf2ccc7 (bug 1387569)
Backed out changeset b5f969313f81 (bug 1387569)
Backed out changeset f642bc883aa5 (bug 1387569)
Backed out changeset 20151eabffea (bug 1387569)

MozReview-Commit-ID: IH0XXePvhiL
2017-08-19 12:20:26 -07:00
Sylvestre Ledru 10dec6fbee Bug 1387569 - Also enable -Wno-implicit-fallthrough for gcc in google-breakpad (exists from gcc 7) r=ted
MozReview-Commit-ID: HTEL8UJE6wb

--HG--
extra : rebase_source : b61d3bf0a07e743e10774b8f06b9a46b42029ab3
2017-08-19 20:38:35 +02:00
Sebastian Hengst e8a5a15718 Backed out changeset 9e1a17f94c93 (bug 1387569) 2017-08-19 20:22:00 +02:00
Sylvestre Ledru 8692c8594b Bug 1387569 - Also enable -Wno-implicit-fallthrough for gcc in google-breakpad (exists from gcc 7) r=ted
MozReview-Commit-ID: HTEL8UJE6wb

--HG--
extra : rebase_source : 7ceb0d2de780188e5f8efbc281bc512436aa1fd8
2017-08-19 19:34:54 +02:00
Eric Rahm 0938982c90 Bug 1389598 - Part 4: Remove remaining gonk refs. r=froydnj
--HG--
extra : rebase_source : 063c7f95dda063eafabfa1921366bd1957b8fe73
2017-08-11 17:45:18 -07:00
Emilio Cobos Álvarez ec48f33efd Bug 1385667: Use ucontext_t consistently in breakpad-client. r=ted
MozReview-Commit-ID: AJhzJdNXP0f

--HG--
extra : rebase_source : 49a8d4c2159869a0a33ab0a84b6692251a2bfd35
2017-08-19 20:14:25 +02:00
Ted Mielczarek 90080d65c7 bug 1388820 - remove repo manifest support from symbolstore.py. r=chmanchester
MozReview-Commit-ID: LbDc6YKGpqX

--HG--
extra : rebase_source : 780467dc43d6f001946310879e71a6400e005eef
extra : source : 6b4f89f34b11bcb987511cdb6923920d2596f001
2017-08-09 13:36:07 -04:00
Wes Kocher 729a622270 Backed out changeset 6b4f89f34b11 (bug 1388820) for apparently scheduling nightlies on every push/platform a=backout
MozReview-Commit-ID: GtNGyHS3m7f
2017-08-16 17:26:21 -07:00
Wes Kocher 749da2f3e6 Backed out 4 changesets (bug 1259832) for apparently scheduling nightlies on every push/platform a=backout
Backed out changeset 7781a37a4db0 (bug 1259832)
Backed out changeset 73bf88110b38 (bug 1259832)
Backed out changeset 14d18d7cf454 (bug 1259832)
Backed out changeset a02695cbf576 (bug 1259832)

MozReview-Commit-ID: 4Tf6jBcvKLq
2017-08-16 17:26:08 -07:00
Ted Mielczarek 25150baea1 bug 1259832 - replace generated source file names in symbol files. r=chmanchester
Now that builds are uploading generated source files to an S3 bucket,
symbolstore.py can alter the FILE lines in symbol files to record the
URLs where those generated source files can be found. We currently record
files from the hg repository as `hg:<repo>:<path>:<revision>`, so here we
record generated files as `s3:<bucket>:<path>:` and expect that Socorro
will map that to the S3 bucket in a sensible way.

This patch does not change source server indexing, which allows Microsoft
debuggers to fetch source files for a build. That will be handled in a
followup.

MozReview-Commit-ID: 1g14smF0fo8

--HG--
extra : rebase_source : 78344e2435cc2379d4b202b71851d1112236066b
2017-08-09 14:36:52 -04:00
Ted Mielczarek 3237c93073 bug 1388820 - remove repo manifest support from symbolstore.py. r=chmanchester
MozReview-Commit-ID: LbDc6YKGpqX

--HG--
extra : rebase_source : 09a253226fbd8dd25a4bdd6f3337dea7df109fa1
2017-08-09 13:36:07 -04:00
Sebastian Hengst 56c035fa36 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 4cZJ3qFjvPY
2017-08-12 23:49:21 +02:00
Wes Kocher ef0d82bb2b Merge m-c to inbound, a=merge
MozReview-Commit-ID: HSkzFTcnhOy
2017-08-11 13:25:37 -07:00
Sylvestre Ledru 3ba96071c8 Bug 1387002 - Replace .size() by .empty() when applicable in crashreporter/ r=ted
MozReview-Commit-ID: DNh3Pe3FYxG

--HG--
extra : rebase_source : e9239ccfcd470e2536b27420bc5f5b0d8c0eca5f
2017-08-03 12:07:24 +02:00
Sylvestre Ledru 920e276e58 Bug 1385563 - Resource leak - Close the file descriptor r=ted
MozReview-Commit-ID: Kxl6lEFGsUH

--HG--
extra : rebase_source : 6e3225e8a0b35be52093a6ca8555deb8111a9502
2017-07-29 12:40:21 +02:00
David Major 3a098c8e70 Bug 1380200 - Increase Breakpad's memory reserve size due to xul.dll inflation. r=ted 2017-07-21 09:10:00 -04:00
Sebastian Hengst d9b72a81ca Backed out changeset c3a77d62c05d (bug 1333126) for failing own xpcshell tests test_crash_win64cfi_* on Windows 10 x64. r=backout 2017-08-07 18:06:27 +02:00
Sebastian Hengst 4a0c9a1197 Backed out changeset 64be5fefcba3 (bug 1333126) 2017-08-07 18:04:48 +02:00
Carl Corcoran daca571abe Bug 1333126: adding tests; r=gsvelto
MozReview-Commit-ID: BNv54jtWf7k

--HG--
extra : rebase_source : b2054fd2828e6452a7cd4ced8ed8d1f64cbbc5c3
2017-08-06 08:46:50 +02:00
Carl Corcoran 1846ea009c Bug 1333126: use win64 PE unwind metadata to improve client-side stack walking; r=gsvelto
MozReview-Commit-ID: GDARnPSemyu

--HG--
extra : rebase_source : d14766715d1032db1a4dc489b3f55219e4529277
2017-08-06 08:45:58 +02:00
Sebastian Hengst a9b93ab9cf Backed out changeset 7f10bba58580 (bug 1333126) for eslint failures in toolkit/crashreporter/test/unit/head_win64cfi.js (strings must use doublequotes). r=backout 2017-08-07 14:03:30 +02:00
Sebastian Hengst f63869ab14 Backed out changeset 4d92e459f9ab (bug 1333126) 2017-08-07 14:02:59 +02:00
Carl Corcoran 5591814b07 Bug 1333126: adding tests; r=gsvelto
MozReview-Commit-ID: BNv54jtWf7k

--HG--
extra : rebase_source : c0b5de847560ade95776834d2ed8468a426be53d
2017-08-06 08:46:50 +02:00
Carl Corcoran 0b2ac04a9a Bug 1333126: use win64 PE unwind metadata to improve client-side stack walking; r=gsvelto
MozReview-Commit-ID: GDARnPSemyu

--HG--
extra : rebase_source : d14766715d1032db1a4dc489b3f55219e4529277
2017-08-06 08:45:58 +02:00
Masatoshi Kimura 8b713b2b0f Bug 1375125 - Stop using nsILocalFile in the tree. r=froydnj
This mechanically replaces nsILocalFile with nsIFile in
*.js, *.jsm, *.sjs, *.html, *.xul, *.xml, and *.py.

MozReview-Commit-ID: 4ecl3RZhOwC

--HG--
extra : rebase_source : 412880ea27766118c38498d021331a3df6bccc70
2017-08-04 17:49:22 +09:00
Rajesh Kathiriya 48e6bc2124 Bug 1374620 - Enabled the ESLint dot-notation rule across mozilla-central r=standard8
MozReview-Commit-ID: FadrI2li43G

--HG--
extra : rebase_source : b455e846ab79c8141150517e67e542e3e06d630e
2017-07-25 23:45:41 +05:30
Sebastian Hengst 804a36e668 Backed out changeset f5922a7ed25a (bug 1374620) for failing eslint at telemetry/tests/unit/test_TelemetrySend.js:358: ["os"] is better written in dot notation. r=backout 2017-07-31 14:44:34 +02:00
Rajesh Kathiriya 22dfa54ef4 Bug 1374620 - Enabled the ESLint dot-notation rule across mozilla-central r=standard8
MozReview-Commit-ID: FadrI2li43G

--HG--
extra : rebase_source : 5992bdde34bcc2421350433bc8c1e498a6bba848
2017-07-25 23:45:41 +05:30