Commit Graph

545 Commits

Author SHA1 Message Date
Ehsan Akhgari
d9074fdd20 Merge mozilla-central into moizilla-inbound 2012-07-03 11:14:18 -04:00
Benjamin Smedberg
e7513f945a Bug 769048 part E - Core crashreporter support for injecting a crashreporter DLL into an arbitrary process and callbacks for notifications when that process has crashed, r=ehsan
--HG--
extra : rebase_source : eec98ad1d72106a34dfcd0764d85092a0725565c
2012-07-02 14:55:23 -04:00
Benjamin Smedberg
4bef88b22e Bug 769048 part D - Import the MemoryModule code from https://github.com/fancycode/MemoryModule revision ca4f504527 and modify it to support injecting a DLL image into a remote process. MPLv2 upgrade approved by the author. r=ehsan
Limitations:
* untested (and therefore unbuilt) on Windows 64
* The dll entry point is not called, which usually requires the DLL to
  cooperate by calling _CRT_INIT from the loaded entry point
* There is no support for unloading (no need in this patch)

--HG--
extra : rebase_source : c29489c0c312b0c22a4a6b8b3ee8c6469b45a01c
2012-07-02 14:55:23 -04:00
Benjamin Smedberg
b9aa5eee3b Bug 769048 part C - Build an injector DLL which can watch for crashes in Flash player processes. This involves building two copies of breakpad: one to live inside of libxul which uses mozalloc and the dynamic CRT, another to link into the injector which links the CRT statically and doesn't use mozalloc. Introduce a new define/makefile variable MOZ_CRASHREPORTER_INJECTOR rather than repeating "#if defined(XP_WIN) && !defined(HAVE_64BIT_OS) in many places. r=ehsan/khuey
--HG--
extra : rebase_source : 33bd0a74ce70a564963a6ca125e01048577fb554
2012-07-02 14:55:12 -04:00
Benjamin Smedberg
745e24ecce Bug 769048 part B - unbust our in-tree exception handler initializer which became ambiguous because NULL could have been a wstring* or a HANDLE, r=ehsan
--HG--
extra : rebase_source : 65c5d0472252a3b4c054a6523faaf02300bb8267
2012-07-02 14:48:57 -04:00
Benjamin Smedberg
319e487745 Bug 769048 part A - import breakpad changes from http://breakpad.appspot.com/406002 which allow the crash generation client to be initialized with a handle instead of a pipe name, r=ted
--HG--
extra : rebase_source : 5f51597eecc7b2c6fd1270fcec7c5cb008b6666c
2012-07-02 12:06:19 -04:00
Rafael Ávila de Espíndola
bc46f77176 Bug 732173 - poison write during shutdown in a debug build. r=ted.
With this patch we now patch the write functions during shutdown in a debug
build and abort if a non white listed write is found.
2012-07-03 09:15:34 -04:00
Jim Mathies
61c0a27dd0 Bug 767517 - Checkin new vs 2012 dump_syms_vc1700.exe. r=ted 2012-06-27 07:12:37 -05:00
Ted Mielczarek
761fd3103f bug 587073 followup, re-silence the output of dsymutil 2012-06-21 09:02:15 -04:00
Wolfgang Rosenauer
90b16fd322 Bug 762780 - crashreporter restart command should support MOZ_APP_LAUNCHER. r=ted 2012-06-20 17:41:34 +02:00
Ted Mielczarek
add7852d86 bug 587073 - stop uploading duplicate dSYM files in the symbol package. r=nthomas 2012-06-19 09:24:49 -04:00
Ted Mielczarek
c5ad0bc105 bug 764671 - Stop uploading symbols for test programs/libs to the symbol server. r=nthomas 2012-05-24 11:58:35 -04:00
Jeff Walden
e00457555c Bug 761859 - Make mozalloc_abort use MOZ_CRASH to crash. r=ted 2012-06-05 16:49:30 -07:00
Geoff Lankow
5cefea8480 Bug 749930 - Replace uses of nsILocalFile with nsIFile (compiled code only); r=bsmedberg 2012-06-06 14:08:30 +12:00
Gervase Markham
68d38d677f Bug 759095 - upgrade license to MPL 2, and other licensing cleanups.
--HG--
extra : rebase_source : da55a4937383eda2baf7c9a362501da8ee664146
2012-05-29 16:52:43 +01:00
Ted Mielczarek
c89a52d964 Backed out changeset 4566522a1bfd, bug 632616 - fix symbolstore.py's handling of relative paths 2012-05-25 15:21:17 -04:00
Ted Mielczarek
ed35e409b9 bug 632616 - fix symbolstore.py's handling of relative paths. r=catlee 2012-05-24 11:58:35 -04:00
Ted Mielczarek
54af8a956e bug 661908 - create a virtualenv as part of configure. r=khuey
--HG--
extra : rebase_source : c0d8d3a37a03425cdb3c0713ceda3007bddb1496
2012-04-25 13:37:16 -04:00
Tim Abraldes
e58929288d bug 752756. Read UTF-16le and UTF-8 BOMs in nsINIParser on Windows. Add parameter to nsIINIParserWriter::writeFile() specifying the charset of the file (BOM will be written). r=bsmedberg 2012-05-23 10:09:10 -07:00
Gervase Markham
82ff7027aa Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Benjamin Smedberg
eaa4878487 Bug 734847 part 2 - treewide changes resulting from the default-infallibility of hashtables; either remove useless result checks, or use the fallible version of APIs, depending on context, r=jlebar
--HG--
extra : rebase_source : 844b008c5167e6ca39a7ba9eeec8b30672938704
2012-05-18 13:30:49 -04:00
Dustin J. Mitchell
480a98e2b6 Bug 534992 - improve error reporting when cleanroot is not set - r=ted 2012-05-16 14:51:45 -04:00
Mike Hommey
9bea555a52 Bug 741348 - Work around crashreporter client build failure with gcc 4.7. r=ted 2012-05-15 19:01:01 +02:00
Matt Brubeck
04c833ea52 Back out 6a7bfd84596e (bug 736501) because it broke the build on some versions of GCC (bug 754198) 2012-05-11 20:15:47 -07:00
Benjamin Smedberg
c16b458bb6 Bug 736501 - Use -Werror=unused-result, r=ted/mayhemer/njn
--HG--
extra : rebase_source : 121cddcd66f9be9b80840b47aecbe95307bae0ab
2012-05-01 09:24:38 -04:00
Nathan Froyd
38fd6d3529 Bug 744444 - Part 3: delete CPP_PROG_LINK; r=ted 2012-04-12 16:58:11 -04:00
Nicholas Cameron
c84fd77c3f Bug 733892; block reverting to the null last chance expception handler. r=ehsan 2012-04-20 21:07:55 +12:00
Mike Hommey
4d48cbfae9 Bug 748739 - Link stdc++compat as a static library, and always link it when STDCXX_COMPAT is enabled. r=ted
--HG--
rename : build/stdc++compat.cpp => build/unix/stdc++compat/stdc++compat.cpp
2012-04-30 08:03:59 +02:00
Wolfgang Rosenauer
c72eea4045 Bug 673697 - symbolstore.py needs to recognize linux3. r=ted 2012-04-04 20:03:13 +02:00
Gregory Szorc
5bdd6a6a7c Bug 739753 - Fatal handling of invalid head and tail files in xpcshell test runner; r=ted 2012-03-28 16:05:22 -07:00
Michael Wu
a1e4c9bda5 ELFSIZE not defined on gonk-ics (bug 737190, r=gal). 2012-03-25 03:15:33 +02:00
Mike Hommey
cadf20b4c1 Bug 716544 - Avoid unexpectedly including toolkit/crashreporter/google-breakpad/src/common/memory.h. r=ted 2012-03-13 09:47:02 +01:00
Mike Hommey
28f6f080e9 Backout changesets 923a278f7ad5, 8f0164c90145, f5171db26f48, 7b590e1e392c and bd9a2f904e1f (bug 716544) because of Linux red 2012-03-13 10:29:26 +01:00
Mike Hommey
461ff25a1a Bug 716544 - Avoid unexpectedly including toolkit/crashreporter/google-breakpad/src/common/memory.h. r=ted 2012-03-13 09:47:02 +01:00
Mark Capella
3a0b126058 Bug 721496 - Remove MOZ_WINSDK_TARGETVER ifdefs for pre-Windows 7 SDKs. r=jimm 2012-02-23 01:33:19 +01:00
Ted Mielczarek
8ea2d12635 bug 602565 - Make crashreporter client use Rich Edit 4.1 control to fix display of Indic scripts. r=ehsan 2012-02-22 07:51:30 -05:00
Mike Hommey
0119d534ac Bug 720704 - Avoid setting an alternative stack for signals if there is already one. r=ted 2012-02-16 09:00:53 +01:00
Steven Michaud
ddb9b83bd3 Bug 721160 - Stop explicitly linking libcrypto on OS X. r=ted 2012-02-13 14:21:44 -06:00
Mike Hommey
e955096e2f Bug 721321 - Fix sys_clone() on ARM to work reliably in Thumb-2. r=jbramley 2012-02-13 15:49:05 +01:00
Jim Blandy
4fe8a051b2 Bug 714129: Breakpad DWARF: Add support for DWARF 4 attribute forms. r=ted
This patch allows Breakpad's DWARF reader to at least read or skip
attributes using the new forms defined in version 4 of the DWARF
specification, instead of crashing.

