Commit Graph

33 Commits

Author SHA1 Message Date
Ben Turner
07fe03755b Bug 543764 - '[OOPP] Crash [@ PR_Unlock] when ending mozilla-runtime at lastfm.com/listen'. r=bsmedberg+cjones. 2010-02-18 14:21:15 -08:00
Benjamin Smedberg
f19e49fe97 Backed out changeset 4d8d4fd97c4f - bug 543764, because of deadlocks. 2010-02-18 10:27:07 -05:00
Ben Turner
64367411af Bug 543764 - Crash at PR_Unlock when mozilla-runtime exits/crashes. Ensure that NotifyMaybeChannelError waits until OnChannelError is completely finished running, r=cjones 2010-02-18 09:24:03 -05:00
Chris Jones
3ea312dfdf Bug 540004, part 2: Detect hangs while awaiting synchronous IPC replies (on POSIX). r=bent
--HG--
extra : transplant_source : %B8U2%20%5C%1B%06%85%F4%23%DA%CCw%C7%CB%D1%F2%9D%16%1A
2010-02-09 18:02:54 -06:00
Chris Jones
ad8d50cbf1 Follow-up to bug 540886: address review comments I forgot to before pushing.
--HG--
extra : transplant_source : a%25%DF%90g%8A%F0%5C%F7%9B%BEtX%13p9%3Fq%E8%E2
2010-01-27 02:17:17 -06:00
Chris Jones
162bed2213 Bug 540886, part 1: Refactor "special message" dispatch in AsyncChannel. r=bent
--HG--
extra : transplant_source : %81%F6%01%EB%0CE%B0%04R%02%A8%0B%F8c%EF/%1D%CC%3Ep
2010-01-27 00:41:31 -06:00
Benjamin Smedberg
d5eb4d3947 Bug 516515 - Don't initialize XPCOM in plugin processes, r=cjones
--HG--
extra : rebase_source : cab356b862a66fb7f5955b1f936944f2395bba3c
2010-02-03 17:17:09 -05:00
Chris Jones
346256e423 Bug 538586: Notify clients of channel errors if they call Close() before deleting themselves, but before the error notification event is delivered from the IO thread. r=bent
--HG--
extra : rebase_source : b363f3ab257e3aac3801c09e26ca2d9bf6cc3353
2010-01-12 00:14:32 -06:00
Benjamin Smedberg
702517f5e0 Bug 535298: Cancel the NotifyMaybeChannelError event if the AsyncChannel is destroyed, and allow AsyncChannel::Close() to be called after a channel error (e.g. child process crash). r=cjones 2009-12-17 18:12:03 -06:00
Chris Jones
c47450d9a7 bug 529005: detect child process shutdowns vs. crashes, and expose this information to IPDL actors in a new |ActorDestroy(why)| interface. also ensure that subprotocol actors are notified of shutdown and cleaned up properly. r=bsmedberg r=bent 2009-12-03 02:16:28 -06:00
Benjamin Smedberg
abbbc74bb1 Do full shutdown, instead of _exit(0) shutdown in the plugin process when we're doing leak checking. 2009-11-20 13:49:15 -05:00
Ben Turner
8ee0dbf5a2 Fix bustage 2009-11-12 14:46:29 -08:00
Ben Turner
82191b418a Bug 525792 - 'Fix leaks running mochitests'. 2009-11-12 14:16:54 -08:00
Chris Jones
548d6d261d bug 527871: fix shutdown assertion and leaking TestShellParent. still leaking ContentProcessParent's GeckoChildProcess, but needs discussion before fixing 2009-11-11 02:34:08 -06:00
Phineas T. Farnsworth
3da7352b78 bug 526626: band-aids for shutdown assertions 2009-11-09 16:56:55 -06:00
Chris Jones
2eb8767355 bug 523894: wstrings are bad news in OPT builds due to chromium/Mozilla -fshort-wchar mismatch 2009-11-05 18:24:27 -06:00
Chris Jones
c916fbb575 bug 525792: fix leaking PluginModules, call NP_Shutdown() on plugins. minor, no r= 2009-11-03 15:37:07 -06:00
Chris Jones
8663feb8a0 bug 524767: add better error logging to *Channel. no r?, logging only 2009-10-27 16:32:55 -05:00
Chris Jones
a0cb461b15 fix bugs in RPC race resolution 2009-10-09 01:21:39 -05:00
Chris Jones
bb2747448d add racy RPC resolution. also add better debugging info and fix two shared-memory-race bugs. 2009-10-08 16:44:43 -05:00
Ben Turner
64cfab94c4 Add threadsafety assertions to plugin code 2009-10-08 12:11:13 -07:00
Chris Jones
50ed6c02c5 bug 517923: support serializing ns*Strings that represent NULL, use this mechanism in PluginInstanceParent/PluginModuleChild. also add basic crash-handling to *Channel code and some NS_OVERRIDE annotations. 2009-09-21 21:02:15 -05:00
Chris Jones
fcd4f6280c bug 513920: synchronously "connect" to parent process from child process 2009-09-01 11:27:09 -05:00
Ben Turner
fef91bb11b Rework chromium initialization, r=beast 2009-08-28 12:46:21 -07:00
Ben Turner
b050168417 Backing out stuff that doesn't work 2009-08-27 16:05:38 -07:00
Ben Turner
3028fdfcc0 Fix build bustage? 2009-08-27 15:54:05 -07:00
Ben Turner
9d33531365 Fix testshell to use the new callback commands, and shut down properly 2009-08-25 16:07:22 -07:00
Chris Jones
57c28a4b6c simplify some *Channel code. enforce more SyncChannel invariants 2009-08-19 10:44:56 -05:00
Ben Turner
37f6bdca20 Add extremely basic support for unblocking in the event of a bad message 2009-08-07 16:13:20 -07:00
Chris Jones
90e549a263 another stab in the dark at fixing MSVC8 bustage: put Result code enum in anonymous namespace 2009-07-15 16:38:55 -05:00
Chris Jones
5a07425e89 attempt to fix build bustage when using MSVC8. 2009-07-15 13:41:09 -05:00
Chris Jones
3fe0052c3e add IPDL test harness and the mountains of code that entails. add |bool| type to IPDL. fix bugs in nascent async/sync channels. 2009-07-14 00:12:50 -05:00
Chris Jones
9c6618c46e first cut at AsyncChannel and SyncChannel. only RPCChannel is currently under warranty. 2009-07-13 16:55:04 -05:00