Commit Graph

710 Commits

Author SHA1 Message Date
Jim Mathies
418f74e87a Bug 741741 - Enable headless crash reporting for metrofx. r=ted 2012-07-27 08:06:38 -05:00
Boris Zbarsky
7170b6f706 Bug 777627. Make sure we can't accidentally turn off mochitests for a directory by reordering the Makefile.in. r=khuey 2012-07-26 12:38:03 -04:00
Ed Morley
2b16adb841 Backout 137efb901fc9 (bug 777627) for bustage 2012-07-26 17:48:00 +01:00
Boris Zbarsky
461a44b5d8 Bug 777627. Make sure we can't accidentally turn off mochitests for a directory by reordering the Makefile.in. r=khuey 2012-07-26 12:38:03 -04:00
Mike Hommey
3c8b48aa47 Bug 689184 part 2 - Use the program PT_DYNAMIC segment for the MD_LINUX_DSO_DEBUG stream. r=ted 2012-07-25 07:43:22 +02:00
Mike Hommey
07cfa89f84 Bug 689184 part 1 - Keep ELF auxiliary vectors values within LinuxDumper. r=ted 2012-07-25 07:43:22 +02:00
Ted Mielczarek
e865ee4b36 bug 761909 - crash reporter plumbing for gonk. r=bsmedberg 2012-07-16 19:50:52 -04:00
Joshua Cranmer
a1186c1020 Bug 773637 - Kill NS_SCRIPTABLE annotations, Part 1: Remove NS_*PARAM annotations. r=ehsan
--HG--
extra : rebase_source : a0b4bc50fece36d9a90fed61431635948bfa33b5
2012-07-06 15:14:07 -05:00
Himanshu
f6afb2c0a7 Bug 710993 - Fix possible bad pointer/size mistake in HTTPUpload::SendRequest(). r=ted 2012-07-20 20:19:37 -04:00
Ted Mielczarek
07b9ec76bb bug 761907 - use sys_fstat64 on Android and gonk. r=upstream
--HG--
extra : rebase_source : 75b02da45b38bfa5ae7e48401b7c0715b65e9640
2012-07-16 14:11:11 -04:00
Ted Mielczarek
03021efab7 bug 763621 - Fix a Breakpad issue, patch from upstream r792. r=upstream
--HG--
extra : rebase_source : 5f8c09fcc2172fe60b524e8e3d1026d35e7c95aa
2012-07-18 15:11:51 -04:00
Benjamin Smedberg
b78d8aca8c Bug 773665 - Don't crash during shutdown because XPCOM is already mostly-dead and refuses to create a local file, r=ted
--HG--
extra : rebase_source : 238d7a8eec192fbddfbfeb384eb62b68db42dd69
2012-07-13 13:43:17 -04:00
Benjamin Smedberg
b341414c8f Bug 771251 - OOP crash reporting accesses the directory service off the main thread. In addition, the first design of the crash injector callback meant that we're dropping some set of Flash crashes which happen during an RPC call. r=ted
* Fix the directory service usage by saving the pending directory path from OOPInit.
* Force clients to call OOPInit on the main thread.
* Make injected crashes available via TakeMinidumpForChild and give each crash a sequence number so that we can pick the earliest crash from the three possibilities; delete the other two to avoid polluting about:crashes
2012-07-10 22:20:05 -04:00
Brandon Cheng
c670b5f955 Bug 577221 - Create the proper registry keys before writing the SubmitCrashReporter value. r=ted 2012-07-10 18:31:03 -04:00
Nathan Froyd
bfff055672 Bug 370750 - consolidate mochitest files installation; r=glandium
With assistance on the patch from Ms2ger, Waldo, and Mossop.
2012-07-03 16:49:02 -04:00
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
Kyle Huey
c03d850a20 Merge m-c to b-s. 2011-11-29 16:31:01 -05:00
Ted Mielczarek
d959c65dfc Rename Breakpad's md5.c to md5.cc, wrap its functions in the google_breakpad namespace. no bug, r=mento at http://breakpad.appspot.com/322003/show
--HG--
rename : toolkit/crashreporter/google-breakpad/src/common/md5.c => toolkit/crashreporter/google-breakpad/src/common/md5.cc
2011-11-21 12:40:25 -05:00
Gregory Szorc
1a1f7b30ae Bug 698248 - Remove unused FORCE_USE_PIC variable; r=khuey 2011-11-01 15:45:23 -07:00
Felix Fung
19d291991e Bug 688083 - Plugin Crash: Sync Submit Report Checkbox With Pref Between Instances. r=dolske 2011-10-03 13:26:08 -07:00
Benjamin Smedberg
a8f9aab7bc Bug 429592 part A - allow AnnotateCrashReport to be called from off the main thread in the chrome process, r=ted
--HG--
extra : rebase_source : b2aa9c90368ec702d6c8eaa295cbdd45f2596e6e
2011-10-06 16:33:21 -04:00
Ted Mielczarek
efc1bff710 Backed out changeset 2873fd694750 for build bustage on mac. 2011-11-21 13:54:32 -05:00
Ted Mielczarek
92135fd903 Rename Breakpad's md5.c to md5.cc, wrap its functions in the google_breakpad namespace. no bug, r=mento at http://breakpad.appspot.com/322003/show
--HG--
rename : toolkit/crashreporter/google-breakpad/src/common/md5.c => toolkit/crashreporter/google-breakpad/src/common/md5.cc
2011-11-21 12:40:25 -05:00
Ehsan Akhgari
92064e6d3f Bug 690892 - Replace PR_TRUE/PR_FALSE with true/false on mozilla-central; rs=dbaron
Landing on a CLOSED TREE
2011-10-17 10:59:28 -04:00
Jeff Walden
b5e57820bf Bug 693469 - Implement mozilla::ArrayLength and mozilla::ArrayEnd, and replace uses of NS_ARRAY_LENGTH whenever possible. (Exceptions: assigning to static initializers, use in static assertions, as template parameters, etc. These will go away when the relevant compilers have C++11 constexpr support.) r=cjones
--HG--
extra : rebase_source : b4bae9a0f85abf2feb828609b50e756916b99a6f
2011-10-10 22:50:08 -07:00
John Hopkins
9a8a30eeb8 Bug 685442 - Mac nightly builders keep failing (typically upload_symbols step). r=ted 2011-10-13 22:48:32 -07:00
Mike Hommey
15f8fcde2c Bug 677897 - Use objcopy from the NDK in symbolstore.py. r=ted 2011-10-06 09:08:14 +02:00
Josh Matthews
3b3a2791d1 Bug 581341 - Part 6: Hack around an MSVC PGO bug. r=ted 2011-09-30 13:02:52 -04:00
Josh Matthews
2ac9ef8dc8 Bug 581341 - Part 5: Test. r=ted 2011-06-08 16:21:20 -04:00
Josh Matthews
70eb743d00 Bug 581341 - Part 3: Install child process exception handler before activating breakpad. r=bsmedberg 2011-06-23 19:30:31 -04:00
Josh Matthews
01ddb73d6d Bug 581341 - Part 2: Hook up CrashReporter functions to IPC. r=ted 2011-06-08 16:21:03 -04:00
Kyle Huey
f28c4d4a41 Bug 687332: Fix up CrashSubmit.jsm. r=ted 2011-09-29 12:06:36 -04:00
Michael Wu
d2b70213ac Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones
--HG--
rename : tools/trace-malloc/bloatblame.c => tools/trace-malloc/bloatblame.cpp
2011-09-28 23:19:26 -07:00
Ted Mielczarek
6e1d2b8122 bug 688877 - fix some usage of GetDlgItemText in Windows crashreporter. r=ehsan 2011-09-26 14:40:09 -04:00
Mike Hommey
9d0e8de4fd Bug 688062 - Avoid linking the crash reporter against libmozutils. r=ted 2011-09-21 18:06:14 +02:00
Felix Fung
0bc71ca85d Bug 577266 - Correct misspellings in source code 2011-09-06 17:20:35 -07:00
Rafael Ávila de Espíndola
562cee8ff8 Bug 680277 - Debug builds should always be compiled with frame pointers. r=khuey.
This patch creates a new MOZ_FRAMEPTR_FLAGS variable that is used only to
control the frame pointer flags passed to the compiler. It also computes this
flag in a macro so that the toplevel configure and js/src/configure stay in
sync.
2011-09-03 13:36:18 -04:00
Ehsan Akhgari
93a6cd21cb Keep changeset 7ee51f8ea940 backed out on the reverted tree 2011-09-02 09:06:23 -04:00
Ehsan Akhgari
44916171a8 Revert to changeset e6fc4594c22e which was the last one to get a green Win7 tp run 2011-09-02 09:03:08 -04:00
Rafael Ávila de Espíndola
a9e50eeac8 revert 11247af82311, e3626f903f9f and 7ee51f8ea940.
CLOSED TREE
2011-09-01 22:01:56 -04:00
Rafael Ávila de Espíndola
293d01438a Bug 680277 - Change another use of MOZ_OPTIMIZE_FLAGS to MOZ_FRAMEPTR_FLAGS. r=khuey. 2011-09-01 16:43:50 -04:00
Rafael Ávila de Espíndola
29fe1133c5 Bug 677641 - Fix c++0x initializer list error found by clang; r=ted
The first field in a MDLocationDescriptor is a u_int32_t, so change this cast to the correct type. This fixes an error newer clang versions find in c++ 0x mode.
See http://llvm.org/viewvc/llvm-project/?view=rev&revision=136181 for more
information.
2011-08-11 19:31:11 -04:00
Rafael Ávila de Espíndola
f9c60f3105 Bug 677644: Fix c++0x initializer list error found by clang. (The process_id field is unsigned, so we need to cast it in c++0x.) r=ted 2011-08-11 11:15:08 -07:00
Mike Hommey
1ea403f841 Bug 677159 - Don't allow to include config/config.mk twice. r=khuey 2011-08-09 09:07:48 +02:00
Rafael Ávila de Espíndola
7d6fbf4bac b=675008 r=ted.mielczarek Fix builds that use ac_add_options --with-macos-sdk=/Developer/SDKs/MacOSX10.7.sdk ac_add_options --enable-macos-target=10.5 Before we were checking for the deployment target to decide if the ppc headers were available, but they are not in the 10.7 sdk, even if we are targeting 10.5. 2011-08-02 11:49:15 -04:00
Marco Bonardo
baa593cf17 Merge mozilla-central and mozilla-inbound 2011-08-02 11:52:56 +02:00
Rafael Ávila de Espíndola
f687b37812 bug 673789 - Fix Breakpad compilation on OS X 10.7 SDK by #ifdefing out PPC support when targeting 10.7. r=ted 2011-07-25 19:15:00 -04:00
Kyle Huey
ae5e8e9dcf Merge m-c to b-s. 2011-07-22 00:03:35 -07:00
Evan Shaw
598a227d79 bug 673072 - remove deprecated curl header curl/types.h from Breakpad includes. r=ted 2011-07-21 02:32:00 -04:00
Rafael Espindola
8e886141e5 b=674440, r=ted.mielczarek
Backport r819 from google-breakpad. This lets us build XUL without linking
libcrypto.dylib which is deprecated in 10.7.
2011-08-01 13:43:23 -04:00
Dão Gottwald
62f54e9b3f remove trailing space. DONTBUILD
--HG--
extra : rebase_source : 948e1959a7c7f36300248434fdb40fdde2960fc4
2011-07-21 05:28:28 +02:00
Josh Matthews
a3245e8ef0 Bug 548667 - Future-proof CrashSubmit against future argument additions. r=ted 2011-07-20 17:52:13 -07:00
Josh Matthews
2832eeb00d Bug 548667 - Submit crash reports via FormData. r=ted 2011-07-20 17:51:55 -07:00
Bill McCloskey
6d7d2c9489 Bug 662646 - Avoid allocating memory in Windows crash handler (r=ted) 2011-07-08 14:43:16 -07:00
Bill McCloskey
33aaa1793d Bug 662646 - Tests for new crash report API (r=ted) 2011-07-07 17:31:11 -07:00
Bill McCloskey
feabc1b293 Bug 662646 - Add API to register memory for inclusion in crash reports (r=ted) 2011-07-07 17:31:01 -07:00
Jacob Bramley
9a97cc1996 Bug 666918: Allow some routines to omit the frame pointer even with --enable-profiling. This will break call-graphs for these functions, but an --enable-profiling build won't work without it. [r=cjones] 2011-07-05 09:48:40 +01:00
Josh Matthews
5d3b32a652 Back out bug 581341 due to too many intermittent failures. 2011-06-29 23:44:28 -04:00
Josh Matthews
9bd64cc0fc Bug 581341 - Part 5: Test. r=ted
--HG--
extra : rebase_source : b10d96685038d3158433696090bacfcdffb0655a
2011-06-08 16:21:20 -04:00
Josh Matthews
bce6638c05 Bug 581341 - Part 3: Install child process exception handler before activating breakpad. r=bsmedberg
--HG--
extra : rebase_source : 32fa9c79f1620226e59459609e9c4390a511e5ad
2011-06-29 15:29:27 -04:00
Josh Matthews
953b4316f4 Bug 581341 - Part 2: Hook up CrashReporter functions to IPC. r=ted
--HG--
extra : rebase_source : 3ed9d9967fbe4ea5ace629974f3f12bb156f67f8
2011-06-08 16:21:03 -04:00
Josh Matthews
ec2f30bcb7 Back out bug 581341. 2011-06-29 15:13:17 -04:00
Josh Matthews
cce6f8c7c3 Bug 581341 - Part 5: Test. r=ted 2011-06-08 16:21:20 -04:00
Josh Matthews
812b334553 Bug 581341 - Part 3: Install child process exception handler before activating breakpad. r=bsmedberg 2011-06-23 19:30:31 -04:00
Josh Matthews
9764c2bcf1 Bug 581341 - Part 2: Hook up CrashReporter functions to IPC. r=ted 2011-06-08 16:21:03 -04:00
Raymes Khoury
9fb77d8199 Bug 537857 part 3 - Fix assert failure in dump_syms in some cases when the linker discarded symbols. r=ccountant,r=jimb 2011-06-28 08:25:49 +02:00
Dão Gottwald
665680c088 Bug 664091 - Move aboutcrashes_utils.js to head.js. r=ted
--HG--
rename : toolkit/crashreporter/test/browser/aboutcrashes_utils.js => toolkit/crashreporter/test/browser/head.js
2011-06-16 06:41:03 +02:00
Robert Strong
c20bafa55a Bug 647296 - crashreporter.exe and updater.exe creates HKEY_CURRENT_USER\Software\Classes\Applications as a volatile key. r=khuey 2011-06-09 15:14:19 -07:00
Dão Gottwald
e0abfe934e Bug 658738 - remove event listeners in browser chrome tests 2011-06-07 16:45:26 +02:00
Alon Zakai
1ad90d8d03 Bug 617115 - crashreporter fixes part. r=ted 2011-05-27 10:01:03 -07:00
Matheus Kerschbaum
6eb93f7dd3 Bug 648911 - Remove support for non-libxul builds. r=ted,joedrew 2011-05-23 18:54:47 +02:00
Joel Maher
d97ccb1021 Bug 616999 - switch to a manifest format for xpcshell instead of walking directories. r=jhammel, a=test-only 2011-05-20 12:22:00 -04:00
Joel Maher
193c66083d Bug 616999. Xpcshell manifest support; manifest files. r=ted, a=test-only 2011-05-20 11:54:01 -04:00
Justin Lebar
890f71e904 Bug 609401 - Stop spamming "Section [Build] not found" to the terminal. r=ted
--HG--
extra : rebase_source : 534a86362d5b464a2157d94bbc7583510e7859f9
2011-05-19 16:29:50 -04:00
Mike Hommey
6de32c8fa9 Bug 643690 part 1 - Avoid requiring libstdc++ symbol versions > GLIBCXX_3.4.8 (gcc > 4.1). r=ted,r=tglek 2011-04-15 11:03:17 +02:00
Matheus Kerschbaum
4eb6429f47 Bug 639754 - Remove MOZ_IPC checks since IPC is always built now; r=bsmedberg 2011-04-02 19:14:00 -07:00
Ehsan Akhgari
9f40b44a29 Merge cedar into mozilla-central 2011-03-25 23:55:33 -04:00
Jason Duell
4d46a8bfba Bug 534764. Allow separate NSPR logs if requested, in case of interleaving issues; r=mayhemer,wtc 2011-03-25 19:40:50 -04:00
Mike Hommey
cffe14171f Bug 644297 - Avoid _MD5*/_SHA* symbols not found during Shark universal build. r=ted 2011-03-24 15:27:00 +01:00
L. David Baron
c7d7eb3af7 Backout changeset d60d8c1c1f8a (Bug 644297) for causing bug 644790. 2011-03-24 21:08:28 -07:00
Mike Hommey
d96dcb149e Bug 644297 - Avoid _MD5*/_SHA* symbols not found during Shark universal build. r=ted 2011-03-24 15:27:00 +01:00
Ehsan Akhgari
7a74f6a5b4 Merge mozila-central onto cedar
--HG--
rename : toolkit/components/places/src/nsLivemarkService.js => toolkit/components/places/nsLivemarkService.js
2011-03-23 12:06:04 -04:00
Mike Hommey
1dff3f39b3 Bug 637316 - Forgot replacement of memcmp with my_strncmp in part 2. r=me 2011-03-14 15:28:44 +01:00
Mike Hommey
b1753edd1e Bug 637316 part 2 - Merge adjacent mappings with the same name into one module in crash reporter. r=ted 2011-03-14 15:24:58 +01:00
Mitchell Field
1941025642 Merge mozilla-central to build-system. 2011-02-28 18:28:40 +11:00
Mike Hommey
f796e57bee Bug 584474 part 5 - Link necessary libraries to crashreporter client for MD5 and SHA1 on mac debug builds. r=ted 2011-02-25 15:02:04 +01:00
Josh Matthews
dcae51bacd Bug 636569 - Fix incorrect reference to this when crashes fail to submit. r=mossop a=2.0 2011-02-24 16:25:30 -05:00
Chris Jones
991b26b2ca Bug 633436: Work around an apparent gcc/gas quirk. r=vlad a=a 2011-02-16 16:43:30 -06:00
timeless
6527677dac Bug 629986 unlabeled edit fields in the crash reporter r=ted a=bsmedberg 2011-02-14 12:20:02 -05:00
Robert Strong
43248f4e0a Bug 575266 - Mozilla Crash Reporter should not display all options but 'Close Window' - based on a patch from timeless. feedback=timeless, r=ted.mielczarek, a=approval2.0 2011-02-07 18:41:59 -08:00
Chris Leary
141e2fbcd6 Merge mozilla-central and tracemonkey. (a=blockers) 2011-02-06 15:30:39 -08:00
Serge Gautherie
fdaee8754f Bug 626169 - [Win2k3 SDK] "nsExceptionHandler.cpp(739) : error C2065: 'MiniDumpWithFullMemoryInfo' : undeclared identifier"; (Av1) Match existing |ifdef XP_WIN32|, Add |#if MOZ_WINSDK_TARGETVER >= MOZ_NTDDI_LONGHORN|.
r=ted.mielczarek a-2.0=benjamin.
2011-02-02 18:32:19 +01:00
Chris Jones
3d0c14c74f Bug 628885: Note in minidumps when we generate them by RUNTIMEABORT()ing. r=ted a=a
--HG--
extra : rebase_source : f5f0783b0bbf594cb7fd3a761bb3354b6859ecdd
2011-02-01 13:53:53 -06:00
Ted Mielczarek
abab29991a bug 599301 - Make Breakpad include memory around instruction pointer in minidumps on older versions of Windows. r=mento, a=beltzner
--HG--
extra : rebase_source : c5fd538fdfb532eeed4c4265eb93a69bfac485aa
2011-01-28 11:57:08 -05:00
Ted Mielczarek
d183c2f337 Fix whitespace from bug 620974
--HG--
extra : rebase_source : d8c83289d8f2b4e96363c69041c390d1053344c9
2011-01-28 11:28:10 -05:00
Rafael Ávila de Espíndola
4b84ef5eae Bug 623122 - CurrentThreadId does not have a return for an unreachable exit path (missing return); r=ted a=bsmedberg
--HG--
extra : rebase_source : a2f7b61192957dc32c1f85edf232d51431e64483
2011-01-21 14:12:21 -05:00
Rafael Ávila de Espíndola
bdb27e7f71 Bug 623121 - Add constructor for CPPLanguage (which inherits from Language) to placate CLang; r=jimb a=bsmedberg
--HG--
extra : rebase_source : a3d601c4b67ac37cde6ebb02783510dcb04297b0
2011-01-21 14:11:35 -05:00
Rafael Ávila de Espíndola
e943910013 Bug 623119 - exception_raise_state exception_raise_state_identity have Duplicated parameter name thread_state_count; r=ted a=bsmedberg
--HG--
extra : rebase_source : 62bd5b0145dcb1cd9f3a8178c1ca66ab351f3eb8
2011-01-21 14:10:50 -05:00
Hiroyuki Ikezoe
dff4744c8a Bug 529979 - Intermittent failure in browser_aboutCrashesResubmit.js, r=ted, a=test 2010-12-31 20:22:00 -08:00
Ted Mielczarek
b6eeed94e0 bug 620974 - Add Breakpad processor code to binary test component to allow testing minidump contents. r=bsmedberg a=testonly
--HG--
extra : rebase_source : ba728fe297e9ce066438719b839e07deb38b1dd5
2011-01-12 14:14:15 -05:00
Ted Mielczarek
bb55af2e2b Fix compiling some parts of Breakpad processor on Win32. Landing as part of bug 620974, reviewed and landed upstream. r=mento, a=testonly
--HG--
extra : rebase_source : b13c758010ab079f5f4d016b9041efec5338baa1
2011-01-12 14:13:53 -05:00
Ted Mielczarek
3c0acfd5ef bug 620974 - add memory mapping info to Windows minidumps when we have a new enough dbghelp.dll. r+a=bsmedberg
--HG--
extra : rebase_source : 6e031939fefe0f36343a16a123552f0828203e1f
2011-01-12 14:13:52 -05:00
Ted Mielczarek
79972875d2 Backed out changeset cc4c72425f0e, bug 620974 - Add memory mapping info to Windows minidumps. r=timeless,bsmedberg, a=bsmedberg
Didn't fix the actual bug, new patch being landed.

