Commit Graph

144 Commits

Author SHA1 Message Date
Kartikaya Gupta
c7545fc12d Bug 811763 - Ensure crash reporter is invoked with the right android user serial number in Android 4.2 and above. r=blassey, snorp 2012-11-15 14:56:22 -08:00
Georg Fritzsche
fef817a5de Bug 788512 - Actually generate Flash process dumps instead of just collecting them if present. r=bsmedberg,ted
--HG--
extra : rebase_source : 3f418dfb63cd1d7f8830be548734d3b1cdca52e9
2012-09-26 22:49:20 +02:00
Ted Mielczarek
6740b802b3 bug 791775 - Replace a diff hunk that got lost from the previous landing. r=me 2012-09-25 08:42:57 -04:00
Ted Mielczarek
da328eb688 bug 791775 - Update to Breakpad SVN r1047. r=glandium
--HG--
rename : toolkit/crashreporter/google-breakpad/src/third_party/linux/include/glog/log_severity.h => toolkit/crashreporter/google-breakpad/src/third_party/glog/src/glog/log_severity.h
2012-09-25 07:52:54 -04:00
Georg Fritzsche
cf33482a3e Bug 784145 - When submitting hang reports, submit the browser report as a field of the plugin report instead of as a completely separate report. r=ted 2012-09-08 19:20:59 +02:00
Randell Jesup
eedf93a21d Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg 2012-09-01 22:35:17 -04:00
Ehsan Akhgari
0fd9123eac Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
This patch was generated by a script.  Here's the source of the script for
future reference:

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*/.hg*" \
       ! -wholename "obj-ff-dbg*" \
       ! -name nsXPCOMCID.h \
       ! -name prtypes.h \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -o -iname "*.c" \
         -o -iname "*.cc" \
         -o -iname "*.idl" \
         -o -iname "*.ipdl" \
         -o -iname "*.ipdlh" \
         -o -iname "*.mm" \) | \
    xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}

convert PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t

convert PRIntn int
convert PRUintn unsigned

convert PRSize size_t

convert PROffset32 int32_t
convert PROffset64 int64_t

convert PRPtrdiff ptrdiff_t

convert PRFloat64 double
2012-08-22 11:56:38 -04:00
Bill McCloskey
55cbbbc633 Bug 765065 - Annotation for crash reports: "Are we GCing?" (r=bsmedberg) 2012-08-15 10:47:51 -07:00
Ms2ger
3f950b5744 Bug 780387 - Part b: Stop using PRIntn; r=bsmedberg 2012-08-09 09:09:40 +02:00
Aryeh Gregor
e806eeab4f Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Jim Mathies
d347812dd1 Bug 741741 - Enable headless crash reporting for metrofx. r=ted 2012-07-27 08:06:38 -05:00
Ted Mielczarek
287174e5d2 bug 761909 - crash reporter plumbing for gonk. r=bsmedberg 2012-07-16 19:50:52 -04:00
Benjamin Smedberg
459a6522bd 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
d19c5bb416 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
d2622133fe Bug 577221 - Create the proper registry keys before writing the SubmitCrashReporter value. r=ted 2012-07-10 18:31:03 -04:00
Ehsan Akhgari
910d058e01 Merge mozilla-central into moizilla-inbound 2012-07-03 11:14:18 -04:00
Benjamin Smedberg
ad241c1234 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
dac9a950f6 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
Rafael Ávila de Espíndola
c60b1db79c 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
Wolfgang Rosenauer
3c614e844d Bug 762780 - crashreporter restart command should support MOZ_APP_LAUNCHER. r=ted 2012-06-20 17:41:34 +02:00
Geoff Lankow
00f3a215c9 Bug 749930 - Replace uses of nsILocalFile with nsIFile (compiled code only); r=bsmedberg 2012-06-06 14:08:30 +12:00
Tim Abraldes
6a9acb3da8 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
ca171eec44 Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Benjamin Smedberg
4f91700da9 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
Nicholas Cameron
b056a47fa0 Bug 733892; block reverting to the null last chance expception handler. r=ehsan 2012-04-20 21:07:55 +12:00
Mark Capella
0af24742c6 Bug 721496 - Remove MOZ_WINSDK_TARGETVER ifdefs for pre-Windows 7 SDKs. r=jimm 2012-02-23 01:33:19 +01:00
Justin Lebar
9dc9c4875e 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
ace5ca0279 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
3c82e7f486 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
Benjamin Smedberg
7aaf9134dc 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
Felix Fung
2426fb88be Bug 688083 - Plugin Crash: Sync Submit Report Checkbox With Pref Between Instances. r=dolske 2011-10-03 13:26:08 -07:00
Ehsan Akhgari
2a602a5685 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
b7753477cf 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
Jeff Walden
eb2cb918a4 Back out everything since 5435ee09cf7b. Tinderbox compilers hate me. r=epic-fail 2011-10-12 12:21:53 -07:00
Jeff Walden
77ebbde4ab Bug 639469 - Implement mozilla::ArrayLength and mozilla::ArrayEnd, and replace uses of NS_ARRAY_LENGTH whenever possible. r=cjones
--HG--
extra : rebase_source : 860a8271bf7e51cde358f2a4185c410de1fc2960
2011-10-10 22:50:08 -07:00
Josh Matthews
38471837d9 Bug 581341 - Part 6: Hack around an MSVC PGO bug. r=ted 2011-09-30 13:02:52 -04:00
Josh Matthews
5ab94d451d Bug 581341 - Part 3: Install child process exception handler before activating breakpad. r=bsmedberg 2011-06-23 19:30:31 -04:00
Josh Matthews
f19032cbb3 Bug 581341 - Part 2: Hook up CrashReporter functions to IPC. r=ted 2011-06-08 16:21:03 -04:00
Michael Wu
d8e503c38b 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
Bill McCloskey
f467a1aa00 Bug 662646 - Add API to register memory for inclusion in crash reports (r=ted) 2011-07-07 17:31:01 -07:00
Matheus Kerschbaum
93480c6366 Bug 639754 - Remove MOZ_IPC checks since IPC is always built now; r=bsmedberg 2011-04-02 19:14:00 -07:00
timeless@mozdev.org
b4917f1bfe Bug 587488 warning: CrashReporter::OOPDeinit() declared static but never defined [!IPC]
r=luser
2011-03-22 10:57:26 -04:00
Chris Leary
4e1d0a6b70 Merge mozilla-central and tracemonkey. (a=blockers) 2011-02-06 15:30:39 -08:00
Serge Gautherie
e3052feecb 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
Ted Mielczarek
ca8615b2f6 Fix whitespace from bug 620974
--HG--
extra : rebase_source : d8c83289d8f2b4e96363c69041c390d1053344c9
2011-01-28 11:28:10 -05:00
Rafael Ávila de Espíndola
c985ee8f47 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
Ted Mielczarek
d19c6bec53 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
e31cb0b8f8 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
Bill McCloskey
75013399cf Bug 630288 - Reduce stack usage of MiniDumpCallback (r=ted) 2011-02-02 10:22:32 -08:00
Benjamin Smedberg
3b0ee8bb51 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