accuya/google-breakpad

Linux expception handler should block signals before attempting to write minidump.

Closed this issue · 3 comments


I've observed cases where another signal will be delivered when writing
minidump, this will interrupt the process and make an invalid minidump
file. This is mostly like to happen in multi-threaded processes.

Original issue reported on code.google.com by lul...@gmail.com on 21 Mar 2007 at 7:04

Fix this. Block signal before trying to write minidump, and unblock it 
afterward.

Original comment by lul...@gmail.com on 27 Mar 2007 at 6:33

Attachments:

Revised patch, only block signals when writing minidump.

Original comment by lul...@gmail.com on 28 Mar 2007 at 2:55

Attachments:

Fixed.

Original comment by lul...@gmail.com on 30 Mar 2007 at 2:39

  • Changed state: Fixed