Commit Graph

588 Commits

Author SHA1 Message Date
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
1041bfe174 Add a script to update Breakpad from SVN (no bug). r=me 2012-10-08 10:16:11 -04:00
Ted Mielczarek
de78f9bc90 bug 778364 - Update Breakpad to r1064. r=upstream 2012-10-08 10:16:09 -04:00
Ed Morley
cc9e8c3305 Bug 795393 - Remove instances of "ifneq (mobile,$(MOZ_BUILD_APP))" since they're now always true; r=ted 2012-10-06 16:46:09 +01:00
Mounir Lamouri
dcf0c40223 Merge mozilla-inbound in mozilla-central. 2012-09-26 11:57:25 +01:00
Ryan VanderMeulen
738790db90 Merge the last PGO-green inbound changeset to m-c. 2012-09-25 17:30:17 -04: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
ca50884d7c bug 792850 - add an xpcshell test for our SetUnhandledExceptionFilter hook. r=ehsan 2012-09-20 10:57:08 -04:00
Ted Mielczarek
6ea3ea9e57 bug 705047 - re-enable OOP crashreporter tests on mac. r=philor 2012-09-20 10:50:21 -04:00
Ted Mielczarek
66f76ddadc bug 733501 - Fix crashreporter xpcshell tests to actually run. r=jmaher 2012-09-13 15:43:28 -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
3e013cf19c Bug 791215 - Fix RangeError in fake crashreport server when the request body is too big. r=ted 2012-09-17 19:47:14 +02:00
Chris AtLee
f7b36d69fc Bug 777530: remove Android.mk files from breakpad; add perl-Digest-SHA to panda build requirements. r=ted DONTBUILD
--HG--
extra : rebase_source : b5c9cdf1c3ab712ad60f7114c0734d67fa5fb633
2012-09-24 20:41:58 -04:00
Benjamin Smedberg
adf788ae6e Bug 791009 part B - fix spelling and logic errors; don't add additional_minidumps to the extra data twice, r=ted
--HG--
extra : rebase_source : 0d46f9a86145092cfe0aac9fd4eee9cc783f94a4
2012-09-14 16:37:58 -04:00
Benjamin Smedberg
fd4dd85a73 Bug 791009 - Misnamed variable in CrashSubmit.jsm causes an error when submitting a crash: "ReferenceError: extraData is not defined", r=ted
--HG--
extra : rebase_source : f3302a6c31fc2c68842e669f25897fa519ed5721
2012-09-13 15:20:12 -04:00
Benjamin Smedberg
ccc3a8873b Bug 787410 - Allow overriding the plugin hang report submission URL via prefs (also allow overriding in general using MOZ_CRASHREPORTER_URL like the standalone client does), r?ted 2012-09-11 15:13:00 -04:00
Arnaud Sourioux
ade085cd28 Bug 752313 - Add #include <unistd.h> to crashreporter_gtk_common.cpp to fix build failures. r=ted 2012-09-10 20:08:27 -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
Phil Ringnalda
0899de8084 Bug 757722 - skip unit_ipc/test_content_annotation.js on OS X since it is the only failing test keeping xpcshell hidden on 10.7 and 10.8 2012-08-30 20:04:10 -07:00
Phil Ringnalda
dbf91b895e Back out ca6ad4ab3366 (bug 757722) for Mac build bustage 2012-08-30 21:10:43 -07:00
Phil Ringnalda
cf3c8e229b Bug 757722 - skip unit_ipc/test_content_annotation.js on OS X since it is the only failing test keeping xpcshell hidden on 10.7 and 10.8
--HG--
extra : rebase_source : f0d6e68e15dd63248060e50cc62a125a017815bf
2012-08-30 20:04:10 -07: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
Mark Hammond
42e41f9925 Bug 779431 - symbolstore.py ignores SRCSRV_ROOT if hg provides a path. r=:ted 2012-08-07 11:32:45 +10:00
Mike Hommey
6173fa297f Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 20:26:44 +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
Boris Zbarsky
d794ed88da Bug 777627. Make sure we can't accidentally turn off mochitests for a directory by reordering the Makefile.in. r=khuey 2012-07-26 12:38:03 -04:00
Ed Morley
b24402aeb3 Backout 137efb901fc9 (bug 777627) for bustage 2012-07-26 17:48:00 +01:00
Boris Zbarsky
168d572fc7 Bug 777627. Make sure we can't accidentally turn off mochitests for a directory by reordering the Makefile.in. r=khuey 2012-07-26 12:38:03 -04:00
Mike Hommey
73793249ec Bug 689184 part 2 - Use the program PT_DYNAMIC segment for the MD_LINUX_DSO_DEBUG stream. r=ted 2012-07-25 07:43:22 +02:00
Mike Hommey
1a1bbdb5dc Bug 689184 part 1 - Keep ELF auxiliary vectors values within LinuxDumper. r=ted 2012-07-25 07:43:22 +02:00
Ted Mielczarek
287174e5d2 bug 761909 - crash reporter plumbing for gonk. r=bsmedberg 2012-07-16 19:50:52 -04:00
Joshua Cranmer
4b8f318e78 Bug 773637 - Kill NS_SCRIPTABLE annotations, Part 1: Remove NS_*PARAM annotations. r=ehsan
--HG--
extra : rebase_source : a0b4bc50fece36d9a90fed61431635948bfa33b5
2012-07-06 15:14:07 -05:00
Himanshu
ca927b693e Bug 710993 - Fix possible bad pointer/size mistake in HTTPUpload::SendRequest(). r=ted 2012-07-20 20:19:37 -04:00
Ted Mielczarek
f978c26876 bug 761907 - use sys_fstat64 on Android and gonk. r=upstream
--HG--
extra : rebase_source : 75b02da45b38bfa5ae7e48401b7c0715b65e9640
2012-07-16 14:11:11 -04:00
Ted Mielczarek
76459049ad bug 763621 - Fix a Breakpad issue, patch from upstream r792. r=upstream
--HG--
extra : rebase_source : 5f8c09fcc2172fe60b524e8e3d1026d35e7c95aa
2012-07-18 15:11:51 -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
Nathan Froyd
a7eb97f896 Bug 370750 - consolidate mochitest files installation; r=glandium
With assistance on the patch from Ms2ger, Waldo, and Mossop.
2012-07-03 16:49:02 -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
db6534af55 Bug 769048 part D - Import the MemoryModule code from https://github.com/fancycode/MemoryModule revision ca4f504527 and modify it to support injecting a DLL image into a remote process. MPLv2 upgrade approved by the author. r=ehsan
Limitations:
* untested (and therefore unbuilt) on Windows 64
* The dll entry point is not called, which usually requires the DLL to
  cooperate by calling _CRT_INIT from the loaded entry point
* There is no support for unloading (no need in this patch)

--HG--
extra : rebase_source : c29489c0c312b0c22a4a6b8b3ee8c6469b45a01c
2012-07-02 14:55:23 -04:00
Benjamin Smedberg
cc2ebeab8a Bug 769048 part C - Build an injector DLL which can watch for crashes in Flash player processes. This involves building two copies of breakpad: one to live inside of libxul which uses mozalloc and the dynamic CRT, another to link into the injector which links the CRT statically and doesn't use mozalloc. Introduce a new define/makefile variable MOZ_CRASHREPORTER_INJECTOR rather than repeating "#if defined(XP_WIN) && !defined(HAVE_64BIT_OS) in many places. r=ehsan/khuey
--HG--
extra : rebase_source : 33bd0a74ce70a564963a6ca125e01048577fb554
2012-07-02 14:55:12 -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
Benjamin Smedberg
e8f5ceb7da Bug 769048 part A - import breakpad changes from http://breakpad.appspot.com/406002 which allow the crash generation client to be initialized with a handle instead of a pipe name, r=ted
--HG--
extra : rebase_source : 5f51597eecc7b2c6fd1270fcec7c5cb008b6666c
2012-07-02 12:06:19 -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