Граф коммитов

131 Коммитов

Автор SHA1 Сообщение Дата
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
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 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
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
Wolfgang Rosenauer 90b16fd322 Bug 762780 - crashreporter restart command should support MOZ_APP_LAUNCHER. r=ted 2012-06-20 17:41:34 +02: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
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
Nicholas Cameron c84fd77c3f Bug 733892; block reverting to the null last chance expception handler. r=ehsan 2012-04-20 21:07:55 +12: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
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
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
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
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
Jeff Walden d0532c3e95 Back out everything since 5435ee09cf7b. Tinderbox compilers hate me. r=epic-fail 2011-10-12 12:21:53 -07:00
Jeff Walden 0f30b277bf 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 3b3a2791d1 Bug 581341 - Part 6: Hack around an MSVC PGO bug. r=ted 2011-09-30 13:02:52 -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
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
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
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
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
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
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
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
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
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
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 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
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
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 de88b0bc81 bug 595171 - crashreporter glue for Android. r=blassey a=blocking-fennec 2010-10-13 14:27:44 -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
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
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