- Electron version: 1.2.7
- Operating system: Windows 64-bit

When restarting crashreporter for Main/Renderer process causes the app to crash. And i wanted to restart the crash reporter to be able to update the extra/options parameters which are not available when the app starts initially. Without delaying the crash reporter start, is there a way to update the crash reporter options/extra parameters?

Stack:
INVALID_POINTER_WRITE_electron!crash_reporter::_anonymous_namespace_::RegisterNonABICompliantCodeRange+23
00 00000095`813fc230 00007ff7`06221b70 electron!crash_reporter::`anonymous namespace'::RegisterNonABICompliantCodeRange+0x23 [c:\jenkins\workspace\electron-win-x64\atom\common\crash_reporter\crash_reporter_win.cc @ 95]
01 00000095`813fc370 00007ff7`06222ebf electron!crash_reporter::CrashReporterWin::InitBreakpad+0x3c4 [c:\jenkins\workspace\electron-win-x64\atom\common\crash_reporter\crash_reporter_win.cc @ 203]
02 00000095`813fc620 00007ff7`06194bb6 electron!crash_reporter::CrashReporter::Start+0x9f [c:\jenkins\workspace\electron-win-x64\atom\common\crash_reporter\crash_reporter.cc @ 33]

atom/common/crash_reporter/crash_reporter_win.cc
record->unwind_info.SizeOfProlog = 0;
  record->unwind_info.CountOfCodes = 0;
  record->unwind_info.FrameRegister = 0;
  record->unwind_info.FrameOffset = 0;
  record->unwind_info.ExceptionHandler =
      offsetof(ExceptionHandlerRecord, thunk);
  
  
  record->thunk[0] = 0x48;
  record->thunk[1] = 0xb8;
  void* handler = &CrashForExceptionInNonABICompliantCodeRange;
  memcpy(&record->thunk[2], &handler, 8);
  
  record->thunk[10] = 0xff;
  record->thunk[11] = 0xe0;
  
  DWORD old_protect;
  return VirtualProtect(start, sizeof(ExceptionHandlerRecord),
                        PAGE_EXECUTE_READ, &old_protect) &&
         RtlAddFunctionTable(&record->runtime_function, 1,
                             reinterpret_cast<DWORD64>(start));
}
void UnregisterNonABICompliantCodeRange(void* start) {
  ExceptionHandlerRecord* record =
      reinterpret_cast<ExceptionHandlerRecord*>(start);
  RtlDeleteFunctionTable(&record->runtime_function);
}
#endif  
}  
CrashReporterWin::CrashReporterWin()