Attributes encoded using DW_FORM_flag_present, DW_FORM_sec_offset, and
DW_FORM_exprloc should work fine now. However, compilation units using
DW_FORM_ref_sig8 to refer to types in .debug_types will need further work
to support. (GCC 4.6.2 does not emit .debug_types sections.)

Specifically:

- dwarf2reader::DwarfForm gets new values.
- dwarf2reader::Dwarf2Handler and dwarf2reader::DIEHandler get new handler
  methods, named ProcessAttributeSignature, for DW_FORM_ref_sig8 attributes.
- dwarf2reader::CompilationUnit reads DW_FORM_ref_sig8 attributes, and
  passes them to ProcessAttributeSignature. It also gets support for
  DW_FORM_sec_offset, DW_FORM_exprloc, and DW_FORM_flag_present, using the
  existing appropriate ProcessAttribute* methods.
- dwarf2reader::DIEDispatcher passes through ProcessAttributeSignature
  attributes to its DIEHandler.
- Unit tests are updated.
2012-02-01 11:27:33 -08:00
Jim Blandy
869bbdab6a Bug 714129: Breakpad DWARF support: Remove extraneous breaks following returns in dwarf2reader.cc. r=ted 2012-02-01 11:27:33 -08:00
Jim Blandy
e3c73e0a40 Bug 714129: Add partial unit tests for dwarf2reader::CompilationUnit. r=ted
This is really incomplete --- it's just what's needed to get started
testing support for the DWARF 4 attribute forms.
2012-02-01 11:27:33 -08:00
Justin Lebar
0540a38dc7 Bug 720444 - Add amount of free physical memory and free space in the page file to Windows crash reports. r=ted
--HG--
extra : rebase_source : 62470172fbcb49f7a1d19c45a1a6bf5dbf46fb4c
2012-01-25 15:05:05 -05:00
Ali Juma
68cc9e12bb Bug 717951 - Allow AppendAppNotesToCrashReport to be called from off the main thread in the chrome process. r=ted 2012-01-25 09:43:52 -05:00
Benjamin Smedberg
587594165b Bug 716638 - Annotate the size of a failed allocation due to OOM and submit it with the crash report, r=ted
--HG--
extra : rebase_source : 5b7d10cb2e117deabb89b75ec3f3b1a221b3c80b
2012-01-24 11:08:51 -05:00
Till Schneidereit
2751128160 Bug 718518. Remove in-tree uses of the nonstandard third argument to String.prototype.replace. r=dcamp,jgriffin,dao,ted,dtownsend 2012-01-18 16:10:39 -05:00
Mike Hommey
e53de290fb Bug 701371 - Rename mozutils to mozglue, and move it to top-level. r=khuey,a=brendan
--HG--
rename : memory/mozutils/Makefile.in => mozglue/Makefile.in
rename : memory/mozutils/Makefile.in => mozglue/build/Makefile.in
rename : memory/mozutils/dummy.cpp => mozglue/build/dummy.cpp
rename : memory/mozutils/fixcrt.py => mozglue/build/fixcrt.py
rename : memory/mozutils/mozutils.def.in => mozglue/build/mozglue.def.in
2011-12-28 08:24:02 +01:00
Nick Thomas
c1b2cfc825 Bug 693192 - Nightly builds infrequently fail with "make: *** [uploadsymbols] Error 50", r=ted 2012-01-10 14:36:05 +13:00
Jeff Walden
16db021217 Bug 711799 - Fix a bunch of unused-variable warnings. r=dholbert
--HG--
extra : rebase_source : 91fc77dca316018652d4d99f6d4cc8d0f7195e6e
2011-12-18 01:00:42 -05:00
Ted Mielczarek
be9c5a1b76 bug 708453 - escape URLs before constructing NSURL. r=smichaud 2011-12-08 18:08:07 -05:00