Commit Graph

183 Commits

Author SHA1 Message Date
Birunthan Mohanathas
f9b1b35c3e Bug 869836 - Part 11: Use Append('c') instead of AppendLiteral("c"). r=ehsan
--HG--
extra : rebase_source : 08bcbfd804f1adcab40c7d59fa56deda1f6e0829
2014-05-26 21:54:58 +03:00
Chris Peterson
30cde70b29 Bug 666646 - Fix warnings in toolkit/crashreporter and suppress MSVC warning in third-party Breakpad code. r=ted 2014-05-14 20:11:14 -07:00
Benjamin Smedberg
fe4c35f171 Bug 1004623 - UpdateCrashEventsDir() is called before XPCOM is started, which means crash events are not being recorded until/unless the user uses an out-of-process plugin. r=ted
--HG--
extra : rebase_source : da13e7c52556c4747914ae502847beb6cc653c46
2014-05-06 15:48:40 -04:00
David Major
79a23958bd Bug 1001759: Record total RAM and pagefile size in crash reports. r=bsmedberg
--HG--
extra : rebase_source : a49dc1d6b08831a6a076f7f0e0e4ad0287203be1
2014-04-30 10:32:10 +12:00
Aaron Klotz
275cb37343 Bug 991039: Disable IOInterposer in FPEFilter; r=ted 2014-04-02 11:49:56 -06:00
Aaron Klotz
1f12e7f92f Bug 973353: Disable IOInterposer when reporting a crash; r=froydnj,ted 2014-03-15 00:10:39 -06:00
Gregory Szorc
4c4a4b3468 Bug 875562 - Part 8: Write crash events for main process crashes; r=bsmedberg
This patch makes the crash reporter crash event directory aware and
writes main process crash event files at crash time.

--HG--
extra : rebase_source : 1d6a817ae401230b3fe8fcd236468ceb3e309a10
2014-02-18 15:58:03 -08:00
Aaron Klotz
a1a0aef190 Bug 852117: Add event loop nesting level API to crash reporter; r=ted
--HG--
extra : rebase_source : a7a487371b3bf3d881d245518bc9e0bc11ffb49d
2014-02-13 10:51:09 -07:00
Jed Davis
230a08b7ab Bug 945498 - Use breakpad to report seccomp violations as crashes. r=ted, r=kang
Upstream issue for breakpad patch: https://breakpad.appspot.com/1114003/
2014-02-05 13:29:51 -05:00
David Major
d48db5158b Bug 958348 - Allow swapping the current and previous exception filters. r=dmajor 2014-01-29 17:07:35 -05:00
Art Rothstein
d0b6f5c706 Bug 791784 - Add serialization to avoid a thread race when a plug-in crashes during Firefox shutdown. r=ted, r=bsmedberg 2014-01-15 10:03:14 -05:00
Ryan VanderMeulen
87f097c1ab Backed out changeset e50da0289f45 (bug 791784) for Mutex leaks. 2014-01-13 10:25:24 -05:00
Art Rothstein
24a66c4e4a Bug 791784 - Add serialization to avoid a thread race when a plug-in crashes during Firefox shutdown. r=ted 2014-01-13 09:19:04 -05:00
Ehsan Akhgari
ebd358dfd7 Bug 927728 - Part 1: Replace PRUnichar with char16_t; r=roc
This patch was automatically generated by the following script:

#!/bin/bash
# Command to convert PRUnichar to char16_t

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*modules/libmar*" \
       ! -wholename "*/.hg*" \
       ! -wholename "obj-ff-dbg*" \
       ! -name prtypes.h \
       ! -name Char16.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 PRUnichar char16_t
