mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-29 07:42:04 +00:00
Bug 581341 - Part 3: Install child process exception handler before activating breakpad. r=bsmedberg
--HG-- extra : rebase_source : 32fa9c79f1620226e59459609e9c4390a511e5ad
This commit is contained in:
parent
953b4316f4
commit
bce6638c05
@ -1886,7 +1886,7 @@ SetRemoteExceptionHandler(const nsACString& crashPipe)
|
||||
|
||||
gExceptionHandler = new google_breakpad::
|
||||
ExceptionHandler(L"",
|
||||
NULL, // no filter callback
|
||||
FPEFilter,
|
||||
NULL, // no minidump callback
|
||||
NULL, // no callback context
|
||||
google_breakpad::ExceptionHandler::HANDLER_ALL,
|
||||
|
@ -359,7 +359,9 @@ XRE_InitChildProcess(int aArgc,
|
||||
return 1;
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
SetupErrorHandling(aArgv[0]);
|
||||
|
||||
#if defined(MOZ_CRASHREPORTER)
|
||||
if (aArgc < 1)
|
||||
return 1;
|
||||
@ -386,8 +388,6 @@ XRE_InitChildProcess(int aArgc,
|
||||
gArgv = aArgv;
|
||||
gArgc = aArgc;
|
||||
|
||||
SetupErrorHandling(aArgv[0]);
|
||||
|
||||
#if defined(MOZ_WIDGET_GTK2)
|
||||
g_thread_init(NULL);
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user