Also, use breakpad's libc replacement functions in the signal handler to avoid memory corruption issues.