2014-01-04 10:02:17 -05:00
Birunthan Mohanathas
759ab69b0a Bug 713082 - Part 2: Rename Util.h to ArrayUtils.h. r=Waldo
--HG--
rename : mfbt/Util.h => mfbt/ArrayUtils.h
2013-12-08 21:52:54 -05:00
Benjamin Smedberg
f8e46e8f6c Bug 946799 part A - annotate the location and size of the breakpad memory reservation, r=ted 2013-12-06 09:00:06 -05:00
Jacek Caban
015f90825c Bug 944913 - toolkit/crashreporter part r=ehsan 2013-12-05 10:52:54 +01:00
Jacek Caban
8289445c70 Bug 944913 - Partial revert of a41081c1026c due to build bustage. 2013-12-03 16:35:11 +01:00
Jacek Caban
27a3029fcd Bug 944913 - Fixed char16_t/wchar_t mismatch in tollkit/. r=ehsan
--HG--
extra : rebase_source : c33427dd7c1c2db3d2741b8c2e0d1b4a0359a0a4
2013-12-03 16:07:22 +01:00
Andrew Halberstadt
38f0ed8cf7 Bug 866937 - Enable crashreporter by default on debug gonk builds, r=ted 2013-11-29 11:15:39 -05:00
David Major
b2caa83014 Bug 943051 - Fix VirtualAlloc and VirtualFree flags for gBreakpadReservedVM. r=bsmedberg
--HG--
extra : rebase_source : ef9c8fca8bf36d27fd070a7dddadadc876f27b0d
2013-11-26 13:22:01 -05:00
David Major
198e213e28 Bug 932100 - Part 2: Move DLL blocklist code to mozglue. r=bsmedberg, r=glandium
--HG--
rename : toolkit/xre/nsWindowsDllBlocklist.cpp => mozglue/build/WindowsDllBlocklist.cpp
2013-11-12 08:31:32 -05:00
Jonas Finnemann Jensen
601c303bbe Bug 902587 - Part 2A: Refactor late-write-checks as client of IO Interposer. r=BenWa
--HG--
rename : xpcom/build/mozPoisonWrite.h => xpcom/build/LateWriteChecks.h
rename : xpcom/build/mozPoisonWrite.h => xpcom/build/PoisonIOInterposer.h
rename : xpcom/build/mozPoisonWriteBase.cpp => xpcom/build/PoisonIOInterposerBase.cpp
rename : xpcom/build/mozPoisonWriteMac.cpp => xpcom/build/PoisonIOInterposerMac.cpp
rename : xpcom/build/mozPoisonWriteWin.cpp => xpcom/build/PoisonIOInterposerWin.cpp
2013-11-05 07:45:20 -05:00
Benjamin Smedberg
2fdf781052 Bug 927944 - Annotate crash reports with a list of DLLs that were blocked via the windows blocklist. Also fix the blocklist to recognize forward-slash as a path delimiter, r=ehsan
--HG--
extra : rebase_source : 5cbff13357fe96c5a86b5511a58b69176aa71817
2013-10-18 14:24:50 -04:00
Daniel Holbert
b1081cbc4d Bug 913548 part 2: Replace unused variable "ignored" with unused<< in nsExceptionHandler.cpp, and add a few other unused<< for consistency. r=ted 2013-10-16 16:46:22 -07:00
Daniel Holbert
e742bcd2ac Bug 913548 part 1: Switch nsExceptionHandler.cpp from (void) to unused<<. r=ted 2013-10-16 16:46:14 -07:00
Birunthan Mohanathas
053f76bb30 Bug 784739 - Switch from NULL to nullptr in toolkit/crashreporter/; r=ehsan 2013-10-10 16:39:09 -04:00
Ehsan Akhgari
671bbdc894 Bug 919505 - Minimize the #includes in dom/ipc; r=jst 2013-09-23 17:30:40 -04:00
Ehsan Akhgari
db700056d9 Bug 918926 - Minimize the crashreporter #includes; r=ted 2013-09-21 23:04:10 -04:00
Robert O'Callahan
33cdb42706 Bug 910989. Remove nsTHashtable::Init, fallible allocation, and MT hashtables. r=ehsan,bsmedberg
--HG--
extra : rebase_source : 0787130b1814c74bfb38dc178de94022f0b2e64e
2013-09-02 20:41:57 +12:00
Boris Zbarsky
94d64e0f7e Bug 911771. Remove uses of MOZ_DEBUG in .cpp files, since there is no such thing there. Use DEBUG instead. r=glandium 2013-09-04 16:43:12 -04:00
Mike Hommey
a53e0e4815 Bug 717538 - Enable crash reporter in application.ini with MOZ_CRASHREPORTER instead of MOZILLA_OFFICIAL. r=ted 2013-08-30 11:10:57 +09:00
Jim Mathies
a7737ad40c Bug 853857 - Check the result of CrashReporter::CheckForLastRunCrash. r=ted 2013-06-21 04:11:43 -05:00
Benjamin Smedberg
767f9dc78a Bug 837835 - Reserve VM space at startup and free it when a crash happens, in the hope that writing a minidump will then succeed. r=ted 2013-04-13 09:10:28 -04:00
Brian Nicholson
173d669b69 Bug 856163 - Part 2: Move preprocessed code to AppConstants. r=kats,mfinkle,rnewman
--HG--
rename : mobile/android/base/CrashReporter.java.in => mobile/android/base/CrashReporter.java
rename : mobile/android/base/GeckoActivity.java.in => mobile/android/base/GeckoActivity.java
rename : mobile/android/base/Restarter.java.in => mobile/android/base/Restarter.java
rename : mobile/android/base/SmsManager.java.in => mobile/android/base/SmsManager.java
rename : mobile/android/base/UpdateServiceHelper.java.in => mobile/android/base/UpdateServiceHelper.java
rename : mobile/android/base/resources/menu-large-v11/browser_app_menu.xml.in => mobile/android/base/resources/menu-large-v11/browser_app_menu.xml
rename : mobile/android/base/resources/menu-v11/browser_app_menu.xml.in => mobile/android/base/resources/menu-v11/browser_app_menu.xml
rename : mobile/android/base/resources/menu-xlarge-v11/browser_app_menu.xml.in => mobile/android/base/resources/menu-xlarge-v11/browser_app_menu.xml
rename : mobile/android/base/resources/menu/browser_app_menu.xml.in => mobile/android/base/resources/menu/browser_app_menu.xml
rename : mobile/android/base/resources/xml/preferences.xml.in => mobile/android/base/resources/xml/preferences.xml
2013-04-09 17:10:47 -07:00
Mike Hommey
864ce294ff Bug 855823 - Rely on breakpad finding file ids itself instead of relying on AddLibraryMapping caller to provide them. r=ted 2013-04-09 14:04:53 +02:00
Jacek Caban
d7cdcba080 Bug 856566 - Fixed crashreporter compilation and profiler on mingw. r=ted 2013-04-05 11:29:50 +02:00
Mike Hommey
f85f4e68d9 Bug 855822 - Remove Add/RemoveLibraryMappingForChild. r=ted 2013-03-30 10:32:10 +01:00
Benjamin Smedberg
e15f7cd971 Bug 623462 - Add an environment variable to save a full dump, not just a minidump, r=ted 2013-02-26 14:03:26 -05:00
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