Commit Graph

48 Commits

Author SHA1 Message Date
Kyle Huey
ded41d1187 Bug 1090598: Once we have hit the ah_crap_handler, allow any process (such as gdb) to ptrace us. r=froydnj 2014-10-28 18:27:53 -07:00
Nathan Froyd
6452ff5548 Bug 1080108 - don't redefine STATUS_FLOAT_* values in nsSigHandlers.cpp; r=bsmedberg
Including <windows.h> picks these up, as recent builds indicate by warning:

c:\builds\moz2_slave\m-in-w32-000000000000000000000\build\toolkit\xre\nsSigHandlers.cpp(341) : warning C4005: 'STATUS_FLOAT_MULTIPLE_FAULTS' : macro redefinition
        c:\Program Files (x86)\Windows Kits\8.0\include\um\winnt.h(2127) : see previous definition of 'STATUS_FLOAT_MULTIPLE_FAULTS'
c:\builds\moz2_slave\m-in-w32-000000000000000000000\build\toolkit\xre\nsSigHandlers.cpp(342) : warning C4005: 'STATUS_FLOAT_MULTIPLE_TRAPS' : macro redefinition
        c:\Program Files (x86)\Windows Kits\8.0\include\um\winnt.h(2128) : see previous definition of 'STATUS_FLOAT_MULTIPLE_TRAPS'
2014-10-08 16:05:36 -04:00
Nicholas Nethercote
b21b892183 Bug 1062709 (part 2, attempt 2) - Clean up stack printing and fixing. r=dbaron.
--HG--
extra : rebase_source : 626fd23a14ec90cfc9807c3d555169ec6463d19d
2014-09-01 22:56:05 -07:00
Nicholas Nethercote
0249afcc66 Bug 1062709 (part 1, attempt 2) - Add a frame number argument to NS_WalkStackCallback. r=dbaron.
--HG--
extra : rebase_source : 4f7060a9ae0bed180899651c50e8ea8857e72d63
2014-09-10 21:47:01 -07:00
Ed Morley
e322389145 Backed out changeset a0b82c954206 (bug 1062709) for Windows mochitest 5 hangs 2014-10-03 15:06:16 +01:00
Ed Morley
ed062efcdf Backed out changeset 7a1b7d7eba12 (bug 1062709) 2014-10-03 15:05:26 +01:00
Nicholas Nethercote
5b9ce4cc06 Bug 1062709 (part 2) - Clean up stack printing and fixing. r=dbaron.
--HG--
extra : rebase_source : 18158d4474cb8826813a3866eba57b710e14db99
2014-09-01 22:56:05 -07:00
Nicholas Nethercote
270fd1eda7 Bug 1062709 (part 1) - Add a frame number argument to NS_WalkStackCallback. r=dbaron.
--HG--
extra : rebase_source : 0f9b2d6310433ed56f5552706fcf2a96571aee25
2014-09-10 21:47:01 -07:00
Chris Peterson
efdb483353 Bug 1032644 - Fix some -Wunused warnings in non-unified OS X build. r=ehsan 2014-07-02 18:55:19 -07:00
Ehsan Akhgari
b870bb3fe9 Bug 969757 - Remove the dead code in our tree which pretends to support OS/2; r=roc,mcmanus,gps,jorendorf,bsmedberg sr=bsmedberg 2014-02-10 17:57:01 -05:00
Birunthan Mohanathas
bfeb1b105e Bug 784739 - Switch from NULL to nullptr in toolkit/; r=ehsan 2013-10-10 16:36:42 -04:00
Bill McCloskey
a293b393e4 Bug 902208 - Handle SIGINT in child processes (r=ted) 2013-08-14 14:48:32 -07:00
Nicholas Nethercote
0ea79c11c5 Bug 818793 - Add a |aMaxFrames| parameter to NS_StackWalk. r=jlebar,glandium; sr=dbaron. 2012-12-20 21:31:57 -08:00
Bas Schouten
b8bd2ee92a Bug 816117 - Part 1: Add the ability to pass around a windows Thread Context to StackWalkMain64. r=ehsan 2012-12-08 06:15:21 +01:00
Phil Ringnalda
a805f63272 Back out 63105f3adf34 (bug 721843) for xpcshell timeouts 2012-10-01 20:43:27 -07:00
Benoit Girard
bd92e12bd2 Bug 721843 - Add just-in-time debugging by using CRAWL_STACK_ON_SIGSEGV on non official builds for mac/linux. r=ted 2012-10-01 22:09:20 -04:00
Aryeh Gregor
e806eeab4f Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Benoit Girard
7aa6b28d00 Bug 766579 - Part 1: Add SP param to NS_StackWalk. r=dbaron
--HG--
extra : rebase_source : dd4905ffadf5fe9327449fffdfbc665b05d74a6a
2012-06-27 16:08:21 -04:00
Martin Stransky
00527285da Bug 627699 - Port GTK2 to GTK3, toolkit part, r=karlt 2012-06-16 18:06:10 +12:00
Gervase Markham
ca171eec44 Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Ehsan Akhgari
44f218c3d4 Bug 713278 - Teach NS_StackWalk to walk the stack of other threads too on Windows; r=dbaron 2011-12-23 18:14:09 -05:00
Makoto Kato
760958734d Bug 681202 - Add Android x86 target. r=glandium 2011-09-29 13:39:03 +09:00
Brad Lassey
66de27b901 bug 617115 - support building with andorid NDKr5 r=ted 2011-04-01 16:47:37 -07:00
Matheus Kerschbaum
93480c6366 Bug 639754 - Remove MOZ_IPC checks since IPC is always built now; r=bsmedberg 2011-04-02 19:14:00 -07:00
Mitchell Field
2e8a7d546f Bug 627277 - Remove (broken) BeOS support. r=biesi,dwitte,gavin,joe,jorendorff,josh,khuey,mfinkle,neil,Pike,roc,shaver,smontagu,taras 2011-02-20 06:10:24 +11:00
Mike Hommey
a87fb4b486 Bug 593767 - Don't use SA_SIGINFO when unsupported. r=bsmedberg,a=bsmedberg 2010-11-07 09:20:50 +01:00
Rob Arnold
fd95e7b700 Bug 563462 - Remove Photon bits from toolkit/ r=Mossop 2010-05-12 14:31:24 -04:00
Mark Banner
4296bc6a4a Bug 550145 NS_APPSTARTUP_CONTRACTID should exist in nsToolkitCompsCID.h and not nsXPFEComponentsCID.h (kill nsXPFEComponentsCID.h). r=benjamin 2010-03-05 12:11:55 +00:00
Walter Meinl
4829f752d9 Bug 536343: Fix build bustage on OS/2 in nsSigHandles.cpp r=bsmedberg,dragtext 2010-01-30 07:48:32 -05:00
Chris Jones
2cf5171772 Bug 540116: By default, unblock the parent process if a child crashes in a DEBUG build that uses ah_crap_handler(). Set MOZ_DONT_UNBLOCK_PARENT_ON_CHILD_CRASH=1 to restore old behavior. r=bsmedberg 2010-01-27 22:23:16 -06:00
Mook
41da46c080 Bug 538056 - Signal handler for FPU exception is broken for Windows x64, r=m_kato,bsmedberg
toolkit/xre/nsSigHandlers.h:
	define x86 constants also for msvc x86-64

