bornintelligent / google-breakpad

Automatically exported from code.google.com/p/google-breakpad
0 stars 0 forks source link

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

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago

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

GoogleCodeExporter commented 9 years ago
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:

GoogleCodeExporter commented 9 years ago
Revised patch, only block signals when writing minidump.

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

Attachments:

GoogleCodeExporter commented 9 years ago
Fixed.

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