Commit Graph

193 Commits

Author SHA1 Message Date
Ehsan Akhgari
66d4d1b849 Bug 1061061 - Fix more bad implicit constructors in misc. code; r=bsmedberg 2014-09-02 18:24:24 -04:00
David Major
27a45e66c7 Bug 1007534 - Part 3: Submit about:memory data from the native crash client. r=ted 2014-08-30 17:21:18 +12:00
David Major
de17141137 Bug 1007534 - Part 1: Add a saveMemoryReport method to nsICrashReporter. r=froydnj 2014-08-30 17:21:09 +12:00
Jed Davis
059f1f834f 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
61929e46c9 Bug 1039577 - CrashReporter::OOPInit should be multithread-safe, r=ted 2014-07-18 13:31:45 -04:00
David Major
858e6b08ed Bug 1028972 - Adjust Breakpad reservation for inflation. r=bsmedberg
--HG--
extra : rebase_source : e7811bc095ac739c2e5629fbdaa7c81686938416
2014-07-09 10:41:46 +12:00
Steven MacLeod
84220f1db5 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
4c1c6bcbf5 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
f6e820cef7 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
61e163f753 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
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