This patch makes the crash reporter crash event directory aware and writes main process crash event files at crash time. --HG-- extra : rebase_source : 1d6a817ae401230b3fe8fcd236468ceb3e309a10