toolkit/xre/nsSigHandlers.cpp:
	Take into account different structure names for win64
2009-12-29 01:48:02 -08:00
Ginn Chen
003d2beb27 Bug 538339 In fpehandler() mask cw and back to the faulting x87 instruction on Solaris r=gal,bsmedberg 2010-01-13 17:04:52 +08:00
Ginn Chen
ba62f85c03 Bug 538338 Do not hang on FPE_INTDIV "Integer divide by zero" r=bsmedberg 2010-01-13 17:04:04 +08:00
Benjamin Smedberg
ce70e43e79 Bug 538642 - Breakpad shouldn't treat FPU exceptions as crashes, and the FPU exception handler should chain correctly, r=ted 2010-01-11 13:16:20 -05:00
Chris Jones
71147afbeb Bug 538642: Temporarily disable the floating-point exception handler. r=bsmedberg 2010-01-08 15:09:31 -06:00
L. David Baron
109f8eeb81 Fix valgrind warning about passing uninitialized act->sa_mask to sigaction. (Bug 538013) r=gal 2010-01-07 08:51:16 -05:00
Makoto Kato
509edbae6d Bug 537489 - nsSigHandler.cpp should use _M_IX86 instead of _M_IA32, r=bsmedberg 2010-01-05 14:11:51 -05:00
Benjamin Smedberg
a4fc9676b2 Followup to bug 535802, make it work on Linux too by passing around the program name from argv[0] 2009-12-18 17:14:53 -05:00
jacek@codeweavers.com
f44b968374 Compilation fix for bug 533035 (r=bsmedberg). 2009-12-21 10:28:15 -10:00
Jeff Walden
d508d43134 Bug 533035 - Linux64 bustage fix, try two -- looks like other systems aren't picking up the <stdint.h> include mine is. Or something. r=redness
--HG--
extra : rebase_source : 6aff511af4a1744fab88e698735feb984ac15362
2009-12-18 22:29:13 -05:00
Jeff Walden
66374cb378 Bug 533035 - Linux64 bustage fix. r=redness, apparent(ly correct) bustage fix now, real-r later 2009-12-18 21:28:19 -05:00
Andreas Gal
f02162a25b Extensions/libraries/plugins might enable FPU/SSE2 exceptions, causing floating-point operations to crash (533035, r=robarnold,bsmedberg). 2009-12-17 13:56:12 -08:00
Andreas Gal
24877c4a9b Backed out try-landing of bug 533035. 2009-12-17 00:29:32 -08:00
Andreas Gal
4f96be79de Extensions/libraries/plugins might enable FPU/SSE2 exceptions, causing floating-point operations to crash (533035, r=robarnold). 2009-12-17 00:21:48 -08:00
Daniel Holbert
16d6c9d4d9 Bug 521677: Use fputs instead of printf/fprintf in a few cases, to fix "format not a string literal and no format arguments" build warnings. r=dbaron 2009-10-19 08:03:00 -07:00
Matthew Gregan
ad2f765c3e Bug 411615 - ah_crap_handler should call _exit explicitly. r=dbaron, sr=jag 2009-02-26 19:56:10 +13:00
Arpad Borsos
8b11d938d2 Bug 456388 - Remove PR_STATIC_CALLBACK and PR_CALLBACK(_DECL) from the tree; r+sr=brendan 2008-10-10 17:04:34 +02:00
Neil Rashbrook
1de2da69af Bug 454862 Move nsSigHandlers.cpp and showOSAlert.cpp to toolkit/xre instead of copying them there during the build process r=ted
--HG--
rename : xpfe/bootstrap/nsSigHandlers.cpp => toolkit/xre/nsSigHandlers.cpp
rename : xpfe/bootstrap/showOSAlert.cpp => toolkit/xre/showOSAlert.cpp
2008-09-15 16:08:25 +01:00