--HG--
extra : rebase_source : 83a7941aa4cdea46df724871cd2d2eefd157440a
2011-01-11 10:28:55 -05:00
timeless@mozdev.org
a1e2d4aa94 Bug 587488 warning: CrashReporter::OOPDeinit() declared static but never defined [!IPC]
r=luser
2011-03-22 10:57:26 -04:00
Bill McCloskey
288ffe9254 Bug 630288 - Reduce stack usage of MiniDumpCallback (r=ted) 2011-02-02 10:22:32 -08:00
Benjamin Smedberg
3190c12bbc Bug 624835 - Exception handler ignores ::DebugBreak exceptions when it really shouldn't, r=ted a=blocker
--HG--
extra : rebase_source : 619ac4f326a67d114900691f6e61ca4a00a6f73d
2011-01-11 17:01:22 -05:00
Benjamin Smedberg
93077a7a62 Tests for bug 624835. NS_RUNTIMEABORT doesn't trigger the crash reporter on Windows.
--HG--
extra : rebase_source : dd84f82c92cbf6cd5ec8aae940371858ca4a0433
2011-01-12 09:20:06 -05:00
Ted Mielczarek
59b6835169 bug 620974 - Add memory mapping info to Windows minidumps. r=timeless,bsmedberg, a=bsmedberg
--HG--
extra : rebase_source : 2c6b3d8d209ff8f69cdf39491bf34758984e31c9
2010-12-23 14:18:31 -05:00
timeless@mozdev.org
0b0d27a2ec Bug 587618 movePath:toPath:handler: is deprecated in UIMoveFile
r=ted a=bsmedberg
2011-01-05 14:11:56 -08:00
Ted Mielczarek
9c240ff6aa bug 575519 - add a VC9-built dump_syms.exe, choose dump_syms based on compiler version. r=mitch, a=legneato
--HG--
rename : toolkit/crashreporter/tools/win32/dump_syms.exe => toolkit/crashreporter/tools/win32/dump_syms_vc1400.exe
extra : rebase_source : 3343baae2b65666b3d2d54a1e2c13fecce85d387
2010-09-23 12:53:52 -04:00
Timothy Nikkel
971a1bf176 backed out f7a6e3530d99 (bug 620974) for xpcshell failure a=backout 2010-12-24 16:17:22 -06:00
Ted Mielczarek
9ea103ff65 bug 620974 - Add memory mapping info to Windows minidumps. r=timeless, a=gavin.sharp
--HG--
extra : rebase_source : f52d894e18fab175032256de9fb943caf327d7bc
2010-12-23 14:18:31 -05:00
Ted Mielczarek
9ade0e59c2 bug 493779 - Report some memory information with Windows crash reports. r+a=bsmedberg 2010-12-15 11:35:44 -05:00
Brad Lassey
539605e644 bug 620811 - Crash on restarting fennec r=mwu a=stuart 2010-12-21 20:56:07 -05:00
Ted Mielczarek
84dceee777 bug 590961 - Allow generating minidumps from processes of differing CPU architecture. r=mento a=blocking-2.0 2010-12-16 17:56:27 -05:00
Ted Mielczarek
35f5e73698 bug 589955 - Submit empty crash reports on Windows. r=mento, a=blocking2.0
--HG--
extra : rebase_source : e618f80046f7885a4a4d797579866c68d8c61a98
2010-12-15 11:34:55 -05:00
Nick Thomas
58de4789df Bug 599475, re-enable crash reporter and punycode tests, r=ted.mielczarek, a=blocking-beta8 CLOSED TREE 2010-12-14 15:49:40 +13:00
timeless@mozdev.org
ce3df3aeac Bug 615534 warning: operation ++ on 'i' may be undefined as i is used again in an argument to CopyIndexAfterObject in MinidumpGenerator::WriteMemoryListStream. r+a=ted 2010-11-30 15:44:36 +00:00
Ted Mielczarek
99d03e6dc7 bug 605832 - Remote AddLibraryMapping from the child process, and use the results for child process minidump generation. r=cjones a=blocking-fennec 2010-11-24 09:15:03 -05:00
Ted Mielczarek
83a740b386 bug 605832 - small Breakpad fixes to allow writing minidumps from the CrashGenerationServer callback. r=cjones a=blocking-fennec 2010-11-24 09:15:02 -05:00
Kyle Huey
6350cabedd Bug 611930: Annotate crash reports with LSP information. r=ted sr=rs a=b 2010-11-21 19:29:47 -05:00
Kyle Huey
c0bf7cf5ee Backed out changeset c8a4b4ed9160. a=me 2010-11-21 14:18:32 -05:00
Kyle Huey
de4946599c Bug 611930: Annotate crash reports with LSP information. r=ted sr=rs a=b 2010-11-21 13:58:33 -05:00
Benjamin Smedberg
dd50840337 Bug 599475 - Fix crash reporting on MacOS 10.5 (Leopard) by making breakpad use it's internal implementation of MD5 instead of one randomly picked from libnss or libcrypto which isn't loading properly. r=ted a=blocking-beta8+ 2010-11-20 16:58:47 -05:00
Ted Mielczarek
d330d7fa90 bug 610970 - fix Linux minidump writer to ignore mappings that are wholly contained within mappings provided by the API, r=mwu a=blocking-fennec 2010-11-10 08:05:31 -05:00
Mike Hommey
eb3ade4aff Bug 605153 - Don't link crashreporter against libexception_handler_s. r=ted,a=bsmedberg 2010-11-07 09:20:50 +01:00
Ted Mielczarek
37f448a515 bug 607946 - Allow specifying a post-upload command for uploadsymbols. r=catlee a=bsmedberg
--HG--
extra : rebase_source : 5b152bd6833924b69af8e3ec0f0e7be36e388891
2010-11-01 14:47:16 -04:00
Ted Mielczarek
c6ccfd720f backout bug 607946, hg rebase did some bad things. a=bustage 2010-11-02 08:21:07 -04:00
Ted Mielczarek
5e66f34e1c bug 607946 - Allow specifying a post-upload command for uploadsymbols. r=catlee a=bsmedberg
--HG--
extra : rebase_source : c613fcbdc37f2154dd0f8029068584ccdf867b44
2010-11-01 14:47:16 -04:00
Chris Jones
5cca5cc417 Bug 607534: Avoid fd remap collisions. r=mwu a=blocking-fennec 2010-10-29 14:20:43 -05:00
Ted Mielczarek
7d484d4837 bug 603592 - Swap endianness on GUIDs when de-stringifying them. r=mwu, a=blocking-fennec
--HG--
extra : rebase_source : fef5970b706e352cf442526f3a419a76696b5413
2010-10-22 14:38:58 -04:00
Brad Lassey
eed43e9bca maemo bustage fix from android crash reporter push a=blocking-fennec 2010-10-20 23:13:35 -04:00
Brad Lassey
e0f7f8b99e linux build bustage fix a=bustage-fix 2010-10-20 21:33:56 -04:00
Ted Mielczarek
7c96c0ef20 bug 603592 - Add an API for the Android embedding to use to provide info about shared libraries mapped into anonymous mappings. r=mwu a=blocking-fennec 2010-10-19 15:05:47 -04:00
Ted Mielczarek
ff5e15723d bug 603592 - add a breakpad api to add info about known modules. r=mwu a=blocking-fennec 2010-10-19 14:52:27 -04:00
Ted Mielczarek
0eb0d2c885 bug 603592 - make a file_id host binary that can spit out a Breakpad file id. r=mwu a=blocking-fennec 2010-10-14 20:38:19 -04:00
Ted Mielczarek
de88b0bc81 bug 595171 - crashreporter glue for Android. r=blassey a=blocking-fennec 2010-10-13 14:27:44 -04:00
Ted Mielczarek
cdd510c54b bug 595167 - Make Breakpad client libs work on Android. r=mwu a=blocking-fennec 2010-10-13 11:37:58 -04:00
Josh Matthews
0bbdcc769c Bug 603547 - Short-circuit annotation attempts if crash reporter is not enabled. r=bsmedberg a=blocking-fennec
--HG--
extra : rebase_source : d9e8d0eb0773e5a2922ef168f323020e801036b1
2010-10-13 21:47:43 -04:00
Chris Coulson
4de20ab5e0 Bug 591331 - Allow Linux dumper to work on PTRACE-hardened kernels (Ubuntu 10.10). r=ted 2010-10-12 13:38:13 +02:00
L. David Baron
bef57370c7 Fix GC race in test by doing QueryInterface when needed, in case a the wrapper has been GCed since the last QueryInterface. (Bug 600785) r=ted.mielczarek a2.0=tests 2010-10-09 09:34:58 -07:00
Ted Mielczarek
1085487644 Bug 600408 - Fix crashreporter launching code to launch correct architecture on OS X 10.5. r=josh a=blocking-beta7 2010-10-01 15:56:25 -04:00
Mike Beltzner
298f95ccf5 Bug 531881 - Improve crash reporter UI around the mail address r=beltzner a=blocking-beta7 2010-10-01 10:44:30 -07:00
Mounir Lamouri
0e0e895f9e Merging to tip. a=blocking-b7 2010-09-30 17:10:19 -07:00
Nick Thomas
27a5084bee Bug 571367, turn production x86_64 builds into i386/x86_64 universal binaries (disable tests known to fail on leopard) r=ted CLOSED TREE 2010-09-27 12:14:47 +13:00
Ted Mielczarek
7d0bb5d2be bug 536271 - Include the page containing EIP in the minidump on Linux and Mac. r=nealsid, a=blocking
--HG--
rename : toolkit/crashreporter/google-breakpad/src/common/linux/memory.h => toolkit/crashreporter/google-breakpad/src/common/memory.h
extra : rebase_source : 2eb0ad63cdfd995c63893e5a8fe7eaa3aac72434
2010-09-23 12:53:23 -04:00
Joel Maher
4c645cfeeb Bug 591325 Fix regression due to relativesrcdir landing in xpchsell test, continued cleanup in chrome tets r=ctalbert a=NPOTB 2010-09-10 10:20:38 -07:00
Ted Mielczarek
8f34c557d7 Backed out changeset e996bccb391d
Allow Linux dumper to work on PTRACE-hardened kernels (Ubuntu 10.10). r=nealsid a=blocking
Because GCC 4.3 sucks.
2010-08-31 15:34:46 -04:00
Chris Coulson
aa9bfb2470 Allow Linux dumper to work on PTRACE-hardened kernels (Ubuntu 10.10). r=nealsid a=blocking 2010-08-27 07:01:00 -04:00
Ted Mielczarek
f4b8a00e3c bug 587747 - Implement writing of minidumps from hang detection on OS X. r=cjones a=blocking
--HG--
extra : rebase_source : fef081b5b0fae828ecc0c2678d83787778dfc70d
2010-08-27 09:32:45 -04:00
Ted Mielczarek
63caae08f4 bug 573150 - crash reporter inadvertently sends IE cookies to crash submission URL. r=nealsid a=blocking
--HG--
extra : rebase_source : 601d7a4611e0eb27143b74ab4db0b346e092aa34
2010-08-27 09:32:45 -04:00