Commit Graph

190 Commits

Author SHA1 Message Date
Jed Davis
a3b8bd49ee Bug 1042261 - Don't crash while trying to report a crash if reporting is disabled. r=ted 2014-07-22 13:05:00 +02:00
Benjamin Smedberg
09c4a643b3 Bug 1039577 - CrashReporter::OOPInit should be multithread-safe, r=ted 2014-07-18 13:31:45 -04:00
David Major
3db31b2ab3 Bug 1028972 - Adjust Breakpad reservation for inflation. r=bsmedberg
--HG--
extra : rebase_source : e7811bc095ac739c2e5629fbdaa7c81686938416
2014-07-09 10:41:46 +12:00
Steven MacLeod
7e85a0256a Bug 994707 - Provide the crash events path as an environment variable for the crashreporter. r=ted
--HG--
extra : rebase_source : 96388b73c887a71fae9039a071e4733c9302eb61
2014-07-03 17:51:08 -04:00
Wes Kocher
5b3a2dbf16 Backed out 3 changesets (bug 994707) for Valgrind and XPCShell bustage on a CLOSED TREE
Backed out changeset 76555f34c210 (bug 994707)
Backed out changeset 3dd92fb7c846 (bug 994707)
Backed out changeset 802779efce2b (bug 994707)
2014-07-01 11:04:30 -07:00
Steven MacLeod
575447ec2c Bug 994707 - Provide the crash events path as an environment variable for the crashreporter. r=ted
--HG--
extra : rebase_source : 1ca29ca44c3fbf18504afe0ce1a6c1d1d87a49a2
2014-07-01 12:52:22 -04:00
Benoit Jacob
7784d25921 Bug 1028420 - Non-unified build fails when using --enable-warnings-as-errors - bustage fix, no review 2014-06-23 14:49:09 -04:00
Birunthan Mohanathas
085f40aff8 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
e4a8d4ab43 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
a8afb9f481 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
3b381232df 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
1df562a381 Bug 991039: Disable IOInterposer in FPEFilter; r=ted 2014-04-02 11:49:56 -06:00
Aaron Klotz
267a249523 Bug 973353: Disable IOInterposer when reporting a crash; r=froydnj,ted 2014-03-15 00:10:39 -06:00
Gregory Szorc
a0a4ade497 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
7c448581d3 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
9af16a662a 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
cb8e3ed66e Bug 958348 - Allow swapping the current and previous exception filters. r=dmajor 2014-01-29 17:07:35 -05:00
Art Rothstein
39e3c5ac7f 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
aac27f0e2f Backed out changeset e50da0289f45 (bug 791784) for Mutex leaks. 2014-01-13 10:25:24 -05:00
Art Rothstein
ab969604d3 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
1b83407ce9 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
3440613a39 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
831eb043f5 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
93a5c88a3d Bug 944913 - toolkit/crashreporter part r=ehsan 2013-12-05 10:52:54 +01:00
Jacek Caban
1ccbe2c176 Bug 944913 - Partial revert of a41081c1026c due to build bustage. 2013-12-03 16:35:11 +01:00
Jacek Caban
ae12308871 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
ba0546eb3a Bug 866937 - Enable crashreporter by default on debug gonk builds, r=ted 2013-11-29 11:15:39 -05:00
David Major
a06dae13d0 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
4a637bff20 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
41edf8980c 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
b5399b893f 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
b93b10a82c 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
5c4b21b16a Bug 913548 part 1: Switch nsExceptionHandler.cpp from (void) to unused<<. r=ted 2013-10-16 16:46:14 -07:00
Birunthan Mohanathas
d0cf2be39f Bug 784739 - Switch from NULL to nullptr in toolkit/crashreporter/; r=ehsan 2013-10-10 16:39:09 -04:00
Ehsan Akhgari
8c43a4f37f Bug 919505 - Minimize the #includes in dom/ipc; r=jst 2013-09-23 17:30:40 -04:00
Ehsan Akhgari
4eeac9eae5 Bug 918926 - Minimize the crashreporter #includes; r=ted 2013-09-21 23:04:10 -04:00
Robert O'Callahan
03e7828db2 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
a45b31c6ac 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
92e924b5b5 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
6566a4ec52 Bug 853857 - Check the result of CrashReporter::CheckForLastRunCrash. r=ted 2013-06-21 04:11:43 -05:00
Benjamin Smedberg
9d2f16a83c 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
ed0ffd2ff8 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
ff171032e1 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
735f1dbd18 Bug 856566 - Fixed crashreporter compilation and profiler on mingw. r=ted 2013-04-05 11:29:50 +02:00
Mike Hommey
dee5b120df Bug 855822 - Remove Add/RemoveLibraryMappingForChild. r=ted 2013-03-30 10:32:10 +01:00
Benjamin Smedberg
649ad4869f 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
2007d09f19 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
43830af254 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
4c0bb5a676 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
074526c766 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